@microsoft/cmr-cli 0.33.0 → 0.34.0
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/README.md +37 -14
- package/THIRD-PARTY-NOTICES.txt +287 -30
- package/dist/Add-4RULNL6A.js +11 -0
- package/dist/AddConfig-D2DCR3JH.js +12 -0
- package/dist/AddConnector-5ZR5AF6H.js +19 -0
- package/dist/AddDeployment-7U4I5IC4.js +11 -0
- package/dist/AddDeploymentBinding-BZVRRZ7H.js +18 -0
- package/dist/AddRayfin-45ASHNIX.js +87 -0
- package/dist/Alter-36TSNZ4M.js +11 -0
- package/dist/{AuthStatus-XA6RGYYZ.js → AuthStatus-W5ZHOAVD.js} +2 -2
- package/dist/AuthSwitch-7HRPTGEG.js +13 -0
- package/dist/Bin.js +1 -1
- package/dist/BuildMaafApp-TLQXOVQC.js +11 -0
- package/dist/Clear-X55BZKYF.js +11 -0
- package/dist/Cli-EEO7V3MZ.js +47 -0
- package/dist/CloneMaafApp-4EHW3HE2.js +12 -0
- package/dist/CreateMaafApp-VNXWCAP4.js +23 -0
- package/dist/CreateMaafProject-WVBNZPVL.js +11 -0
- package/dist/DeleteMaafApp-UGUKARMO.js +11 -0
- package/dist/DeployMaafApp-GJO567TK.js +8 -0
- package/dist/DeployMaafProject-4TSW2SFJ.js +11 -0
- package/dist/DeploymentApprovals-SZKNJT76.js +11 -0
- package/dist/Dev-ZD3L6WYY.js +15 -0
- package/dist/{EnvironmentVariableAuthenticationProvider-EBRBQ5I2.js → EnvironmentVariableAuthenticationProvider-EURTERVX.js} +2 -2
- package/dist/FeatureSettings-GG7JGFIY.js +11 -0
- package/dist/{GenerateCode-Z2OY3SZR.js → GenerateCode-PNYC45SK.js} +2 -2
- package/dist/GetMaafBuildStatus-UTPVWF5L.js +11 -0
- package/dist/GetMaafProjectDeployStatus-PLK52YC4.js +12 -0
- package/dist/{GetSettings-64N4P6L7.js → GetSettings-RLRDJEC7.js} +2 -2
- package/dist/InfoMaafApp-CTB6IPRU.js +13 -0
- package/dist/InfoMaafProject-TULH566X.js +11 -0
- package/dist/Init-TYWP2E6U.js +11 -0
- package/dist/ListConnectorActions-UQS6D4UN.js +11 -0
- package/dist/ListConnectors-OCDO64AT.js +11 -0
- package/dist/ListDeployments-PDLJ3IEI.js +11 -0
- package/dist/ListMaafApps-UAWTTCGB.js +11 -0
- package/dist/ListMaafProjects-T3Q2GEDX.js +11 -0
- package/dist/{ListSchema-IR7FTBRR.js → ListSchema-G673LK5Q.js} +2 -2
- package/dist/{ListSettings-3M7UOOLI.js → ListSettings-EXCK5ZS6.js} +2 -2
- package/dist/{Login-G7TNQISG.js → Login-XZATPT4L.js} +2 -2
- package/dist/{Logout-AOOISVWK.js → Logout-2XM4IMZF.js} +2 -2
- package/dist/{MockFetch-GKQMNDW3.js → MockFetch-LW3KYEGC.js} +2 -2
- package/dist/NodeMsalAuthenticationProvider-ALMFNUEV.js +17 -0
- package/dist/Pack-RH4D4C7W.js +8 -0
- package/dist/PackProject-5DUWSBFA.js +14 -0
- package/dist/PlayMaafApp-5BXGXE6O.js +8 -0
- package/dist/ProjectApprovals-K3JF6D72.js +13 -0
- package/dist/ProjectRoleAssignments-7IUDEVBN.js +11 -0
- package/dist/RefreshDataSource-CMHDF2GP.js +11 -0
- package/dist/RefreshGitAuth-4TRO5IOQ.js +11 -0
- package/dist/Remove-KZD3SDDC.js +11 -0
- package/dist/{RemoveDataSource-T2AG7ZWC.js → RemoveDataSource-C7UXOUNH.js} +3 -3
- package/dist/RemoveDeployment-ZQJWQPD6.js +11 -0
- package/dist/ServicePrincipalAuthenticationProvider-3NPJTLF5.js +11 -0
- package/dist/SetSetting-3XO6HPG7.js +11 -0
- package/dist/{SetSetting-KOWAPJWX.js → SetSetting-ZW7F43GC.js} +2 -2
- package/dist/ShareLinkCreate-JXPW5H7A.js +11 -0
- package/dist/ShareLinkList-ICYPRIQV.js +11 -0
- package/dist/ShareLinkRevoke-JVMQZF7K.js +11 -0
- package/dist/ShareList-YGSTFMVE.js +11 -0
- package/dist/ShareMaafApp-ZCY72WHK.js +11 -0
- package/dist/{TelemetrySettings-FVJUK5MR.js → TelemetrySettings-P6WYWGW4.js} +2 -2
- package/dist/UnshareMaafApp-N4UR6Q4A.js +11 -0
- package/dist/{chunk-JWSX7DVU.js → chunk-2SRFM7D6.js} +2 -2
- package/dist/chunk-3YCPXSCO.js +11 -0
- package/dist/chunk-45EZLDPE.js +147 -0
- package/dist/{chunk-EFTF4FA7.js → chunk-4PI5THLA.js} +2 -2
- package/dist/{chunk-4C6DWU2Y.js → chunk-6KOL66SF.js} +2 -2
- package/dist/{chunk-2VJIWD7V.js → chunk-74RNALDY.js} +2 -2
- package/dist/{chunk-4JTUAUHI.js → chunk-7AEULMP2.js} +2 -2
- package/dist/{chunk-MWN7R4VR.js → chunk-7LAMG4KK.js} +2 -2
- package/dist/chunk-A5INC5TY.js +11 -0
- package/dist/chunk-AICYZHWK.js +11 -0
- package/dist/chunk-B4NTYKGH.js +12 -0
- package/dist/chunk-BAQPANON.js +11 -0
- package/dist/{chunk-BREK3DVB.js → chunk-BMOTNINY.js} +6 -6
- package/dist/{chunk-OUKOEUZA.js → chunk-C7UWPNC3.js} +1 -1
- package/dist/{chunk-2UMD5IAQ.js → chunk-CLY3OASM.js} +2 -2
- package/dist/chunk-DLUQVMUE.js +11 -0
- package/dist/{chunk-JDRULLI3.js → chunk-ENDUKF4E.js} +2 -2
- package/dist/{chunk-DOCWK326.js → chunk-FESGOCAP.js} +7 -7
- package/dist/{chunk-IM7SC23O.js → chunk-GO22IDEN.js} +6 -6
- package/dist/{chunk-WV7KDGLS.js → chunk-HHW4SKVU.js} +2 -2
- package/dist/{chunk-CONEIY4I.js → chunk-HZGDQAKA.js} +2 -2
- package/dist/{chunk-O4G2KO7E.js → chunk-IMVZRBSQ.js} +2 -2
- package/dist/chunk-K77VBHFP.js +12 -0
- package/dist/{chunk-CER3QPDN.js → chunk-KD4NQIYX.js} +3 -3
- package/dist/{chunk-4WQT5P2M.js → chunk-KN66FSQK.js} +2 -2
- package/dist/{chunk-4UHMKZLH.js → chunk-KPKJZKWW.js} +2 -2
- package/dist/chunk-NMZFJESU.js +12 -0
- package/dist/{chunk-ZREDMBLO.js → chunk-NNYOT7IR.js} +2 -2
- package/dist/{chunk-JMF444BA.js → chunk-OH3TCDCC.js} +2 -2
- package/dist/{chunk-A57M2UGH.js → chunk-OHQNTYJG.js} +2 -2
- package/dist/{chunk-4AO24KKT.js → chunk-PYPCPMCR.js} +5 -5
- package/dist/{chunk-OTXBVG3E.js → chunk-R2IECDVU.js} +3 -3
- package/dist/{chunk-FGB6GFXI.js → chunk-RA74M3YD.js} +2 -2
- package/dist/{chunk-E2O4YZX2.js → chunk-RSHOMYG6.js} +228 -227
- package/dist/chunk-UHNOINTO.js +11 -0
- package/dist/{chunk-ELHOJBVT.js → chunk-XC7Y6E2C.js} +11 -11
- package/dist/chunk-XJXWNOJR.js +11 -0
- package/dist/chunk-Y2D37EFX.js +13 -0
- package/dist/{chunk-C7V6WEZM.js → chunk-YEWRCEPT.js} +2 -2
- package/dist/chunk-Z4UX3JOS.js +12 -0
- package/dist/chunk-ZBQT5XZJ.js +32 -0
- package/dist/chunk-ZGBTKTTU.js +11 -0
- package/dist/{chunk-5BE4TLDK.js → chunk-ZLK2CMMJ.js} +23 -23
- package/dist/chunk-ZWJ5T5VI.js +11 -0
- package/dist/node-PLZPXPD7.js +29 -0
- package/dist/typescript-6OTSQQEW.js +458 -0
- package/package.json +5 -4
- package/dist/Add-75RSJNM4.js +0 -11
- package/dist/AddConfig-4SAYYOBQ.js +0 -12
- package/dist/AddConnector-P4R4NJ5P.js +0 -16
- package/dist/AddDeployment-TBA3AAGD.js +0 -11
- package/dist/AddDeploymentBinding-6FZ7Y5JM.js +0 -18
- package/dist/AddRayfin-35GBGCWF.js +0 -38
- package/dist/Alter-U7WDVOMU.js +0 -11
- package/dist/AuthSwitch-2FXB7WFU.js +0 -13
- package/dist/BuildMaafApp-3EGRD23G.js +0 -11
- package/dist/Clear-MZGQZ2XK.js +0 -11
- package/dist/Cli-6A2HUP7R.js +0 -47
- package/dist/CloneMaafApp-YAEYSP23.js +0 -12
- package/dist/CreateMaafApp-2XYROOHB.js +0 -23
- package/dist/CreateMaafProject-Q7KIVAR2.js +0 -11
- package/dist/DeleteMaafApp-G3SL3GGP.js +0 -11
- package/dist/DeployMaafApp-DBJONCUH.js +0 -8
- package/dist/DeployMaafProject-SOMMKVJO.js +0 -11
- package/dist/DeploymentApprovals-Y67LSQQG.js +0 -11
- package/dist/Dev-TXJLPT7K.js +0 -15
- package/dist/FeatureSettings-LYV6QUZB.js +0 -11
- package/dist/GetMaafBuildStatus-ZR5GCREL.js +0 -11
- package/dist/GetMaafProjectDeployStatus-OJ56DPZ6.js +0 -12
- package/dist/InfoMaafApp-FJM7UI5H.js +0 -13
- package/dist/InfoMaafProject-EU6OQ7DX.js +0 -11
- package/dist/Init-MTONJT7V.js +0 -11
- package/dist/ListConnectorActions-PJTNNWLH.js +0 -11
- package/dist/ListConnectors-JYNVPB3O.js +0 -11
- package/dist/ListDeployments-UV6J6WA5.js +0 -11
- package/dist/ListMaafApps-QPEX7JA4.js +0 -11
- package/dist/ListMaafProjects-RDR2S3HD.js +0 -11
- package/dist/NodeMsalAuthenticationProvider-6ABSS6QK.js +0 -17
- package/dist/Pack-QJZCMVEM.js +0 -8
- package/dist/PackProject-Y3Q3KOTC.js +0 -14
- package/dist/PlayMaafApp-MH66OLOV.js +0 -8
- package/dist/ProjectApprovals-NTFYLH3W.js +0 -13
- package/dist/ProjectRoleAssignments-7IDK6SGJ.js +0 -11
- package/dist/RefreshDataSource-CISFHQNA.js +0 -11
- package/dist/RefreshGitAuth-NUQ7JNJA.js +0 -11
- package/dist/Remove-IYDTKDJE.js +0 -11
- package/dist/RemoveDeployment-K3GDRCXJ.js +0 -11
- package/dist/ServicePrincipalAuthenticationProvider-CEHIAANL.js +0 -11
- package/dist/SetSetting-PD76MA6O.js +0 -11
- package/dist/ShareLinkCreate-VCWVBQ4B.js +0 -11
- package/dist/ShareLinkList-5VG5CG34.js +0 -11
- package/dist/ShareLinkRevoke-KYUNMTG5.js +0 -11
- package/dist/ShareList-M25UE6LD.js +0 -11
- package/dist/ShareMaafApp-QMEJEXPZ.js +0 -11
- package/dist/UnshareMaafApp-RIUUYHIL.js +0 -11
- package/dist/chunk-36YYCVFC.js +0 -12
- package/dist/chunk-3UIUI5Q2.js +0 -11
- package/dist/chunk-B6REHI77.js +0 -11
- package/dist/chunk-GVLAG66W.js +0 -13
- package/dist/chunk-HWEMI6JI.js +0 -12
- package/dist/chunk-OB6WEE2V.js +0 -11
- package/dist/chunk-OBATM5M4.js +0 -11
- package/dist/chunk-PBXK6LJO.js +0 -11
- package/dist/chunk-VAKAW5BD.js +0 -12
- package/dist/chunk-WV7D7PTW.js +0 -12
- package/dist/chunk-YMRQPXY7.js +0 -32
- package/dist/chunk-YYXAAA2U.js +0 -11
- package/dist/rayfin-pack-HOUOLOHQ.js +0 -164
package/dist/chunk-PBXK6LJO.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __pathDirname } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __pathDirname(__filename);
|
|
7
|
-
import{y as n}from"./chunk-E2O4YZX2.js";var s="none",p="native",a=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,i=2048;function c(r){return a.test(r.trim())}function m(r,e="--repo"){let o=r.trim();if(o.length===0||o.length>i)throw new n(`${e} must be a repository URL no longer than ${i} characters.`);let t;try{t=new URL(o)}catch{throw new n(`${e} must be a valid repository URL.`)}if(t.protocol!=="https:"||!t.hostname||t.pathname.split("/").filter(Boolean).length<2)throw new n(`${e} must be an HTTPS repository URL with a host and repository path.`);if(t.username||t.password)throw new n(`${e} must not include credentials.`);if(t.search)throw new n(`${e} must not include a query string.`);if(t.hash)throw new n(`${e} must not include a fragment.`);return o}function u(r){if(r===void 0||r==="")return{repoType:"native",remoteUrl:void 0};let e=r.trim();return e.toLowerCase()===p?{repoType:"native",remoteUrl:void 0}:e.toLowerCase()===s?{repoType:"none",remoteUrl:void 0}:{repoType:"github",remoteUrl:m(e)}}export{c as a,m as b,u as c};
|
|
8
|
-
/*!
|
|
9
|
-
* Copyright (C) Microsoft Corporation. All rights reserved.
|
|
10
|
-
*/
|
|
11
|
-
//# sourceMappingURL=chunk-PBXK6LJO.js.map
|
package/dist/chunk-VAKAW5BD.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __pathDirname } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __pathDirname(__filename);
|
|
7
|
-
import{a as P}from"./chunk-TYRVM4PP.js";import{b as C}from"./chunk-EFTF4FA7.js";import{B as y,l as m,y as p,z as g}from"./chunk-E2O4YZX2.js";import{a as t}from"./chunk-OB6WEE2V.js";import{O as l,m as h,o as f}from"./chunk-4AO24KKT.js";import{d as R}from"./chunk-UT667QSU.js";function S(e){if(e.body)try{let n=JSON.parse(e.body);if(typeof n?.error?.message=="string"&&n.error.message.trim())return n.error.message}catch{}}var b=new Set(["NetworkConnectionRefused","NetworkConnectionReset","NetworkConnectionTimedOut","NetworkDnsResolutionFailed","ENOTFOUND","EAI_AGAIN","ECONNREFUSED","ETIMEDOUT","ECONNRESET","ConnectionRefused","ConnectionClosed","FailedToOpenSocket"]);function N(e){if(!(e instanceof Error)||e instanceof m)return!1;let n=e.code;return typeof n=="string"&&b.has(n)||b.has(e.name)}function j(e,n){let{environmentId:i}=n;if(N(e))return new y(`Could not reach environment ${i}. Its endpoint did not resolve or did not respond, which usually means the environment id is wrong or the environment does not exist in this cloud \u2014 verify the id and the --cloud value. If the id is correct, check your network connection, VPN, or proxy.`,{underlyingError:e.message,environmentId:i},{errorCode:"EnvironmentUnreachable",retryable:!0});if(!(e instanceof m))return null;let o=S(e),s=n.repoType==="native",r="Ask an admin to grant you the required permission in this environment.";if(e.status===401)return new g(o??"Your sign-in session has expired or is invalid. Run `ms auth login` and try again.",void 0,{errorCode:"AuthenticationRequired"});if(e.status===403){let a=o??(s?`You do not have permission to create repositories in environment ${i}.`:`You do not have permission to create an app in environment ${i}.`);return new g(`${a} ${r}`,void 0,{errorCode:"EnvironmentPermissionDenied",telemetryDetails:C("environment_permission",{httpStatus:e.status})})}return e.status===404?new p(o??`Environment ${i} was not found. Verify the environment id and that you have access to it.`,{environmentId:i},{errorCode:"EnvironmentNotFound"}):e.status===409?new p(o??`An app with the same name already exists in environment ${i}. Choose a different name.`,{environmentId:i},{errorCode:"AppAlreadyExists"}):e.status===429||e.status===503?new y(o??"The service is temporarily unavailable or rate-limited. Wait a moment and try again.",{httpStatus:e.status},{errorCode:"ServiceUnavailable",retryable:!0,telemetryDetails:{httpStatus:e.status}}):null}import*as c from"path";function v(e){let n=e.buildType?.trim().toLowerCase()||void 0;if(n!==void 0&&n!=="build"&&n!=="none")throw new p("'--build-type' must be one of: build, none.");let i=n;return{...i!==void 0&&{buildType:i},buildPath:e.buildPath??(i==="none"?"./artifacts":"./dist"),...i!=="none"&&{buildCommand:e.buildCommand??"npm run build"},buildEntryPoint:e.buildEntryPoint??"index.html"}}function V(e){let n=v(e),i={version:h,appId:e.appId,appDisplayName:e.appDisplayName,environmentId:e.environmentId,description:e.description,repoType:e.repoType,cloud:e.cloud,buildPath:n.buildPath};return n.buildCommand!==void 0&&(i.buildCommand=n.buildCommand),i.buildEntryPoint=n.buildEntryPoint,n.buildType!==void 0&&(i.buildType=n.buildType),e.repositoryId&&(i.repositoryId=e.repositoryId),e.externalRepoUrl&&(i.externalRepoUrl=e.externalRepoUrl),e.iconPath&&(i.iconPath=e.iconPath),e.localAppUrl&&(i.localAppUrl=e.localAppUrl),e.connectionReferences!==void 0&&(i.connectionReferences=e.connectionReferences),e.appSettings!==void 0&&(i.appSettings=e.appSettings),i}function H(e,n){let i=f.shape.projectLocalAppId.safeParse(n??c.basename(c.resolve(e)));if(!i.success)throw new p("Project-local app IDs must be non-empty and contain only ASCII letters, digits, hyphens, and underscores. Specify --project-local-app-id.");return i.data}function F(e){return f.parse({version:"1.0",projectLocalAppId:e.projectLocalAppId,displayName:e.appDisplayName,description:e.description,...v(e)})}import*as d from"fs";import*as A from"path";var u=R(P(),1);var D="https://registry.npmjs.org",$=5e3;async function E(e,n=t.version){if(!u.default.valid(n))return;if(u.default.prerelease(n)===null)return n;let i=await k(e);return i?`^${i}`:void 0}async function k(e){try{let{data:n}=await e.get(`${D}/${t.name}/latest`,{headers:{"user-agent":`${t.name}/${t.version}`},signal:AbortSignal.timeout($)});return typeof n?.version=="string"&&u.default.valid(n.version)?n.version:void 0}catch{return}}async function z(e,n,i){let o=A.join(e,"package.json");if(!d.existsSync(o))return;let s=await E(i);if(!s){n||l(`Skipping the project-local CLI pin: '${t.version}' is not a published release and no published version could be resolved. Install '${t.name}' into the project manually if you want a project-local CLI.`);return}!n&&s!==t.version&&l(`'${t.version}' is a prerelease build; pinning the latest published CLI ('${s}') into the app instead.`);try{let r=JSON.parse(d.readFileSync(o,"utf8")),a="@microsoft/managed-apps-cli",I=r.dependencies?.[a]!==void 0||r.devDependencies?.[a]!==void 0;delete r.dependencies?.[a],delete r.devDependencies?.[a],r.devDependencies=Object.fromEntries(Object.entries({...r.devDependencies,[t.name]:s}).sort(([w],[T])=>w.localeCompare(T,"en"))),d.writeFileSync(o,`${JSON.stringify(r,null,2)}
|
|
8
|
-
`),I&&!n&&l(`Replaced '${a}' with '${t.name}' because both provide 'ms'. Migrate SDK dependencies, imports, generated sources, and Vite configuration together.`)}catch(r){n||l(`Could not pin '${t.name}' into ${o} (${r instanceof Error?r.message:String(r)}). Add "${t.name}": "${s}" to devDependencies manually.`)}}export{j as a,v as b,V as c,H as d,F as e,z as f};
|
|
9
|
-
/*!
|
|
10
|
-
* Copyright (C) Microsoft Corporation. All rights reserved.
|
|
11
|
-
*/
|
|
12
|
-
//# sourceMappingURL=chunk-VAKAW5BD.js.map
|
package/dist/chunk-WV7D7PTW.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __pathDirname } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __pathDirname(__filename);
|
|
7
|
-
function l(e){let n=new Date(e);return Number.isNaN(n.getTime())?e:n.toLocaleString(void 0,{dateStyle:"short",timeStyle:"short"})}function i(e){let n=e?.replace(/[\u0000-\u001f\u007f-\u009f]/g,"").trim();return n||void 0}function u(e){let n=e?.replace(/\r\n?/g,`
|
|
8
|
-
`).replace(/[\u0000-\u0008\u000b-\u001f\u007f-\u009f]/g,"").trim();return n||void 0}function d(e){if(!e)return;let n=i(e.email);if(n){let t=n.lastIndexOf("@");if(t>0)return n.slice(0,t);if(t<0)return n}return i(e.displayName)??i(e.objectId)}function a(e){return d(e.approvalDecidedBy)}function c(e){return d(e.cancelledBy)}function f(e){let n=e.cancelledBy;return[n?.objectId,n?.displayName,n?.email].some(r=>typeof r=="string"&&r.trim()!=="")?n??void 0:void 0}function o(e){return e.cancelledTime?.trim()||void 0}function m(e){let n=c(e),t=o(e);return n||t?{by:n,time:t}:{by:a(e),time:e.approvalDecidedTime?.trim()||void 0}}export{l as a,i as b,u as c,f as d,o as e,m as f};
|
|
9
|
-
/*!
|
|
10
|
-
* Copyright (C) Microsoft Corporation. All rights reserved.
|
|
11
|
-
*/
|
|
12
|
-
//# sourceMappingURL=chunk-WV7D7PTW.js.map
|
package/dist/chunk-YMRQPXY7.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __pathDirname } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __pathDirname(__filename);
|
|
7
|
-
import{a as dt,b as le,c as _u,d as Ee,e as pe,f as de,g as me,h as Be,i as ge,j as he,k as ye}from"./chunk-ELHOJBVT.js";import{a as Ce}from"./chunk-OL6CTXQR.js";import{a as pt}from"./chunk-TYRVM4PP.js";import{A as B,Pb as Fe,b as ce,x as K}from"./chunk-E2O4YZX2.js";import{n as fe}from"./chunk-B6REHI77.js";import{a as Nu}from"./chunk-OB6WEE2V.js";import{k as Ae}from"./chunk-OUKOEUZA.js";import{a as Ou}from"./chunk-3UIUI5Q2.js";import{A as De,B as $u,G as oe,H as se,M as X,O as Fu,a as xu,d as H,l as ee,n as te,q as ne,u as re,v as ie,w as ae}from"./chunk-4AO24KKT.js";import{b as tu,d as ku}from"./chunk-UT667QSU.js";var be=tu((wn,Cu)=>{Cu.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;Cu.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;Cu.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/});var Mu=tu((Pn,Se)=>{var Iu=be();Se.exports={isSpaceSeparator(u){return typeof u=="string"&&Iu.Space_Separator.test(u)},isIdStartChar(u){return typeof u=="string"&&(u>="a"&&u<="z"||u>="A"&&u<="Z"||u==="$"||u==="_"||Iu.ID_Start.test(u))},isIdContinueChar(u){return typeof u=="string"&&(u>="a"&&u<="z"||u>="A"&&u<="Z"||u>="0"&&u<="9"||u==="$"||u==="_"||u==="\u200C"||u==="\u200D"||Iu.ID_Continue.test(u))},isDigit(u){return typeof u=="string"&&/[0-9]/.test(u)},isHexDigit(u){return typeof u=="string"&&/[0-9A-Fa-f]/.test(u)}}});var $e=tu((bn,xe)=>{var N=Mu(),Tu,O,J,lu,W,R,x,Vu,ru;xe.exports=function(e,n){Tu=String(e),O="start",J=[],lu=0,W=1,R=0,x=void 0,Vu=void 0,ru=void 0;do x=gt(),wt[O]();while(x.type!=="eof");return typeof n=="function"?ju({"":ru},"",n):ru};function ju(u,e,n){let t=u[e];if(t!=null&&typeof t=="object")if(Array.isArray(t))for(let i=0;i<t.length;i++){let a=String(i),D=ju(t,a,n);D===void 0?delete t[a]:Object.defineProperty(t,a,{value:D,writable:!0,enumerable:!0,configurable:!0})}else for(let i in t){let a=ju(t,i,n);a===void 0?delete t[i]:Object.defineProperty(t,i,{value:a,writable:!0,enumerable:!0,configurable:!0})}return n.call(u,e,t)}var F,s,nu,V,f;function gt(){for(F="default",s="",nu=!1,V=1;;){f=z();let u=ke[F]();if(u)return u}}function z(){if(Tu[lu])return String.fromCodePoint(Tu.codePointAt(lu))}function r(){let u=z();return u===`
|
|
8
|
-
`?(W++,R=0):u?R+=u.length:R++,u&&(lu+=u.length),u}var ke={default(){switch(f){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
|
|
9
|
-
`:case"\r":case"\u2028":case"\u2029":r();return;case"/":r(),F="comment";return;case void 0:return r(),w("eof")}if(N.isSpaceSeparator(f)){r();return}return ke[O]()},comment(){switch(f){case"*":r(),F="multiLineComment";return;case"/":r(),F="singleLineComment";return}throw P(r())},multiLineComment(){switch(f){case"*":r(),F="multiLineCommentAsterisk";return;case void 0:throw P(r())}r()},multiLineCommentAsterisk(){switch(f){case"*":r();return;case"/":r(),F="default";return;case void 0:throw P(r())}r(),F="multiLineComment"},singleLineComment(){switch(f){case`
|
|
10
|
-
`:case"\r":case"\u2028":case"\u2029":r(),F="default";return;case void 0:return r(),w("eof")}r()},value(){switch(f){case"{":case"[":return w("punctuator",r());case"n":return r(),Z("ull"),w("null",null);case"t":return r(),Z("rue"),w("boolean",!0);case"f":return r(),Z("alse"),w("boolean",!1);case"-":case"+":r()==="-"&&(V=-1),F="sign";return;case".":s=r(),F="decimalPointLeading";return;case"0":s=r(),F="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":s=r(),F="decimalInteger";return;case"I":return r(),Z("nfinity"),w("numeric",1/0);case"N":return r(),Z("aN"),w("numeric",NaN);case'"':case"'":nu=r()==='"',s="",F="string";return}throw P(r())},identifierNameStartEscape(){if(f!=="u")throw P(r());r();let u=Lu();switch(u){case"$":case"_":break;default:if(!N.isIdStartChar(u))throw ve();break}s+=u,F="identifierName"},identifierName(){switch(f){case"$":case"_":case"\u200C":case"\u200D":s+=r();return;case"\\":r(),F="identifierNameEscape";return}if(N.isIdContinueChar(f)){s+=r();return}return w("identifier",s)},identifierNameEscape(){if(f!=="u")throw P(r());r();let u=Lu();switch(u){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!N.isIdContinueChar(u))throw ve();break}s+=u,F="identifierName"},sign(){switch(f){case".":s=r(),F="decimalPointLeading";return;case"0":s=r(),F="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":s=r(),F="decimalInteger";return;case"I":return r(),Z("nfinity"),w("numeric",V*(1/0));case"N":return r(),Z("aN"),w("numeric",NaN)}throw P(r())},zero(){switch(f){case".":s+=r(),F="decimalPoint";return;case"e":case"E":s+=r(),F="decimalExponent";return;case"x":case"X":s+=r(),F="hexadecimal";return}return w("numeric",V*0)},decimalInteger(){switch(f){case".":s+=r(),F="decimalPoint";return;case"e":case"E":s+=r(),F="decimalExponent";return}if(N.isDigit(f)){s+=r();return}return w("numeric",V*Number(s))},decimalPointLeading(){if(N.isDigit(f)){s+=r(),F="decimalFraction";return}throw P(r())},decimalPoint(){switch(f){case"e":case"E":s+=r(),F="decimalExponent";return}if(N.isDigit(f)){s+=r(),F="decimalFraction";return}return w("numeric",V*Number(s))},decimalFraction(){switch(f){case"e":case"E":s+=r(),F="decimalExponent";return}if(N.isDigit(f)){s+=r();return}return w("numeric",V*Number(s))},decimalExponent(){switch(f){case"+":case"-":s+=r(),F="decimalExponentSign";return}if(N.isDigit(f)){s+=r(),F="decimalExponentInteger";return}throw P(r())},decimalExponentSign(){if(N.isDigit(f)){s+=r(),F="decimalExponentInteger";return}throw P(r())},decimalExponentInteger(){if(N.isDigit(f)){s+=r();return}return w("numeric",V*Number(s))},hexadecimal(){if(N.isHexDigit(f)){s+=r(),F="hexadecimalInteger";return}throw P(r())},hexadecimalInteger(){if(N.isHexDigit(f)){s+=r();return}return w("numeric",V*Number(s))},string(){switch(f){case"\\":r(),s+=ht();return;case'"':if(nu)return r(),w("string",s);s+=r();return;case"'":if(!nu)return r(),w("string",s);s+=r();return;case`
|
|
11
|
-
`:case"\r":throw P(r());case"\u2028":case"\u2029":Pt(f);break;case void 0:throw P(r())}s+=r()},start(){switch(f){case"{":case"[":return w("punctuator",r())}F="value"},beforePropertyName(){switch(f){case"$":case"_":s=r(),F="identifierName";return;case"\\":r(),F="identifierNameStartEscape";return;case"}":return w("punctuator",r());case'"':case"'":nu=r()==='"',F="string";return}if(N.isIdStartChar(f)){s+=r(),F="identifierName";return}throw P(r())},afterPropertyName(){if(f===":")return w("punctuator",r());throw P(r())},beforePropertyValue(){F="value"},afterPropertyValue(){switch(f){case",":case"}":return w("punctuator",r())}throw P(r())},beforeArrayValue(){if(f==="]")return w("punctuator",r());F="value"},afterArrayValue(){switch(f){case",":case"]":return w("punctuator",r())}throw P(r())},end(){throw P(r())}};function w(u,e){return{type:u,value:e,line:W,column:R}}function Z(u){for(let e of u){if(z()!==e)throw P(r());r()}}function ht(){switch(z()){case"b":return r(),"\b";case"f":return r(),"\f";case"n":return r(),`
|
|
12
|
-
`;case"r":return r(),"\r";case"t":return r()," ";case"v":return r(),"\v";case"0":if(r(),N.isDigit(z()))throw P(r());return"\0";case"x":return r(),yt();case"u":return r(),Lu();case`
|
|
13
|
-
`:case"\u2028":case"\u2029":return r(),"";case"\r":return r(),z()===`
|
|
14
|
-
`&&r(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw P(r());case void 0:throw P(r())}return r()}function yt(){let u="",e=z();if(!N.isHexDigit(e)||(u+=r(),e=z(),!N.isHexDigit(e)))throw P(r());return u+=r(),String.fromCodePoint(parseInt(u,16))}function Lu(){let u="",e=4;for(;e-- >0;){let n=z();if(!N.isHexDigit(n))throw P(r());u+=r()}return String.fromCodePoint(parseInt(u,16))}var wt={start(){if(x.type==="eof")throw Q();Ru()},beforePropertyName(){switch(x.type){case"identifier":case"string":Vu=x.value,O="afterPropertyName";return;case"punctuator":fu();return;case"eof":throw Q()}},afterPropertyName(){if(x.type==="eof")throw Q();O="beforePropertyValue"},beforePropertyValue(){if(x.type==="eof")throw Q();Ru()},beforeArrayValue(){if(x.type==="eof")throw Q();if(x.type==="punctuator"&&x.value==="]"){fu();return}Ru()},afterPropertyValue(){if(x.type==="eof")throw Q();switch(x.value){case",":O="beforePropertyName";return;case"}":fu()}},afterArrayValue(){if(x.type==="eof")throw Q();switch(x.value){case",":O="beforeArrayValue";return;case"]":fu()}},end(){}};function Ru(){let u;switch(x.type){case"punctuator":switch(x.value){case"{":u={};break;case"[":u=[];break}break;case"null":case"boolean":case"numeric":case"string":u=x.value;break}if(ru===void 0)ru=u;else{let e=J[J.length-1];Array.isArray(e)?e.push(u):Object.defineProperty(e,Vu,{value:u,writable:!0,enumerable:!0,configurable:!0})}if(u!==null&&typeof u=="object")J.push(u),Array.isArray(u)?O="beforeArrayValue":O="beforePropertyName";else{let e=J[J.length-1];e==null?O="end":Array.isArray(e)?O="afterArrayValue":O="afterPropertyValue"}}function fu(){J.pop();let u=J[J.length-1];u==null?O="end":Array.isArray(u)?O="afterArrayValue":O="afterPropertyValue"}function P(u){return Eu(u===void 0?`JSON5: invalid end of input at ${W}:${R}`:`JSON5: invalid character '${Ne(u)}' at ${W}:${R}`)}function Q(){return Eu(`JSON5: invalid end of input at ${W}:${R}`)}function ve(){return R-=5,Eu(`JSON5: invalid identifier character at ${W}:${R}`)}function Pt(u){console.warn(`JSON5: '${Ne(u)}' in strings is not valid ECMAScript; consider escaping`)}function Ne(u){let e={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(e[u])return e[u];if(u<" "){let n=u.charCodeAt(0).toString(16);return"\\x"+("00"+n).substring(n.length)}return u}function Eu(u){let e=new SyntaxError(u);return e.lineNumber=W,e.columnNumber=R,e}});var _e=tu((Sn,Oe)=>{var Ju=Mu();Oe.exports=function(e,n,t){let i=[],a="",D,c,p="",l;if(n!=null&&typeof n=="object"&&!Array.isArray(n)&&(t=n.space,l=n.quote,n=n.replacer),typeof n=="function")c=n;else if(Array.isArray(n)){D=[];for(let C of n){let h;typeof C=="string"?h=C:(typeof C=="number"||C instanceof String||C instanceof Number)&&(h=String(C)),h!==void 0&&D.indexOf(h)<0&&D.push(h)}}return t instanceof Number?t=Number(t):t instanceof String&&(t=String(t)),typeof t=="number"?t>0&&(t=Math.min(10,Math.floor(t)),p=" ".substr(0,t)):typeof t=="string"&&(p=t.substr(0,10)),g("",{"":e});function g(C,h){let o=h[C];switch(o!=null&&(typeof o.toJSON5=="function"?o=o.toJSON5(C):typeof o.toJSON=="function"&&(o=o.toJSON(C))),c&&(o=c.call(h,C,o)),o instanceof Number?o=Number(o):o instanceof String?o=String(o):o instanceof Boolean&&(o=o.valueOf()),o){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof o=="string")return S(o,!1);if(typeof o=="number")return String(o);if(typeof o=="object")return Array.isArray(o)?yu(o):M(o)}function S(C){let h={"'":.1,'"':.2},o={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},m="";for(let y=0;y<C.length;y++){let k=C[y];switch(k){case"'":case'"':h[k]++,m+=k;continue;case"\0":if(Ju.isDigit(C[y+1])){m+="\\x00";continue}}if(o[k]){m+=o[k];continue}if(k<" "){let U=k.charCodeAt(0).toString(16);m+="\\x"+("00"+U).substring(U.length);continue}m+=k}let E=l||Object.keys(h).reduce((y,k)=>h[y]<h[k]?y:k);return m=m.replace(new RegExp(E,"g"),o[E]),E+m+E}function M(C){if(i.indexOf(C)>=0)throw TypeError("Converting circular structure to JSON5");i.push(C);let h=a;a=a+p;let o=D||Object.keys(C),m=[];for(let y of o){let k=g(y,C);if(k!==void 0){let U=L(y)+":";p!==""&&(U+=" "),U+=k,m.push(U)}}let E;if(m.length===0)E="{}";else{let y;if(p==="")y=m.join(","),E="{"+y+"}";else{let k=`,
|
|
15
|
-
`+a;y=m.join(k),E=`{
|
|
16
|
-
`+a+y+`,
|
|
17
|
-
`+h+"}"}}return i.pop(),a=h,E}function L(C){if(C.length===0)return S(C,!0);let h=String.fromCodePoint(C.codePointAt(0));if(!Ju.isIdStartChar(h))return S(C,!0);for(let o=h.length;o<C.length;o++)if(!Ju.isIdContinueChar(String.fromCodePoint(C.codePointAt(o))))return S(C,!0);return C}function yu(C){if(i.indexOf(C)>=0)throw TypeError("Converting circular structure to JSON5");i.push(C);let h=a;a=a+p;let o=[];for(let E=0;E<C.length;E++){let y=g(String(E),C);o.push(y!==void 0?y:"null")}let m;if(o.length===0)m="[]";else if(p==="")m="["+o.join(",")+"]";else{let E=`,
|
|
18
|
-
`+a,y=o.join(E);m=`[
|
|
19
|
-
`+a+y+`,
|
|
20
|
-
`+h+"]"}return i.pop(),a=h,m}}});var Me=tu((vn,Ie)=>{var bt=$e(),St=_e(),vt={parse:bt,stringify:St};Ie.exports=vt});import*as d from"node:fs/promises";import*as A from"node:path";var we="0.0",mt=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/,Pe=H.object({appId:H.string().regex(mt),path:H.string()}).refine(({appId:u,path:e})=>e===`apps/${u}`,{message:"Packed app path must be the portable relative path apps/<appId>.",path:["path"]}),Bt=H.object({cliVersion:H.string(),manifestVersion:H.literal(we),apps:H.array(Pe)});var ct=ku(Me(),1);import*as j from"node:path";var pu={"@microsoft/cmr-apps/data":"@microsoft/cmr-functions/data","@microsoft/managed-apps/data":"@microsoft/cmr-functions/data"},Re="@config/dataSources";async function Te(u){let{projectRoot:e,functions:n}=u;if(n.length===0)return new Map;let t=await import("esbuild").catch(a=>{throw new K(`esbuild is required to pack functions but could not be loaded: ${a.message}`)}),i=await Promise.all(n.map(async a=>{let c=(await t.build({entryPoints:[a.absPath],bundle:!0,write:!1,format:"esm",platform:"neutral",target:"es2022",external:[...Object.values(pu),Re],alias:pu,plugins:[kt(e),Nt(e)],logLevel:"silent"})).outputFiles?.[0];if(!c)throw new K(`Failed to bundle function ${a.relPath}: esbuild produced no output`);return[a.relPath,c.text]}));return new Map(i)}function kt(u){let e=j.resolve(u,"generated/dataSources.ts");return{name:"external-data-sources",setup(n){n.onResolve({filter:/(^|\/)dataSources$/},t=>!t.path.startsWith(".")||j.resolve(j.dirname(t.importer),t.path)+".ts"!==e?null:{path:Re,external:!0})}}}function Nt(u){let e=j.resolve(u,"generated");return{name:"allowlist-imports",setup(n){n.onResolve({filter:/.*/},t=>{if(t.kind==="entry-point")return null;if(t.path.startsWith(".")){let i=j.resolve(j.dirname(t.importer),t.path);return i===e||i.startsWith(e+j.sep)?null:{errors:[{text:`Relative import '${t.path}' is outside the allowed 'generated/' folder`}]}}return pu[t.path]?null:{errors:[{text:`Import '${t.path}' is not on the allowlist. Allowed: relative imports into 'generated/' and ${Object.keys(pu).map(i=>`'${i}'`).join(", ")}.`}]}})}}}var Le=ku(dt(),1);import*as du from"node:fs/promises";import*as je from"node:path";var zu="functions.zip",Ve={archive:"zip",compression:"deflate"};async function Je(u){let e=[];return await ze(u,"",e),e.sort((n,t)=>n.relPath.localeCompare(t.relPath)),e}async function ze(u,e,n){let t=await du.readdir(u,{withFileTypes:!0});for(let i of t){let a=e?`${e}/${i.name}`:i.name,D=je.join(u,i.name);i.isDirectory()?await ze(D,a,n):i.isFile()&&xt(i.name)&&n.push({relPath:a,absPath:D})}}function xt(u){return u.endsWith(".ts")&&!u.endsWith(".d.ts")&&!u.endsWith(".test.ts")&&!u.endsWith(".spec.ts")}async function qe(u){let e;try{e=await du.stat(u)}catch{throw new B(`functions.baseDirectory does not exist: ${u}`)}if(!e.isDirectory())throw new B(`functions.baseDirectory is not a directory: ${u}`)}function Ue(u,e){let n={};for(let t of u){let i=`${e}/${He(t.relPath)}`;n[`/${i}`]={type:"function",path:`${i}.js`}}return n}function He(u){return u.slice(0,-3)}async function Ke(u){let{baseDirName:e,functions:n,bundles:t,manifestContent:i,dataSourcesJson:a}=u;return new Promise((D,c)=>{let p=[],l=(0,Le.default)("zip",{zlib:{level:9}});l.on("data",g=>p.push(g)),l.on("warning",c),l.on("error",c),l.on("end",()=>D(Buffer.concat(p)));for(let g of n){let S=t.get(g.relPath);if(S===void 0){c(new Error(`Missing bundled output for function ${g.relPath}`));return}let M=He(g.relPath);l.append(S,{name:`${e}/${M}.js`})}l.append(i,{name:"manifest.json"}),a!==void 0&&l.append(a,{name:"dataSources.json"}),l.finalize()})}import*as Bu from"node:fs";import*as b from"node:path";var We="packed",Ge="apps",Uu="client",$t="project.manifest.json";function qu(u,e,n=!1){let t=b.relative(u,e);return t.length===0?n:t!==".."&&!t.startsWith(`..${b.sep}`)&&!b.isAbsolute(t)}function Ye(u,e,n=b.join(u,`.${"ms"}`)){if(!e)return b.join(gu(u),We);let t=b.resolve(e),i=b.resolve(n),a=mu(t),D=mu(i);if(!qu(i,t)||!qu(D,a))throw new B(`Packed folder override must be inside ${i}: ${t}`);return t}function gu(u){let e=mu(u),n=mu(b.join(u,`.${"ms"}`));if(!qu(e,n))throw new B(`The .${"ms"} directory must resolve inside the project root: ${u}`);return n}function mu(u){let e=b.resolve(u),n=[];for(;!Ot(e);){let t=b.dirname(e);if(t===e)break;n.unshift(b.basename(e)),e=t}return b.resolve(Bu.realpathSync.native(e),...n)}function Ot(u){try{return Bu.lstatSync(u),!0}catch(e){if(e.code==="ENOENT")return!1;throw e}}function Hu(u,e){return b.join(u,Ge,e)}function Xe(u,e){return b.join(Hu(u,e),Uu)}function Mn(u){return b.posix.join(Ge,u)}function Rn(u){return b.join(u,$t)}function Tn(u,e){return b.join(gu(u),`${We}-staging-${e}`)}function Ze(u,e){if(!u)throw new B(`appId is required in ${e}`);if(!ee(u))throw new B(`appId in ${e} must be a valid GUID`);return u.toLowerCase()}var tt=ku(pt(),1);import*as $ from"node:fs/promises";import*as q from"node:path";var Qe="package-inventory.json",_t=1024*1024,It=10*1024*1024,Mt=1e4,ut=200,Rt=64*1024,Tt=/^(?:@[a-z0-9~][a-z0-9._~-]*\/)?[a-z0-9~][a-z0-9._~-]*$/i,_=class extends Error{constructor(n){super(n);this.reason=n}reason};function Ku(u){return{schemaVersion:1,status:"unavailable",reason:u}}function au(u){return typeof u=="object"&&u!==null&&!Array.isArray(u)}function nt(u){return typeof u=="string"&&u.length<=214&&Tt.test(u)}async function et(u,e){if(!(await $.stat(u)).isFile())throw new _("invalid-package-manifest");let n=await $.open(u,"r");try{let t=await n.stat();if(!t.isFile())throw new _("invalid-package-manifest");if(t.size>_t)throw new _("package-manifest-too-large");if(e.bytes+=t.size,e.bytes>It)throw new _("manifest-data-too-large");let i=Buffer.alloc(t.size+1),a=0;for(;a<i.length;){let{bytesRead:D}=await n.read(i,a,i.length-a,null);if(D===0)break;a+=D}if(a!==t.size)throw new _("read-failed");try{return JSON.parse(i.subarray(0,a).toString("utf8"))}catch{throw new _("invalid-package-manifest")}}finally{await n.close()}}function jt(u){if(!au(u))throw new _("invalid-production-dependencies");let e=new Map;for(let n of["dependencies","optionalDependencies"]){let t=u[n];if(t!==void 0){if(!au(t))throw new _("invalid-production-dependencies");for(let[i,a]of Object.entries(t)){if(!nt(i)||typeof a!="string")throw new _("invalid-production-dependencies");if(e.set(i,n==="optionalDependencies"),e.size>Mt)throw new _("too-many-packages")}}}return e}async function Lt(u){try{let e=jt(await et(q.join(u,"package.json"),{bytes:0})),n=q.join(u,"node_modules");if(e.size>0)try{if(!(await $.stat(n)).isDirectory())return Ku("invalid-node-modules")}catch(c){return Ku(au(c)&&c.code==="ENOENT"?"missing-node-modules":"read-failed")}let t=new Map,i={bytes:0},a=0;for(let c of[...e.keys()].sort()){let p=e.get(c)===!0,l=q.join(n,c);try{await $.lstat(l)}catch(L){if(!au(L)||L.code!=="ENOENT")throw L;p||a++;continue}let g=await et(q.join(l,"package.json"),i);if(!au(g)||!nt(g.name)||typeof g.version!="string"||g.version.length>256||(0,tt.valid)(g.version)===null)throw new _("invalid-package-manifest");let S=JSON.stringify([g.name,g.version]),M=t.get(S);M?M.optional=M.optional&&p:t.set(S,{name:g.name,version:g.version,optional:p})}let D={schemaVersion:1,status:"available",scope:"directProduction",totalPackageCount:t.size+a,truncated:t.size>ut,unresolvedPackageCount:a,packages:[...t.values()].slice(0,ut)};for(;Buffer.byteLength(JSON.stringify(D)+`
|
|
21
|
-
`)>Rt;)D.packages.pop(),D.truncated=!0;return D}catch(e){return Ku(e instanceof _?e.reason:"read-failed")}}async function rt(u,e){let n=await Lt(u);n.status==="unavailable"&&Fu(`Package inventory is unavailable (${n.reason}).`);let t;try{let i=q.join(u,`.${"ms"}`);await $.mkdir(i,{recursive:!0}),t=await $.mkdtemp(q.join(i,"package-inventory-"));let a=q.join(t,Qe);await $.writeFile(a,JSON.stringify(n)+`
|
|
22
|
-
`),await $.rename(a,q.join(e,Qe))}catch{Fu("Could not write package inventory; packing will continue.")}finally{if(t!==void 0)try{await $.rm(t,{recursive:!0,force:!0})}catch{Fu("Could not remove temporary package inventory outside the packed output.")}}}function Vt(u,e,n){let t=0,i=!1,a=Promise.resolve();return{write(D){if(i)return;let c=e-t;if(c<=0)return;let p=Buffer.from(`${D}
|
|
23
|
-
`,"utf8"),l=p.length<=c?p:p.subarray(0,c);t+=l.length,a=a.then(async()=>{if(!i)try{await d.appendFile(u,l)}catch(g){i=!0,n?.(g)}})},drainAsync:()=>a}}async function Jt(u,e){try{let n=(await d.stat(u)).size;return Math.max(0,e-n)}catch(n){if(typeof n=="object"&&n!==null&&"code"in n&&n.code==="ENOENT")return e;throw n}}function zt(u,e,n){if(!e||!(u instanceof K))return u;let t=Be(me(e),n);return t?new K(u.message,u.exitCode,u.errorData,{errorCode:u.errorCode,errorCategory:u.errorCategory,telemetryDetails:u.telemetryDetails,retryable:u.retryable,outputDetails:{...u.outputDetails,rayfinBuildOutputTail:t}}):u}var qt="manifest.json",Ut="dataSources.json",it="dataSchema.json",at=10*1024*1024,Ht="For tabular data sources (allowedActions under dataSets), use only: get, post, patch, delete.";function Kt(u,e=xu){if(!u.buildPath)throw new B(`buildPath is required in ${e} to pack an app`);if(!u.buildEntryPoint)throw new B(`buildEntryPoint is required in ${e} to pack an app`);if(u.buildType!=="none"&&!u.buildCommand)throw new B(`buildCommand is required in ${e} to pack an app`)}function Wt(u,e=n=>new B(n)){let n=te.safeParse(u);if(n.success)return;let t=n.error.issues.map(D=>`${D.path.length>0?D.path.join("."):"(root)"}: ${D.message}`),a=n.error.issues.some(D=>{let c=D.path.map(String);return c.includes("dataSets")&&c.at(-1)==="allowedActions"})?`
|
|
24
|
-
${Ht}`:"";throw e(`Invalid ${xu} for shared connection policy enforcement:
|
|
25
|
-
${t.join(`
|
|
26
|
-
`)}${a}`)}async function Gt(u,e){let n=e.state!==void 0?"state":e.data!==void 0?"data":"db",t=e[n]?.schemaPath;if(t===void 0)return;let i=`${n}.schemaPath`;if(!t.trim())throw new B(`${i} must not be empty: "${t}"`);if(A.isAbsolute(t))throw new B(`${i} must be relative to the project root: "${t}"`);let a=A.resolve(u,t),D=A.relative(u,a);if(D===".."||D.startsWith(`..${A.sep}`)||A.isAbsolute(D))throw new B(`${i} must not resolve outside the project root: "${t}"`);let c;try{c=await d.stat(a)}catch(l){throw new B(`Unable to access ${i} "${t}": ${l.message}`)}if(!c.isFile())throw new B(`${i} must reference a regular file: "${t}"`);if(c.size>at)throw new B(`${i} "${t}" is ${c.size} bytes, which exceeds the ${at/(1024*1024)} MB limit`);let p;try{p=await d.readFile(a)}catch(l){throw new B(`Unable to read ${i} "${t}": ${l.message}`)}try{JSON.parse(p.toString("utf8"))}catch(l){throw new B(`${i} "${t}" must contain valid JSON: ${l.message}`)}return p}var Dt="prod";function Wu(u,e){return{fileName:e,filePath:A.join(u,e)}}async function ot(u){try{return(await d.stat(u)).isFile()}catch(e){if(typeof e=="object"&&e!==null&&"code"in e&&e.code==="ENOENT")return!1;throw e}}async function Yt(u,e){let n=A.basename(e);if(await ot(A.resolve(e)))return Wu(u,n);for(let t of re)if(t!==n&&await ot(A.join(u,t)))return Wu(u,t);return Wu(u,n)}async function Xt(u){let e;try{e=await d.readFile(u,"utf-8")}catch(n){throw new B(`Failed to read ${A.basename(u)}: ${n.message}`)}try{return JSON.parse(e)}catch(n){throw new B(`${A.basename(u)}: ${n.message}`)}}async function Zt(u,e,n){let i=(await d.readdir(u,{withFileTypes:!0})).filter(D=>D.isFile()&&D.name!==ne).map(D=>({fileName:D.name,stageName:ae(D.name,n.fileName)})).filter(D=>D.stageName!==void 0).sort((D,c)=>D.fileName.localeCompare(c.fileName)),a=[];for(let{fileName:D,stageName:c}of i){let p;try{p=await d.readFile(A.join(u,D),"utf-8")}catch(S){throw new B(`Failed to read stage config: ${D}: ${S.message}`)}let l;try{l=De(p)}catch(S){throw new B(`${D}: ${S.message}`)}let g;try{({config:g}=$u(e,l))}catch(S){throw new B(`${D} contains invalid overrides:
|
|
27
|
-
${S.message}`)}a.push({stageName:c,resolvedConfig:g})}if(!a.some(({stageName:D})=>D===Dt)){let{config:D}=$u(e);a.push({stageName:Dt,resolvedConfig:D})}return a}async function Qt(u={}){let e=Date.now(),n=0,t=0,i=0,a=0,D=0,c=0,p=0,{quiet:l=!1,cleanPackedFolder:g=!0,commandLogFilePath:S,commandLogFileMaxBytes:M,onCommandLogError:L}=u,{appConfig:yu,fileConfig:C}=Fe(),h=u.appConfigPath??C.appConfigPath,o=A.dirname(A.resolve(h)),m=await Yt(o,h),E=A.resolve(m.filePath)===A.resolve(C.appConfigPath)?yu:await Xt(m.filePath);if(!E)throw new B(`${m.fileName} is required to pack an app`);Wt(E);let y=Ze(E.appId,m.fileName);Kt(E,m.fileName);let{buildPath:k,buildEntryPoint:U}=E,At=C.projectConfigPath?A.dirname(A.resolve(C.projectConfigPath)):o,Ft=gu(At),Du=Ye(o,u.packedFolder,Ft),T=Hu(Du,y),wu=Xe(Du,y),Gu=E.state?.enabled??E.data?.enabled??E.db?.enabled,Pu=await Gt(o,E),G=E.functions?.baseDirectory?A.resolve(o,E.functions.baseDirectory):void 0;G!==void 0&&await qe(G);let Ct=await Zt(o,E,m),ft=A.resolve(o,k),uu=l?null:new Ce;try{if(E.buildType!=="none"){let{buildCommand:v}=E;l||X(`Running: ${v}`);let I=Date.now();try{await ge(v,o,{quiet:l,...S?{logFilePath:S}:{},...M!==void 0?{logFileMaxBytes:M}:{},...L?{onLogError:L}:{}})}finally{n=Date.now()-I}}uu?.start("Packing client output...");let bu=Date.now();try{g&&await d.rm(Du,{recursive:!0,force:!0}),await d.mkdir(wu,{recursive:!0}),await d.cp(ft,wu,{recursive:!0}),await d.copyFile(m.filePath,A.join(T,m.fileName)),Pu!==void 0&&await d.writeFile(A.join(T,it),Pu);for(let{stageName:v,resolvedConfig:I}of Ct)await d.writeFile(A.join(T,ie(v,m.fileName)),JSON.stringify(I,null,2))}finally{t=Date.now()-bu}let Yu=Date.now(),Su;try{Su=await tn(o,T,{quiet:l})}catch(v){throw i=Date.now()-Yu,v}Su!==void 0&&(i=Date.now()-Yu);let Xu=Date.now(),vu;if(fe("rayfin")&&await le(o)){uu?.update("Packing Rayfin backend...");let v=l&&S?Vt(S,await Jt(S,M??Number.POSITIVE_INFINITY),L):void 0,I=l&&!S?pe():void 0,Au=l?v?.write??(I?eu=>de(I,Buffer.from(`${eu}
|
|
28
|
-
`,"utf8"),Ee):void 0):X;try{vu=await ye({projectRoot:o,packAppOutputDir:T,cliVersion:Nu.version,env:Ae(await he(o)),...Au?{onDetail:Au}:{}}),await v?.drainAsync()}catch(eu){throw a=Date.now()-Xu,await v?.drainAsync(),zt(eu,I,o)}a=Date.now()-Xu}let Zu=Date.now(),Y;try{Y=G!==void 0?await Je(G):[]}catch(v){throw D=Date.now()-Zu,v}G!==void 0&&(D=Date.now()-Zu);let ou=Y.length>0,su=G!==void 0?A.basename(G):void 0,Qu={"/":{type:"client",path:U}};ou&&su!==void 0&&Object.assign(Qu,Ue(Y,su));let cu;if(E.iconPath){let v=A.join(o,E.iconPath),I=A.extname(v).toLowerCase();if(I!==".png"&&I!==".jpg")throw new B(`iconPath in ${m.fileName} must reference a .png or .jpg file, but got "${A.basename(v)}".`);cu=A.basename(v),await d.copyFile(v,A.join(T,cu))}let lt={cliVersion:Nu.version,manifestVersion:_u,clientDirectory:Uu,hasCustomMiddleTier:ou,...ou?{functionsPackage:{path:zu,...Ve}}:{},...cu?{iconPath:cu}:{},...Pu!==void 0?{dataSchemaPath:it}:{},...Gu!==void 0?{dataEnabled:Gu}:{},...vu?{rayfinPackage:vu,backends:{default:{kind:"rayfin"}}}:{},routes:Qu},ue=JSON.stringify(lt,null,2);if(await d.writeFile(A.join(T,qt),ue),ou&&su!==void 0){uu?.update(`Bundling ${Y.length} function${Y.length===1?"":"s"}...`);let v=Date.now(),I;try{I=await Te({projectRoot:o,functions:Y})}finally{c=Date.now()-v}uu?.update("Writing functions archive...");let Au=Date.now();try{let eu=await Ke({baseDirName:su,functions:Y,bundles:I,manifestContent:ue,dataSourcesJson:Su});await d.writeFile(A.join(T,zu),eu)}finally{p=Date.now()-Au}}await rt(o,T);let Et=st({startedAt:e,clientBuildMs:n,clientCopyMs:t,dataSourcesMs:i,rayfinPackMs:a,functionsDiscoveryMs:D,middletierBuildMs:c,functionsArchiveMs:p});return{success:!0,result:{appId:y,packedFolder:Du,packAppOutputDir:T,packClientOutputDir:wu,timings:Et}}}catch(bu){return{success:!1,appId:y,error:bu,timings:st({startedAt:e,clientBuildMs:n,clientCopyMs:t,dataSourcesMs:i,rayfinPackMs:a,functionsDiscoveryMs:D,middletierBuildMs:c,functionsArchiveMs:p})}}finally{uu?.stop()}}function st({startedAt:u,clientBuildMs:e,clientCopyMs:n,dataSourcesMs:t,rayfinPackMs:i,functionsDiscoveryMs:a,middletierBuildMs:D,functionsArchiveMs:c}){return{clientBuildMs:e,clientCopyMs:n,dataSourcesMs:t,rayfinPackMs:i,functionsDiscoveryMs:a,middletierBuildMs:D,functionsArchiveMs:c,totalMs:Date.now()-u}}async function un(u={}){let e=await Qt(u);if(!e.success)throw e.error;return e.result}var hu=A.join(ce,"dataSources.ts"),en=/export\s+default\s+(\{[\s\S]*\});/;async function tn(u,e,n){let t=A.join(u,hu);try{await d.access(t)}catch{n.quiet||X(`${hu} not found \u2014 dataSources.json will not be included in the pack.`);return}let i=await d.readFile(t,"utf-8"),a=en.exec(i);if(!a?.[1])throw new K(`Could not extract dataSources from ${hu}`);let D;try{D=ct.default.parse(a[1])}catch(p){throw new K(`${hu} has an unexpected format: ${p.message}`)}let c=JSON.stringify(D,null,2);return await d.writeFile(A.join(e,Ut),c),c}function nn(u){return u<1e3?`${Math.round(u)}ms`:`${(u/1e3).toFixed(2)}s`}function rn(u){let e=[["Client build",u.clientBuildMs],["Client copy",u.clientCopyMs]];u.dataSourcesMs>0&&e.push(["Data sources",u.dataSourcesMs]),u.rayfinPackMs>0&&e.push(["Rayfin pack",u.rayfinPackMs]),u.middletierBuildMs>0&&e.push(["Middletier build",u.middletierBuildMs]),u.functionsArchiveMs>0&&e.push(["Functions archive",u.functionsArchiveMs]),e.push(["Total",u.totalMs]);let n=Math.max(...e.map(([t])=>t.length));X(""),X("Timings:");for(let[t,i]of e)X(` ${t.padEnd(n)} ${nn(i)}`)}async function Dr(u){u.setDescription(Ou.app.pack.description),u.addExamples(Ou.app.pack.examples),await u.runVerb();let e=u.isJsonMode(),n=await un({quiet:e});e?se(n):(oe("App successfully packed."),rn(n.timings))}export{we as a,qu as b,Ye as c,Mn as d,Rn as e,Tn as f,Ze as g,Kt as h,Wt as i,Qt as j,un as k,Dr as l};
|
|
29
|
-
/*!
|
|
30
|
-
* Copyright (C) Microsoft Corporation. All rights reserved.
|
|
31
|
-
*/
|
|
32
|
-
//# sourceMappingURL=chunk-YMRQPXY7.js.map
|
package/dist/chunk-YYXAAA2U.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __pathDirname } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __pathDirname(__filename);
|
|
7
|
-
import{a as o}from"./chunk-BREK3DVB.js";import{b as I,d as h}from"./chunk-MWN7R4VR.js";import{A as p,Na as d,Ob as u,Pb as w,gb as j,y as c}from"./chunk-E2O4YZX2.js";async function E(a,l=!0,f=u()){let e=w();if(e.projectConfig)return e.projectConfig;let t=e.appConfig;if(!t)throw new c("No managed project or app configuration was found. Run this command from a directory containing ms.project.config.json or ms.config.json.");let r=o(t.projectId),i=o(t.environmentId);if(!r){let n=o(t.appId);if(!n)throw new p("The current app does not specify an app ID.");let s=await a.getTenantIdAsync();if(!s)throw new c("Unable to determine tenant ID. Ensure you are logged in.");let g=await d({tenantId:s,environmentId:i,logger:f,actionsParams:{appName:n}});r=o(g.projectId),i=o(g.environmentId)}if(!r)throw new c("The current app is not associated with a managed project.");if(!i)throw new p("The current app does not specify an environment ID.");a.updateEnvironmentId(i);let C=await j({projectId:r,logger:f}),m=I(C,t.cloud);if(l){let n=e.fileConfig.projectConfigPath;if(!n)throw new p("Unable to determine where ms.project.config.json should be created.");h(n,m)}return m}export{E as a};
|
|
8
|
-
/*!
|
|
9
|
-
* Copyright (C) Microsoft Corporation. All rights reserved.
|
|
10
|
-
*/
|
|
11
|
-
//# sourceMappingURL=chunk-YYXAAA2U.js.map
|