text: (window.webpackJsonp=window.webpackJsonp||[]).push([[64],{123:function(n,e,t){"use strict";t.r(e),t.d(e,"frontMatter",(function(){return i})),t.d(e,"metadata",(function(){return r})),t.d(e,"rightToc",(function(){return l})),t.d(e,"default",(function(){return S}));var o=t(2),a=t(6),s=(t(0),t(431)),i={id:"configuration",title:"Configuration"},r={unversionedId:"reference/configuration",id:"reference/configuration",isDocsHomePage:!1,title:"Configuration",description:"\x3c!-- THIS FILE IS BEING AUTO-GENERATED. DO NOT MODIFY IT AS ALL CHANGES WILL BE OVERWRITTEN.",source:"@site/docs/reference/configuration.md",slug:"/reference/configuration",permalink:"/kratos/docs/next/reference/configuration",editUrl:"https://github.com/ory/kratos/edit/master/docs/docs/reference/configuration.md",version:"current",lastUpdatedBy:"zepatrik",lastUpdatedAt:1605629700,sidebar:"docs",previous:{title:"Setting up Password Hashing Parameters",permalink:"/kratos/docs/next/guides/setting-up-password-hashing-parameters"},next:{title:"JSON Schema and JSON Paths",permalink:"/kratos/docs/next/reference/json-schema-json-paths"}},l=[],u={rightToc:l};function S(n){var e=n.components,t=Object(a.a)(n,["components"]);return Object(s.b)("wrapper",Object(o.a)({},u,t,{components:e,mdxType:"MDXLayout"}),Object(s.b)("p",null,"If file ",Object(s.b)("inlineCode",{parentName:"p"},"$HOME/.kratos.yaml")," exists, it will be used as a configuration file\nwhich supports all configuration settings listed below."),Object(s.b)("p",null,"You can load the config file from another source using the\n",Object(s.b)("inlineCode",{parentName:"p"},"-c path/to/config.yaml")," or ",Object(s.b)("inlineCode",{parentName:"p"},"--config path/to/config.yaml")," flag:\n",Object(s.b)("inlineCode",{parentName:"p"},"kratos --config path/to/config.yaml"),"."),Object(s.b)("p",null,"Config files can be formatted as JSON, YAML and TOML. Some configuration values\nsupport reloading without server restart. All configuration values can be set\nusing environment variables, as documented below."),Object(s.b)("p",null,"This reference configuration documents all keys, also deprecated ones! It is a\nreference for all possible configuration values."),Object(s.b)("p",null,"If you are looking for an example configuration, it is better to try out the\nquickstart."),Object(s.b)("p",null,"To find out more about edge cases like setting string array values through\nenvironmental variables head to the\n",Object(s.b)("a",Object(o.a)({parentName:"p"},{href:"https://www.ory.sh/docs/ecosystem/configuring"}),"Configuring ORY services"),"\nsection."),Object(s.b)("pre",null,Object(s.b)("code",Object(o.a)({parentName:"pre"},{className:"language-yaml"}),"## ORY Kratos Configuration\n#\n\n## identity ##\n#\nidentity:\n  ## JSON Schema URL for default identity traits ##\n  #\n  # Path to the JSON Schema which describes a default identity's traits.\n  #\n  # Examples:\n  # - file://path/to/identity.traits.schema.json\n  # - https://foo.bar.com/path/to/identity.traits.schema.json\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export IDENTITY_DEFAULT_SCHEMA_URL=<value>\n  # - Windows Command Line (CMD):\n  #    > set IDENTITY_DEFAULT_SCHEMA_URL=<value>\n  #\n  default_schema_url: file://path/to/identity.traits.schema.json\n\n  ## Additional JSON Schemas for Identity Traits ##\n  #\n  # Examples:\n  # - - id: customer\n  #     url: https://foo.bar.com/path/to/customer.traits.schema.json\n  #   - id: employee\n  #     url: https://foo.bar.com/path/to/employee.traits.schema.json\n  #   - id: employee-v2\n  #     url: https://foo.bar.com/path/to/employee.v2.traits.schema.json\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export IDENTITY_SCHEMAS=<value>\n  # - Windows Command Line (CMD):\n  #    > set IDENTITY_SCHEMAS=<value>\n  #\n  schemas:\n    - id: customer\n      url: https://foo.bar.com/path/to/customer.traits.schema.json\n    - id: employee\n      url: https://foo.bar.com/path/to/employee.traits.schema.json\n    - id: employee-v2\n      url: https://foo.bar.com/path/to/employee.v2.traits.schema.json\n\n## Data Source Name ##\n#\n# DSN is used to specify the database credentials as a connection URI.\n#\n# Examples:\n# - \"postgres://user:\n#   password@postgresd:5432/database?sslmode=disable&max_conns=20&max_idle_conns=\\\n#   4\"\n# - mysql://user:secret@tcp(mysqld:3306)/database?max_conns=20&max_idle_conns=4\n# - cockroach://user@cockroachdb:26257/database?sslmode=disable&max_conns=20&max_idle_conns=4\n# - sqlite:///var/lib/sqlite/db.sqlite?_fk=true&mode=rwc\n#\n# Set this value using environment variables on\n# - Linux/macOS:\n#    $ export DSN=<value>\n# - Windows Command Line (CMD):\n#    > set DSN=<value>\n#\ndsn: \"postgres://user:\n  password@postgresd:5432/database?sslmode=disable&max_conns=20&max_idle_conns=\\\n  4\"\n\n## selfservice ##\n#\nselfservice:\n  ## Redirect browsers to set URL per default ##\n  #\n  # ORY Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n  #\n  # Examples:\n  # - https://my-app.com/dashboard\n  # - /dashboard\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export SELFSERVICE_DEFAULT_BROWSER_RETURN_URL=<value>\n  # - Windows Command Line (CMD):\n  #    > set SELFSERVICE_DEFAULT_BROWSER_RETURN_URL=<value>\n  #\n  default_browser_return_url: https://my-app.com/dashboard\n\n  ## Whitelisted Return To URLs ##\n  #\n  # List of URLs that are allowed to be redirected to. A redirection request is made by appending `?return_to=...` to Login, Registration, and other self-service flows.\n  #\n  # Examples:\n  # - - https://app.my-app.com/dashboard\n  #   - /dashboard\n  #   - https://www.my-app.com/\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export SELFSERVICE_WHITELISTED_RETURN_URLS=<value>\n  # - Windows Command Line (CMD):\n  #    > set SELFSERVICE_WHITELISTED_RETURN_URLS=<value>\n  #\n  whitelisted_return_urls:\n    - https://app.my-app.com/dashboard\n    - /dashboard\n    - https://www.my-app.com/\n\n  ## flows ##\n  #\n  flows:\n    ## settings ##\n    #\n    settings:\n      ## URL of the Settings page. ##\n      #\n      # URL where the Settings UI is hosted. Check the [reference implementation](https://github.com/ory/kratos-selfservice-ui-node).\n      #\n      # Default value: https://www.ory.sh/kratos/docs/fallback/settings\n      #\n      # Examples:\n      # - https://my-app.com/user/settings\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_SETTINGS_UI_URL=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_SETTINGS_UI_URL=<value>\n      #\n      ui_url: https://my-app.com/user/settings\n\n      ## lifespan ##\n      #\n      # Default value: 1h\n      #\n      # Examples:\n      # - 1h\n      # - 1m\n      # - 1s\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_SETTINGS_LIFESPAN=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_SETTINGS_LIFESPAN=<value>\n      #\n      lifespan: 1h\n\n      ## privileged_session_max_age ##\n      #\n      # Default value: 1h\n      #\n      # Examples:\n      # - 1h\n      # - 1m\n      # - 1s\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_SETTINGS_PRIVILEGED_SESSION_MAX_AGE=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_SETTINGS_PRIVILEGED_SESSION_MAX_AGE=<value>\n      #\n      privileged_session_max_age: 1h\n\n      ## after ##\n      #\n      after:\n        ## Redirect browsers to set URL per default ##\n        #\n        # ORY Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n        #\n        # Examples:\n        # - https://my-app.com/dashboard\n        # - /dashboard\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_FLOWS_SETTINGS_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_FLOWS_SETTINGS_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        #\n        default_browser_return_url: https://my-app.com/dashboard\n\n        ## password ##\n        #\n        password:\n          ## Redirect browsers to set URL per default ##\n          #\n          # ORY Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n          #\n          # Examples:\n          # - https://my-app.com/dashboard\n          # - /dashboard\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_SETTINGS_AFTER_PASSWORD_DEFAULT_BROWSER_RETURN_URL=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_SETTINGS_AFTER_PASSWORD_DEFAULT_BROWSER_RETURN_URL=<value>\n          #\n          default_browser_return_url: https://my-app.com/dashboard\n\n          ## hooks ##\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_SETTINGS_AFTER_PASSWORD_HOOKS=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_SETTINGS_AFTER_PASSWORD_HOOKS=<value>\n          #\n          hooks:\n            - hook: verify\n\n        ## profile ##\n        #\n        profile:\n          ## Redirect browsers to set URL per default ##\n          #\n          # ORY Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n          #\n          # Examples:\n          # - https://my-app.com/dashboard\n          # - /dashboard\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_SETTINGS_AFTER_PROFILE_DEFAULT_BROWSER_RETURN_URL=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_SETTINGS_AFTER_PROFILE_DEFAULT_BROWSER_RETURN_URL=<value>\n          #\n          default_browser_return_url: https://my-app.com/dashboard\n\n          ## hooks ##\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_SETTINGS_AFTER_PROFILE_HOOKS=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_SETTINGS_AFTER_PROFILE_HOOKS=<value>\n          #\n          hooks:\n            - hook: verify\n\n    ## logout ##\n    #\n    logout:\n      ## after ##\n      #\n      after:\n        ## Redirect browsers to set URL per default ##\n        #\n        # ORY Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n        #\n        # Examples:\n        # - https://my-app.com/dashboard\n        # - /dashboard\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_FLOWS_LOGOUT_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_FLOWS_LOGOUT_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        #\n        default_browser_return_url: https://my-app.com/dashboard\n\n    ## registration ##\n    #\n    registration:\n      ## Registration UI URL ##\n      #\n      # URL where the Registration UI is hosted. Check the [reference implementation](https://github.com/ory/kratos-selfservice-ui-node).\n      #\n      # Default value: https://www.ory.sh/kratos/docs/fallback/registration\n      #\n      # Examples:\n      # - https://my-app.com/signup\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_REGISTRATION_UI_URL=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_REGISTRATION_UI_URL=<value>\n      #\n      ui_url: https://my-app.com/signup\n\n      ## lifespan ##\n      #\n      # Default value: 1h\n      #\n      # Examples:\n      # - 1h\n      # - 1m\n      # - 1s\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_REGISTRATION_LIFESPAN=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_REGISTRATION_LIFESPAN=<value>\n      #\n      lifespan: 1h\n\n      ## after ##\n      #\n      after:\n        ## Redirect browsers to set URL per default ##\n        #\n        # ORY Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n        #\n        # Examples:\n        # - https://my-app.com/dashboard\n        # - /dashboard\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_FLOWS_REGISTRATION_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_FLOWS_REGISTRATION_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        #\n        default_browser_return_url: https://my-app.com/dashboard\n\n        ## password ##\n        #\n        password:\n          ## Redirect browsers to set URL per default ##\n          #\n          # ORY Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n          #\n          # Examples:\n          # - https://my-app.com/dashboard\n          # - /dashboard\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_REGISTRATION_AFTER_PASSWORD_DEFAULT_BROWSER_RETURN_URL=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_REGISTRATION_AFTER_PASSWORD_DEFAULT_BROWSER_RETURN_URL=<value>\n          #\n          default_browser_return_url: https://my-app.com/dashboard\n\n          ## hooks ##\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_REGISTRATION_AFTER_PASSWORD_HOOKS=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_REGISTRATION_AFTER_PASSWORD_HOOKS=<value>\n          #\n          hooks:\n            - hook: session\n\n        ## oidc ##\n        #\n        oidc:\n          ## Redirect browsers to set URL per default ##\n          #\n          # ORY Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n          #\n          # Examples:\n          # - https://my-app.com/dashboard\n          # - /dashboard\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_REGISTRATION_AFTER_OIDC_DEFAULT_BROWSER_RETURN_URL=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_REGISTRATION_AFTER_OIDC_DEFAULT_BROWSER_RETURN_URL=<value>\n          #\n          default_browser_return_url: https://my-app.com/dashboard\n\n          ## hooks ##\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_REGISTRATION_AFTER_OIDC_HOOKS=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_REGISTRATION_AFTER_OIDC_HOOKS=<value>\n          #\n          hooks:\n            - hook: session\n\n    ## login ##\n    #\n    login:\n      ## Login UI URL ##\n      #\n      # URL where the Login UI is hosted. Check the [reference implementation](https://github.com/ory/kratos-selfservice-ui-node).\n      #\n      # Default value: https://www.ory.sh/kratos/docs/fallback/login\n      #\n      # Examples:\n      # - https://my-app.com/login\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_LOGIN_UI_URL=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_LOGIN_UI_URL=<value>\n      #\n      ui_url: https://my-app.com/login\n\n      ## lifespan ##\n      #\n      # Default value: 1h\n      #\n      # Examples:\n      # - 1h\n      # - 1m\n      # - 1s\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_LOGIN_LIFESPAN=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_LOGIN_LIFESPAN=<value>\n      #\n      lifespan: 1h\n\n      ## after ##\n      #\n      after:\n        ## Redirect browsers to set URL per default ##\n        #\n        # ORY Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n        #\n        # Examples:\n        # - https://my-app.com/dashboard\n        # - /dashboard\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_FLOWS_LOGIN_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_FLOWS_LOGIN_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        #\n        default_browser_return_url: https://my-app.com/dashboard\n\n        ## password ##\n        #\n        password:\n          ## Redirect browsers to set URL per default ##\n          #\n          # ORY Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n          #\n          # Examples:\n          # - https://my-app.com/dashboard\n          # - /dashboard\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_LOGIN_AFTER_PASSWORD_DEFAULT_BROWSER_RETURN_URL=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_LOGIN_AFTER_PASSWORD_DEFAULT_BROWSER_RETURN_URL=<value>\n          #\n          default_browser_return_url: https://my-app.com/dashboard\n\n          ## hooks ##\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_LOGIN_AFTER_PASSWORD_HOOKS=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_LOGIN_AFTER_PASSWORD_HOOKS=<value>\n          #\n          hooks:\n            - hook: revoke_active_sessions\n\n        ## oidc ##\n        #\n        oidc:\n          ## Redirect browsers to set URL per default ##\n          #\n          # ORY Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n          #\n          # Examples:\n          # - https://my-app.com/dashboard\n          # - /dashboard\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_LOGIN_AFTER_OIDC_DEFAULT_BROWSER_RETURN_URL=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_LOGIN_AFTER_OIDC_DEFAULT_BROWSER_RETURN_URL=<value>\n          #\n          default_browser_return_url: https://my-app.com/dashboard\n\n          ## hooks ##\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_LOGIN_AFTER_OIDC_HOOKS=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_LOGIN_AFTER_OIDC_HOOKS=<value>\n          #\n          hooks:\n            - hook: revoke_active_sessions\n\n    ## Email and Phone Verification and Account Activation Configuration ##\n    #\n    verification:\n      ## Enable Email/Phone Verification ##\n      #\n      # If set to true will enable [Email and Phone Verification and Account Activation](https://www.ory.sh/kratos/docs/self-service/flows/verify-email-account-activation/).\n      #\n      # Default value: false\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_VERIFICATION_ENABLED=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_VERIFICATION_ENABLED=<value>\n      #\n      enabled: false\n\n      ## Verify UI URL ##\n      #\n      # URL where the ORY Verify UI is hosted. This is the page where users activate and / or verify their email or telephone number. Check the [reference implementation](https://github.com/ory/kratos-selfservice-ui-node).\n      #\n      # Default value: https://www.ory.sh/kratos/docs/fallback/verification\n      #\n      # Examples:\n      # - https://my-app.com/verify\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_VERIFICATION_UI_URL=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_VERIFICATION_UI_URL=<value>\n      #\n      ui_url: https://my-app.com/verify\n\n      ## after ##\n      #\n      after:\n        ## Redirect browsers to set URL per default ##\n        #\n        # ORY Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n        #\n        # Examples:\n        # - https://my-app.com/dashboard\n        # - /dashboard\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_FLOWS_VERIFICATION_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_FLOWS_VERIFICATION_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        #\n        default_browser_return_url: https://my-app.com/dashboard\n\n      ## Self-Service Verification Request Lifespan ##\n      #\n      # Sets how long the verification request (for the UI interaction) is valid.\n      #\n      # Default value: 1h\n      #\n      # Examples:\n      # - 1h\n      # - 1m\n      # - 1s\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_VERIFICATION_LIFESPAN=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_VERIFICATION_LIFESPAN=<value>\n      #\n      lifespan: 1h\n\n    ## Account Recovery Configuration ##\n    #\n    recovery:\n      ## Enable Account Recovery ##\n      #\n      # If set to true will enable [Account Recovery](https://www.ory.sh/kratos/docs/self-service/flows/password-reset-account-recovery/).\n      #\n      # Default value: false\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_RECOVERY_ENABLED=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_RECOVERY_ENABLED=<value>\n      #\n      enabled: false\n\n      ## Recovery UI URL ##\n      #\n      # URL where the ORY Recovery UI is hosted. This is the page where users request and complete account recovery. Check the [reference implementation](https://github.com/ory/kratos-selfservice-ui-node).\n      #\n      # Default value: https://www.ory.sh/kratos/docs/fallback/recovery\n      #\n      # Examples:\n      # - https://my-app.com/verify\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_RECOVERY_UI_URL=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_RECOVERY_UI_URL=<value>\n      #\n      ui_url: https://my-app.com/verify\n\n      ## after ##\n      #\n      after:\n        ## Redirect browsers to set URL per default ##\n        #\n        # ORY Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n        #\n        # Examples:\n        # - https://my-app.com/dashboard\n        # - /dashboard\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_FLOWS_RECOVERY_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_FLOWS_RECOVERY_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        #\n        default_browser_return_url: https://my-app.com/dashboard\n\n      ## Self-Service Recovery Request Lifespan ##\n      #\n      # Sets how long the recovery request is valid. If expired, the user has to redo the flow.\n      #\n      # Default value: 1h\n      #\n      # Examples:\n      # - 1h\n      # - 1m\n      # - 1s\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_RECOVERY_LIFESPAN=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_RECOVERY_LIFESPAN=<value>\n      #\n      lifespan: 1h\n\n    ## error ##\n    #\n    error:\n      ## ORY Kratos Error UI URL ##\n      #\n      # URL where the ORY Kratos Error UI is hosted. Check the [reference implementation](https://github.com/ory/kratos-selfservice-ui-node).\n      #\n      # Default value: https://www.ory.sh/kratos/docs/fallback/error\n      #\n      # Examples:\n      # - https://my-app.com/kratos-error\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_ERROR_UI_URL=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_ERROR_UI_URL=<value>\n      #\n      ui_url: https://my-app.com/kratos-error\n\n  ## methods ##\n  #\n  methods:\n    ## profile ##\n    #\n    profile:\n      ## Enables Profile Management Method ##\n      #\n      # Default value: true\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_METHODS_PROFILE_ENABLED=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_METHODS_PROFILE_ENABLED=<value>\n      #\n      enabled: false\n\n    ## link ##\n    #\n    link:\n      ## Enables Link Method ##\n      #\n      # Default value: true\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_METHODS_LINK_ENABLED=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_METHODS_LINK_ENABLED=<value>\n      #\n      enabled: false\n\n    ## password ##\n    #\n    password:\n      ## Enables Username/Email and Password Method ##\n      #\n      # Default value: true\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_METHODS_PASSWORD_ENABLED=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_METHODS_PASSWORD_ENABLED=<value>\n      #\n      enabled: false\n\n    ## oidc ##\n    #\n    oidc:\n      ## Enables OpenID Connect Method ##\n      #\n      # Default value: false\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_METHODS_OIDC_ENABLED=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_METHODS_OIDC_ENABLED=<value>\n      #\n      enabled: false\n\n      ## config ##\n      #\n      config:\n        ## OpenID Connect and OAuth2 Providers ##\n        #\n        # A list and configuration of OAuth2 and OpenID Connect providers ORY Kratos should integrate with.\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_METHODS_OIDC_CONFIG_PROVIDERS=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_METHODS_OIDC_CONFIG_PROVIDERS=<value>\n        #\n        providers:\n          - id: google\n            provider: google\n            client_id: ''\n            client_secret: ''\n            mapper_url: file://path/to/oidc.jsonnet\n            issuer_url: https://accounts.google.com\n            auth_url: https://accounts.google.com/o/oauth2/v2/auth\n            token_url: https://www.googleapis.com/oauth2/v4/token\n            scope:\n              - offline_access\n            tenant: common\n            requested_claims:\n              id_token:\n                email:\n                email_verified:\n\n## Courier configuration ##\n#\n# The courier is responsible for sending and delivering messages over email, sms, and other means.\n#\ncourier:\n  ## SMTP Configuration ##\n  #\n  # Configures outgoing emails using the SMTP protocol.\n  #\n  smtp:\n    ## SMTP connection string ##\n    #\n    # This URI will be used to connect to the SMTP server. Use the query parameter to allow (`?skip_ssl_verify=true`) or disallow (`?skip_ssl_verify=false`) self-signed TLS certificates. Please keep in mind that any host other than localhost / 127.0.0.1 must use smtp over TLS (smtps) or the connection will not be possible.\n    #\n    # Examples:\n    # - smtps://foo:bar@my-mailserver:1234/?skip_ssl_verify=false\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export COURIER_SMTP_CONNECTION_URI=<value>\n    # - Windows Command Line (CMD):\n    #    > set COURIER_SMTP_CONNECTION_URI=<value>\n    #\n    connection_uri: smtps://foo:bar@my-mailserver:1234/?skip_ssl_verify=false\n\n    ## SMTP Sender Address ##\n    #\n    # The recipient of an email will see this as the sender address.\n    #\n    # Default value: no-reply@ory.kratos.sh\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export COURIER_SMTP_FROM_ADDRESS=<value>\n    # - Windows Command Line (CMD):\n    #    > set COURIER_SMTP_FROM_ADDRESS=<value>\n    #\n    from_address: aaa@a.aa\n\n  ## Override message templates ##\n  #\n  # You can override certain or all message templates by pointing this key to the path where the templates are located.\n  #\n  # Examples:\n  # - /conf/courier-templates\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export COURIER_TEMPLATE_OVERRIDE_PATH=<value>\n  # - Windows Command Line (CMD):\n  #    > set COURIER_TEMPLATE_OVERRIDE_PATH=<value>\n  #\n  template_override_path: /conf/courier-templates\n\n## serve ##\n#\nserve:\n  ## admin ##\n  #\n  admin:\n    ## Admin Base URL ##\n    #\n    # The URL where the admin endpoint is exposed at.\n    #\n    # Examples:\n    # - https://kratos.private-network:4434/\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SERVE_ADMIN_BASE_URL=<value>\n    # - Windows Command Line (CMD):\n    #    > set SERVE_ADMIN_BASE_URL=<value>\n    #\n    base_url: https://kratos.private-network:4434/\n\n    ## Admin Host ##\n    #\n    # The host (interface) kratos' admin endpoint listens on.\n    #\n    # Default value: 0.0.0.0\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SERVE_ADMIN_HOST=<value>\n    # - Windows Command Line (CMD):\n    #    > set SERVE_ADMIN_HOST=<value>\n    #\n    host: ''\n\n    ## Admin Port ##\n    #\n    # The port kratos' admin endpoint listens on.\n    #\n    # Default value: 4434\n    #\n    # Minimum value: 1\n    #\n    # Maximum value: 65535\n    #\n    # Examples:\n    # - 4434\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SERVE_ADMIN_PORT=<value>\n    # - Windows Command Line (CMD):\n    #    > set SERVE_ADMIN_PORT=<value>\n    #\n    port: 4434\n\n  ## public ##\n  #\n  public:\n    ## cors ##\n    #\n    # Configures Cross Origin Resource Sharing for public endpoints.\n    #\n    cors:\n      ## enabled ##\n      #\n      # Sets whether CORS is enabled.\n      #\n      # Default value: false\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_CORS_ENABLED=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_CORS_ENABLED=<value>\n      #\n      enabled: false\n\n      ## allowed_origins ##\n      #\n      # A list of origins a cross-domain request can be executed from. If the special * value is present in the list, all origins will be allowed. An origin may contain a wildcard (*) to replace 0 or more characters (i.e.: http://*.domain.com). Only one wildcard can be used per origin.\n      #\n      # Default value: *\n      #\n      # Examples:\n      # - - https://example.com\n      #   - https://*.example.com\n      #   - https://*.foo.example.com\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_CORS_ALLOWED_ORIGINS=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_CORS_ALLOWED_ORIGINS=<value>\n      #\n      allowed_origins:\n        - https://example.com\n        - https://*.example.com\n        - https://*.foo.example.com\n\n      ## allowed_methods ##\n      #\n      # A list of HTTP methods the user agent is allowed to use with cross-domain requests.\n      #\n      # Default value: POST,GET,PUT,PATCH,DELETE\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_CORS_ALLOWED_METHODS=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_CORS_ALLOWED_METHODS=<value>\n      #\n      allowed_methods:\n        - POST\n\n      ## allowed_headers ##\n      #\n      # A list of non simple headers the client is allowed to use with cross-domain requests.\n      #\n      # Default value: Authorization,Content-Type,X-Session-Token\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_CORS_ALLOWED_HEADERS=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_CORS_ALLOWED_HEADERS=<value>\n      #\n      allowed_headers:\n        - ''\n\n      ## exposed_headers ##\n      #\n      # Sets which headers are safe to expose to the API of a CORS API specification.\n      #\n      # Default value: Content-Type\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_CORS_EXPOSED_HEADERS=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_CORS_EXPOSED_HEADERS=<value>\n      #\n      exposed_headers:\n        - ''\n\n      ## allow_credentials ##\n      #\n      # Sets whether the request can include user credentials like cookies, HTTP authentication or client side SSL certificates.\n      #\n      # Default value: true\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_CORS_ALLOW_CREDENTIALS=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_CORS_ALLOW_CREDENTIALS=<value>\n      #\n      allow_credentials: false\n\n      ## options_passthrough ##\n      #\n      # TODO\n      #\n      # Default value: false\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_CORS_OPTIONS_PASSTHROUGH=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_CORS_OPTIONS_PASSTHROUGH=<value>\n      #\n      options_passthrough: false\n\n      ## max_age ##\n      #\n      # Sets how long (in seconds) the results of a preflight request can be cached. If set to 0, every request is preceded by a preflight request.\n      #\n      # Minimum value: 0\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_CORS_MAX_AGE=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_CORS_MAX_AGE=<value>\n      #\n      max_age: 0\n\n      ## debug ##\n      #\n      # Adds additional log output to debug server side CORS issues.\n      #\n      # Default value: false\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_CORS_DEBUG=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_CORS_DEBUG=<value>\n      #\n      debug: false\n\n    ## Public Base URL ##\n    #\n    # The URL where the public endpoint is exposed at.\n    #\n    # Examples:\n    # - https://my-app.com/.ory/kratos/public\n    # - /.ory/kratos/public/\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SERVE_PUBLIC_BASE_URL=<value>\n    # - Windows Command Line (CMD):\n    #    > set SERVE_PUBLIC_BASE_URL=<value>\n    #\n    base_url: https://my-app.com/.ory/kratos/public\n\n    ## Public Host ##\n    #\n    # The host (interface) kratos' public endpoint listens on.\n    #\n    # Default value: 0.0.0.0\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SERVE_PUBLIC_HOST=<value>\n    # - Windows Command Line (CMD):\n    #    > set SERVE_PUBLIC_HOST=<value>\n    #\n    host: ''\n\n    ## Public Port ##\n    #\n    # The port kratos' public endpoint listens on.\n    #\n    # Default value: 4433\n    #\n    # Minimum value: 1\n    #\n    # Maximum value: 65535\n    #\n    # Examples:\n    # - 4433\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SERVE_PUBLIC_PORT=<value>\n    # - Windows Command Line (CMD):\n    #    > set SERVE_PUBLIC_PORT=<value>\n    #\n    port: 4433\n\n## log ##\n#\nlog:\n  ## level ##\n  #\n  # One of:\n  # - trace\n  # - debug\n  # - info\n  # - warning\n  # - error\n  # - fatal\n  # - panic\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export LOG_LEVEL=<value>\n  # - Windows Command Line (CMD):\n  #    > set LOG_LEVEL=<value>\n  #\n  level: trace\n\n  ## Leak Sensitive Log Values ##\n  #\n  # If set will leak sensitive values (e.g. emails) in the logs.\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export LOG_LEAK_SENSITIVE_VALUES=<value>\n  # - Windows Command Line (CMD):\n  #    > set LOG_LEAK_SENSITIVE_VALUES=<value>\n  #\n  leak_sensitive_values: false\n\n  ## format ##\n  #\n  # One of:\n  # - json\n  # - text\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export LOG_FORMAT=<value>\n  # - Windows Command Line (CMD):\n  #    > set LOG_FORMAT=<value>\n  #\n  format: json\n\n## secrets ##\n#\nsecrets:\n  ## Default Encryption Signing Secrets ##\n  #\n  # The first secret in the array is used for singing and encrypting things while all other keys are used to verify and decrypt older things that were signed with that old secret.\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export SECRETS_DEFAULT=<value>\n  # - Windows Command Line (CMD):\n  #    > set SECRETS_DEFAULT=<value>\n  #\n  default:\n    - ipsumipsumipsumi\n\n  ## Singing Keys for Cookies ##\n  #\n  # The first secret in the array is used for encrypting cookies while all other keys are used to decrypt older cookies that were signed with that old secret.\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export SECRETS_COOKIE=<value>\n  # - Windows Command Line (CMD):\n  #    > set SECRETS_COOKIE=<value>\n  #\n  cookie:\n    - ipsumipsumipsumi\n\n## Hashing Algorithm Configuration ##\n#\nhashers:\n  ## Configuration for the Argon2id hasher. ##\n  #\n  argon2:\n    ## memory ##\n    #\n    # Minimum value: 16384\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export HASHERS_ARGON2_MEMORY=<value>\n    # - Windows Command Line (CMD):\n    #    > set HASHERS_ARGON2_MEMORY=<value>\n    #\n    memory: 16384\n\n    ## iterations ##\n    #\n    # Minimum value: 1\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export HASHERS_ARGON2_ITERATIONS=<value>\n    # - Windows Command Line (CMD):\n    #    > set HASHERS_ARGON2_ITERATIONS=<value>\n    #\n    iterations: 1\n\n    ## parallelism ##\n    #\n    # Minimum value: 1\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export HASHERS_ARGON2_PARALLELISM=<value>\n    # - Windows Command Line (CMD):\n    #    > set HASHERS_ARGON2_PARALLELISM=<value>\n    #\n    parallelism: 1\n\n    ## salt_length ##\n    #\n    # Minimum value: 16\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export HASHERS_ARGON2_SALT_LENGTH=<value>\n    # - Windows Command Line (CMD):\n    #    > set HASHERS_ARGON2_SALT_LENGTH=<value>\n    #\n    salt_length: 16\n\n    ## key_length ##\n    #\n    # Minimum value: 16\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export HASHERS_ARGON2_KEY_LENGTH=<value>\n    # - Windows Command Line (CMD):\n    #    > set HASHERS_ARGON2_KEY_LENGTH=<value>\n    #\n    key_length: 16\n\n## session ##\n#\nsession:\n  ## Session Lifespan ##\n  #\n  # Defines how long a session is active. Once that lifespan has been reached, the user needs to sign in again.\n  #\n  # Default value: 24h\n  #\n  # Examples:\n  # - 1h\n  # - 1m\n  # - 1s\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export SESSION_LIFESPAN=<value>\n  # - Windows Command Line (CMD):\n  #    > set SESSION_LIFESPAN=<value>\n  #\n  lifespan: 1h\n\n  ## cookie ##\n  #\n  cookie:\n    ## Session Cookie Domain ##\n    #\n    # Sets the session cookie domain. Useful when dealing with subdomains. Use with care!\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SESSION_COOKIE_DOMAIN=<value>\n    # - Windows Command Line (CMD):\n    #    > set SESSION_COOKIE_DOMAIN=<value>\n    #\n    domain: ''\n\n    ## Make Session Cookie Persistent ##\n    #\n    # If set to true will persist the cookie in the end-user's browser using the `max-age` parameter which is set to the `session.lifespan` value. Persistent cookies are not deleted when the browser is closed (e.g. on reboot or alt+f4).\n    #\n    # Default value: true\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SESSION_COOKIE_PERSISTENT=<value>\n    # - Windows Command Line (CMD):\n    #    > set SESSION_COOKIE_PERSISTENT=<value>\n    #\n    persistent: false\n\n    ## Session Cookie Path ##\n    #\n    # Sets the session cookie path. Use with care!\n    #\n    # Default value: /\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SESSION_COOKIE_PATH=<value>\n    # - Windows Command Line (CMD):\n    #    > set SESSION_COOKIE_PATH=<value>\n    #\n    path: ''\n\n    ## Cookie Same Site Configuration ##\n    #\n    # Default value: Lax\n    #\n    # One of:\n    # - Strict\n    # - Lax\n    # - None\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SESSION_COOKIE_SAME_SITE=<value>\n    # - Windows Command Line (CMD):\n    #    > set SESSION_COOKIE_SAME_SITE=<value>\n    #\n    same_site: Strict\n\n## The kratos version this config is written for. ##\n#\n# SemVer according to https://semver.org/ prefixed with `v` as in our releases.\n#\n# Examples:\n# - v0.5.0-alpha.1\n#\n# Set this value using environment variables on\n# - Linux/macOS:\n#    $ export VERSION=<value>\n# - Windows Command Line (CMD):\n#    > set VERSION=<value>\n#\nversion: v0.5.0-alpha.1\n")))}S.isMDXComponent=!0},431:function(n,e,t){"use strict";t.d(e,"a",(function(){return m})),t.d(e,"b",(function(){return d}));var o=t(0),a=t.n(o);function s(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function i(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,o)}return t}function r(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?i(Object(t),!0).forEach((function(e){s(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function l(n,e){if(null==n)return{};var t,o,a=function(n,e){if(null==n)return{};var t,o,a={},s=Object.keys(n);for(o=0;o<s.length;o++)t=s[o],e.indexOf(t)>=0||(a[t]=n[t]);return a}(n,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);for(o=0;o<s.length;o++)t=s[o],e.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(n,t)&&(a[t]=n[t])}return a}var u=a.a.createContext({}),S=function(n){var e=a.a.useContext(u),t=e;return n&&(t="function"==typeof n?n(e):r(r({},e),n)),t},m=function(n){var e=S(n.components);return a.a.createElement(u.Provider,{value:e},n.children)},E={inlineCode:"code",wrapper:function(n){var e=n.children;return a.a.createElement(a.a.Fragment,{},e)}},c=a.a.forwardRef((function(n,e){var t=n.components,o=n.mdxType,s=n.originalType,i=n.parentName,u=l(n,["components","mdxType","originalType","parentName"]),m=S(t),c=o,d=m["".concat(i,".").concat(c)]||m[c]||E[c]||s;return t?a.a.createElement(d,r(r({ref:e},u),{},{components:t})):a.a.createElement(d,r({ref:e},u))}));function d(n,e){var t=arguments,o=e&&e.mdxType;if("string"==typeof n||o){var s=t.length,i=new Array(s);i[0]=c;var r={};for(var l in e)hasOwnProperty.call(e,l)&&(r[l]=e[l]);r.originalType=n,r.mdxType="string"==typeof n?n:o,i[1]=r;for(var u=2;u<s;u++)i[u]=t[u];return a.a.createElement.apply(null,i)}return a.a.createElement.apply(null,t)}c.displayName="MDXCreateElement"}}]);