{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Partner Integration Guide","llmstxt":{"hide":true}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"partner-integration-guide","__idx":0},"children":["Partner Integration Guide"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"overview","__idx":1},"children":["Overview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tidepool Data Platform supports direct import of data from over ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.tidepool.org/devices"},"children":["70 different types of devices"]},". In addition, it has an existing integration with ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://clarity.dexcom.com/"},"children":["Dexcom Clarity"]}," as a passive and automatic ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["data source"]},". Users can continue to upload data to their Dexcom Clarity account. When they connect their Tidepool account to Dexcom Clarity, Tidepool will automatically ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developer.dexcom.com/"},"children":["fetch data from Dexcom Clarity"]}," into the user's Tidepool account, without the user having to upload it to both Dexcom and Tidepool separately. Tidepool expects to add other cloud-connected devices as passive, automatic data sources, including other CGM and insulin delivery devices (pumps and pens) via cloud-to-cloud API connection."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/data-sources.69c5620f4798eb52483b4ec3949ad47f75c395a3456909687b5943b6c8065b92.33f780a6.png","alt":"Dexcom Clarity connection"},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This guide is to help potential partners who are interested in integrating their cloud service as a passive upload data source to Tidepool Data Platform. Tidepool uses standard ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://tools.ietf.org/html/rfc6749"},"children":["OAuth2"]}," authentication and authorization flows to enable secure 3rd party integrations with Tidepool Data Platform itself. We assume, but do not require, that the partner site uses OAuth2 as well."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For brevity, this guide assumes familiarity with OAuth technology but is not a comprehensive introduction to OAuth 2.0. The following references provide more detailed information on the principles and implementation of OAuth 2.0:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://tools.ietf.org/html/rfc6749"},"children":["OAuth - RFC 7649"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.digitalocean.com/community/tutorials/an-introduction-to-oauth-2"},"children":["An Introduction to OAuth 2"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://aaronparecki.com/2012/07/29/2/oauth2-simplified"},"children":["OAuth 2 Simplified"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.oauth.com/"},"children":["OAuth 2.0 Servers"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"device-data-model","__idx":2},"children":["Device Data Model"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tidepool will do the work of mapping from the partner's specific data model into the Tidepool data model, but here is the core set of data elements that Tidepool expects the partner site to expose via its API."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"common-fields","__idx":3},"children":["Common Fields"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tidepool expects to receive the following data fields for each uploaded device:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Notes"},"children":["Notes"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tidepool Data Model Field"},"children":["Tidepool Data Model Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Example(s)"},"children":["Example(s)"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Device Identifier"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Globally unique to this device type and repeatable/immutable with each upload"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deviceId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DexG4RecwitShaSM62228608"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ACMEPumpCo"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Device Model Name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deviceModel"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DexcomG6"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ACMEPumpModel123"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Device Manufacturer Name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deviceManufacturer"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Dexcom"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ACME"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Device Display Name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["If not provided, combine Device Manufacturer and Model Names"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deviceName"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Dexcom G6"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ACMEPumpCo ACMEPumpModel123"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Device Serial Number"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deviceSerialNumber"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1234567890"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Device System Time"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Current device time when data was recorded, in ISO 8601 format"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deviceTime"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2023-03-28T20:53:00Z"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Device Time Zone"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["timezone"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["America/Los_Angeles"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"cgm-devices","__idx":4},"children":["CGM Devices"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In addition to the common data fields listed above, Tidepool expects to receive at minimum the following data fields with each CGM data sample:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Notes"},"children":["Notes"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tidepool Data Model Field"},"children":["Tidepool Data Model Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Example(s)"},"children":["Example(s)"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Unit"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mg/dL"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mmol/L"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["units"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mg/dL"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Value"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Glucose measurement value, in units"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["value"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["120"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["CGM API can optionally also provide Trend and other Sample information, such as:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Notes"},"children":["Notes"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tidepool Data Model Field"},"children":["Tidepool Data Model Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Example(s)"},"children":["Example(s)"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Trend"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Text representation of the trend"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["trend"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["moderateRise"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Trend Rate Units"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Units for the trend rate, optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["trendRateUnits"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mg/dL/minute"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Trend Rate"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Numerical representation of the trend rate, optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["trendRate"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2.1"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sample Interval"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sample interval for data; integer, optional, milliseconds"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sampleInterval"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["300000"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Backfilled"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Whether data was backfilled from sensor device; boolean, optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["backfilled"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"insulin-delivery-devices-pumps-pens","__idx":5},"children":["Insulin Delivery Devices (Pumps, Pens)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In addition to the common data fields listed above, Tidepool expects to receive at minimum the following data fields with each insulin delivery event:"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"basal-insulin","__idx":6},"children":["Basal Insulin"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Notes"},"children":["Notes"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tidepool Data Model Field"},"children":["Tidepool Data Model Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Example(s)"},"children":["Example(s)"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["basal"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["basal"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Delivery Type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Typically automated, manual, etc."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deliveryType"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["automated"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Duration"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Actual duration, in msec"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["duration"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2700"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Expected Duration"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Expected duration, in msec"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["expectedDuration"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["3000"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Rate"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Basal rate of insulin delivered, in Units/hour"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rate"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1.5"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"bolus-insulin","__idx":7},"children":["Bolus Insulin"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Notes"},"children":["Notes"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tidepool Data Model Field"},"children":["Tidepool Data Model Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Example"},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bolus"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bolus"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Delivery Type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Typically automated, manual, etc."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deliveryType"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["automated"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Duration"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Actual duration, in msec"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["duration"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2700"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Expected Duration"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Expected duration, in msec"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["expectedDuration"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["3000"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Normal or Extended"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Bolus amount of insulin delivered, in Units"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["normal"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["extended"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2.3"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In addition to the insulin delivery events described above, the Tidepool Data Platform can import and visualize a wide variety of additional device data, including but limited to:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Combinations of events (e.g. combination bolus)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Additional metadata such as:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treatment schedules or overrides"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Device status"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Device events (e.g. alarms, reservoir changes, sensor events, etc.)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Device settings (e.g. carb ratios, glucose targets, etc.)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Bolus calculator or dosing decision records"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Activity modes from AID systems such as ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.tandemdiabetes.com/products/t-slim-x2-insulin-pump/control-iq"},"children":["Tandem Control-IQ"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A more comprehensive description of these can be found in our ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://tidepool.redocly.app/tidepool-apis"},"children":["API and data model documentation"]},". Tidepool expects to receive and visualize all insulin delivery events and device settings that may be helpful to the healthcare provider and person with diabetes."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"setup","__idx":8},"children":["Setup"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Before Tidepool Data Platform can fetch user's data from a partner cloud service, we need to exchange few pieces of technical information with the partner. This is a one-time setup process and does not involve the users."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Partner provides documentation of the API endpoints that Tidepool Data Platform can call to authenticate and authorize users, and ultimately to fetch data."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Partner provides any other guidance on restrictions imposed on the API, such as but not limited to:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["geographical restrictions"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["IP address restrictions"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["token lifetime restrictions"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["how frequently Tidepool Data Platform may call the partner APIs"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["how much user data may be requested in each batch"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["regular service blackout or maintenance windows, if any, when Tidepool should avoid making API requests"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tidepool provides the URL(s) to where user's browser should be redirected after partner authentication and authorization flow completes."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Partner provides service credentials that enable Tidepool Data Platform to make service-to-service API requests on behalf of users. For OAuth flow, this typically includes a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["client_id"]}," and a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["client_secret"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This enables Tidepool to develop the code necessary to allow the user to authenticate and authorize Tidepool's access to the user's account in the partner site, and to fetch data from the user's account. The following sections describe each in detail."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"authentication-and-authorization","__idx":9},"children":["Authentication and Authorization"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The diagram below shows how using the standard ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://tools.ietf.org/html/rfc6749"},"children":["OAuth"]}," flow enables each user to grant Tidepool access to their data on the partner site. Tidepool only receives ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#revocation"},"children":["revocable access and refresh tokens"]},", and has no visibility to the user's login credentials on the partner site."]},{"$$mdtype":"Tag","name":"Diagram","attributes":{"data-language":"mermaid","diagramType":"mermaid","diagramSource":"sequenceDiagram\n    autonumber\n    actor User as User\n    participant Tidepool as Tidepool\n    participant Partner as Device Partner\n\n    User->>Tidepool: request to connect to partner data\n    Tidepool->>User: ask user to authenticate + authorize\n    User->>Partner: request to authenticate + authorize\n    Partner->>Tidepool: provide authorization code\n    Tidepool->>Partner: request tokens\n    Partner->>Tidepool: provide tokens\n    Tidepool->>Tidepool: store tokens\n    Tidepool->>User: report status\n","diagramHtml":"<svg id=\"diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" style=\"max-width: 859px;\" viewBox=\"-50 -10 859 633\" role=\"graphics-document document\" aria-roledescription=\"sequence\"><g><rect x=\"609\" y=\"547\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Partner\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"684\" y=\"579.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"684\" dy=\"0\">Device Partner</tspan></text></g><g><rect x=\"338\" y=\"547\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Tidepool\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"413\" y=\"579.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"413\" dy=\"0\">Tidepool</tspan></text></g><g></g><g><line id=\"actor2\" x1=\"684\" y1=\"65\" x2=\"684\" y2=\"547\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Partner\" data-et=\"life-line\" data-id=\"Partner\"></line><g id=\"root-2\" data-et=\"participant\" data-type=\"participant\" data-id=\"Partner\"><rect x=\"609\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Partner\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"684\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"684\" dy=\"0\">Device Partner</tspan></text></g></g><g><line id=\"actor1\" x1=\"413\" y1=\"65\" x2=\"413\" y2=\"547\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Tidepool\" data-et=\"life-line\" data-id=\"Tidepool\"></line><g id=\"root-1\" data-et=\"participant\" data-type=\"participant\" data-id=\"Tidepool\"><rect x=\"338\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Tidepool\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"413\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"413\" dy=\"0\">Tidepool</tspan></text></g></g><g><line id=\"actor0\" x1=\"75\" y1=\"80\" x2=\"75\" y2=\"547\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"User\" data-et=\"life-line\" data-id=\"User\"></line></g><style>#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304{font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .error-icon{fill:#552222;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .error-text{fill:#552222;stroke:#552222;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .edge-thickness-normal{stroke-width:1px;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .edge-thickness-thick{stroke-width:3.5px;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .edge-pattern-solid{stroke-dasharray:0;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .edge-pattern-dashed{stroke-dasharray:3;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .edge-pattern-dotted{stroke-dasharray:2;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .marker{fill:#333333;stroke:#333333;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .marker.cross{stroke:#333333;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 svg{font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 p{margin:0;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .actor{stroke:#9370DB;fill:#ECECFF;stroke-width:1;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 rect.actor.outer-path[data-look=\"neo\"]{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 rect.note[data-look=\"neo\"]{stroke:#aaaa33;fill:#fff5ad;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 text.actor&gt;tspan{fill:black;stroke:none;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .actor-line{stroke:#9370DB;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .innerArc{stroke-width:1.5;stroke-dasharray:none;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 [id$=\"-arrowhead\"] path{fill:#333;stroke:#333;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .sequenceNumber{fill:white;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 [id$=\"-sequencenumber\"]{fill:#333;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 [id$=\"-crosshead\"] path{fill:#333;stroke:#333;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .messageText{fill:#333;stroke:none;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .labelBox{stroke:#9370DB;fill:#ECECFF;filter:none;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .labelText,#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .labelText&gt;tspan{fill:black;stroke:none;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .loopText,#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .loopText&gt;tspan{fill:black;stroke:none;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .sectionTitle,#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .sectionTitle&gt;tspan{fill:black;stroke:none;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:#9370DB;fill:#9370DB;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .note{stroke:#aaaa33;fill:#fff5ad;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .noteText,#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .noteText&gt;tspan{fill:black;stroke:none;font-weight:normal;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .activation0{fill:#f4f4f4;stroke:#666;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .activation1{fill:#f4f4f4;stroke:#666;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .activation2{fill:#f4f4f4;stroke:#666;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .actorPopupMenu{position:absolute;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .actor-man circle,#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 line{fill:#ECECFF;stroke-width:2px;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 g rect.rect{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));stroke:#9370DB;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 .node .neo-node{stroke:#9370DB;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 [data-look=\"neo\"].node rect,#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 [data-look=\"neo\"].cluster rect,#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 [data-look=\"neo\"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 [data-look=\"neo\"].node path{stroke:#9370DB;stroke-width:1px;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 [data-look=\"neo\"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 [data-look=\"neo\"].node .neo-line path{stroke:#9370DB;filter:none;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 [data-look=\"neo\"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 [data-look=\"neo\"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 [data-look=\"neo\"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;}#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;}</style><g></g><defs><symbol id=\"diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-computer\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z\"></path></symbol></defs><defs><symbol id=\"diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-database\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path transform=\"scale(.5)\" d=\"M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z\"></path></symbol></defs><defs><symbol id=\"diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-clock\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z\"></path></symbol></defs><defs><marker id=\"diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-arrowhead\" refX=\"7.9\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M -1 0 L 10 5 L 0 10 z\"></path></marker></defs><defs><marker id=\"diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-crosshead\" markerWidth=\"15\" markerHeight=\"8\" orient=\"auto\" refX=\"4\" refY=\"4.5\"><path fill=\"none\" stroke=\"#000000\" stroke-width=\"1pt\" d=\"M 1,2 L 6,7 M 6,2 L 1,7\" style=\"stroke-dasharray: 0, 0;\"></path></marker></defs><defs><marker id=\"diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-filled-head\" refX=\"15.5\" refY=\"7\" markerWidth=\"20\" markerHeight=\"28\" orient=\"auto\"><path d=\"M 18,7 L9,13 L14,7 L9,1 Z\"></path></marker></defs><defs><marker id=\"diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-sequencenumber\" refX=\"15\" refY=\"15\" markerWidth=\"60\" markerHeight=\"40\" orient=\"auto\"><circle cx=\"15\" cy=\"15\" r=\"6\"></circle></marker></defs><defs><marker id=\"diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-solidTopArrowHead\" refX=\"7.9\" refY=\"7.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 8 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-solidBottomArrowHead\" refX=\"7.9\" refY=\"0.75\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 0 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-stickTopArrowHead\" refX=\"7.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 7 7\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><defs><marker id=\"diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-stickBottomArrowHead\" refX=\"7.5\" refY=\"0\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 7 L 7 0\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><g class=\"actor-man actor-top\" name=\"User\" data-et=\"participant\" data-type=\"actor\" data-id=\"User\" style=\"stroke: rgb(147, 112, 219);\"><line id=\"actor-man-torso0\" x1=\"75\" y1=\"25\" x2=\"75\" y2=\"45\"></line><line id=\"actor-man-arms0\" x1=\"57\" y1=\"33\" x2=\"93\" y2=\"33\"></line><line x1=\"57\" y1=\"60\" x2=\"75\" y2=\"45\"></line><line x1=\"75\" y1=\"45\" x2=\"91\" y2=\"60\"></line><circle cx=\"75\" cy=\"10\" r=\"15\" width=\"150\" height=\"65\"></circle><text x=\"75\" y=\"67.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-man\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">User</tspan></text></g><text x=\"243\" y=\"80\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">request to connect to partner data</text><line x1=\"82\" y1=\"119\" x2=\"409\" y2=\"119\" class=\"messageLine0\" data-et=\"message\" data-id=\"i1\" data-from=\"User\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-arrowhead)\" style=\"fill: none;\"></line><line x1=\"75\" y1=\"119\" x2=\"75\" y2=\"119\" stroke-width=\"0\" marker-start=\"url(#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-sequencenumber)\"></line><text x=\"75\" y=\"123\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">1</text><text x=\"246\" y=\"134\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">ask user to authenticate + authorize</text><line x1=\"418\" y1=\"173\" x2=\"79\" y2=\"173\" class=\"messageLine0\" data-et=\"message\" data-id=\"i2\" data-from=\"Tidepool\" data-to=\"User\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-arrowhead)\" style=\"fill: none;\"></line><line x1=\"413\" y1=\"173\" x2=\"413\" y2=\"173\" stroke-width=\"0\" marker-start=\"url(#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-sequencenumber)\"></line><text x=\"413\" y=\"177\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">2</text><text x=\"378\" y=\"188\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">request to authenticate + authorize</text><line x1=\"82\" y1=\"227\" x2=\"680\" y2=\"227\" class=\"messageLine0\" data-et=\"message\" data-id=\"i3\" data-from=\"User\" data-to=\"Partner\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-arrowhead)\" style=\"fill: none;\"></line><line x1=\"75\" y1=\"227\" x2=\"75\" y2=\"227\" stroke-width=\"0\" marker-start=\"url(#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-sequencenumber)\"></line><text x=\"75\" y=\"231\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">3</text><text x=\"550\" y=\"242\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">provide authorization code</text><line x1=\"689\" y1=\"281\" x2=\"417\" y2=\"281\" class=\"messageLine0\" data-et=\"message\" data-id=\"i4\" data-from=\"Partner\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-arrowhead)\" style=\"fill: none;\"></line><line x1=\"684\" y1=\"281\" x2=\"684\" y2=\"281\" stroke-width=\"0\" marker-start=\"url(#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-sequencenumber)\"></line><text x=\"684\" y=\"285\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">4</text><text x=\"547\" y=\"296\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">request tokens</text><line x1=\"420\" y1=\"335\" x2=\"680\" y2=\"335\" class=\"messageLine0\" data-et=\"message\" data-id=\"i5\" data-from=\"Tidepool\" data-to=\"Partner\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-arrowhead)\" style=\"fill: none;\"></line><line x1=\"413\" y1=\"335\" x2=\"413\" y2=\"335\" stroke-width=\"0\" marker-start=\"url(#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-sequencenumber)\"></line><text x=\"413\" y=\"339\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">5</text><text x=\"550\" y=\"350\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">provide tokens</text><line x1=\"689\" y1=\"389\" x2=\"417\" y2=\"389\" class=\"messageLine0\" data-et=\"message\" data-id=\"i6\" data-from=\"Partner\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-arrowhead)\" style=\"fill: none;\"></line><line x1=\"684\" y1=\"389\" x2=\"684\" y2=\"389\" stroke-width=\"0\" marker-start=\"url(#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-sequencenumber)\"></line><text x=\"684\" y=\"393\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">6</text><text x=\"414\" y=\"404\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">store tokens</text><path d=\"M 414,443 C 474,433 474,473 414,463\" class=\"messageLine0\" data-et=\"message\" data-id=\"i7\" data-from=\"Tidepool\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-arrowhead)\" x1=\"420\" style=\"fill: none;\"></path><line x1=\"413\" y1=\"443\" x2=\"413\" y2=\"443\" stroke-width=\"0\" marker-start=\"url(#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-sequencenumber)\"></line><text x=\"413\" y=\"447\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">7</text><text x=\"246\" y=\"488\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">report status</text><line x1=\"418\" y1=\"527\" x2=\"79\" y2=\"527\" class=\"messageLine0\" data-et=\"message\" data-id=\"i8\" data-from=\"Tidepool\" data-to=\"User\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-arrowhead)\" style=\"fill: none;\"></line><line x1=\"413\" y1=\"527\" x2=\"413\" y2=\"527\" stroke-width=\"0\" marker-start=\"url(#diagram-2a10e2129d66ede62fd8b786e912e04a06e4e8e92316ce18e53c004dd0eb3304-sequencenumber)\"></line><text x=\"413\" y=\"531\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">8</text><g class=\"actor-man actor-bottom\" name=\"User\" style=\"stroke: rgb(147, 112, 219);\"><line id=\"actor-man-torso2\" x1=\"75\" y1=\"572\" x2=\"75\" y2=\"592\"></line><line id=\"actor-man-arms2\" x1=\"57\" y1=\"580\" x2=\"93\" y2=\"580\"></line><line x1=\"57\" y1=\"607\" x2=\"75\" y2=\"592\"></line><line x1=\"75\" y1=\"592\" x2=\"91\" y2=\"607\"></line><circle cx=\"75\" cy=\"557\" r=\"15\" width=\"150\" height=\"65\"></circle><text x=\"75\" y=\"614.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-man\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">User</tspan></text></g></svg>","diagramHtmlDark":"<svg id=\"diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" style=\"max-width: 859px;\" viewBox=\"-50 -10 859 633\" role=\"graphics-document document\" aria-roledescription=\"sequence\"><g><rect x=\"609\" y=\"547\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Partner\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"684\" y=\"579.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"684\" dy=\"0\">Device Partner</tspan></text></g><g><rect x=\"338\" y=\"547\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Tidepool\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"413\" y=\"579.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"413\" dy=\"0\">Tidepool</tspan></text></g><g></g><g><line id=\"actor2\" x1=\"684\" y1=\"65\" x2=\"684\" y2=\"547\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Partner\" data-et=\"life-line\" data-id=\"Partner\"></line><g id=\"root-2\" data-et=\"participant\" data-type=\"participant\" data-id=\"Partner\"><rect x=\"609\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Partner\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"684\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"684\" dy=\"0\">Device Partner</tspan></text></g></g><g><line id=\"actor1\" x1=\"413\" y1=\"65\" x2=\"413\" y2=\"547\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Tidepool\" data-et=\"life-line\" data-id=\"Tidepool\"></line><g id=\"root-1\" data-et=\"participant\" data-type=\"participant\" data-id=\"Tidepool\"><rect x=\"338\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Tidepool\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"413\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"413\" dy=\"0\">Tidepool</tspan></text></g></g><g><line id=\"actor0\" x1=\"75\" y1=\"80\" x2=\"75\" y2=\"547\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"User\" data-et=\"life-line\" data-id=\"User\"></line></g><style>#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9{font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;font-size:16px;fill:#ccc;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .error-icon{fill:#a44141;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .error-text{fill:#ddd;stroke:#ddd;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .edge-thickness-normal{stroke-width:1px;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .edge-thickness-thick{stroke-width:3.5px;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .edge-pattern-solid{stroke-dasharray:0;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .edge-pattern-dashed{stroke-dasharray:3;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .edge-pattern-dotted{stroke-dasharray:2;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .marker{fill:lightgrey;stroke:lightgrey;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .marker.cross{stroke:lightgrey;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 svg{font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 p{margin:0;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .actor{stroke:#ccc;fill:#1f2020;stroke-width:1;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 rect.actor.outer-path[data-look=\"neo\"]{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 rect.note[data-look=\"neo\"]{stroke:hsl(180, 0%, 18.3529411765%);fill:hsl(180, 1.5873015873%, 28.3529411765%);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 text.actor&gt;tspan{fill:lightgrey;stroke:none;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .actor-line{stroke:#ccc;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .innerArc{stroke-width:1.5;stroke-dasharray:none;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:lightgrey;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:lightgrey;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 [id$=\"-arrowhead\"] path{fill:lightgrey;stroke:lightgrey;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .sequenceNumber{fill:black;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 [id$=\"-sequencenumber\"]{fill:lightgrey;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 [id$=\"-crosshead\"] path{fill:lightgrey;stroke:lightgrey;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .messageText{fill:lightgrey;stroke:none;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .labelBox{stroke:#ccc;fill:#1f2020;filter:none;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .labelText,#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .labelText&gt;tspan{fill:lightgrey;stroke:none;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .loopText,#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .loopText&gt;tspan{fill:lightgrey;stroke:none;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .sectionTitle,#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .sectionTitle&gt;tspan{fill:lightgrey;stroke:none;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:#ccc;fill:#ccc;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .note{stroke:hsl(180, 0%, 18.3529411765%);fill:hsl(180, 1.5873015873%, 28.3529411765%);}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .noteText,#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .noteText&gt;tspan{fill:rgb(183.8476190475, 181.5523809523, 181.5523809523);stroke:none;font-weight:normal;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .activation0{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .activation1{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .activation2{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .actorPopupMenu{position:absolute;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .actorPopupMenuPanel{position:absolute;fill:#1f2020;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .actor-man circle,#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 line{fill:#1f2020;stroke-width:2px;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 g rect.rect{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));stroke:#ccc;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 .node .neo-node{stroke:#ccc;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 [data-look=\"neo\"].node rect,#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 [data-look=\"neo\"].cluster rect,#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 [data-look=\"neo\"].node polygon{stroke:url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 [data-look=\"neo\"].node path{stroke:url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-gradient);stroke-width:1px;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 [data-look=\"neo\"].node .outer-path{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 [data-look=\"neo\"].node .neo-line path{stroke:#ccc;filter:none;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 [data-look=\"neo\"].node circle{stroke:url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 [data-look=\"neo\"].icon-shape .icon{fill:url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 [data-look=\"neo\"].icon-shape .icon-neo path{stroke:url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;}#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;}</style><g></g><defs><symbol id=\"diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-computer\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z\"></path></symbol></defs><defs><symbol id=\"diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-database\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path transform=\"scale(.5)\" d=\"M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z\"></path></symbol></defs><defs><symbol id=\"diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-clock\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z\"></path></symbol></defs><defs><marker id=\"diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-arrowhead\" refX=\"7.9\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M -1 0 L 10 5 L 0 10 z\"></path></marker></defs><defs><marker id=\"diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-crosshead\" markerWidth=\"15\" markerHeight=\"8\" orient=\"auto\" refX=\"4\" refY=\"4.5\"><path fill=\"none\" stroke=\"#000000\" stroke-width=\"1pt\" d=\"M 1,2 L 6,7 M 6,2 L 1,7\" style=\"stroke-dasharray: 0, 0;\"></path></marker></defs><defs><marker id=\"diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-filled-head\" refX=\"15.5\" refY=\"7\" markerWidth=\"20\" markerHeight=\"28\" orient=\"auto\"><path d=\"M 18,7 L9,13 L14,7 L9,1 Z\"></path></marker></defs><defs><marker id=\"diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-sequencenumber\" refX=\"15\" refY=\"15\" markerWidth=\"60\" markerHeight=\"40\" orient=\"auto\"><circle cx=\"15\" cy=\"15\" r=\"6\"></circle></marker></defs><defs><marker id=\"diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-solidTopArrowHead\" refX=\"7.9\" refY=\"7.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 8 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-solidBottomArrowHead\" refX=\"7.9\" refY=\"0.75\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 0 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-stickTopArrowHead\" refX=\"7.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 7 7\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><defs><marker id=\"diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-stickBottomArrowHead\" refX=\"7.5\" refY=\"0\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 7 L 7 0\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><g class=\"actor-man actor-top\" name=\"User\" data-et=\"participant\" data-type=\"actor\" data-id=\"User\" style=\"stroke: rgb(204, 204, 204);\"><line id=\"actor-man-torso0\" x1=\"75\" y1=\"25\" x2=\"75\" y2=\"45\"></line><line id=\"actor-man-arms0\" x1=\"57\" y1=\"33\" x2=\"93\" y2=\"33\"></line><line x1=\"57\" y1=\"60\" x2=\"75\" y2=\"45\"></line><line x1=\"75\" y1=\"45\" x2=\"91\" y2=\"60\"></line><circle cx=\"75\" cy=\"10\" r=\"15\" width=\"150\" height=\"65\"></circle><text x=\"75\" y=\"67.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-man\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">User</tspan></text></g><text x=\"243\" y=\"80\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">request to connect to partner data</text><line x1=\"82\" y1=\"119\" x2=\"409\" y2=\"119\" class=\"messageLine0\" data-et=\"message\" data-id=\"i1\" data-from=\"User\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-arrowhead)\" style=\"fill: none;\"></line><line x1=\"75\" y1=\"119\" x2=\"75\" y2=\"119\" stroke-width=\"0\" marker-start=\"url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-sequencenumber)\"></line><text x=\"75\" y=\"123\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">1</text><text x=\"246\" y=\"134\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">ask user to authenticate + authorize</text><line x1=\"418\" y1=\"173\" x2=\"79\" y2=\"173\" class=\"messageLine0\" data-et=\"message\" data-id=\"i2\" data-from=\"Tidepool\" data-to=\"User\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-arrowhead)\" style=\"fill: none;\"></line><line x1=\"413\" y1=\"173\" x2=\"413\" y2=\"173\" stroke-width=\"0\" marker-start=\"url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-sequencenumber)\"></line><text x=\"413\" y=\"177\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">2</text><text x=\"378\" y=\"188\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">request to authenticate + authorize</text><line x1=\"82\" y1=\"227\" x2=\"680\" y2=\"227\" class=\"messageLine0\" data-et=\"message\" data-id=\"i3\" data-from=\"User\" data-to=\"Partner\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-arrowhead)\" style=\"fill: none;\"></line><line x1=\"75\" y1=\"227\" x2=\"75\" y2=\"227\" stroke-width=\"0\" marker-start=\"url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-sequencenumber)\"></line><text x=\"75\" y=\"231\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">3</text><text x=\"550\" y=\"242\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">provide authorization code</text><line x1=\"689\" y1=\"281\" x2=\"417\" y2=\"281\" class=\"messageLine0\" data-et=\"message\" data-id=\"i4\" data-from=\"Partner\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-arrowhead)\" style=\"fill: none;\"></line><line x1=\"684\" y1=\"281\" x2=\"684\" y2=\"281\" stroke-width=\"0\" marker-start=\"url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-sequencenumber)\"></line><text x=\"684\" y=\"285\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">4</text><text x=\"547\" y=\"296\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">request tokens</text><line x1=\"420\" y1=\"335\" x2=\"680\" y2=\"335\" class=\"messageLine0\" data-et=\"message\" data-id=\"i5\" data-from=\"Tidepool\" data-to=\"Partner\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-arrowhead)\" style=\"fill: none;\"></line><line x1=\"413\" y1=\"335\" x2=\"413\" y2=\"335\" stroke-width=\"0\" marker-start=\"url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-sequencenumber)\"></line><text x=\"413\" y=\"339\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">5</text><text x=\"550\" y=\"350\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">provide tokens</text><line x1=\"689\" y1=\"389\" x2=\"417\" y2=\"389\" class=\"messageLine0\" data-et=\"message\" data-id=\"i6\" data-from=\"Partner\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-arrowhead)\" style=\"fill: none;\"></line><line x1=\"684\" y1=\"389\" x2=\"684\" y2=\"389\" stroke-width=\"0\" marker-start=\"url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-sequencenumber)\"></line><text x=\"684\" y=\"393\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">6</text><text x=\"414\" y=\"404\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">store tokens</text><path d=\"M 414,443 C 474,433 474,473 414,463\" class=\"messageLine0\" data-et=\"message\" data-id=\"i7\" data-from=\"Tidepool\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-arrowhead)\" x1=\"420\" style=\"fill: none;\"></path><line x1=\"413\" y1=\"443\" x2=\"413\" y2=\"443\" stroke-width=\"0\" marker-start=\"url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-sequencenumber)\"></line><text x=\"413\" y=\"447\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">7</text><text x=\"246\" y=\"488\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">report status</text><line x1=\"418\" y1=\"527\" x2=\"79\" y2=\"527\" class=\"messageLine0\" data-et=\"message\" data-id=\"i8\" data-from=\"Tidepool\" data-to=\"User\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-arrowhead)\" style=\"fill: none;\"></line><line x1=\"413\" y1=\"527\" x2=\"413\" y2=\"527\" stroke-width=\"0\" marker-start=\"url(#diagram-32ca0cf670e1a91a606caf4c8d817611b8f1e0d1f387bc49a653e15cfae633c9-sequencenumber)\"></line><text x=\"413\" y=\"531\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">8</text><g class=\"actor-man actor-bottom\" name=\"User\" style=\"stroke: rgb(204, 204, 204);\"><line id=\"actor-man-torso2\" x1=\"75\" y1=\"572\" x2=\"75\" y2=\"592\"></line><line id=\"actor-man-arms2\" x1=\"57\" y1=\"580\" x2=\"93\" y2=\"580\"></line><line x1=\"57\" y1=\"607\" x2=\"75\" y2=\"592\"></line><line x1=\"75\" y1=\"592\" x2=\"91\" y2=\"607\"></line><circle cx=\"75\" cy=\"557\" r=\"15\" width=\"150\" height=\"65\"></circle><text x=\"75\" y=\"614.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-man\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">User</tspan></text></g></svg>"},"children":["sequenceDiagram\n    autonumber\n    actor User as User\n    participant Tidepool as Tidepool\n    participant Partner as Device Partner\n\n    User->>Tidepool: request to connect to partner data\n    Tidepool->>User: ask user to authenticate + authorize\n    User->>Partner: request to authenticate + authorize\n    Partner->>Tidepool: provide authorization code\n    Tidepool->>Partner: request tokens\n    Partner->>Tidepool: provide tokens\n    Tidepool->>Tidepool: store tokens\n    Tidepool->>User: report status\n"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["These steps assume that the user is already logged into their account in Tidepool Web in order to initiate the authorization flow."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The user initiates the request to connect to a partner site by clicking on a button in their account profile page in Tidepool Web."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tidepool responds with a redirection request to the partner site."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The user's web browser redirects the user to partner site to authenticate and authorize Tidepool access to their partner account."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The partner site responds by providing an authorization code to Tidepool."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tidepool uses the authorization code to request an access token and a refresh token."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Partner returns the tokens to Tidepool."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tidepool stores the tokens within the user's account profile. This enables subsequent data transfers to the user's account."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tidepool Web updates to show the connection status."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tidepool also supports a clinician requesting a patient to connect their account to a partner site. The overall flow is the same, the difference is in that it is initiated first by the clinician, and then completed by the patient using their own partner site credentials."]},{"$$mdtype":"Tag","name":"Diagram","attributes":{"data-language":"mermaid","diagramType":"mermaid","diagramSource":"sequenceDiagram\n    autonumber\n    actor Clinician as Clinician\n    actor User as Patient\n    participant Tidepool as Tidepool\n    participant Partner as Device Partner\n\n    Clinician->>Tidepool: request to connect patient to partner data\n    Tidepool->>User: send email to request authorization\n    User->>Tidepool: request to connect to partner data\n    Tidepool->>User: ask user to authenticate + authorize\n    User->>Partner: request to authenticate + authorize\n    Partner->>Tidepool: provide authorization code\n    Tidepool->>Partner: request tokens\n    Partner->>Tidepool: provide tokens\n    Tidepool->>Tidepool: store tokens\n    Tidepool->>User: report status\n","diagramHtml":"<svg id=\"diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" style=\"max-width: 1059px;\" viewBox=\"-50 -10 1059 741\" role=\"graphics-document document\" aria-roledescription=\"sequence\"><g><rect x=\"809\" y=\"655\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Partner\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"884\" y=\"687.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"884\" dy=\"0\">Device Partner</tspan></text></g><g><rect x=\"538\" y=\"655\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Tidepool\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"613\" y=\"687.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"613\" dy=\"0\">Tidepool</tspan></text></g><g></g><g></g><g><line id=\"actor3\" x1=\"884\" y1=\"65\" x2=\"884\" y2=\"655\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Partner\" data-et=\"life-line\" data-id=\"Partner\"></line><g id=\"root-3\" data-et=\"participant\" data-type=\"participant\" data-id=\"Partner\"><rect x=\"809\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Partner\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"884\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"884\" dy=\"0\">Device Partner</tspan></text></g></g><g><line id=\"actor2\" x1=\"613\" y1=\"65\" x2=\"613\" y2=\"655\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Tidepool\" data-et=\"life-line\" data-id=\"Tidepool\"></line><g id=\"root-2\" data-et=\"participant\" data-type=\"participant\" data-id=\"Tidepool\"><rect x=\"538\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Tidepool\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"613\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"613\" dy=\"0\">Tidepool</tspan></text></g></g><g><line id=\"actor1\" x1=\"275\" y1=\"80\" x2=\"275\" y2=\"655\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"User\" data-et=\"life-line\" data-id=\"User\"></line></g><g><line id=\"actor0\" x1=\"75\" y1=\"80\" x2=\"75\" y2=\"655\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Clinician\" data-et=\"life-line\" data-id=\"Clinician\"></line></g><style>#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a{font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .error-icon{fill:#552222;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .error-text{fill:#552222;stroke:#552222;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .edge-thickness-normal{stroke-width:1px;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .edge-thickness-thick{stroke-width:3.5px;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .edge-pattern-solid{stroke-dasharray:0;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .edge-pattern-dashed{stroke-dasharray:3;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .edge-pattern-dotted{stroke-dasharray:2;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .marker{fill:#333333;stroke:#333333;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .marker.cross{stroke:#333333;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a svg{font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a p{margin:0;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .actor{stroke:#9370DB;fill:#ECECFF;stroke-width:1;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a rect.actor.outer-path[data-look=\"neo\"]{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a rect.note[data-look=\"neo\"]{stroke:#aaaa33;fill:#fff5ad;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a text.actor&gt;tspan{fill:black;stroke:none;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .actor-line{stroke:#9370DB;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .innerArc{stroke-width:1.5;stroke-dasharray:none;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a [id$=\"-arrowhead\"] path{fill:#333;stroke:#333;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .sequenceNumber{fill:white;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a [id$=\"-sequencenumber\"]{fill:#333;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a [id$=\"-crosshead\"] path{fill:#333;stroke:#333;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .messageText{fill:#333;stroke:none;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .labelBox{stroke:#9370DB;fill:#ECECFF;filter:none;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .labelText,#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .labelText&gt;tspan{fill:black;stroke:none;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .loopText,#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .loopText&gt;tspan{fill:black;stroke:none;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .sectionTitle,#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .sectionTitle&gt;tspan{fill:black;stroke:none;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:#9370DB;fill:#9370DB;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .note{stroke:#aaaa33;fill:#fff5ad;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .noteText,#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .noteText&gt;tspan{fill:black;stroke:none;font-weight:normal;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .activation0{fill:#f4f4f4;stroke:#666;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .activation1{fill:#f4f4f4;stroke:#666;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .activation2{fill:#f4f4f4;stroke:#666;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .actorPopupMenu{position:absolute;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .actor-man circle,#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a line{fill:#ECECFF;stroke-width:2px;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a g rect.rect{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));stroke:#9370DB;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a .node .neo-node{stroke:#9370DB;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a [data-look=\"neo\"].node rect,#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a [data-look=\"neo\"].cluster rect,#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a [data-look=\"neo\"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a [data-look=\"neo\"].node path{stroke:#9370DB;stroke-width:1px;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a [data-look=\"neo\"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a [data-look=\"neo\"].node .neo-line path{stroke:#9370DB;filter:none;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a [data-look=\"neo\"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a [data-look=\"neo\"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a [data-look=\"neo\"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a :root{--mermaid-font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;}#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a :root{--mermaid-font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;}</style><g></g><defs><symbol id=\"diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-computer\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z\"></path></symbol></defs><defs><symbol id=\"diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-database\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path transform=\"scale(.5)\" d=\"M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z\"></path></symbol></defs><defs><symbol id=\"diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-clock\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z\"></path></symbol></defs><defs><marker id=\"diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-arrowhead\" refX=\"7.9\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M -1 0 L 10 5 L 0 10 z\"></path></marker></defs><defs><marker id=\"diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-crosshead\" markerWidth=\"15\" markerHeight=\"8\" orient=\"auto\" refX=\"4\" refY=\"4.5\"><path fill=\"none\" stroke=\"#000000\" stroke-width=\"1pt\" d=\"M 1,2 L 6,7 M 6,2 L 1,7\" style=\"stroke-dasharray: 0, 0;\"></path></marker></defs><defs><marker id=\"diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-filled-head\" refX=\"15.5\" refY=\"7\" markerWidth=\"20\" markerHeight=\"28\" orient=\"auto\"><path d=\"M 18,7 L9,13 L14,7 L9,1 Z\"></path></marker></defs><defs><marker id=\"diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-sequencenumber\" refX=\"15\" refY=\"15\" markerWidth=\"60\" markerHeight=\"40\" orient=\"auto\"><circle cx=\"15\" cy=\"15\" r=\"6\"></circle></marker></defs><defs><marker id=\"diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-solidTopArrowHead\" refX=\"7.9\" refY=\"7.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 8 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-solidBottomArrowHead\" refX=\"7.9\" refY=\"0.75\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 0 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-stickTopArrowHead\" refX=\"7.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 7 7\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><defs><marker id=\"diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-stickBottomArrowHead\" refX=\"7.5\" refY=\"0\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 7 L 7 0\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><g class=\"actor-man actor-top\" name=\"Clinician\" data-et=\"participant\" data-type=\"actor\" data-id=\"Clinician\" style=\"stroke: rgb(147, 112, 219);\"><line id=\"actor-man-torso0\" x1=\"75\" y1=\"25\" x2=\"75\" y2=\"45\"></line><line id=\"actor-man-arms0\" x1=\"57\" y1=\"33\" x2=\"93\" y2=\"33\"></line><line x1=\"57\" y1=\"60\" x2=\"75\" y2=\"45\"></line><line x1=\"75\" y1=\"45\" x2=\"91\" y2=\"60\"></line><circle cx=\"75\" cy=\"10\" r=\"15\" width=\"150\" height=\"65\"></circle><text x=\"75\" y=\"67.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-man\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Clinician</tspan></text></g><g class=\"actor-man actor-top\" name=\"User\" data-et=\"participant\" data-type=\"actor\" data-id=\"User\" style=\"stroke: rgb(147, 112, 219);\"><line id=\"actor-man-torso1\" x1=\"275\" y1=\"25\" x2=\"275\" y2=\"45\"></line><line id=\"actor-man-arms1\" x1=\"257\" y1=\"33\" x2=\"293\" y2=\"33\"></line><line x1=\"257\" y1=\"60\" x2=\"275\" y2=\"45\"></line><line x1=\"275\" y1=\"45\" x2=\"291\" y2=\"60\"></line><circle cx=\"275\" cy=\"10\" r=\"15\" width=\"150\" height=\"65\"></circle><text x=\"275\" y=\"67.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-man\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"275\" dy=\"0\">Patient</tspan></text></g><text x=\"343\" y=\"80\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">request to connect patient to partner data</text><line x1=\"82\" y1=\"119\" x2=\"609\" y2=\"119\" class=\"messageLine0\" data-et=\"message\" data-id=\"i1\" data-from=\"Clinician\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-arrowhead)\" style=\"fill: none;\"></line><line x1=\"75\" y1=\"119\" x2=\"75\" y2=\"119\" stroke-width=\"0\" marker-start=\"url(#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-sequencenumber)\"></line><text x=\"75\" y=\"123\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">1</text><text x=\"446\" y=\"134\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">send email to request authorization</text><line x1=\"618\" y1=\"173\" x2=\"279\" y2=\"173\" class=\"messageLine0\" data-et=\"message\" data-id=\"i2\" data-from=\"Tidepool\" data-to=\"User\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-arrowhead)\" style=\"fill: none;\"></line><line x1=\"613\" y1=\"173\" x2=\"613\" y2=\"173\" stroke-width=\"0\" marker-start=\"url(#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-sequencenumber)\"></line><text x=\"613\" y=\"177\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">2</text><text x=\"443\" y=\"188\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">request to connect to partner data</text><line x1=\"282\" y1=\"227\" x2=\"609\" y2=\"227\" class=\"messageLine0\" data-et=\"message\" data-id=\"i3\" data-from=\"User\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-arrowhead)\" style=\"fill: none;\"></line><line x1=\"275\" y1=\"227\" x2=\"275\" y2=\"227\" stroke-width=\"0\" marker-start=\"url(#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-sequencenumber)\"></line><text x=\"275\" y=\"231\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">3</text><text x=\"446\" y=\"242\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">ask user to authenticate + authorize</text><line x1=\"618\" y1=\"281\" x2=\"279\" y2=\"281\" class=\"messageLine0\" data-et=\"message\" data-id=\"i4\" data-from=\"Tidepool\" data-to=\"User\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-arrowhead)\" style=\"fill: none;\"></line><line x1=\"613\" y1=\"281\" x2=\"613\" y2=\"281\" stroke-width=\"0\" marker-start=\"url(#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-sequencenumber)\"></line><text x=\"613\" y=\"285\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">4</text><text x=\"578\" y=\"296\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">request to authenticate + authorize</text><line x1=\"282\" y1=\"335\" x2=\"880\" y2=\"335\" class=\"messageLine0\" data-et=\"message\" data-id=\"i5\" data-from=\"User\" data-to=\"Partner\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-arrowhead)\" style=\"fill: none;\"></line><line x1=\"275\" y1=\"335\" x2=\"275\" y2=\"335\" stroke-width=\"0\" marker-start=\"url(#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-sequencenumber)\"></line><text x=\"275\" y=\"339\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">5</text><text x=\"750\" y=\"350\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">provide authorization code</text><line x1=\"889\" y1=\"389\" x2=\"617\" y2=\"389\" class=\"messageLine0\" data-et=\"message\" data-id=\"i6\" data-from=\"Partner\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-arrowhead)\" style=\"fill: none;\"></line><line x1=\"884\" y1=\"389\" x2=\"884\" y2=\"389\" stroke-width=\"0\" marker-start=\"url(#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-sequencenumber)\"></line><text x=\"884\" y=\"393\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">6</text><text x=\"747\" y=\"404\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">request tokens</text><line x1=\"620\" y1=\"443\" x2=\"880\" y2=\"443\" class=\"messageLine0\" data-et=\"message\" data-id=\"i7\" data-from=\"Tidepool\" data-to=\"Partner\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-arrowhead)\" style=\"fill: none;\"></line><line x1=\"613\" y1=\"443\" x2=\"613\" y2=\"443\" stroke-width=\"0\" marker-start=\"url(#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-sequencenumber)\"></line><text x=\"613\" y=\"447\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">7</text><text x=\"750\" y=\"458\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">provide tokens</text><line x1=\"889\" y1=\"497\" x2=\"617\" y2=\"497\" class=\"messageLine0\" data-et=\"message\" data-id=\"i8\" data-from=\"Partner\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-arrowhead)\" style=\"fill: none;\"></line><line x1=\"884\" y1=\"497\" x2=\"884\" y2=\"497\" stroke-width=\"0\" marker-start=\"url(#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-sequencenumber)\"></line><text x=\"884\" y=\"501\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">8</text><text x=\"614\" y=\"512\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">store tokens</text><path d=\"M 614,551 C 674,541 674,581 614,571\" class=\"messageLine0\" data-et=\"message\" data-id=\"i9\" data-from=\"Tidepool\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-arrowhead)\" x1=\"620\" style=\"fill: none;\"></path><line x1=\"613\" y1=\"551\" x2=\"613\" y2=\"551\" stroke-width=\"0\" marker-start=\"url(#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-sequencenumber)\"></line><text x=\"613\" y=\"555\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">9</text><text x=\"446\" y=\"596\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">report status</text><line x1=\"618\" y1=\"635\" x2=\"279\" y2=\"635\" class=\"messageLine0\" data-et=\"message\" data-id=\"i10\" data-from=\"Tidepool\" data-to=\"User\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-arrowhead)\" style=\"fill: none;\"></line><line x1=\"613\" y1=\"635\" x2=\"613\" y2=\"635\" stroke-width=\"0\" marker-start=\"url(#diagram-3cf9dd64adb892b3e2804353b9ad9be38ee6c1d14dd45e26e7ee20d976c6ee7a-sequencenumber)\"></line><text x=\"613\" y=\"639\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">10</text><g class=\"actor-man actor-bottom\" name=\"Clinician\" style=\"stroke: rgb(147, 112, 219);\"><line id=\"actor-man-torso3\" x1=\"75\" y1=\"680\" x2=\"75\" y2=\"700\"></line><line id=\"actor-man-arms3\" x1=\"57\" y1=\"688\" x2=\"93\" y2=\"688\"></line><line x1=\"57\" y1=\"715\" x2=\"75\" y2=\"700\"></line><line x1=\"75\" y1=\"700\" x2=\"91\" y2=\"715\"></line><circle cx=\"75\" cy=\"665\" r=\"15\" width=\"150\" height=\"65\"></circle><text x=\"75\" y=\"722.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-man\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Clinician</tspan></text></g><g class=\"actor-man actor-bottom\" name=\"User\" style=\"stroke: rgb(147, 112, 219);\"><line id=\"actor-man-torso3\" x1=\"275\" y1=\"680\" x2=\"275\" y2=\"700\"></line><line id=\"actor-man-arms3\" x1=\"257\" y1=\"688\" x2=\"293\" y2=\"688\"></line><line x1=\"257\" y1=\"715\" x2=\"275\" y2=\"700\"></line><line x1=\"275\" y1=\"700\" x2=\"291\" y2=\"715\"></line><circle cx=\"275\" cy=\"665\" r=\"15\" width=\"150\" height=\"65\"></circle><text x=\"275\" y=\"722.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-man\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"275\" dy=\"0\">Patient</tspan></text></g></svg>","diagramHtmlDark":"<svg id=\"diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" style=\"max-width: 1059px;\" viewBox=\"-50 -10 1059 741\" role=\"graphics-document document\" aria-roledescription=\"sequence\"><g><rect x=\"809\" y=\"655\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Partner\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"884\" y=\"687.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"884\" dy=\"0\">Device Partner</tspan></text></g><g><rect x=\"538\" y=\"655\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Tidepool\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"613\" y=\"687.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"613\" dy=\"0\">Tidepool</tspan></text></g><g></g><g></g><g><line id=\"actor3\" x1=\"884\" y1=\"65\" x2=\"884\" y2=\"655\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Partner\" data-et=\"life-line\" data-id=\"Partner\"></line><g id=\"root-3\" data-et=\"participant\" data-type=\"participant\" data-id=\"Partner\"><rect x=\"809\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Partner\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"884\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"884\" dy=\"0\">Device Partner</tspan></text></g></g><g><line id=\"actor2\" x1=\"613\" y1=\"65\" x2=\"613\" y2=\"655\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Tidepool\" data-et=\"life-line\" data-id=\"Tidepool\"></line><g id=\"root-2\" data-et=\"participant\" data-type=\"participant\" data-id=\"Tidepool\"><rect x=\"538\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Tidepool\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"613\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"613\" dy=\"0\">Tidepool</tspan></text></g></g><g><line id=\"actor1\" x1=\"275\" y1=\"80\" x2=\"275\" y2=\"655\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"User\" data-et=\"life-line\" data-id=\"User\"></line></g><g><line id=\"actor0\" x1=\"75\" y1=\"80\" x2=\"75\" y2=\"655\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Clinician\" data-et=\"life-line\" data-id=\"Clinician\"></line></g><style>#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb{font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;font-size:16px;fill:#ccc;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .error-icon{fill:#a44141;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .error-text{fill:#ddd;stroke:#ddd;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .edge-thickness-normal{stroke-width:1px;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .edge-thickness-thick{stroke-width:3.5px;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .edge-pattern-solid{stroke-dasharray:0;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .edge-pattern-dashed{stroke-dasharray:3;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .edge-pattern-dotted{stroke-dasharray:2;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .marker{fill:lightgrey;stroke:lightgrey;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .marker.cross{stroke:lightgrey;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb svg{font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb p{margin:0;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .actor{stroke:#ccc;fill:#1f2020;stroke-width:1;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb rect.actor.outer-path[data-look=\"neo\"]{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb rect.note[data-look=\"neo\"]{stroke:hsl(180, 0%, 18.3529411765%);fill:hsl(180, 1.5873015873%, 28.3529411765%);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb text.actor&gt;tspan{fill:lightgrey;stroke:none;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .actor-line{stroke:#ccc;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .innerArc{stroke-width:1.5;stroke-dasharray:none;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:lightgrey;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:lightgrey;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb [id$=\"-arrowhead\"] path{fill:lightgrey;stroke:lightgrey;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .sequenceNumber{fill:black;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb [id$=\"-sequencenumber\"]{fill:lightgrey;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb [id$=\"-crosshead\"] path{fill:lightgrey;stroke:lightgrey;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .messageText{fill:lightgrey;stroke:none;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .labelBox{stroke:#ccc;fill:#1f2020;filter:none;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .labelText,#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .labelText&gt;tspan{fill:lightgrey;stroke:none;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .loopText,#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .loopText&gt;tspan{fill:lightgrey;stroke:none;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .sectionTitle,#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .sectionTitle&gt;tspan{fill:lightgrey;stroke:none;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:#ccc;fill:#ccc;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .note{stroke:hsl(180, 0%, 18.3529411765%);fill:hsl(180, 1.5873015873%, 28.3529411765%);}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .noteText,#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .noteText&gt;tspan{fill:rgb(183.8476190475, 181.5523809523, 181.5523809523);stroke:none;font-weight:normal;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .activation0{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .activation1{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .activation2{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .actorPopupMenu{position:absolute;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .actorPopupMenuPanel{position:absolute;fill:#1f2020;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .actor-man circle,#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb line{fill:#1f2020;stroke-width:2px;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb g rect.rect{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));stroke:#ccc;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb .node .neo-node{stroke:#ccc;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb [data-look=\"neo\"].node rect,#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb [data-look=\"neo\"].cluster rect,#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb [data-look=\"neo\"].node polygon{stroke:url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb [data-look=\"neo\"].node path{stroke:url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-gradient);stroke-width:1px;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb [data-look=\"neo\"].node .outer-path{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb [data-look=\"neo\"].node .neo-line path{stroke:#ccc;filter:none;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb [data-look=\"neo\"].node circle{stroke:url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb [data-look=\"neo\"].icon-shape .icon{fill:url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb [data-look=\"neo\"].icon-shape .icon-neo path{stroke:url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb :root{--mermaid-font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;}#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb :root{--mermaid-font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;}</style><g></g><defs><symbol id=\"diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-computer\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z\"></path></symbol></defs><defs><symbol id=\"diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-database\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path transform=\"scale(.5)\" d=\"M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z\"></path></symbol></defs><defs><symbol id=\"diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-clock\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z\"></path></symbol></defs><defs><marker id=\"diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-arrowhead\" refX=\"7.9\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M -1 0 L 10 5 L 0 10 z\"></path></marker></defs><defs><marker id=\"diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-crosshead\" markerWidth=\"15\" markerHeight=\"8\" orient=\"auto\" refX=\"4\" refY=\"4.5\"><path fill=\"none\" stroke=\"#000000\" stroke-width=\"1pt\" d=\"M 1,2 L 6,7 M 6,2 L 1,7\" style=\"stroke-dasharray: 0, 0;\"></path></marker></defs><defs><marker id=\"diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-filled-head\" refX=\"15.5\" refY=\"7\" markerWidth=\"20\" markerHeight=\"28\" orient=\"auto\"><path d=\"M 18,7 L9,13 L14,7 L9,1 Z\"></path></marker></defs><defs><marker id=\"diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-sequencenumber\" refX=\"15\" refY=\"15\" markerWidth=\"60\" markerHeight=\"40\" orient=\"auto\"><circle cx=\"15\" cy=\"15\" r=\"6\"></circle></marker></defs><defs><marker id=\"diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-solidTopArrowHead\" refX=\"7.9\" refY=\"7.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 8 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-solidBottomArrowHead\" refX=\"7.9\" refY=\"0.75\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 0 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-stickTopArrowHead\" refX=\"7.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 7 7\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><defs><marker id=\"diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-stickBottomArrowHead\" refX=\"7.5\" refY=\"0\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 7 L 7 0\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><g class=\"actor-man actor-top\" name=\"Clinician\" data-et=\"participant\" data-type=\"actor\" data-id=\"Clinician\" style=\"stroke: rgb(204, 204, 204);\"><line id=\"actor-man-torso0\" x1=\"75\" y1=\"25\" x2=\"75\" y2=\"45\"></line><line id=\"actor-man-arms0\" x1=\"57\" y1=\"33\" x2=\"93\" y2=\"33\"></line><line x1=\"57\" y1=\"60\" x2=\"75\" y2=\"45\"></line><line x1=\"75\" y1=\"45\" x2=\"91\" y2=\"60\"></line><circle cx=\"75\" cy=\"10\" r=\"15\" width=\"150\" height=\"65\"></circle><text x=\"75\" y=\"67.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-man\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Clinician</tspan></text></g><g class=\"actor-man actor-top\" name=\"User\" data-et=\"participant\" data-type=\"actor\" data-id=\"User\" style=\"stroke: rgb(204, 204, 204);\"><line id=\"actor-man-torso1\" x1=\"275\" y1=\"25\" x2=\"275\" y2=\"45\"></line><line id=\"actor-man-arms1\" x1=\"257\" y1=\"33\" x2=\"293\" y2=\"33\"></line><line x1=\"257\" y1=\"60\" x2=\"275\" y2=\"45\"></line><line x1=\"275\" y1=\"45\" x2=\"291\" y2=\"60\"></line><circle cx=\"275\" cy=\"10\" r=\"15\" width=\"150\" height=\"65\"></circle><text x=\"275\" y=\"67.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-man\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"275\" dy=\"0\">Patient</tspan></text></g><text x=\"343\" y=\"80\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">request to connect patient to partner data</text><line x1=\"82\" y1=\"119\" x2=\"609\" y2=\"119\" class=\"messageLine0\" data-et=\"message\" data-id=\"i1\" data-from=\"Clinician\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-arrowhead)\" style=\"fill: none;\"></line><line x1=\"75\" y1=\"119\" x2=\"75\" y2=\"119\" stroke-width=\"0\" marker-start=\"url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-sequencenumber)\"></line><text x=\"75\" y=\"123\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">1</text><text x=\"446\" y=\"134\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">send email to request authorization</text><line x1=\"618\" y1=\"173\" x2=\"279\" y2=\"173\" class=\"messageLine0\" data-et=\"message\" data-id=\"i2\" data-from=\"Tidepool\" data-to=\"User\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-arrowhead)\" style=\"fill: none;\"></line><line x1=\"613\" y1=\"173\" x2=\"613\" y2=\"173\" stroke-width=\"0\" marker-start=\"url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-sequencenumber)\"></line><text x=\"613\" y=\"177\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">2</text><text x=\"443\" y=\"188\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">request to connect to partner data</text><line x1=\"282\" y1=\"227\" x2=\"609\" y2=\"227\" class=\"messageLine0\" data-et=\"message\" data-id=\"i3\" data-from=\"User\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-arrowhead)\" style=\"fill: none;\"></line><line x1=\"275\" y1=\"227\" x2=\"275\" y2=\"227\" stroke-width=\"0\" marker-start=\"url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-sequencenumber)\"></line><text x=\"275\" y=\"231\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">3</text><text x=\"446\" y=\"242\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">ask user to authenticate + authorize</text><line x1=\"618\" y1=\"281\" x2=\"279\" y2=\"281\" class=\"messageLine0\" data-et=\"message\" data-id=\"i4\" data-from=\"Tidepool\" data-to=\"User\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-arrowhead)\" style=\"fill: none;\"></line><line x1=\"613\" y1=\"281\" x2=\"613\" y2=\"281\" stroke-width=\"0\" marker-start=\"url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-sequencenumber)\"></line><text x=\"613\" y=\"285\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">4</text><text x=\"578\" y=\"296\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">request to authenticate + authorize</text><line x1=\"282\" y1=\"335\" x2=\"880\" y2=\"335\" class=\"messageLine0\" data-et=\"message\" data-id=\"i5\" data-from=\"User\" data-to=\"Partner\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-arrowhead)\" style=\"fill: none;\"></line><line x1=\"275\" y1=\"335\" x2=\"275\" y2=\"335\" stroke-width=\"0\" marker-start=\"url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-sequencenumber)\"></line><text x=\"275\" y=\"339\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">5</text><text x=\"750\" y=\"350\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">provide authorization code</text><line x1=\"889\" y1=\"389\" x2=\"617\" y2=\"389\" class=\"messageLine0\" data-et=\"message\" data-id=\"i6\" data-from=\"Partner\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-arrowhead)\" style=\"fill: none;\"></line><line x1=\"884\" y1=\"389\" x2=\"884\" y2=\"389\" stroke-width=\"0\" marker-start=\"url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-sequencenumber)\"></line><text x=\"884\" y=\"393\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">6</text><text x=\"747\" y=\"404\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">request tokens</text><line x1=\"620\" y1=\"443\" x2=\"880\" y2=\"443\" class=\"messageLine0\" data-et=\"message\" data-id=\"i7\" data-from=\"Tidepool\" data-to=\"Partner\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-arrowhead)\" style=\"fill: none;\"></line><line x1=\"613\" y1=\"443\" x2=\"613\" y2=\"443\" stroke-width=\"0\" marker-start=\"url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-sequencenumber)\"></line><text x=\"613\" y=\"447\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">7</text><text x=\"750\" y=\"458\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">provide tokens</text><line x1=\"889\" y1=\"497\" x2=\"617\" y2=\"497\" class=\"messageLine0\" data-et=\"message\" data-id=\"i8\" data-from=\"Partner\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-arrowhead)\" style=\"fill: none;\"></line><line x1=\"884\" y1=\"497\" x2=\"884\" y2=\"497\" stroke-width=\"0\" marker-start=\"url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-sequencenumber)\"></line><text x=\"884\" y=\"501\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">8</text><text x=\"614\" y=\"512\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">store tokens</text><path d=\"M 614,551 C 674,541 674,581 614,571\" class=\"messageLine0\" data-et=\"message\" data-id=\"i9\" data-from=\"Tidepool\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-arrowhead)\" x1=\"620\" style=\"fill: none;\"></path><line x1=\"613\" y1=\"551\" x2=\"613\" y2=\"551\" stroke-width=\"0\" marker-start=\"url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-sequencenumber)\"></line><text x=\"613\" y=\"555\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">9</text><text x=\"446\" y=\"596\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">report status</text><line x1=\"618\" y1=\"635\" x2=\"279\" y2=\"635\" class=\"messageLine0\" data-et=\"message\" data-id=\"i10\" data-from=\"Tidepool\" data-to=\"User\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-arrowhead)\" style=\"fill: none;\"></line><line x1=\"613\" y1=\"635\" x2=\"613\" y2=\"635\" stroke-width=\"0\" marker-start=\"url(#diagram-95db3f98f3677ba852686436c7d716de98039fc2731d4ee92a6273aa7ee42cdb-sequencenumber)\"></line><text x=\"613\" y=\"639\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">10</text><g class=\"actor-man actor-bottom\" name=\"Clinician\" style=\"stroke: rgb(204, 204, 204);\"><line id=\"actor-man-torso3\" x1=\"75\" y1=\"680\" x2=\"75\" y2=\"700\"></line><line id=\"actor-man-arms3\" x1=\"57\" y1=\"688\" x2=\"93\" y2=\"688\"></line><line x1=\"57\" y1=\"715\" x2=\"75\" y2=\"700\"></line><line x1=\"75\" y1=\"700\" x2=\"91\" y2=\"715\"></line><circle cx=\"75\" cy=\"665\" r=\"15\" width=\"150\" height=\"65\"></circle><text x=\"75\" y=\"722.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-man\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Clinician</tspan></text></g><g class=\"actor-man actor-bottom\" name=\"User\" style=\"stroke: rgb(204, 204, 204);\"><line id=\"actor-man-torso3\" x1=\"275\" y1=\"680\" x2=\"275\" y2=\"700\"></line><line id=\"actor-man-arms3\" x1=\"257\" y1=\"688\" x2=\"293\" y2=\"688\"></line><line x1=\"257\" y1=\"715\" x2=\"275\" y2=\"700\"></line><line x1=\"275\" y1=\"700\" x2=\"291\" y2=\"715\"></line><circle cx=\"275\" cy=\"665\" r=\"15\" width=\"150\" height=\"65\"></circle><text x=\"275\" y=\"722.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-man\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"275\" dy=\"0\">Patient</tspan></text></g></svg>"},"children":["sequenceDiagram\n    autonumber\n    actor Clinician as Clinician\n    actor User as Patient\n    participant Tidepool as Tidepool\n    participant Partner as Device Partner\n\n    Clinician->>Tidepool: request to connect patient to partner data\n    Tidepool->>User: send email to request authorization\n    User->>Tidepool: request to connect to partner data\n    Tidepool->>User: ask user to authenticate + authorize\n    User->>Partner: request to authenticate + authorize\n    Partner->>Tidepool: provide authorization code\n    Tidepool->>Partner: request tokens\n    Partner->>Tidepool: provide tokens\n    Tidepool->>Tidepool: store tokens\n    Tidepool->>User: report status\n"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The clinician initiates the request to connect patient to a partner site by clicking on a button in the patient list."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tidepool sends an email to the patient to request them to connect their Tidepool account to the partner account."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The patient initiates the request to connect to a partner site by clicking on a button in their account profile page in Tidepool Web."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tidepool responds with a redirection request to the partner site."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The patients's web browser redirects the patient to partner site to authenticate and authorize Tidepool access to their partner account."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The partner site responds by providing an authorization code to Tidepool."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tidepool uses the authorization code to request an access token and a refresh token."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Partner returns the tokens to Tidepool."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tidepool stores the tokens within the patient's account profile. This enables subsequent data transfers to the patient's account."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tidepool Web updates to show the connection status."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"data-transfer","__idx":10},"children":["Data Transfer"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Once the partner site authentication and authorization step has been completed successfully, Tidepool Data Platform runs a background process that automatically fetches new data from the partner site for each user. This background process requires no further action by any user, and runs for each user in accordance with the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#setup"},"children":["restrictions agreed upon with the partner site"]}," earlier. The process also refreshes the access token as needed, using the refresh token mentioned above."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The existing Dexcom integration currently polls the Dexcom Clarity service for each user at a randomized time interval between 45 to 75 minutes, and pauses the process altogether for 1 hour between 2:45am and 3:45am PST due to a partner maintenance window restriction."]},{"$$mdtype":"Tag","name":"Diagram","attributes":{"data-language":"mermaid","diagramType":"mermaid","diagramSource":"sequenceDiagram\n    autonumber\n    actor User as User\n    participant Tidepool as Tidepool\n    participant Partner as Device Partner\n\n    loop Fetch partner data\n        Tidepool->>Tidepool: fetch user tokens\n        Tidepool->>Partner: request user data\n        Partner->>Tidepool: return user data\n        Tidepool->>Tidepool: store user data\n        Tidepool->>Tidepool: schedule next transfer\n    end\n","diagramHtml":"<svg id=\"diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" style=\"max-width: 652px;\" viewBox=\"-50 -10 652 618\" role=\"graphics-document document\" aria-roledescription=\"sequence\"><g><rect x=\"402\" y=\"532\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Partner\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"477\" y=\"564.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"477\" dy=\"0\">Device Partner</tspan></text></g><g><rect x=\"200\" y=\"532\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Tidepool\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"275\" y=\"564.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"275\" dy=\"0\">Tidepool</tspan></text></g><g></g><g><line id=\"actor2\" x1=\"477\" y1=\"65\" x2=\"477\" y2=\"532\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Partner\" data-et=\"life-line\" data-id=\"Partner\"></line><g id=\"root-2\" data-et=\"participant\" data-type=\"participant\" data-id=\"Partner\"><rect x=\"402\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Partner\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"477\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"477\" dy=\"0\">Device Partner</tspan></text></g></g><g><line id=\"actor1\" x1=\"275\" y1=\"65\" x2=\"275\" y2=\"532\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Tidepool\" data-et=\"life-line\" data-id=\"Tidepool\"></line><g id=\"root-1\" data-et=\"participant\" data-type=\"participant\" data-id=\"Tidepool\"><rect x=\"200\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Tidepool\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"275\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"275\" dy=\"0\">Tidepool</tspan></text></g></g><g><line id=\"actor0\" x1=\"75\" y1=\"80\" x2=\"75\" y2=\"532\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"User\" data-et=\"life-line\" data-id=\"User\"></line></g><style>#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765{font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .error-icon{fill:#552222;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .error-text{fill:#552222;stroke:#552222;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .edge-thickness-normal{stroke-width:1px;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .edge-thickness-thick{stroke-width:3.5px;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .edge-pattern-solid{stroke-dasharray:0;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .edge-pattern-dashed{stroke-dasharray:3;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .edge-pattern-dotted{stroke-dasharray:2;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .marker{fill:#333333;stroke:#333333;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .marker.cross{stroke:#333333;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 svg{font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 p{margin:0;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .actor{stroke:#9370DB;fill:#ECECFF;stroke-width:1;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 rect.actor.outer-path[data-look=\"neo\"]{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 rect.note[data-look=\"neo\"]{stroke:#aaaa33;fill:#fff5ad;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 text.actor&gt;tspan{fill:black;stroke:none;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .actor-line{stroke:#9370DB;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .innerArc{stroke-width:1.5;stroke-dasharray:none;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 [id$=\"-arrowhead\"] path{fill:#333;stroke:#333;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .sequenceNumber{fill:white;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 [id$=\"-sequencenumber\"]{fill:#333;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 [id$=\"-crosshead\"] path{fill:#333;stroke:#333;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .messageText{fill:#333;stroke:none;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .labelBox{stroke:#9370DB;fill:#ECECFF;filter:none;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .labelText,#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .labelText&gt;tspan{fill:black;stroke:none;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .loopText,#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .loopText&gt;tspan{fill:black;stroke:none;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .sectionTitle,#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .sectionTitle&gt;tspan{fill:black;stroke:none;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:#9370DB;fill:#9370DB;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .note{stroke:#aaaa33;fill:#fff5ad;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .noteText,#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .noteText&gt;tspan{fill:black;stroke:none;font-weight:normal;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .activation0{fill:#f4f4f4;stroke:#666;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .activation1{fill:#f4f4f4;stroke:#666;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .activation2{fill:#f4f4f4;stroke:#666;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .actorPopupMenu{position:absolute;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .actor-man circle,#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 line{fill:#ECECFF;stroke-width:2px;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 g rect.rect{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));stroke:#9370DB;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 .node .neo-node{stroke:#9370DB;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 [data-look=\"neo\"].node rect,#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 [data-look=\"neo\"].cluster rect,#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 [data-look=\"neo\"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 [data-look=\"neo\"].node path{stroke:#9370DB;stroke-width:1px;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 [data-look=\"neo\"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 [data-look=\"neo\"].node .neo-line path{stroke:#9370DB;filter:none;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 [data-look=\"neo\"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 [data-look=\"neo\"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 [data-look=\"neo\"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;}#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;}</style><g></g><defs><symbol id=\"diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-computer\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z\"></path></symbol></defs><defs><symbol id=\"diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-database\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path transform=\"scale(.5)\" d=\"M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z\"></path></symbol></defs><defs><symbol id=\"diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-clock\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z\"></path></symbol></defs><defs><marker id=\"diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-arrowhead\" refX=\"7.9\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M -1 0 L 10 5 L 0 10 z\"></path></marker></defs><defs><marker id=\"diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-crosshead\" markerWidth=\"15\" markerHeight=\"8\" orient=\"auto\" refX=\"4\" refY=\"4.5\"><path fill=\"none\" stroke=\"#000000\" stroke-width=\"1pt\" d=\"M 1,2 L 6,7 M 6,2 L 1,7\" style=\"stroke-dasharray: 0, 0;\"></path></marker></defs><defs><marker id=\"diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-filled-head\" refX=\"15.5\" refY=\"7\" markerWidth=\"20\" markerHeight=\"28\" orient=\"auto\"><path d=\"M 18,7 L9,13 L14,7 L9,1 Z\"></path></marker></defs><defs><marker id=\"diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-sequencenumber\" refX=\"15\" refY=\"15\" markerWidth=\"60\" markerHeight=\"40\" orient=\"auto\"><circle cx=\"15\" cy=\"15\" r=\"6\"></circle></marker></defs><defs><marker id=\"diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-solidTopArrowHead\" refX=\"7.9\" refY=\"7.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 8 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-solidBottomArrowHead\" refX=\"7.9\" refY=\"0.75\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 0 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-stickTopArrowHead\" refX=\"7.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 7 7\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><defs><marker id=\"diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-stickBottomArrowHead\" refX=\"7.5\" refY=\"0\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 7 L 7 0\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><g data-et=\"control-structure\" data-id=\"i7\"><line x1=\"182.5\" y1=\"75\" x2=\"488\" y2=\"75\" class=\"loopLine\"></line><line x1=\"488\" y1=\"75\" x2=\"488\" y2=\"512\" class=\"loopLine\"></line><line x1=\"182.5\" y1=\"512\" x2=\"488\" y2=\"512\" class=\"loopLine\"></line><line x1=\"182.5\" y1=\"75\" x2=\"182.5\" y2=\"512\" class=\"loopLine\"></line><polygon points=\"182.5,75 232.5,75 232.5,88 224.1,95 182.5,95\" class=\"labelBox\"></polygon><text x=\"208\" y=\"88\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"labelText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">loop</text><text x=\"360.25\" y=\"93\" text-anchor=\"middle\" class=\"loopText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"360.25\">[Fetch partner data]</tspan></text></g><g class=\"actor-man actor-top\" name=\"User\" data-et=\"participant\" data-type=\"actor\" data-id=\"User\" style=\"stroke: rgb(147, 112, 219);\"><line id=\"actor-man-torso0\" x1=\"75\" y1=\"25\" x2=\"75\" y2=\"45\"></line><line id=\"actor-man-arms0\" x1=\"57\" y1=\"33\" x2=\"93\" y2=\"33\"></line><line x1=\"57\" y1=\"60\" x2=\"75\" y2=\"45\"></line><line x1=\"75\" y1=\"45\" x2=\"91\" y2=\"60\"></line><circle cx=\"75\" cy=\"10\" r=\"15\" width=\"150\" height=\"65\"></circle><text x=\"75\" y=\"67.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-man\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">User</tspan></text></g><text x=\"276\" y=\"127\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">fetch user tokens</text><path d=\"M 276,166 C 336,156 336,196 276,186\" class=\"messageLine0\" data-et=\"message\" data-id=\"i2\" data-from=\"Tidepool\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-arrowhead)\" x1=\"282\" style=\"fill: none;\"></path><line x1=\"275\" y1=\"166\" x2=\"275\" y2=\"166\" stroke-width=\"0\" marker-start=\"url(#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-sequencenumber)\"></line><text x=\"275\" y=\"170\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">1</text><text x=\"375\" y=\"211\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">request user data</text><line x1=\"282\" y1=\"250\" x2=\"473\" y2=\"250\" class=\"messageLine0\" data-et=\"message\" data-id=\"i3\" data-from=\"Tidepool\" data-to=\"Partner\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-arrowhead)\" style=\"fill: none;\"></line><line x1=\"275\" y1=\"250\" x2=\"275\" y2=\"250\" stroke-width=\"0\" marker-start=\"url(#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-sequencenumber)\"></line><text x=\"275\" y=\"254\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">2</text><text x=\"378\" y=\"265\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">return user data</text><line x1=\"482\" y1=\"304\" x2=\"279\" y2=\"304\" class=\"messageLine0\" data-et=\"message\" data-id=\"i4\" data-from=\"Partner\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-arrowhead)\" style=\"fill: none;\"></line><line x1=\"477\" y1=\"304\" x2=\"477\" y2=\"304\" stroke-width=\"0\" marker-start=\"url(#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-sequencenumber)\"></line><text x=\"477\" y=\"308\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">3</text><text x=\"276\" y=\"319\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">store user data</text><path d=\"M 276,358 C 336,348 336,388 276,378\" class=\"messageLine0\" data-et=\"message\" data-id=\"i5\" data-from=\"Tidepool\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-arrowhead)\" x1=\"282\" style=\"fill: none;\"></path><line x1=\"275\" y1=\"358\" x2=\"275\" y2=\"358\" stroke-width=\"0\" marker-start=\"url(#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-sequencenumber)\"></line><text x=\"275\" y=\"362\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">4</text><text x=\"276\" y=\"403\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">schedule next transfer</text><path d=\"M 276,442 C 336,432 336,472 276,462\" class=\"messageLine0\" data-et=\"message\" data-id=\"i6\" data-from=\"Tidepool\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-arrowhead)\" x1=\"282\" style=\"fill: none;\"></path><line x1=\"275\" y1=\"442\" x2=\"275\" y2=\"442\" stroke-width=\"0\" marker-start=\"url(#diagram-e5a86a09527afcf144c7b6d2d749c553fcbb3416f000958818a9a557f8fd8765-sequencenumber)\"></line><text x=\"275\" y=\"446\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">5</text><g class=\"actor-man actor-bottom\" name=\"User\" style=\"stroke: rgb(147, 112, 219);\"><line id=\"actor-man-torso2\" x1=\"75\" y1=\"557\" x2=\"75\" y2=\"577\"></line><line id=\"actor-man-arms2\" x1=\"57\" y1=\"565\" x2=\"93\" y2=\"565\"></line><line x1=\"57\" y1=\"592\" x2=\"75\" y2=\"577\"></line><line x1=\"75\" y1=\"577\" x2=\"91\" y2=\"592\"></line><circle cx=\"75\" cy=\"542\" r=\"15\" width=\"150\" height=\"65\"></circle><text x=\"75\" y=\"599.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-man\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">User</tspan></text></g></svg>","diagramHtmlDark":"<svg id=\"diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" style=\"max-width: 652px;\" viewBox=\"-50 -10 652 618\" role=\"graphics-document document\" aria-roledescription=\"sequence\"><g><rect x=\"402\" y=\"532\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Partner\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"477\" y=\"564.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"477\" dy=\"0\">Device Partner</tspan></text></g><g><rect x=\"200\" y=\"532\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Tidepool\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"275\" y=\"564.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"275\" dy=\"0\">Tidepool</tspan></text></g><g></g><g><line id=\"actor2\" x1=\"477\" y1=\"65\" x2=\"477\" y2=\"532\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Partner\" data-et=\"life-line\" data-id=\"Partner\"></line><g id=\"root-2\" data-et=\"participant\" data-type=\"participant\" data-id=\"Partner\"><rect x=\"402\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Partner\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"477\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"477\" dy=\"0\">Device Partner</tspan></text></g></g><g><line id=\"actor1\" x1=\"275\" y1=\"65\" x2=\"275\" y2=\"532\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Tidepool\" data-et=\"life-line\" data-id=\"Tidepool\"></line><g id=\"root-1\" data-et=\"participant\" data-type=\"participant\" data-id=\"Tidepool\"><rect x=\"200\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Tidepool\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"275\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"275\" dy=\"0\">Tidepool</tspan></text></g></g><g><line id=\"actor0\" x1=\"75\" y1=\"80\" x2=\"75\" y2=\"532\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"User\" data-et=\"life-line\" data-id=\"User\"></line></g><style>#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b{font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;font-size:16px;fill:#ccc;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .error-icon{fill:#a44141;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .error-text{fill:#ddd;stroke:#ddd;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .edge-thickness-normal{stroke-width:1px;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .edge-thickness-thick{stroke-width:3.5px;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .edge-pattern-solid{stroke-dasharray:0;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .edge-pattern-dashed{stroke-dasharray:3;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .edge-pattern-dotted{stroke-dasharray:2;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .marker{fill:lightgrey;stroke:lightgrey;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .marker.cross{stroke:lightgrey;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b svg{font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b p{margin:0;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .actor{stroke:#ccc;fill:#1f2020;stroke-width:1;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b rect.actor.outer-path[data-look=\"neo\"]{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b rect.note[data-look=\"neo\"]{stroke:hsl(180, 0%, 18.3529411765%);fill:hsl(180, 1.5873015873%, 28.3529411765%);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b text.actor&gt;tspan{fill:lightgrey;stroke:none;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .actor-line{stroke:#ccc;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .innerArc{stroke-width:1.5;stroke-dasharray:none;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:lightgrey;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:lightgrey;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b [id$=\"-arrowhead\"] path{fill:lightgrey;stroke:lightgrey;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .sequenceNumber{fill:black;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b [id$=\"-sequencenumber\"]{fill:lightgrey;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b [id$=\"-crosshead\"] path{fill:lightgrey;stroke:lightgrey;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .messageText{fill:lightgrey;stroke:none;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .labelBox{stroke:#ccc;fill:#1f2020;filter:none;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .labelText,#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .labelText&gt;tspan{fill:lightgrey;stroke:none;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .loopText,#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .loopText&gt;tspan{fill:lightgrey;stroke:none;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .sectionTitle,#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .sectionTitle&gt;tspan{fill:lightgrey;stroke:none;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:#ccc;fill:#ccc;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .note{stroke:hsl(180, 0%, 18.3529411765%);fill:hsl(180, 1.5873015873%, 28.3529411765%);}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .noteText,#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .noteText&gt;tspan{fill:rgb(183.8476190475, 181.5523809523, 181.5523809523);stroke:none;font-weight:normal;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .activation0{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .activation1{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .activation2{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .actorPopupMenu{position:absolute;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .actorPopupMenuPanel{position:absolute;fill:#1f2020;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .actor-man circle,#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b line{fill:#1f2020;stroke-width:2px;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b g rect.rect{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));stroke:#ccc;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b .node .neo-node{stroke:#ccc;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b [data-look=\"neo\"].node rect,#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b [data-look=\"neo\"].cluster rect,#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b [data-look=\"neo\"].node polygon{stroke:url(#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b [data-look=\"neo\"].node path{stroke:url(#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-gradient);stroke-width:1px;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b [data-look=\"neo\"].node .outer-path{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b [data-look=\"neo\"].node .neo-line path{stroke:#ccc;filter:none;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b [data-look=\"neo\"].node circle{stroke:url(#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b [data-look=\"neo\"].icon-shape .icon{fill:url(#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b [data-look=\"neo\"].icon-shape .icon-neo path{stroke:url(#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b :root{--mermaid-font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;}#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b :root{--mermaid-font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;}</style><g></g><defs><symbol id=\"diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-computer\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z\"></path></symbol></defs><defs><symbol id=\"diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-database\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path transform=\"scale(.5)\" d=\"M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z\"></path></symbol></defs><defs><symbol id=\"diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-clock\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z\"></path></symbol></defs><defs><marker id=\"diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-arrowhead\" refX=\"7.9\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M -1 0 L 10 5 L 0 10 z\"></path></marker></defs><defs><marker id=\"diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-crosshead\" markerWidth=\"15\" markerHeight=\"8\" orient=\"auto\" refX=\"4\" refY=\"4.5\"><path fill=\"none\" stroke=\"#000000\" stroke-width=\"1pt\" d=\"M 1,2 L 6,7 M 6,2 L 1,7\" style=\"stroke-dasharray: 0, 0;\"></path></marker></defs><defs><marker id=\"diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-filled-head\" refX=\"15.5\" refY=\"7\" markerWidth=\"20\" markerHeight=\"28\" orient=\"auto\"><path d=\"M 18,7 L9,13 L14,7 L9,1 Z\"></path></marker></defs><defs><marker id=\"diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-sequencenumber\" refX=\"15\" refY=\"15\" markerWidth=\"60\" markerHeight=\"40\" orient=\"auto\"><circle cx=\"15\" cy=\"15\" r=\"6\"></circle></marker></defs><defs><marker id=\"diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-solidTopArrowHead\" refX=\"7.9\" refY=\"7.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 8 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-solidBottomArrowHead\" refX=\"7.9\" refY=\"0.75\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 0 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-stickTopArrowHead\" refX=\"7.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 7 7\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><defs><marker id=\"diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-stickBottomArrowHead\" refX=\"7.5\" refY=\"0\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 7 L 7 0\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><g data-et=\"control-structure\" data-id=\"i7\"><line x1=\"182.5\" y1=\"75\" x2=\"488\" y2=\"75\" class=\"loopLine\"></line><line x1=\"488\" y1=\"75\" x2=\"488\" y2=\"512\" class=\"loopLine\"></line><line x1=\"182.5\" y1=\"512\" x2=\"488\" y2=\"512\" class=\"loopLine\"></line><line x1=\"182.5\" y1=\"75\" x2=\"182.5\" y2=\"512\" class=\"loopLine\"></line><polygon points=\"182.5,75 232.5,75 232.5,88 224.1,95 182.5,95\" class=\"labelBox\"></polygon><text x=\"208\" y=\"88\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"labelText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">loop</text><text x=\"360.25\" y=\"93\" text-anchor=\"middle\" class=\"loopText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"360.25\">[Fetch partner data]</tspan></text></g><g class=\"actor-man actor-top\" name=\"User\" data-et=\"participant\" data-type=\"actor\" data-id=\"User\" style=\"stroke: rgb(204, 204, 204);\"><line id=\"actor-man-torso0\" x1=\"75\" y1=\"25\" x2=\"75\" y2=\"45\"></line><line id=\"actor-man-arms0\" x1=\"57\" y1=\"33\" x2=\"93\" y2=\"33\"></line><line x1=\"57\" y1=\"60\" x2=\"75\" y2=\"45\"></line><line x1=\"75\" y1=\"45\" x2=\"91\" y2=\"60\"></line><circle cx=\"75\" cy=\"10\" r=\"15\" width=\"150\" height=\"65\"></circle><text x=\"75\" y=\"67.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-man\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">User</tspan></text></g><text x=\"276\" y=\"127\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">fetch user tokens</text><path d=\"M 276,166 C 336,156 336,196 276,186\" class=\"messageLine0\" data-et=\"message\" data-id=\"i2\" data-from=\"Tidepool\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-arrowhead)\" x1=\"282\" style=\"fill: none;\"></path><line x1=\"275\" y1=\"166\" x2=\"275\" y2=\"166\" stroke-width=\"0\" marker-start=\"url(#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-sequencenumber)\"></line><text x=\"275\" y=\"170\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">1</text><text x=\"375\" y=\"211\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">request user data</text><line x1=\"282\" y1=\"250\" x2=\"473\" y2=\"250\" class=\"messageLine0\" data-et=\"message\" data-id=\"i3\" data-from=\"Tidepool\" data-to=\"Partner\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-arrowhead)\" style=\"fill: none;\"></line><line x1=\"275\" y1=\"250\" x2=\"275\" y2=\"250\" stroke-width=\"0\" marker-start=\"url(#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-sequencenumber)\"></line><text x=\"275\" y=\"254\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">2</text><text x=\"378\" y=\"265\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">return user data</text><line x1=\"482\" y1=\"304\" x2=\"279\" y2=\"304\" class=\"messageLine0\" data-et=\"message\" data-id=\"i4\" data-from=\"Partner\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-arrowhead)\" style=\"fill: none;\"></line><line x1=\"477\" y1=\"304\" x2=\"477\" y2=\"304\" stroke-width=\"0\" marker-start=\"url(#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-sequencenumber)\"></line><text x=\"477\" y=\"308\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">3</text><text x=\"276\" y=\"319\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">store user data</text><path d=\"M 276,358 C 336,348 336,388 276,378\" class=\"messageLine0\" data-et=\"message\" data-id=\"i5\" data-from=\"Tidepool\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-arrowhead)\" x1=\"282\" style=\"fill: none;\"></path><line x1=\"275\" y1=\"358\" x2=\"275\" y2=\"358\" stroke-width=\"0\" marker-start=\"url(#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-sequencenumber)\"></line><text x=\"275\" y=\"362\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">4</text><text x=\"276\" y=\"403\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">schedule next transfer</text><path d=\"M 276,442 C 336,432 336,472 276,462\" class=\"messageLine0\" data-et=\"message\" data-id=\"i6\" data-from=\"Tidepool\" data-to=\"Tidepool\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-arrowhead)\" x1=\"282\" style=\"fill: none;\"></path><line x1=\"275\" y1=\"442\" x2=\"275\" y2=\"442\" stroke-width=\"0\" marker-start=\"url(#diagram-a55a924946a775ec95f43fc58a527167e54e3b0459e0f2d542f18d47c7e7737b-sequencenumber)\"></line><text x=\"275\" y=\"446\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">5</text><g class=\"actor-man actor-bottom\" name=\"User\" style=\"stroke: rgb(204, 204, 204);\"><line id=\"actor-man-torso2\" x1=\"75\" y1=\"557\" x2=\"75\" y2=\"577\"></line><line id=\"actor-man-arms2\" x1=\"57\" y1=\"565\" x2=\"93\" y2=\"565\"></line><line x1=\"57\" y1=\"592\" x2=\"75\" y2=\"577\"></line><line x1=\"75\" y1=\"577\" x2=\"91\" y2=\"592\"></line><circle cx=\"75\" cy=\"542\" r=\"15\" width=\"150\" height=\"65\"></circle><text x=\"75\" y=\"599.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-man\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">User</tspan></text></g></svg>"},"children":["sequenceDiagram\n    autonumber\n    actor User as User\n    participant Tidepool as Tidepool\n    participant Partner as Device Partner\n\n    loop Fetch partner data\n        Tidepool->>Tidepool: fetch user tokens\n        Tidepool->>Partner: request user data\n        Partner->>Tidepool: return user data\n        Tidepool->>Tidepool: store user data\n        Tidepool->>Tidepool: schedule next transfer\n    end\n"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["These steps assume that the user has already granted Tidepool access to their account on partner site."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tidepool fetches the user's access and refresh tokens from storage."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tidepool requests user data from the partner site. If supported by the partner API, Tidepool only requests new user data since last successful transfer."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Partner returns user data."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tidepool stores user data in their account."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tidepool schedules the next data transfer per partner policy."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"revocation","__idx":11},"children":["Revocation"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["At any time, the user may choose to revoke the Tidepool's access to the partner site. The user may do so in one of two ways:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The user can use their account profile page in Tidepool Web to disconnect from the partner site. Tidepool deletes the access and refresh tokens from the user's account profile, thus stopping any attempt to fetch data from the partner site."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The user can use the partner site to revoke Tidepool's access to their account. The partner site invalidates the access and refresh tokens that were provided to Tidepool. Tidepool may continue to try to fetch data from the user's account with the revoked token for some time, but all such attempts will fail."]}]}]},"headings":[{"value":"Partner Integration Guide","id":"partner-integration-guide","depth":1},{"value":"Overview","id":"overview","depth":2},{"value":"Device Data Model","id":"device-data-model","depth":2},{"value":"Common Fields","id":"common-fields","depth":3},{"value":"CGM Devices","id":"cgm-devices","depth":3},{"value":"Insulin Delivery Devices (Pumps, Pens)","id":"insulin-delivery-devices-pumps-pens","depth":3},{"value":"Basal Insulin","id":"basal-insulin","depth":4},{"value":"Bolus Insulin","id":"bolus-insulin","depth":4},{"value":"Setup","id":"setup","depth":2},{"value":"Authentication and Authorization","id":"authentication-and-authorization","depth":2},{"value":"Data Transfer","id":"data-transfer","depth":2},{"value":"Revocation","id":"revocation","depth":2}],"frontmatter":{"seo":{"title":"Partner Integration Guide"}},"lastModified":"2025-09-11T14:59:34.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/partner-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}