oidc-spa 8.6.11 → 8.6.13
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/core/createOidc.js +1 -1
- package/core/loginOrGoToAuthServer.js +4 -3
- package/core/loginOrGoToAuthServer.js.map +1 -1
- package/core/loginSilent.js +17 -3
- package/core/loginSilent.js.map +1 -1
- package/esm/angular.d.ts +4 -4
- package/esm/{angular.js → angular.mjs} +19 -14
- package/esm/angular.mjs.map +1 -0
- package/esm/backend.d.ts +1 -1
- package/esm/{backend.js → backend.mjs} +5 -5
- package/esm/backend.mjs.map +1 -0
- package/esm/core/{AuthResponse.js → AuthResponse.mjs} +2 -2
- package/esm/core/AuthResponse.mjs.map +1 -0
- package/esm/core/{BASE_URL.js → BASE_URL.mjs} +1 -1
- package/esm/core/BASE_URL.mjs.map +1 -0
- package/esm/core/Oidc.d.ts +1 -1
- package/esm/core/Oidc.mjs +2 -0
- package/esm/core/Oidc.mjs.map +1 -0
- package/esm/core/{OidcInitializationError.js → OidcInitializationError.mjs} +1 -1
- package/esm/core/OidcInitializationError.mjs.map +1 -0
- package/esm/core/OidcMetadata.d.ts +1 -1
- package/esm/core/{OidcMetadata.js → OidcMetadata.mjs} +3 -3
- package/esm/core/OidcMetadata.mjs.map +1 -0
- package/esm/core/{StateData.js → StateData.mjs} +4 -4
- package/esm/core/StateData.mjs.map +1 -0
- package/esm/core/{StateDataCookie.js → StateDataCookie.mjs} +3 -3
- package/esm/core/StateDataCookie.mjs.map +1 -0
- package/esm/core/{configId.js → configId.mjs} +1 -1
- package/esm/core/configId.mjs.map +1 -0
- package/esm/core/createOidc.d.ts +2 -2
- package/esm/core/{createOidc.js → createOidc.mjs} +46 -46
- package/esm/core/createOidc.mjs.map +1 -0
- package/esm/core/{desiredPostLoginRedirectUrl.js → desiredPostLoginRedirectUrl.mjs} +1 -1
- package/esm/core/desiredPostLoginRedirectUrl.mjs.map +1 -0
- package/esm/core/diagnostic.d.ts +1 -1
- package/esm/core/{diagnostic.js → diagnostic.mjs} +7 -7
- package/esm/core/diagnostic.mjs.map +1 -0
- package/esm/core/earlyInit.d.ts +3 -3
- package/esm/core/{earlyInit.js → earlyInit.mjs} +9 -9
- package/esm/core/earlyInit.mjs.map +1 -0
- package/esm/core/evtIsUserActive.d.ts +1 -1
- package/esm/core/{evtIsUserActive.js → evtIsUserActive.mjs} +5 -5
- package/esm/core/evtIsUserActive.mjs.map +1 -0
- package/esm/core/{homeAndRedirectUri.js → homeAndRedirectUri.mjs} +3 -3
- package/esm/core/homeAndRedirectUri.mjs.map +1 -0
- package/esm/core/index.d.ts +3 -3
- package/esm/core/index.mjs +3 -0
- package/esm/core/index.mjs.map +1 -0
- package/esm/core/instancesThatCantUseIframes.d.ts +1 -1
- package/esm/core/{instancesThatCantUseIframes.js → instancesThatCantUseIframes.mjs} +2 -2
- package/esm/core/instancesThatCantUseIframes.mjs.map +1 -0
- package/esm/core/isNewBrowserSession.d.ts +1 -1
- package/esm/core/{isNewBrowserSession.js → isNewBrowserSession.mjs} +1 -1
- package/esm/core/isNewBrowserSession.mjs.map +1 -0
- package/esm/core/loginOrGoToAuthServer.d.ts +2 -2
- package/esm/core/{loginOrGoToAuthServer.js → loginOrGoToAuthServer.mjs} +13 -12
- package/esm/core/loginOrGoToAuthServer.mjs.map +1 -0
- package/esm/core/{loginPropagationToOtherTabs.js → loginPropagationToOtherTabs.mjs} +3 -3
- package/esm/core/loginPropagationToOtherTabs.mjs.map +1 -0
- package/esm/core/loginSilent.d.ts +2 -2
- package/esm/core/{loginSilent.js → loginSilent.mjs} +28 -14
- package/esm/core/loginSilent.mjs.map +1 -0
- package/esm/core/{logoutPropagationToOtherTabs.js → logoutPropagationToOtherTabs.mjs} +3 -3
- package/esm/core/logoutPropagationToOtherTabs.mjs.map +1 -0
- package/esm/core/oidcClientTsUserToTokens.d.ts +2 -2
- package/esm/core/{oidcClientTsUserToTokens.js → oidcClientTsUserToTokens.mjs} +7 -7
- package/esm/core/oidcClientTsUserToTokens.mjs.map +1 -0
- package/esm/core/{ongoingLoginOrRefreshProcesses.js → ongoingLoginOrRefreshProcesses.mjs} +4 -4
- package/esm/core/ongoingLoginOrRefreshProcesses.mjs.map +1 -0
- package/esm/core/{persistedAuthState.js → persistedAuthState.mjs} +4 -4
- package/esm/core/persistedAuthState.mjs.map +1 -0
- package/esm/core/{prShouldLoadApp.js → prShouldLoadApp.mjs} +2 -2
- package/esm/core/prShouldLoadApp.mjs.map +1 -0
- package/esm/core/{tokenExfiltrationDefense.js → tokenExfiltrationDefense.mjs} +5 -5
- package/esm/core/tokenExfiltrationDefense.mjs.map +1 -0
- package/esm/core/{tokenExfiltrationDefense_legacy.js → tokenExfiltrationDefense_legacy.mjs} +2 -2
- package/esm/core/tokenExfiltrationDefense_legacy.mjs.map +1 -0
- package/esm/core/{tokenPlaceholderSubstitution.js → tokenPlaceholderSubstitution.mjs} +2 -2
- package/esm/core/tokenPlaceholderSubstitution.mjs.map +1 -0
- package/esm/entrypoint.d.ts +1 -1
- package/esm/entrypoint.mjs +2 -0
- package/esm/entrypoint.mjs.map +1 -0
- package/esm/index.d.ts +1 -1
- package/esm/index.mjs +2 -0
- package/esm/index.mjs.map +1 -0
- package/esm/keycloak/index.d.ts +3 -3
- package/esm/keycloak/index.mjs +3 -0
- package/esm/keycloak/index.mjs.map +1 -0
- package/esm/keycloak/{isKeycloak.js → isKeycloak.mjs} +1 -1
- package/esm/keycloak/isKeycloak.mjs.map +1 -0
- package/esm/keycloak/keycloak-js/Keycloak.d.ts +2 -2
- package/esm/keycloak/keycloak-js/{Keycloak.js → Keycloak.mjs} +20 -15
- package/esm/keycloak/keycloak-js/Keycloak.mjs.map +1 -0
- package/esm/keycloak/keycloak-js/index.d.ts +2 -2
- package/esm/keycloak/keycloak-js/index.mjs +2 -0
- package/esm/keycloak/keycloak-js/index.mjs.map +1 -0
- package/esm/keycloak/keycloak-js/types.mjs +2 -0
- package/esm/keycloak/keycloak-js/types.mjs.map +1 -0
- package/esm/keycloak/{keycloakIssuerUriParsed.js → keycloakIssuerUriParsed.mjs} +3 -3
- package/esm/keycloak/keycloakIssuerUriParsed.mjs.map +1 -0
- package/esm/keycloak/keycloakUtils.d.ts +1 -1
- package/esm/keycloak/{keycloakUtils.js → keycloakUtils.mjs} +4 -4
- package/esm/keycloak/keycloakUtils.mjs.map +1 -0
- package/esm/keycloak-js.d.ts +1 -1
- package/esm/keycloak-js.mjs +2 -0
- package/esm/keycloak-js.mjs.map +1 -0
- package/esm/mock/index.d.ts +1 -1
- package/esm/mock/index.mjs +2 -0
- package/esm/mock/index.mjs.map +1 -0
- package/esm/mock/oidc.d.ts +1 -1
- package/esm/mock/{oidc.js → oidc.mjs} +8 -8
- package/esm/mock/oidc.mjs.map +1 -0
- package/esm/mock/react.d.ts +8 -8
- package/esm/mock/{react.js → react.mjs} +3 -3
- package/esm/mock/react.mjs.map +1 -0
- package/esm/react/index.d.ts +1 -1
- package/esm/react/index.mjs +2 -0
- package/esm/react/index.mjs.map +1 -0
- package/esm/react/react.d.ts +2 -2
- package/esm/react/{react.js → react.mjs} +7 -7
- package/esm/react/react.mjs.map +1 -0
- package/esm/react-spa/apiBuilder.d.ts +3 -3
- package/esm/react-spa/{apiBuilder.js → apiBuilder.mjs} +2 -2
- package/esm/react-spa/apiBuilder.mjs.map +1 -0
- package/esm/react-spa/createOidcSpaApi.d.ts +3 -3
- package/esm/react-spa/{createOidcSpaApi.js → createOidcSpaApi.mjs} +12 -12
- package/esm/react-spa/createOidcSpaApi.mjs.map +1 -0
- package/esm/react-spa/index.d.ts +2 -2
- package/esm/react-spa/index.mjs +3 -0
- package/esm/react-spa/index.mjs.map +1 -0
- package/esm/react-spa/types.d.ts +2 -2
- package/esm/react-spa/types.mjs +2 -0
- package/esm/react-spa/types.mjs.map +1 -0
- package/esm/tanstack-start/react/accessTokenValidation_rfc9068.d.ts +3 -3
- package/esm/tanstack-start/react/{accessTokenValidation_rfc9068.js → accessTokenValidation_rfc9068.mjs} +4 -4
- package/esm/tanstack-start/react/accessTokenValidation_rfc9068.mjs.map +1 -0
- package/esm/tanstack-start/react/apiBuilder.d.ts +4 -4
- package/esm/tanstack-start/react/{apiBuilder.js → apiBuilder.mjs} +4 -4
- package/esm/tanstack-start/react/apiBuilder.mjs.map +1 -0
- package/esm/tanstack-start/react/createOidcSpaApi.d.ts +3 -3
- package/esm/tanstack-start/react/{createOidcSpaApi.js → createOidcSpaApi.mjs} +15 -15
- package/esm/tanstack-start/react/createOidcSpaApi.mjs.map +1 -0
- package/esm/tanstack-start/react/{disableSsrIfLoginEnforced.js → disableSsrIfLoginEnforced.mjs} +1 -1
- package/esm/tanstack-start/react/disableSsrIfLoginEnforced.mjs.map +1 -0
- package/esm/tanstack-start/react/index.d.ts +4 -4
- package/esm/tanstack-start/react/{index.js → index.mjs} +4 -4
- package/esm/tanstack-start/react/index.mjs.map +1 -0
- package/esm/tanstack-start/react/types.d.ts +4 -4
- package/esm/tanstack-start/react/types.mjs +2 -0
- package/esm/tanstack-start/react/types.mjs.map +1 -0
- package/esm/tanstack-start/react/{withOidcSpaServerEntry.js → withOidcSpaServerEntry.mjs} +2 -2
- package/esm/tanstack-start/react/withOidcSpaServerEntry.mjs.map +1 -0
- package/esm/tools/ConcreteClass.mjs +2 -0
- package/esm/tools/ConcreteClass.mjs.map +1 -0
- package/esm/tools/{Deferred.js → Deferred.mjs} +1 -1
- package/esm/tools/Deferred.mjs.map +1 -0
- package/esm/tools/{Evt.js → Evt.mjs} +2 -2
- package/esm/tools/Evt.mjs.map +1 -0
- package/esm/tools/GetterOrDirectValue.mjs +2 -0
- package/esm/tools/GetterOrDirectValue.mjs.map +1 -0
- package/esm/tools/{INFINITY_TIME.js → INFINITY_TIME.mjs} +1 -1
- package/esm/tools/INFINITY_TIME.mjs.map +1 -0
- package/esm/tools/MaybeAsync.mjs +2 -0
- package/esm/tools/MaybeAsync.mjs.map +1 -0
- package/esm/tools/ReadonlyBehaviorSubject.mjs +2 -0
- package/esm/tools/ReadonlyBehaviorSubject.mjs.map +1 -0
- package/esm/tools/{StatefulEvt.js → StatefulEvt.mjs} +1 -1
- package/esm/tools/StatefulEvt.mjs.map +1 -0
- package/esm/tools/ValueOrAsyncGetter.mjs +2 -0
- package/esm/tools/ValueOrAsyncGetter.mjs.map +1 -0
- package/esm/tools/ZodSchemaLike.mjs +2 -0
- package/esm/tools/ZodSchemaLike.mjs.map +1 -0
- package/esm/tools/{base64.js → base64.mjs} +1 -1
- package/esm/tools/base64.mjs.map +1 -0
- package/esm/tools/{createObjectThatThrowsIfAccessed.js → createObjectThatThrowsIfAccessed.mjs} +1 -1
- package/esm/tools/createObjectThatThrowsIfAccessed.mjs.map +1 -0
- package/esm/tools/{decodeJwt.js → decodeJwt.mjs} +1 -1
- package/esm/tools/decodeJwt.mjs.map +1 -0
- package/esm/tools/{ensureNonBlankPaint.js → ensureNonBlankPaint.mjs} +1 -1
- package/esm/tools/ensureNonBlankPaint.mjs.map +1 -0
- package/esm/tools/{generateUrlSafeRandom.js → generateUrlSafeRandom.mjs} +1 -1
- package/esm/tools/generateUrlSafeRandom.mjs.map +1 -0
- package/esm/tools/{getBaseHref.js → getBaseHref.mjs} +1 -1
- package/esm/tools/getBaseHref.mjs.map +1 -0
- package/esm/tools/{getDownlinkAndRtt.js → getDownlinkAndRtt.mjs} +2 -2
- package/esm/tools/getDownlinkAndRtt.mjs.map +1 -0
- package/esm/tools/{getIsOnline.js → getIsOnline.mjs} +2 -2
- package/esm/tools/getIsOnline.mjs.map +1 -0
- package/esm/tools/{getIsValidRemoteJson.js → getIsValidRemoteJson.mjs} +1 -1
- package/esm/tools/getIsValidRemoteJson.mjs.map +1 -0
- package/esm/tools/{getPrUserInteraction.js → getPrUserInteraction.mjs} +2 -2
- package/esm/tools/getPrUserInteraction.mjs.map +1 -0
- package/esm/tools/getThisCodebaseRootDirPath_esm.mjs +18 -0
- package/esm/tools/getThisCodebaseRootDirPath_esm.mjs.map +1 -0
- package/esm/tools/{getUserEnvironmentInfo.js → getUserEnvironmentInfo.mjs} +1 -1
- package/esm/tools/getUserEnvironmentInfo.mjs.map +1 -0
- package/esm/tools/{haveSharedParentDomain.js → haveSharedParentDomain.mjs} +1 -1
- package/esm/tools/haveSharedParentDomain.mjs.map +1 -0
- package/esm/tools/{isBrowser.js → isBrowser.mjs} +1 -1
- package/esm/tools/isBrowser.mjs.map +1 -0
- package/esm/tools/{isDev.js → isDev.mjs} +1 -1
- package/esm/tools/isDev.mjs.map +1 -0
- package/esm/tools/{isDomain.js → isDomain.mjs} +1 -1
- package/esm/tools/isDomain.mjs.map +1 -0
- package/esm/tools/{isHostnameAuthorized.js → isHostnameAuthorized.mjs} +3 -3
- package/esm/tools/isHostnameAuthorized.mjs.map +1 -0
- package/esm/tools/{isLikelyDevServer.js → isLikelyDevServer.mjs} +2 -2
- package/esm/tools/isLikelyDevServer.mjs.map +1 -0
- package/esm/tools/{lazySessionStorage.js → lazySessionStorage.mjs} +2 -2
- package/esm/tools/lazySessionStorage.mjs.map +1 -0
- package/esm/tools/{parseKeycloakIssuerUri.js → parseKeycloakIssuerUri.mjs} +2 -2
- package/esm/tools/parseKeycloakIssuerUri.mjs.map +1 -0
- package/esm/tools/{readExpirationTimeInJwt.js → readExpirationTimeInJwt.mjs} +4 -4
- package/esm/tools/readExpirationTimeInJwt.mjs.map +1 -0
- package/esm/tools/{startCountdown.js → startCountdown.mjs} +1 -1
- package/esm/tools/startCountdown.mjs.map +1 -0
- package/esm/tools/{subscribeToUserInteraction.js → subscribeToUserInteraction.mjs} +2 -2
- package/esm/tools/subscribeToUserInteraction.mjs.map +1 -0
- package/esm/tools/{toFullyQualifiedUrl.js → toFullyQualifiedUrl.mjs} +1 -1
- package/esm/tools/toFullyQualifiedUrl.mjs.map +1 -0
- package/esm/tools/{toHumanReadableDuration.js → toHumanReadableDuration.mjs} +1 -1
- package/esm/tools/toHumanReadableDuration.mjs.map +1 -0
- package/esm/tools/tsafe/Equals.d.ts +2 -2
- package/esm/tools/tsafe/{Equals.js → Equals.mjs} +1 -1
- package/esm/tools/tsafe/Equals.mjs.map +1 -0
- package/esm/tools/tsafe/Param0.d.ts +5 -2
- package/esm/tools/tsafe/Param0.mjs +2 -0
- package/esm/tools/tsafe/Param0.mjs.map +1 -0
- package/esm/tools/tsafe/Parameters.mjs +2 -0
- package/esm/tools/tsafe/Parameters.mjs.map +1 -0
- package/esm/tools/tsafe/{Reflect.js → Reflect.mjs} +1 -1
- package/esm/tools/tsafe/Reflect.mjs.map +1 -0
- package/esm/tools/tsafe/assert.d.ts +1 -1
- package/esm/tools/tsafe/{assert.js → assert.mjs} +1 -1
- package/esm/tools/tsafe/assert.mjs.map +1 -0
- package/esm/tools/tsafe/{id.js → id.mjs} +1 -1
- package/esm/tools/tsafe/id.mjs.map +1 -0
- package/esm/tools/tsafe/{isAmong.js → isAmong.mjs} +1 -1
- package/esm/tools/tsafe/isAmong.mjs.map +1 -0
- package/esm/tools/tsafe/{noUndefined.js → noUndefined.mjs} +1 -1
- package/esm/tools/tsafe/noUndefined.mjs.map +1 -0
- package/esm/tools/tsafe/tools/StrictEquals.mjs +2 -0
- package/esm/tools/tsafe/tools/StrictEquals.mjs.map +1 -0
- package/esm/tools/tsafe/tools/Unite.mjs +2 -0
- package/esm/tools/tsafe/tools/Unite.mjs.map +1 -0
- package/esm/tools/tsafe/{typeGuard.js → typeGuard.mjs} +1 -1
- package/esm/tools/tsafe/typeGuard.mjs.map +1 -0
- package/esm/tools/tsafe/{uncapitalize.js → uncapitalize.mjs} +1 -1
- package/esm/tools/tsafe/uncapitalize.mjs.map +1 -0
- package/esm/tools/{urlSearchParams.js → urlSearchParams.mjs} +1 -1
- package/esm/tools/urlSearchParams.mjs.map +1 -0
- package/esm/tools/{wildcardsMatch.js → wildcardsMatch.mjs} +1 -1
- package/esm/tools/wildcardsMatch.mjs.map +1 -0
- package/esm/vendor/build-runtime/babel.mjs +44590 -0
- package/esm/vendor/build-runtime/magic-string.mjs +1075 -0
- package/{vite-plugin → esm/vite-plugin}/handleClientEntrypoint.d.ts +2 -2
- package/{vite-plugin/handleClientEntrypoint.js → esm/vite-plugin/handleClientEntrypoint.mjs} +26 -62
- package/esm/vite-plugin/handleClientEntrypoint.mjs.map +1 -0
- package/{vite-plugin → esm/vite-plugin}/handleServerEntrypoint.d.ts +1 -1
- package/{vite-plugin/handleServerEntrypoint.js → esm/vite-plugin/handleServerEntrypoint.mjs} +13 -49
- package/esm/vite-plugin/handleServerEntrypoint.mjs.map +1 -0
- package/esm/vite-plugin/index.d.ts +1 -0
- package/esm/vite-plugin/index.mjs +2 -0
- package/esm/vite-plugin/index.mjs.map +1 -0
- package/{vite-plugin → esm/vite-plugin}/manageOptimizedDeps.d.ts +1 -1
- package/esm/vite-plugin/manageOptimizedDeps.mjs +52 -0
- package/esm/vite-plugin/manageOptimizedDeps.mjs.map +1 -0
- package/{vite-plugin/projectType.js → esm/vite-plugin/projectType.mjs} +2 -5
- package/esm/vite-plugin/projectType.mjs.map +1 -0
- package/{vite-plugin/transformTanstackRouterCreateFileRoute.js → esm/vite-plugin/transformTanstackRouterCreateFileRoute.mjs} +14 -17
- package/esm/vite-plugin/transformTanstackRouterCreateFileRoute.mjs.map +1 -0
- package/esm/vite-plugin/utils.mjs +50 -0
- package/esm/vite-plugin/utils.mjs.map +1 -0
- package/{vite-plugin → esm/vite-plugin}/vite-plugin.d.ts +1 -1
- package/{vite-plugin/vite-plugin.js → esm/vite-plugin/vite-plugin.mjs} +17 -20
- package/esm/vite-plugin/vite-plugin.mjs.map +1 -0
- package/package.json +48 -34
- package/src/core/loginOrGoToAuthServer.ts +5 -3
- package/src/core/loginSilent.ts +22 -3
- package/src/tools/{getThisCodebaseRootDirPath_cjs.ts → getThisCodebaseRootDirPath_esm.ts} +3 -1
- package/src/vite-plugin/manageOptimizedDeps.ts +3 -1
- package/src/vite-plugin/utils.ts +2 -0
- package/esm/angular.js.map +0 -1
- package/esm/backend.js.map +0 -1
- package/esm/core/AuthResponse.js.map +0 -1
- package/esm/core/BASE_URL.js.map +0 -1
- package/esm/core/Oidc.js +0 -2
- package/esm/core/Oidc.js.map +0 -1
- package/esm/core/OidcInitializationError.js.map +0 -1
- package/esm/core/OidcMetadata.js.map +0 -1
- package/esm/core/StateData.js.map +0 -1
- package/esm/core/StateDataCookie.js.map +0 -1
- package/esm/core/configId.js.map +0 -1
- package/esm/core/createOidc.js.map +0 -1
- package/esm/core/desiredPostLoginRedirectUrl.js.map +0 -1
- package/esm/core/diagnostic.js.map +0 -1
- package/esm/core/earlyInit.js.map +0 -1
- package/esm/core/evtIsUserActive.js.map +0 -1
- package/esm/core/homeAndRedirectUri.js.map +0 -1
- package/esm/core/index.js +0 -3
- package/esm/core/index.js.map +0 -1
- package/esm/core/instancesThatCantUseIframes.js.map +0 -1
- package/esm/core/isNewBrowserSession.js.map +0 -1
- package/esm/core/loginOrGoToAuthServer.js.map +0 -1
- package/esm/core/loginPropagationToOtherTabs.js.map +0 -1
- package/esm/core/loginSilent.js.map +0 -1
- package/esm/core/logoutPropagationToOtherTabs.js.map +0 -1
- package/esm/core/oidcClientTsUserToTokens.js.map +0 -1
- package/esm/core/ongoingLoginOrRefreshProcesses.js.map +0 -1
- package/esm/core/persistedAuthState.js.map +0 -1
- package/esm/core/prShouldLoadApp.js.map +0 -1
- package/esm/core/tokenExfiltrationDefense.js.map +0 -1
- package/esm/core/tokenExfiltrationDefense_legacy.js.map +0 -1
- package/esm/core/tokenPlaceholderSubstitution.js.map +0 -1
- package/esm/entrypoint.js +0 -2
- package/esm/entrypoint.js.map +0 -1
- package/esm/index.js +0 -2
- package/esm/index.js.map +0 -1
- package/esm/keycloak/index.js +0 -3
- package/esm/keycloak/index.js.map +0 -1
- package/esm/keycloak/isKeycloak.js.map +0 -1
- package/esm/keycloak/keycloak-js/Keycloak.js.map +0 -1
- package/esm/keycloak/keycloak-js/index.js +0 -2
- package/esm/keycloak/keycloak-js/index.js.map +0 -1
- package/esm/keycloak/keycloak-js/types.js +0 -2
- package/esm/keycloak/keycloak-js/types.js.map +0 -1
- package/esm/keycloak/keycloakIssuerUriParsed.js.map +0 -1
- package/esm/keycloak/keycloakUtils.js.map +0 -1
- package/esm/keycloak-js.js +0 -2
- package/esm/keycloak-js.js.map +0 -1
- package/esm/mock/index.js +0 -2
- package/esm/mock/index.js.map +0 -1
- package/esm/mock/oidc.js.map +0 -1
- package/esm/mock/react.js.map +0 -1
- package/esm/react/index.js +0 -2
- package/esm/react/index.js.map +0 -1
- package/esm/react/react.js.map +0 -1
- package/esm/react-spa/apiBuilder.js.map +0 -1
- package/esm/react-spa/createOidcSpaApi.js.map +0 -1
- package/esm/react-spa/index.js +0 -3
- package/esm/react-spa/index.js.map +0 -1
- package/esm/react-spa/types.js +0 -2
- package/esm/react-spa/types.js.map +0 -1
- package/esm/tanstack-start/react/accessTokenValidation_rfc9068.js.map +0 -1
- package/esm/tanstack-start/react/apiBuilder.js.map +0 -1
- package/esm/tanstack-start/react/createOidcSpaApi.js.map +0 -1
- package/esm/tanstack-start/react/disableSsrIfLoginEnforced.js.map +0 -1
- package/esm/tanstack-start/react/index.js.map +0 -1
- package/esm/tanstack-start/react/types.js +0 -2
- package/esm/tanstack-start/react/types.js.map +0 -1
- package/esm/tanstack-start/react/withOidcSpaServerEntry.js.map +0 -1
- package/esm/tools/ConcreteClass.js +0 -2
- package/esm/tools/ConcreteClass.js.map +0 -1
- package/esm/tools/Deferred.js.map +0 -1
- package/esm/tools/Evt.js.map +0 -1
- package/esm/tools/GetterOrDirectValue.js +0 -2
- package/esm/tools/GetterOrDirectValue.js.map +0 -1
- package/esm/tools/INFINITY_TIME.js.map +0 -1
- package/esm/tools/MaybeAsync.js +0 -2
- package/esm/tools/MaybeAsync.js.map +0 -1
- package/esm/tools/ReadonlyBehaviorSubject.js +0 -2
- package/esm/tools/ReadonlyBehaviorSubject.js.map +0 -1
- package/esm/tools/StatefulEvt.js.map +0 -1
- package/esm/tools/ValueOrAsyncGetter.js +0 -2
- package/esm/tools/ValueOrAsyncGetter.js.map +0 -1
- package/esm/tools/ZodSchemaLike.js +0 -2
- package/esm/tools/ZodSchemaLike.js.map +0 -1
- package/esm/tools/base64.js.map +0 -1
- package/esm/tools/createObjectThatThrowsIfAccessed.js.map +0 -1
- package/esm/tools/decodeJwt.js.map +0 -1
- package/esm/tools/ensureNonBlankPaint.js.map +0 -1
- package/esm/tools/generateUrlSafeRandom.js.map +0 -1
- package/esm/tools/getBaseHref.js.map +0 -1
- package/esm/tools/getDownlinkAndRtt.js.map +0 -1
- package/esm/tools/getIsOnline.js.map +0 -1
- package/esm/tools/getIsValidRemoteJson.js.map +0 -1
- package/esm/tools/getPrUserInteraction.js.map +0 -1
- package/esm/tools/getUserEnvironmentInfo.js.map +0 -1
- package/esm/tools/haveSharedParentDomain.js.map +0 -1
- package/esm/tools/isBrowser.js.map +0 -1
- package/esm/tools/isDev.js.map +0 -1
- package/esm/tools/isDomain.js.map +0 -1
- package/esm/tools/isHostnameAuthorized.js.map +0 -1
- package/esm/tools/isLikelyDevServer.js.map +0 -1
- package/esm/tools/lazySessionStorage.js.map +0 -1
- package/esm/tools/parseKeycloakIssuerUri.js.map +0 -1
- package/esm/tools/readExpirationTimeInJwt.js.map +0 -1
- package/esm/tools/startCountdown.js.map +0 -1
- package/esm/tools/subscribeToUserInteraction.js.map +0 -1
- package/esm/tools/toFullyQualifiedUrl.js.map +0 -1
- package/esm/tools/toHumanReadableDuration.js.map +0 -1
- package/esm/tools/tsafe/Equals.js.map +0 -1
- package/esm/tools/tsafe/Param0.js +0 -2
- package/esm/tools/tsafe/Param0.js.map +0 -1
- package/esm/tools/tsafe/Parameters.js +0 -2
- package/esm/tools/tsafe/Parameters.js.map +0 -1
- package/esm/tools/tsafe/Reflect.js.map +0 -1
- package/esm/tools/tsafe/assert.js.map +0 -1
- package/esm/tools/tsafe/id.js.map +0 -1
- package/esm/tools/tsafe/isAmong.js.map +0 -1
- package/esm/tools/tsafe/noUndefined.js.map +0 -1
- package/esm/tools/tsafe/tools/StrictEquals.js +0 -2
- package/esm/tools/tsafe/tools/StrictEquals.js.map +0 -1
- package/esm/tools/tsafe/tools/Unite.js +0 -2
- package/esm/tools/tsafe/tools/Unite.js.map +0 -1
- package/esm/tools/tsafe/typeGuard.js.map +0 -1
- package/esm/tools/tsafe/uncapitalize.js.map +0 -1
- package/esm/tools/urlSearchParams.js.map +0 -1
- package/esm/tools/wildcardsMatch.js.map +0 -1
- package/tools/getThisCodebaseRootDirPath_cjs.js +0 -53
- package/tools/getThisCodebaseRootDirPath_cjs.js.map +0 -1
- package/vendor/build-runtime/babel.js +0 -3
- package/vendor/build-runtime/magic-string.js +0 -2
- package/vite-plugin/handleClientEntrypoint.js.map +0 -1
- package/vite-plugin/handleServerEntrypoint.js.map +0 -1
- package/vite-plugin/index.d.ts +0 -1
- package/vite-plugin/index.js +0 -6
- package/vite-plugin/index.js.map +0 -1
- package/vite-plugin/manageOptimizedDeps.js +0 -86
- package/vite-plugin/manageOptimizedDeps.js.map +0 -1
- package/vite-plugin/projectType.js.map +0 -1
- package/vite-plugin/transformTanstackRouterCreateFileRoute.js.map +0 -1
- package/vite-plugin/utils.js +0 -88
- package/vite-plugin/utils.js.map +0 -1
- package/vite-plugin/vite-plugin.js.map +0 -1
- /package/{tools/getThisCodebaseRootDirPath_cjs.d.ts → esm/tools/getThisCodebaseRootDirPath_esm.d.ts} +0 -0
- /package/esm/vendor/backend/{evt.js → evt.mjs} +0 -0
- /package/esm/vendor/backend/{jose.js → jose.mjs} +0 -0
- /package/esm/vendor/backend/{tsafe.js → tsafe.mjs} +0 -0
- /package/esm/vendor/backend/{zod.js → zod.mjs} +0 -0
- /package/{vendor → esm/vendor}/build-runtime/babel.d.ts +0 -0
- /package/{vendor → esm/vendor}/build-runtime/magic-string.d.ts +0 -0
- /package/esm/vendor/frontend/{oidc-client-ts.js → oidc-client-ts.mjs} +0 -0
- /package/{vite-plugin → esm/vite-plugin}/projectType.d.ts +0 -0
- /package/{vite-plugin → esm/vite-plugin}/transformTanstackRouterCreateFileRoute.d.ts +0 -0
- /package/{vite-plugin → esm/vite-plugin}/utils.d.ts +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(()=>{var t={562:function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.MagicString=void 0;var i=r(n(573));e.MagicString=i.default},467:function(t,e,n){var r;function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,a(r.key),r)}}function s(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function a(t){var e=function(t){if("object"!=l(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==l(e)?e:e+""}function u(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return h(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){a=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}t=n.nmd(t),function(n,i){function o(t){return"default"in t.exports?t.exports.default:t.exports}"object"===l(e)?(i(t),t.exports=o(t)):(r=function(t){i.apply(this,arguments),t.exports=o(t)}.apply(e,[t]),void 0===r||(t.exports=r))}(0,(function(t){"use strict";var e,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,h={};!function(t,e){for(var r in e)n(t,r,{get:e[r],enumerable:!0})}(h,{decode:function(){return A},decodeGeneratedRanges:function(){return _},decodeOriginalScopes:function(){return C},encode:function(){return N},encodeGeneratedRanges:function(){return j},encodeOriginalScopes:function(){return E}}),t.exports=(e=h,function(t,e,i,s){if(e&&"object"===l(e)||"function"==typeof e){var h,f=u(o(e));try{var c=function(){var i=h.value;a.call(t,i)||undefined===i||n(t,i,{get:function(){return e[i]},enumerable:!(s=r(e,i))||s.enumerable})};for(f.s();!(h=f.n()).done;)c()}catch(t){f.e(t)}finally{f.f()}}return t}(n({},"__esModule",{value:!0}),e));for(var f=",".charCodeAt(0),c=";".charCodeAt(0),d=new Uint8Array(64),p=new Uint8Array(128),v=0;v<64;v++){var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(v);d[v]=g,p[g]=v}function y(t,e){var n=0,r=0,i=0;do{var o=t.next();n|=(31&(i=p[o]))<<r,r+=5}while(32&i);var s=1&n;return n>>>=1,s&&(n=-2147483648|-n),e+n}function m(t,e,n){var r=e-n;r=r<0?-r<<1|1:r<<1;do{var i=31&r;(r>>>=5)>0&&(i|=32),t.write(d[i])}while(r>0);return e}function b(t,e){return!(t.pos>=e)&&t.peek()!==f}var w="undefined"!=typeof TextDecoder?new TextDecoder:"undefined"!=typeof Buffer?{decode:function(t){return Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}}:{decode:function(t){for(var e="",n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e}},k=function(){return s((function t(){i(this,t),this.pos=0,this.out="",this.buffer=new Uint8Array(16384)}),[{key:"write",value:function(t){var e=this.buffer;e[this.pos++]=t,16384===this.pos&&(this.out+=w.decode(e),this.pos=0)}},{key:"flush",value:function(){var t=this.buffer,e=this.out,n=this.pos;return n>0?e+w.decode(t.subarray(0,n)):e}}])}(),S=function(){return s((function t(e){i(this,t),this.pos=0,this.buffer=e}),[{key:"next",value:function(){return this.buffer.charCodeAt(this.pos++)}},{key:"peek",value:function(){return this.buffer.charCodeAt(this.pos)}},{key:"indexOf",value:function(t){var e=this.buffer,n=this.pos,r=e.indexOf(t,n);return-1===r?e.length:r}}])}(),x=[];function C(t){for(var e=t.length,n=new S(t),r=[],i=[],o=0;n.pos<e;n.pos++){o=y(n,o);var s=y(n,0);if(b(n,e)){var a=y(n,0),u=1&y(n,0)?[o,s,0,0,a,y(n,0)]:[o,s,0,0,a],h=x;if(b(n,e)){h=[];do{var l=y(n,0);h.push(l)}while(b(n,e))}u.vars=h,r.push(u),i.push(u)}else{var f=i.pop();f[2]=o,f[3]=s}}return r}function E(t){for(var e=new k,n=0;n<t.length;)n=O(t,n,e,[0]);return e.flush()}function O(t,e,n,r){var i=t[e],o=i[0],s=i[1],a=i[2],h=i[3],l=i[4],c=i.vars;e>0&&n.write(f),r[0]=m(n,o,r[0]),m(n,s,0),m(n,l,0),m(n,6===i.length?1:0,0),6===i.length&&m(n,i[5],0);var d,p=u(c);try{for(p.s();!(d=p.n()).done;)m(n,d.value,0)}catch(t){p.e(t)}finally{p.f()}for(e++;e<t.length;){var v=t[e],g=v[0],y=v[1];if(g>a||g===a&&y>=h)break;e=O(t,e,n,r)}return n.write(f),r[0]=m(n,a,r[0]),m(n,h,0),e}function _(t){var e=t.length,n=new S(t),r=[],i=[],o=0,s=0,a=0,u=0,h=0,l=0,f=0,c=0;do{for(var d=n.indexOf(";"),p=0;n.pos<d;n.pos++)if(p=y(n,p),b(n,d)){var v=y(n,0),g=2&v,m=4&v,w=null,k=x,C=void 0;if(1&v){var E=y(n,s);a=y(n,s===E?a:0),s=E,C=[o,p,0,0,E,a]}else C=[o,p,0,0];if(C.isScope=!!m,g){var O=h,_=u===(u=y(n,u));w=[u,h=y(n,_?h:0),l=y(n,_&&O===h?l:0)]}if(C.callsite=w,b(n,d)){k=[];do{f=o,c=p;var j=y(n,0),L=void 0;if(j<-1){L=[[y(n,0)]];for(var R=-1;R>j;R--){var A=f;f=y(n,f),c=y(n,f===A?c:0);var I=y(n,0);L.push([I,f,c])}}else L=[[j]];k.push(L)}while(b(n,d))}C.bindings=k,r.push(C),i.push(C)}else{var P=i.pop();P[2]=o,P[3]=p}o++,n.pos=d+1}while(n.pos<e);return r}function j(t){if(0===t.length)return"";for(var e=new k,n=0;n<t.length;)n=L(t,n,e,[0,0,0,0,0,0,0]);return e.flush()}function L(t,e,n,r){var i=t[e],o=i[0],s=i[1],a=i[2],h=i[3],l=i.isScope,c=i.callsite,d=i.bindings;if(r[0]<o?(R(n,r[0],o),r[0]=o,r[1]=0):e>0&&n.write(f),r[1]=m(n,i[1],r[1]),m(n,(6===i.length?1:0)|(c?2:0)|(l?4:0),0),6===i.length){var p=i[4],v=i[5];p!==r[2]&&(r[3]=0),r[2]=m(n,p,r[2]),r[3]=m(n,v,r[3])}if(c){var g=i.callsite,y=g[0],b=g[1],w=g[2];y!==r[4]?(r[5]=0,r[6]=0):b!==r[5]&&(r[6]=0),r[4]=m(n,y,r[4]),r[5]=m(n,b,r[5]),r[6]=m(n,w,r[6])}if(d){var k,S=u(d);try{for(S.s();!(k=S.n()).done;){var x=k.value;x.length>1&&m(n,-x.length,0),m(n,x[0][0],0);for(var C=o,E=s,O=1;O<x.length;O++){var _=x[O];C=m(n,_[1],C),E=m(n,_[2],E),m(n,_[0],0)}}}catch(t){S.e(t)}finally{S.f()}}for(e++;e<t.length;){var j=t[e],A=j[0],I=j[1];if(A>a||A===a&&I>=h)break;e=L(t,e,n,r)}return r[0]<a?(R(n,r[0],a),r[0]=a,r[1]=0):n.write(f),r[1]=m(n,h,r[1]),e}function R(t,e,n){do{t.write(c)}while(++e<n)}function A(t){var e=t.length,n=new S(t),r=[],i=0,o=0,s=0,a=0,u=0;do{var h=n.indexOf(";"),l=[],f=!0,c=0;for(i=0;n.pos<h;){var d=void 0;(i=y(n,i))<c&&(f=!1),c=i,b(n,h)?(o=y(n,o),s=y(n,s),a=y(n,a),d=b(n,h)?[i,o,s,a,u=y(n,u)]:[i,o,s,a]):d=[i],l.push(d),n.pos++}f||I(l),r.push(l),n.pos=h+1}while(n.pos<=e);return r}function I(t){t.sort(P)}function P(t,e){return t[0]-e[0]}function N(t){for(var e=new k,n=0,r=0,i=0,o=0,s=0;s<t.length;s++){var a=t[s];if(s>0&&e.write(c),0!==a.length)for(var u=0,h=0;h<a.length;h++){var l=a[h];h>0&&e.write(f),u=m(e,l[0],u),1!==l.length&&(n=m(e,l[1],n),r=m(e,l[2],r),i=m(e,l[3],i),4!==l.length&&(o=m(e,l[4],o)))}}return e.flush()}}))},573:(t,e,n)=>{"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function s(t,e,n){return(e=f(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,f(r.key),r)}}function l(t,e,n){return e&&h(t.prototype,e),n&&h(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function f(t){var e=function(t){if("object"!=a(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==a(e)?e:e+""}var c=n(467),d=function(){return l((function t(e){u(this,t),this.bits=e instanceof t?e.bits.slice():[]}),[{key:"add",value:function(t){this.bits[t>>5]|=1<<(31&t)}},{key:"has",value:function(t){return!!(this.bits[t>>5]&1<<(31&t))}}])}(),p=function(){function t(e,n,r){u(this,t),this.start=e,this.end=n,this.original=r,this.intro="",this.outro="",this.content=r,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}return l(t,[{key:"appendLeft",value:function(t){this.outro+=t}},{key:"appendRight",value:function(t){this.intro=this.intro+t}},{key:"clone",value:function(){var e=new t(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}},{key:"contains",value:function(t){return this.start<t&&t<this.end}},{key:"eachNext",value:function(t){for(var e=this;e;)t(e),e=e.next}},{key:"eachPrevious",value:function(t){for(var e=this;e;)t(e),e=e.previous}},{key:"edit",value:function(t,e,n){return this.content=t,n||(this.intro="",this.outro=""),this.storeName=e,this.edited=!0,this}},{key:"prependLeft",value:function(t){this.outro=t+this.outro}},{key:"prependRight",value:function(t){this.intro=t+this.intro}},{key:"reset",value:function(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}},{key:"split",value:function(e){var n=e-this.start,r=this.original.slice(0,n),i=this.original.slice(n);this.original=r;var o=new t(e,this.end,i);return o.outro=this.outro,this.outro="",this.end=e,this.edited?(o.edit("",!1),this.content=""):this.content=r,o.next=this.next,o.next&&(o.next.previous=o),o.previous=this,this.next=o,o}},{key:"toString",value:function(){return this.intro+this.content+this.outro}},{key:"trimEnd",value:function(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;var e=this.content.replace(t,"");return e.length?(e!==this.content&&(this.split(this.start+e.length).edit("",void 0,!0),this.edited&&this.edit(e,this.storeName,!0)),!0):(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),!!this.intro.length||void 0)}},{key:"trimStart",value:function(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;var e=this.content.replace(t,"");if(e.length){if(e!==this.content){var n=this.split(this.end-e.length);this.edited&&n.edit(e,this.storeName,!0),this.edit("",void 0,!0)}return!0}return this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),!!this.outro.length||void 0}}])}();function v(){return"undefined"!=typeof globalThis&&"function"==typeof globalThis.btoa?function(t){return globalThis.btoa(unescape(encodeURIComponent(t)))}:"function"==typeof Buffer?function(t){return Buffer.from(t,"utf-8").toString("base64")}:function(){throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var g=v(),y=function(){return l((function t(e){u(this,t),this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=c.encode(e.mappings),void 0!==e.x_google_ignoreList&&(this.x_google_ignoreList=e.x_google_ignoreList),void 0!==e.debugId&&(this.debugId=e.debugId)}),[{key:"toString",value:function(){return JSON.stringify(this)}},{key:"toUrl",value:function(){return"data:application/json;charset=utf-8;base64,"+g(this.toString())}}])}();function m(t,e){var n=t.split(/[/\\]/),r=e.split(/[/\\]/);for(n.pop();n[0]===r[0];)n.shift(),r.shift();if(n.length)for(var i=n.length;i--;)n[i]="..";return n.concat(r).join("/")}var b=Object.prototype.toString;function w(t){return"[object Object]"===b.call(t)}function k(t){for(var e=t.split("\n"),n=[],r=0,i=0;r<e.length;r++)n.push(i),i+=e[r].length+1;return function(t){for(var e=0,r=n.length;e<r;){var i=e+r>>1;t<n[i]?r=i:e=i+1}var o=e-1;return{line:o,column:t-n[o]}}}var S=/\w/,x=function(){return l((function t(e){u(this,t),this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}),[{key:"addEdit",value:function(t,e,n,r){if(e.length){for(var i=e.length-1,o=e.indexOf("\n",0),s=-1;o>=0&&i>o;){var a=[this.generatedCodeColumn,t,n.line,n.column];r>=0&&a.push(r),this.rawSegments.push(a),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=o,o=e.indexOf("\n",o+1)}var u=[this.generatedCodeColumn,t,n.line,n.column];r>=0&&u.push(r),this.rawSegments.push(u),this.advance(e.slice(s+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(e));this.pending=null}},{key:"addUneditedChunk",value:function(t,e,n,r,i){for(var o=e.start,s=!0,a=!1;o<e.end;){if("\n"===n[o])r.line+=1,r.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=!0,a=!1;else{if(this.hires||s||i.has(o)){var u=[this.generatedCodeColumn,t,r.line,r.column];"boundary"===this.hires?S.test(n[o])?a||(this.rawSegments.push(u),a=!0):(this.rawSegments.push(u),a=!1):this.rawSegments.push(u)}r.column+=1,this.generatedCodeColumn+=1,s=!1}o+=1}this.pending=null}},{key:"advance",value:function(t){if(t){var e=t.split("\n");if(e.length>1){for(var n=0;n<e.length-1;n++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=e[e.length-1].length}}}])}(),C="\n",E={insertLeft:!1,insertRight:!1,storeName:!1},O=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};u(this,t);var r=new p(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:r},lastChunk:{writable:!0,value:r},lastSearchedChunk:{writable:!0,value:r},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:n.filename},indentExclusionRanges:{writable:!0,value:n.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new d},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:n.ignoreList},offset:{writable:!0,value:n.offset||0}}),this.byStart[0]=r,this.byEnd[e.length]=r}return l(t,[{key:"addSourcemapLocation",value:function(t){this.sourcemapLocations.add(t)}},{key:"append",value:function(t){if("string"!=typeof t)throw new TypeError("outro content must be a string");return this.outro+=t,this}},{key:"appendLeft",value:function(t,e){if(t+=this.offset,"string"!=typeof e)throw new TypeError("inserted content must be a string");this._split(t);var n=this.byEnd[t];return n?n.appendLeft(e):this.intro+=e,this}},{key:"appendRight",value:function(t,e){if(t+=this.offset,"string"!=typeof e)throw new TypeError("inserted content must be a string");this._split(t);var n=this.byStart[t];return n?n.appendRight(e):this.outro+=e,this}},{key:"clone",value:function(){for(var e=new t(this.original,{filename:this.filename,offset:this.offset}),n=this.firstChunk,r=e.firstChunk=e.lastSearchedChunk=n.clone();n;){e.byStart[r.start]=r,e.byEnd[r.end]=r;var i=n.next,o=i&&i.clone();o&&(r.next=o,o.previous=r,r=o),n=i}return e.lastChunk=r,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new d(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}},{key:"generateDecodedMap",value:function(t){var e=this;t=t||{};var n=Object.keys(this.storedNames),r=new x(t.hires),i=k(this.original);return this.intro&&r.advance(this.intro),this.firstChunk.eachNext((function(t){var o=i(t.start);t.intro.length&&r.advance(t.intro),t.edited?r.addEdit(0,t.content,o,t.storeName?n.indexOf(t.original):-1):r.addUneditedChunk(0,t,e.original,o,e.sourcemapLocations),t.outro.length&&r.advance(t.outro)})),this.outro&&r.advance(this.outro),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?m(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:n,mappings:r.raw,x_google_ignoreList:this.ignoreList?[0]:void 0}}},{key:"generateMap",value:function(t){return new y(this.generateDecodedMap(t))}},{key:"_ensureindentStr",value:function(){void 0===this.indentStr&&(this.indentStr=function(t){var e=t.split("\n"),n=e.filter((function(t){return/^\t+/.test(t)})),r=e.filter((function(t){return/^ {2,}/.test(t)}));if(0===n.length&&0===r.length)return null;if(n.length>=r.length)return"\t";var i=r.reduce((function(t,e){var n=/^ +/.exec(e)[0].length;return Math.min(n,t)}),1/0);return new Array(i+1).join(" ")}(this.original))}},{key:"_getRawIndentString",value:function(){return this._ensureindentStr(),this.indentStr}},{key:"getIndentString",value:function(){return this._ensureindentStr(),null===this.indentStr?"\t":this.indentStr}},{key:"indent",value:function(t,e){var n=/^[^\r\n]/gm;if(w(t)&&(e=t,t=void 0),void 0===t&&(this._ensureindentStr(),t=this.indentStr||"\t"),""===t)return this;var r={};(e=e||{}).exclude&&("number"==typeof e.exclude[0]?[e.exclude]:e.exclude).forEach((function(t){for(var e=t[0];e<t[1];e+=1)r[e]=!0}));var i=!1!==e.indentStart,o=function(e){return i?"".concat(t).concat(e):(i=!0,e)};this.intro=this.intro.replace(n,o);for(var s=0,a=this.firstChunk;a;){var u=a.end;if(a.edited)r[s]||(a.content=a.content.replace(n,o),a.content.length&&(i="\n"===a.content[a.content.length-1]));else for(s=a.start;s<u;){if(!r[s]){var h=this.original[s];"\n"===h?i=!0:"\r"!==h&&i&&(i=!1,s===a.start?a.prependRight(t):(this._splitChunk(a,s),(a=a.next).prependRight(t)))}s+=1}s=a.end,a=a.next}return this.outro=this.outro.replace(n,o),this}},{key:"insert",value:function(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}},{key:"insertLeft",value:function(t,e){return E.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),E.insertLeft=!0),this.appendLeft(t,e)}},{key:"insertRight",value:function(t,e){return E.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),E.insertRight=!0),this.prependRight(t,e)}},{key:"move",value:function(t,e,n){if(t+=this.offset,e+=this.offset,(n+=this.offset)>=t&&n<=e)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(e),this._split(n);var r=this.byStart[t],i=this.byEnd[e],o=r.previous,s=i.next,a=this.byStart[n];if(!a&&i===this.lastChunk)return this;var u=a?a.previous:this.lastChunk;return o&&(o.next=s),s&&(s.previous=o),u&&(u.next=r),a&&(a.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=u,i.next=a||null,u||(this.firstChunk=r),a||(this.lastChunk=i),this}},{key:"overwrite",value:function(t,e,n,r){return r=r||{},this.update(t,e,n,o(o({},r),{},{overwrite:!r.contentOnly}))}},{key:"update",value:function(t,e,n,r){if(t+=this.offset,e+=this.offset,"string"!=typeof n)throw new TypeError("replacement content must be a string");if(0!==this.original.length){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}if(e>this.original.length)throw new Error("end is out of bounds");if(t===e)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(t),this._split(e),!0===r&&(E.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),E.storeName=!0),r={storeName:!0});var i=void 0!==r&&r.storeName,o=void 0!==r&&r.overwrite;if(i){var s=this.original.slice(t,e);Object.defineProperty(this.storedNames,s,{writable:!0,value:!0,enumerable:!0})}var a=this.byStart[t],u=this.byEnd[e];if(a){for(var h=a;h!==u;){if(h.next!==this.byStart[h.end])throw new Error("Cannot overwrite across a split point");(h=h.next).edit("",!1)}a.edit(n,i,!o)}else{var l=new p(t,e,"").edit(n,i);u.next=l,l.previous=u}return this}},{key:"prepend",value:function(t){if("string"!=typeof t)throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}},{key:"prependLeft",value:function(t,e){if(t+=this.offset,"string"!=typeof e)throw new TypeError("inserted content must be a string");this._split(t);var n=this.byEnd[t];return n?n.prependLeft(e):this.intro=e+this.intro,this}},{key:"prependRight",value:function(t,e){if(t+=this.offset,"string"!=typeof e)throw new TypeError("inserted content must be a string");this._split(t);var n=this.byStart[t];return n?n.prependRight(e):this.outro=e+this.outro,this}},{key:"remove",value:function(t,e){if(t+=this.offset,e+=this.offset,0!==this.original.length){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}if(t===e)return this;if(t<0||e>this.original.length)throw new Error("Character is out of bounds");if(t>e)throw new Error("end must be greater than start");this._split(t),this._split(e);for(var n=this.byStart[t];n;)n.intro="",n.outro="",n.edit(""),n=e>n.end?this.byStart[n.end]:null;return this}},{key:"reset",value:function(t,e){if(t+=this.offset,e+=this.offset,0!==this.original.length){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}if(t===e)return this;if(t<0||e>this.original.length)throw new Error("Character is out of bounds");if(t>e)throw new Error("end must be greater than start");this._split(t),this._split(e);for(var n=this.byStart[t];n;)n.reset(),n=e>n.end?this.byStart[n.end]:null;return this}},{key:"lastChar",value:function(){if(this.outro.length)return this.outro[this.outro.length-1];var t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}},{key:"lastLine",value:function(){var t=this.outro.lastIndexOf(C);if(-1!==t)return this.outro.substr(t+1);var e=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(-1!==(t=n.outro.lastIndexOf(C)))return n.outro.substr(t+1)+e;e=n.outro+e}if(n.content.length>0){if(-1!==(t=n.content.lastIndexOf(C)))return n.content.substr(t+1)+e;e=n.content+e}if(n.intro.length>0){if(-1!==(t=n.intro.lastIndexOf(C)))return n.intro.substr(t+1)+e;e=n.intro+e}}while(n=n.previous);return-1!==(t=this.intro.lastIndexOf(C))?this.intro.substr(t+1)+e:this.intro+e}},{key:"slice",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.original.length-this.offset;if(t+=this.offset,e+=this.offset,0!==this.original.length){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}for(var n="",r=this.firstChunk;r&&(r.start>t||r.end<=t);){if(r.start<e&&r.end>=e)return n;r=r.next}if(r&&r.edited&&r.start!==t)throw new Error("Cannot use replaced character ".concat(t," as slice start anchor."));for(var i=r;r;){!r.intro||i===r&&r.start!==t||(n+=r.intro);var o=r.start<e&&r.end>=e;if(o&&r.edited&&r.end!==e)throw new Error("Cannot use replaced character ".concat(e," as slice end anchor."));var s=i===r?t-r.start:0,a=o?r.content.length+e-r.end:r.content.length;if(n+=r.content.slice(s,a),!r.outro||o&&r.end!==e||(n+=r.outro),o)break;r=r.next}return n}},{key:"snip",value:function(t,e){var n=this.clone();return n.remove(0,t),n.remove(e,n.original.length),n}},{key:"_split",value:function(t){if(!this.byStart[t]&&!this.byEnd[t])for(var e=this.lastSearchedChunk,n=e,r=t>e.end;e;){if(e.contains(t))return this._splitChunk(e,t);if((e=r?this.byStart[e.end]:this.byEnd[e.start])===n)return;n=e}}},{key:"_splitChunk",value:function(t,e){if(t.edited&&t.content.length){var n=k(this.original)(e);throw new Error("Cannot split a chunk that has already been edited (".concat(n.line,":").concat(n.column,' – "').concat(t.original,'")'))}var r=t.split(e);return this.byEnd[e]=t,this.byStart[e]=r,this.byEnd[r.end]=r,t===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=t,!0}},{key:"toString",value:function(){for(var t=this.intro,e=this.firstChunk;e;)t+=e.toString(),e=e.next;return t+this.outro}},{key:"isEmpty",value:function(){var t=this.firstChunk;do{if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1}while(t=t.next);return!0}},{key:"length",value:function(){var t=this.firstChunk,e=0;do{e+=t.intro.length+t.content.length+t.outro.length}while(t=t.next);return e}},{key:"trimLines",value:function(){return this.trim("[\\r\\n]")}},{key:"trim",value:function(t){return this.trimStart(t).trimEnd(t)}},{key:"trimEndAborted",value:function(t){var e=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;var n=this.lastChunk;do{var r=n.end,i=n.trimEnd(e);if(n.end!==r&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.previous}while(n);return!1}},{key:"trimEnd",value:function(t){return this.trimEndAborted(t),this}},{key:"trimStartAborted",value:function(t){var e=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;var n=this.firstChunk;do{var r=n.end,i=n.trimStart(e);if(n.end!==r&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.next}while(n);return!1}},{key:"trimStart",value:function(t){return this.trimStartAborted(t),this}},{key:"hasChanged",value:function(){return this.original!==this.toString()}},{key:"_replaceRegexp",value:function(t,e){var n=this;function i(t,n){return"string"==typeof e?e.replace(/\$(\$|&|\d+)/g,(function(e,n){return"$"===n?"$":"&"===n?t[0]:+n<t.length?t[+n]:"$".concat(n)})):e.apply(void 0,(i=t,function(t){if(Array.isArray(t))return r(t)}(i)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(i)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([t.index,n,t.groups]));var i}if(t.global){var o=function(t,e){for(var n,r=[];n=t.exec(e);)r.push(n);return r}(t,this.original);o.forEach((function(t){if(null!=t.index){var e=i(t,n.original);e!==t[0]&&n.overwrite(t.index,t.index+t[0].length,e)}}))}else{var s=this.original.match(t);if(s&&null!=s.index){var a=i(s,this.original);a!==s[0]&&this.overwrite(s.index,s.index+s[0].length,a)}}return this}},{key:"_replaceString",value:function(t,e){var n=this.original,r=n.indexOf(t);return-1!==r&&("function"==typeof e&&(e=e(t,r,n)),t!==e&&this.overwrite(r,r+t.length,e)),this}},{key:"replace",value:function(t,e){return"string"==typeof t?this._replaceString(t,e):this._replaceRegexp(t,e)}},{key:"_replaceAllString",value:function(t,e){for(var n=this.original,r=t.length,i=n.indexOf(t);-1!==i;i=n.indexOf(t,i+r)){var o=n.slice(i,i+r),s=e;"function"==typeof e&&(s=e(o,i,n)),o!==s&&this.overwrite(i,i+r,s)}return this}},{key:"replaceAll",value:function(t,e){if("string"==typeof t)return this._replaceAllString(t,e);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,e)}}])}(),_=Object.prototype.hasOwnProperty,j=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u(this,t),this.intro=e.intro||"",this.separator=void 0!==e.separator?e.separator:"\n",this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}}return l(t,[{key:"addSource",value:function(t){if(t instanceof O)return this.addSource({content:t,filename:t.filename,separator:this.separator});if(!w(t)||!t.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","ignoreList","indentExclusionRanges","separator"].forEach((function(e){_.call(t,e)||(t[e]=t.content[e])})),void 0===t.separator&&(t.separator=this.separator),t.filename)if(_.call(this.uniqueSourceIndexByFilename,t.filename)){var e=this.uniqueSources[this.uniqueSourceIndexByFilename[t.filename]];if(t.content.original!==e.content)throw new Error("Illegal source: same filename (".concat(t.filename,"), different contents"))}else this.uniqueSourceIndexByFilename[t.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:t.filename,content:t.content.original});return this.sources.push(t),this}},{key:"append",value:function(t,e){return this.addSource({content:new O(t),separator:e&&e.separator||""}),this}},{key:"clone",value:function(){var e=new t({intro:this.intro,separator:this.separator});return this.sources.forEach((function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})})),e}},{key:"generateDecodedMap",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=[],r=void 0;this.sources.forEach((function(t){Object.keys(t.content.storedNames).forEach((function(t){~n.indexOf(t)||n.push(t)}))}));var i=new x(e.hires);return this.intro&&i.advance(this.intro),this.sources.forEach((function(e,o){o>0&&i.advance(t.separator);var s=e.filename?t.uniqueSourceIndexByFilename[e.filename]:-1,a=e.content,u=k(a.original);a.intro&&i.advance(a.intro),a.firstChunk.eachNext((function(t){var r=u(t.start);t.intro.length&&i.advance(t.intro),e.filename?t.edited?i.addEdit(s,t.content,r,t.storeName?n.indexOf(t.original):-1):i.addUneditedChunk(s,t,a.original,r,a.sourcemapLocations):i.advance(t.content),t.outro.length&&i.advance(t.outro)})),a.outro&&i.advance(a.outro),e.ignoreList&&-1!==s&&(void 0===r&&(r=[]),r.push(s))})),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:this.uniqueSources.map((function(t){return e.file?m(e.file,t.filename):t.filename})),sourcesContent:this.uniqueSources.map((function(t){return e.includeContent?t.content:null})),names:n,mappings:i.raw,x_google_ignoreList:r}}},{key:"generateMap",value:function(t){return new y(this.generateDecodedMap(t))}},{key:"getIndentString",value:function(){var t={};return this.sources.forEach((function(e){var n=e.content._getRawIndentString();null!==n&&(t[n]||(t[n]=0),t[n]+=1)})),Object.keys(t).sort((function(e,n){return t[e]-t[n]}))[0]||"\t"}},{key:"indent",value:function(t){var e=this;if(arguments.length||(t=this.getIndentString()),""===t)return this;var n=!this.intro||"\n"===this.intro.slice(-1);return this.sources.forEach((function(r,i){var o=void 0!==r.separator?r.separator:e.separator,s=n||i>0&&/\r?\n$/.test(o);r.content.indent(t,{exclude:r.indentExclusionRanges,indentStart:s}),n="\n"===r.content.lastChar()})),this.intro&&(this.intro=t+this.intro.replace(/^[^\n]/gm,(function(e,n){return n>0?t+e:e}))),this}},{key:"prepend",value:function(t){return this.intro=t+this.intro,this}},{key:"toString",value:function(){var t=this,e=this.sources.map((function(e,n){var r=void 0!==e.separator?e.separator:t.separator;return(n>0?r:"")+e.content.toString()})).join("");return this.intro+e}},{key:"isEmpty",value:function(){return!(this.intro.length&&this.intro.trim()||this.sources.some((function(t){return!t.content.isEmpty()})))}},{key:"length",value:function(){return this.sources.reduce((function(t,e){return t+e.content.length()}),this.intro.length)}},{key:"trimLines",value:function(){return this.trim("[\\r\\n]")}},{key:"trim",value:function(t){return this.trimStart(t).trimEnd(t)}},{key:"trimStart",value:function(t){var e=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(e,""),!this.intro){var n,r=0;do{if(!(n=this.sources[r++]))break}while(!n.content.trimStartAborted(t))}return this}},{key:"trimEnd",value:function(t){var e,n=new RegExp((t||"\\s")+"+$"),r=this.sources.length-1;do{if(!(e=this.sources[r--])){this.intro=this.intro.replace(n,"");break}}while(!e.content.trimEndAborted(t));return this}}])}();O.Bundle=j,O.SourceMap=y,O.default=O,t.exports=O}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={id:r,loaded:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var r=n(562);module.exports=r})();
|
|
2
|
-
exports.__oidcSpaBundle = true;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handleClientEntrypoint.js","sourceRoot":"","sources":["../src/vite-plugin/handleClientEntrypoint.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA,oEA0GC;AAxID,qCAAmE;AACnE,gDAAkC;AAClC,kDAA+C;AAG/C,mCAMiB;AAQjB,MAAM,oBAAoB,GAAG,mBAAmB,CAAC;AAEjD,MAAM,6BAA6B,GAAG;IAClC,kBAAkB;IAClB,iBAAiB;IACjB,kBAAkB;IAClB,iBAAiB;CACpB,CAAC;AAEF,MAAM,yBAAyB,GAAG,CAAC,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC;AAEzF,SAAgB,4BAA4B,CAAC,MAI5C;IACG,MAAM,EAAE,uBAAuB,EAAE,cAAc,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;IAExE,MAAM,eAAe,GAAG,sBAAsB,CAAC;QAC3C,MAAM,EAAE,cAAc;QACtB,WAAW;KACd,CAAC,CAAC;IAEH,KAAK,UAAU,2BAA2B,CAAC,MAG1C;QACG,MAAM,EAAE,EAAE,EAAE,aAAa,EAAE,GAAG,MAAM,CAAC;QACrC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,IAAA,eAAO,EAAC,EAAE,CAAC,CAAC;QAEnD,MAAM,qBAAqB,GAAG,IAAA,4BAAoB,EAAC,OAAO,CAAC,CAAC;QAC5D,MAAM,OAAO,GACT,qBAAqB,IAAI,qBAAqB,KAAK,eAAe,CAAC,cAAc,CAAC;QAEtF,IAAI,CAAC,OAAO,EAAE,CAAC;YACX,OAAO,IAA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D,MAAM,UAAU,GAAoB;gBAChC,YAAY,EAAE,SAAS;gBACvB,cAAc,EAAE,UAAU;gBAC1B,UAAU,EAAE,CAAC,SAAS,CAAC;aAC1B,CAAC;YAEF,OAAO,UAAU,CAAC;QACtB,CAAC;QACD,KAAK,wBAAwB,CAAC;QAC9B,KAAK,MAAM,CAAC;QACZ,KAAK,OAAO;YACR,OAAO,SAAS,CAAC;QACrB;YACI,IAAA,eAAM,EAAoC,KAAK,CAAC,CAAC;IACzD,CAAC;AACL,CAAC;AAED,SAAS,kBAAkB,CACvB,KAAsB,EACtB,OAA2C;IAE3C,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC;IAC7D,OAAO,kBAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;AACnD,CAAC"}
|
package/vite-plugin/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { oidcSpa } from "./vite-plugin";
|
package/vite-plugin/index.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.oidcSpa = void 0;
|
|
4
|
-
var vite_plugin_1 = require("./vite-plugin");
|
|
5
|
-
Object.defineProperty(exports, "oidcSpa", { enumerable: true, get: function () { return vite_plugin_1.oidcSpa; } });
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
package/vite-plugin/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/vite-plugin/index.ts"],"names":[],"mappings":";;;AAAA,6CAAwC;AAA/B,sGAAA,OAAO,OAAA"}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.manageOptimizedDeps = manageOptimizedDeps;
|
|
37
|
-
const getThisCodebaseRootDirPath_cjs_1 = require("../tools/getThisCodebaseRootDirPath_cjs");
|
|
38
|
-
const fs = __importStar(require("node:fs"));
|
|
39
|
-
const path_1 = require("path");
|
|
40
|
-
const assert_1 = require("../tools/tsafe/assert");
|
|
41
|
-
function manageOptimizedDeps(params) {
|
|
42
|
-
var _a, _b;
|
|
43
|
-
const { userConfig, projectType } = params;
|
|
44
|
-
const packageJsonParsed = JSON.parse(fs.readFileSync((0, path_1.join)((0, getThisCodebaseRootDirPath_cjs_1.getThisCodebaseRootDirPath)(), "package.json")).toString("utf8"));
|
|
45
|
-
const moduleNames = Object.entries(packageJsonParsed.exports)
|
|
46
|
-
.filter(([, value]) => value.module !== undefined)
|
|
47
|
-
.map(([key]) => key.replace(/^\./, packageJsonParsed.name));
|
|
48
|
-
switch (projectType) {
|
|
49
|
-
case "other":
|
|
50
|
-
case "tanstack-start":
|
|
51
|
-
case "nuxt":
|
|
52
|
-
{
|
|
53
|
-
((_a = (userConfig.optimizeDeps ?? (userConfig.optimizeDeps = {}))).exclude ?? (_a.exclude = [])).push(...[...moduleNames, "zod"]);
|
|
54
|
-
}
|
|
55
|
-
break;
|
|
56
|
-
case "react-router-framework":
|
|
57
|
-
{
|
|
58
|
-
const moduleNames_include = [
|
|
59
|
-
"oidc-spa/react-spa",
|
|
60
|
-
"oidc-spa/entrypoint",
|
|
61
|
-
"oidc-spa/keycloak",
|
|
62
|
-
"oidc-spa/core"
|
|
63
|
-
];
|
|
64
|
-
for (const moduleName of moduleNames_include) {
|
|
65
|
-
(0, assert_1.assert)(moduleNames.includes(moduleName));
|
|
66
|
-
}
|
|
67
|
-
const isZodInstalled = (() => {
|
|
68
|
-
try {
|
|
69
|
-
require.resolve(`zod/package.json`);
|
|
70
|
-
}
|
|
71
|
-
catch {
|
|
72
|
-
return false;
|
|
73
|
-
}
|
|
74
|
-
return true;
|
|
75
|
-
})();
|
|
76
|
-
if (isZodInstalled) {
|
|
77
|
-
moduleNames_include.push("zod");
|
|
78
|
-
}
|
|
79
|
-
moduleNames_include.push("oidc-spa");
|
|
80
|
-
((_b = (userConfig.optimizeDeps ?? (userConfig.optimizeDeps = {}))).include ?? (_b.include = [])).push(...moduleNames_include);
|
|
81
|
-
}
|
|
82
|
-
break;
|
|
83
|
-
}
|
|
84
|
-
return userConfig;
|
|
85
|
-
}
|
|
86
|
-
//# sourceMappingURL=manageOptimizedDeps.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"manageOptimizedDeps.js","sourceRoot":"","sources":["../src/vite-plugin/manageOptimizedDeps.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,kDAyDC;AA/DD,4FAAqF;AACrF,4CAA8B;AAC9B,+BAAwC;AAExC,kDAA+C;AAE/C,SAAgB,mBAAmB,CAAC,MAGnC;;IACG,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;IAE3C,MAAM,iBAAiB,GAAG,IAAI,CAAC,KAAK,CAChC,EAAE,CAAC,YAAY,CAAC,IAAA,WAAQ,EAAC,IAAA,2DAA0B,GAAE,EAAE,cAAc,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CACzB,CAAC;IAEpE,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC,iBAAiB,CAAC,OAAO,CAAC;SACxD,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,KAAK,SAAS,CAAC;SACjD,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,EAAE,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;IAEhE,QAAQ,WAAW,EAAE,CAAC;QAClB,KAAK,OAAO,CAAC;QACb,KAAK,gBAAgB,CAAC;QACtB,KAAK,MAAM;YACP,CAAC;gBACG,OAAC,CAAC,UAAU,CAAC,YAAY,KAAvB,UAAU,CAAC,YAAY,GAAK,EAAE,EAAC,EAAC,OAAO,QAAP,OAAO,GAAK,EAAE,EAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,WAAW,EAAE,KA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QACjD,OAAO,gBAAgB,CAAC;IAC5B,CAAC;IAED,IACI,WAAW,CAAC,GAAG,CAAC,cAAc,CAAC;QAC/B,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,EACpF,CAAC;QACC,OAAO,wBAAwB,CAAC;IACpC,CAAC;IAED,IACI,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,IAAI,CACxB,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,UAAU,CAAC,UAAU,CAAC,OAAO,CAAC,CACjF,EACH,CAAC;QACC,OAAO,MAAM,CAAC;IAClB,CAAC;IAED,OAAO,OAAO,CAAC;AACnB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformTanstackRouterCreateFileRoute.js","sourceRoot":"","sources":["../src/vite-plugin/transformTanstackRouterCreateFileRoute.ts"],"names":[],"mappings":";;AAiBA,4DA4HC;AA7ID,uEAAmE;AACnE,yDAA4F;AAE5F,MAAM,qBAAqB,GAAG,6BAA6B,CAAC;AAC5D,MAAM,kBAAkB,GAAG,+BAA+B,CAAC;AAC3D,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;AAYvD,SAAgB,wBAAwB,CAAC,MAAuB;IAC5D,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;IAC5B,MAAM,OAAO,GAAG,UAAU,CAAC,EAAE,CAAC,CAAC;IAE/B,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,IAAI,GAAyC,CAAC;IAC9C,IAAI,CAAC;QACD,GAAG,GAAG,mBAAW,CAAC,KAAK,CAAC,IAAI,EAAE;YAC1B,UAAU,EAAE,QAAQ;YACpB,OAAO,EAAE,CAAC,YAAY,EA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U,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;QAC/B,IAAI,CAAC,kBAAC,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC;YAC5B,OAAO,KAAK,CAAC;QACjB,CAAC;QAED,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC;QACrB,IAAI,kBAAC,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC;YACtB,OAAO,GAAG,CAAC,IAAI,KAAK,QAAQ,IAAI,GAAG,CAAC,IAAI,KAAK,YAAY,CAAC;QAC9D,CAAC;QAED,IAAI,kBAAC,CAAC,eAAe,CAAC,GAAG,CAAC,EAAE,CAAC;YACzB,OAAO,GAAG,CAAC,KAAK,KAAK,QAAQ,IAAI,GAAG,CAAC,KAAK,KAAK,YAAY,CAAC;QAChE,CAAC;QAED,OAAO,KAAK,CAAC;IACjB,CAAC,CAAC,CAAC;AACP,CAAC;AAED,SAAS,eAAe,CAAC,EAAU;IAC/B,IAAI,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,CAAC;QAC9B,OAAO,KAAK,CAAC;IACjB,CAAC;IACD,OAAO,sBAAsB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC3C,CAAC;AAED,SAAS,UAAU,CAAC,EAAU;IAC1B,MAAM,UAAU,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACnC,IAAI,UAAU,KAAK,CAAC,CAAC,EAAE,CAAC;QACpB,OAAO,EAAE,CAAC;IACd,CAAC;IACD,OAAO,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;AACnC,CAAC"}
|
package/vite-plugin/utils.js
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.resolveCandidate = resolveCandidate;
|
|
37
|
-
exports.resolvePackageFile = resolvePackageFile;
|
|
38
|
-
exports.normalizeAbsolute = normalizeAbsolute;
|
|
39
|
-
exports.splitId = splitId;
|
|
40
|
-
exports.normalizeRequestPath = normalizeRequestPath;
|
|
41
|
-
const node_fs_1 = require("node:fs");
|
|
42
|
-
const path = __importStar(require("node:path"));
|
|
43
|
-
const node_url_1 = require("node:url");
|
|
44
|
-
const vite_1 = require("vite");
|
|
45
|
-
function resolveCandidate({ root, subDirectories, filenames }) {
|
|
46
|
-
for (const subDirectory of subDirectories) {
|
|
47
|
-
for (const filename of filenames) {
|
|
48
|
-
const candidate = path.resolve(root, subDirectory, filename);
|
|
49
|
-
if ((0, node_fs_1.existsSync)(candidate)) {
|
|
50
|
-
return candidate;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
return undefined;
|
|
55
|
-
}
|
|
56
|
-
function resolvePackageFile(packageName, segments) {
|
|
57
|
-
const pkgPath = require.resolve(`${packageName}/package.json`);
|
|
58
|
-
return path.resolve(path.dirname(pkgPath), ...segments);
|
|
59
|
-
}
|
|
60
|
-
function normalizeAbsolute(filePath) {
|
|
61
|
-
return (0, vite_1.normalizePath)(filePath);
|
|
62
|
-
}
|
|
63
|
-
function splitId(id) {
|
|
64
|
-
const queryIndex = id.indexOf("?");
|
|
65
|
-
if (queryIndex === -1) {
|
|
66
|
-
return { path: id, queryParams: new URLSearchParams() };
|
|
67
|
-
}
|
|
68
|
-
const pathPart = id.slice(0, queryIndex);
|
|
69
|
-
const queryString = id.slice(queryIndex + 1);
|
|
70
|
-
return { path: pathPart, queryParams: new URLSearchParams(queryString) };
|
|
71
|
-
}
|
|
72
|
-
function normalizeRequestPath(id) {
|
|
73
|
-
let requestPath = id;
|
|
74
|
-
if (requestPath.startsWith("\0")) {
|
|
75
|
-
requestPath = requestPath.slice(1);
|
|
76
|
-
}
|
|
77
|
-
if (requestPath.startsWith("/@fs/")) {
|
|
78
|
-
requestPath = requestPath.slice("/@fs/".length);
|
|
79
|
-
}
|
|
80
|
-
else if (requestPath.startsWith("file://")) {
|
|
81
|
-
requestPath = (0, node_url_1.fileURLToPath)(requestPath);
|
|
82
|
-
}
|
|
83
|
-
if (path.isAbsolute(requestPath) || requestPath.startsWith(".")) {
|
|
84
|
-
return (0, vite_1.normalizePath)(requestPath);
|
|
85
|
-
}
|
|
86
|
-
return (0, vite_1.normalizePath)(requestPath);
|
|
87
|
-
}
|
|
88
|
-
//# sourceMappingURL=utils.js.map
|
package/vite-plugin/utils.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/vite-plugin/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,4CAkBC;AAED,gDAGC;AAED,8CAEC;AAED,0BASC;AAED,oDAkBC;AA/DD,qCAAqC;AACrC,gDAAkC;AAClC,uCAAyC;AACzC,+BAAqC;AAErC,SAAgB,gBAAgB,CAAC,EAC7B,IAAI,EACJ,cAAc,EACd,SAAS,EAKZ;IACG,KAAK,MAAM,YAAY,IAAI,cAAc,EAAE,CAAC;QACxC,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;YAC/B,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC;YAC7D,IAAI,IAAA,oBAAU,EAAC,SAAS,CAAC,EAAE,CAAC;gBACxB,OAAO,SAAS,CAAC;YACrB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AAED,SAAgB,kBAAkB,CAAC,WAAmB,EAAE,QAAkB;IACtE,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,WAAW,eAAe,CAAC,CAAC;IAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC;AAC5D,CAAC;AAED,SAAgB,iBAAiB,CAAC,QAAgB;IAC9C,OAAO,IAAA,oBAAa,EAAC,QAAQ,CAAC,CAAC;AACnC,CAAC;AAED,SAAgB,OAAO,CAAC,EAAU;IAC9B,MAAM,UAAU,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACnC,IA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SAAS,CAAC,IAAI,EAAE,EAAE;YACd,IAAI,WAAW,GAA2B,IAAI,CAAC;YAE/C,IAAA,eAAM,EAAC,WAAW,KAAK,SAAS,CAAC,CAAC;YAElC,uCAAuC,EAAE,CAAC;gBACtC,IAAI,WAAW,KAAK,gBAAgB,EAAE,CAAC;oBACnC,MAAM,uCAAuC,CAAC;gBAClD,CAAC;gBAED,WAAW,GAAG,IAAA,iEAAwB,EAAC;oBACnC,IAAI;oBACJ,EAAE;iBACL,CAAC,CAAC;YACP,CAAC;YAED,OAAO,WAAW,CAAC;QACvB,CAAC;QACD,KAAK,CAAC,IAAI,CAAC,EAAE;YACT,CAAC;gBACG,IAAA,eAAM,EAAC,2BAA2B,KAAK,SAAS,CAAC,CAAC;gBAElD,MAAM,CAAC,GAAG,MAAM,2BAA2B,CAAC;oBACxC,EAAE;oBACF,aAAa,EAAE,IAAI;iBACtB,CAAC,CAAC;gBAEH,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC;oBACb,OAAO,CAAC,CAAC;gBACb,CAAC;YACL,CAAC;YAED,CAAC;gBACG,IAAA,eAAM,EAAC,2BAA2B,KAAK,SAAS,CAAC,CAAC;gBAElD,MAAM,CAAC,GAAG,MAAM,2BAA2B,CAAC;oBACxC,EAAE;oBACF,aAAa,EAAE,IAAI;iBACtB,CAAC,CAAC;gBAEH,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC;oBACb,OAAO,CAAC,CAAC;gBACb,CAAC;YACL,CAAC;YAED,OAAO,IAAI,CAAC;QAChB,CAAC;KACJ,CAAC;IAEF,OAAO,MAAM,CAAC;AAClB,CAAC"}
|
/package/{tools/getThisCodebaseRootDirPath_cjs.d.ts → esm/tools/getThisCodebaseRootDirPath_esm.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|