{"components":{"platform.About":{"name":"About","scheme":"platform","head":{"attributes":[],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"body","body":"return \"## What Despia does\\n\\nDespia turns a web app into a native iOS and Android app. You work in the Despia console (console.despia.com), the Despia CLI or an AI agent through the Despia MCP server; Despia builds your app in the cloud, signs it and uploads it to the App Store and Google Play using the store accounts you connect. Your apps are published under your own Apple and Google developer accounts, never under Despia's.\\n\\n## Connecting Google Play with Sign in with Google\\n\\nTo upload your Android app, Despia needs a Google Play service account in your own Google account. You can set it up by hand (the console walks you through each step and takes the JSON key file), or let Despia do it for you with **Sign in with Google** on the Google Play connection page.\\n\\nWhen you sign in with Google there, Google asks you to let Despia:\\n\\n| Permission Google shows | What Despia does with it |\\n| --- | --- |\\n| Your email address | Names the Google account you connected with, on the connection and in your workspace's audit log |\\n| Create, edit and delete your Google Cloud projects | Creates one project named \\\"Despia Play\\\" in your account, or finds the one it created before |\\n| Manage your Google API service configuration | Turns on the Google Play Android Developer API and the Google Play Developer Reporting API in that project |\\n| Manage your service accounts | Creates one service account in that project and one key for it |\\n| View and manage your Google Play Developer account | Adds that service account to your Play Console with the access needed to publish your app |\\n\\nDespia uses this permission **once, while you watch** the steps on screen, and then revokes it (if a run is interrupted, Google expires the access within the hour). Despia keeps no Google sign-in, access token or refresh token. It keeps the service-account key (encrypted, like every store credential), so it can upload your builds, and you can remove it at any time. Despia's use of information received from Google APIs adheres to the [Google API Services User Data Policy](https://developers.google.com/terms/api-services-user-data-policy), including the Limited Use requirements.\\n\\n## The Despia Chrome extension\\n\\nSome store setup steps have no API, such as App Groups, iCloud containers and capabilities on Apple Developer, creating the app record and an API key in App Store Connect, and creating the app in Google Play Console. The optional Despia Chrome extension does them for you in your own signed-in browser session, only on developer.apple.com, appstoreconnect.apple.com, play.google.com/console, console.despia.com and api.despia.com, and only when you start a step plan signed by Despia for your account and click Run. It never reads your Apple ID or Google password or two-factor codes and never runs on other sites. Every step can also be done by hand, with the console's instructions.\\n\\n## Privacy, terms and contact\\n\\nHow Despia handles personal data, Google user data included: the [Despia Privacy Policy](/privacy). The [Despia Terms of Service](https://despia.com/terms) govern your use of Despia.\\n\\nDespia LLC-FZ, Dubai, United Arab Emirates. Support: [support@despia.com](mailto:support@despia.com). Privacy: [privacy@despia.com](mailto:privacy@despia.com).\\n\"","computed":false}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"scroll","attrs":{"class":"about-scroll","__css":"c0"},"children":[{"tag":"stack","attrs":{"class":"about-page","__steers":"1","__css":"c1"},"children":[{"tag":"stack","attrs":{"__css":"c2"},"children":[{"tag":"stack","attrs":{"role":"img","aria-label":"Despia","__css":"c3"},"children":[{"tag":"image","attrs":{"class":"about-logo about-logo-light","src":"/brand/despia-logo.svg","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":4},{"tag":"image","attrs":{"class":"about-logo about-logo-dark","src":"/brand/despia-logo-dark.svg","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":5}],"text":"\n        \n        \n      ","reactive":false,"nid":3},{"tag":"text","attrs":{"class":"about-title","role":"heading","aria-level":"1","value":"About Despia"},"children":[],"text":"","reactive":false,"nid":6},{"tag":"text","attrs":{"value":"Native iOS and Android apps from your web app, built in the cloud and published to the App Store and Google Play from your own store accounts.","__css":"c4"},"children":[],"text":"","reactive":false,"nid":7},{"tag":"markdown","attrs":{"bind":"dsx.variable.body","externalLinks":"true","__css":"c5"},"children":[],"text":"","reactive":true,"nid":8}],"text":"\n      \n      \n      \n      \n    ","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1}],"text":"\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.AddPackageSheet":{"name":"AddPackageSheet","scheme":"platform","head":{"attributes":[{"as":"present","default":"false","type":"bool"},{"as":"entry","default":"null"},{"as":"project-id","default":"''"},{"as":"mode","default":"'add'"},{"as":"provider","default":"''"}],"apis":[],"expects":[],"events":[{"as":"close","payload":[]},{"as":"added","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"projectSnapshot","body":"return { workspace: null, items: [] }","computed":false},{"as":"target","body":"return ''","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"busy","body":"return false","computed":false},{"as":"acknowledgeAlpha","body":"return false","computed":false},{"as":"alphaRequired","body":"return false","computed":false},{"as":"loadRequest","body":"return 0","computed":false},{"as":"taskGeneration","body":"return 0","computed":false},{"as":"selectRequest","body":"return 0","computed":false},{"as":"refreshToken","body":"return ''","computed":false},{"as":"provider","body":"return dsx.attribute.provider","computed":false},{"as":"providerOptions","body":"return null","computed":false},{"as":"optionsPackage","body":"return ''","computed":false},{"as":"optionsLoading","body":"return false","computed":false},{"as":"loadedWorkspace","body":"return dsx.variable.projectSnapshot.workspace","computed":true},{"as":"projects","body":"return dsx.variable.loadedWorkspace == dsx.module.convertdata.context.workspace ? dsx.variable.projectSnapshot.items : []","computed":true},{"as":"has","body":"return dsx.attribute.entry != null","computed":true},{"as":"adding","body":"return dsx.attribute.mode != 'configure'","computed":true},{"as":"title","body":"\n      if (dsx.attribute.entry == null) { return '' }\n      return (dsx.variable.adding ? 'Add ' : 'Configure ') + dsx.attribute.entry.title\n    ","computed":true},{"as":"choosing","body":"return dsx.attribute.projectId == ''","computed":true},{"as":"choices","body":"\n      return dsx.variable.projects.map(p => ({ ...p, checked: p.id == dsx.variable.target ? 'true' : 'false' }))\n    ","computed":true},{"as":"projectName","body":"\n      const p = dsx.variable.projects.find(x => x.id == dsx.attribute.projectId)\n      return p ? p.name : ''\n    ","computed":true},{"as":"where","body":"\n      const pick = dsx.variable.projects.find(p => p.id == dsx.variable.target)\n      const name = dsx.variable.choosing ? (pick ? pick.name : '') : dsx.variable.projectName\n      return name == '' ? 'the app' : name\n    ","computed":true},{"as":"footer","body":"return 'It is added to ' + dsx.variable.where + ' at its next build.'","computed":true},{"as":"adds","body":"\n      if (dsx.attribute.entry == null) { return [] }\n      return dsx.attribute.entry.targets.filter(t => t.available).flatMap(t => t.stacks.map(k => ({ id: t.id + ':' + k.id, title: t.platform + ' · ' + k.language, line: k.line, mark: k.mark, platformMark: k.platformMark, platform: t.platform })))\n    ","computed":true},{"as":"asks","body":"\n      if (dsx.attribute.entry == null) { return [] }\n      const all = dsx.attribute.entry.targets.flatMap(t => t.permissions.filter(p => p.prompts).map(p => ({ ...p, where: t.platform })))\n      return all.filter((p, i) => all.findIndex(q => q.title == p.title) == i)\n    ","computed":true},{"as":"settings","body":"return dsx.attribute.entry == null ? [] : dsx.attribute.entry.settings","computed":true},{"as":"providers","body":"return dsx.variable.providerOptions != null ? dsx.variable.providerOptions : (dsx.variable.has &amp;&amp; Array.isArray(dsx.attribute.entry.providers) ? dsx.attribute.entry.providers : null)","computed":true},{"as":"providerRows","body":"\n      return dsx.variable.providers == null ? [] : dsx.variable.providers.map(p => ({ ...p, available: p.status == 'available' &amp;&amp; p.published == true,\n        badge: p.status == 'coming_soon' || p.published != true ? 'Coming soon' : (p.maturity == 'alpha' ? 'Alpha' : 'Verified'),\n        checked: p.path == dsx.variable.provider }))\n    ","computed":true},{"as":"selectedProvider","body":"return dsx.variable.providerRows.find(p => p.path == dsx.variable.provider &amp;&amp; p.available) || null","computed":true},{"as":"alpha","body":"return dsx.variable.alphaRequired || (dsx.attribute.entry != null &amp;&amp; dsx.attribute.entry.maturity == 'alpha') || (dsx.variable.selectedProvider != null &amp;&amp; dsx.variable.selectedProvider.maturity == 'alpha')","computed":true},{"as":"canAdd","body":"return dsx.attribute.present &amp;&amp; dsx.variable.has &amp;&amp; dsx.attribute.entry.published == true &amp;&amp; dsx.variable.adding &amp;&amp; !dsx.variable.busy &amp;&amp; !dsx.variable.optionsLoading &amp;&amp; (dsx.variable.providers == null || dsx.variable.selectedProvider != null) &amp;&amp; dsx.variable.loadedWorkspace == dsx.module.convertdata.context.workspace &amp;&amp; dsx.variable.projects.some(p => p.id == (dsx.variable.choosing ? dsx.variable.target : dsx.attribute.projectId)) &amp;&amp; (!dsx.variable.alpha || dsx.variable.acknowledgeAlpha)","computed":true},{"as":"action","body":"return dsx.variable.adding ? (dsx.variable.has &amp;&amp; dsx.attribute.entry.published == true ? 'Add' : '') : 'Done'","computed":true}],"formulas":[],"actions":[{"as":"prepare","inputs":{},"body":"\n      if (!dsx.attribute.present || !dsx.variable.adding || dsx.variable.busy) { return }\n      const generation = dsx.variable.taskGeneration\n      const request = dsx.variable.loadRequest + 1\n      dsx.variable.loadRequest = request\n      const workspace = dsx.module.convertdata.context.workspace\n      const p = await dsx.module.convertdata.projects({ workspace: workspace })\n      if (generation != dsx.variable.taskGeneration || request != dsx.variable.loadRequest || workspace != dsx.module.convertdata.context.workspace || !dsx.attribute.present) { return }\n      if (!p.ok) { dsx.variable.error = messageOf(p); return }\n      dsx.variable.projectSnapshot = { workspace: workspace, items: p.data.items.filter(x => x.stage != 'v3') }\n      const previous = dsx.module.convertdata.context.packageWorkspace == dsx.module.convertdata.context.workspace ? dsx.module.convertdata.context.packageProjectId : ''\n      if (!dsx.variable.projects.some(p => p.id == dsx.variable.target)) {\n        dsx.variable.target = dsx.variable.projects.some(p => p.id == previous) ? previous : (dsx.variable.projects.length &gt; 0 ? dsx.variable.projects[0].id : '')\n      }\n      if (dsx.variable.choosing) { await dsx.action.select() }\n      await dsx.action.loadOptions()\n    "},{"as":"loadOptions","inputs":{},"body":"\n      if (!dsx.variable.has || dsx.variable.optionsPackage == dsx.attribute.entry.package) { return }\n      const pkg = dsx.attribute.entry.package\n      const generation = dsx.variable.taskGeneration\n      dsx.variable.optionsLoading = true\n      const r = await dsx.module.convertdata.packageHistory({ package: pkg })\n      if (generation != dsx.variable.taskGeneration || !dsx.attribute.present || dsx.attribute.entry == null || pkg != dsx.attribute.entry.package) { return }\n      dsx.variable.optionsLoading = false\n      dsx.variable.optionsPackage = pkg\n      if (r.ok &amp;&amp; Array.isArray(r.data.providers)) { dsx.variable.providerOptions = r.data.providers }\n    "},{"as":"chooseProvider","inputs":{"path":"dsx.this.path"},"body":"\n      if (dsx.variable.busy || !dsx.variable.providerRows.some(p => p.path == path &amp;&amp; p.available)) { return }\n      dsx.variable.provider = path\n      dsx.variable.acknowledgeAlpha = false\n      dsx.variable.alphaRequired = false\n      dsx.variable.error = ''\n    "},{"as":"requireProvider","inputs":{"providers":"[]"},"body":"\n      dsx.variable.providerOptions = providers\n      dsx.variable.provider = ''\n      dsx.variable.busy = false\n      dsx.variable.error = 'Choose a provider.'\n    "},{"as":"providerRefused","inputs":{"token":"''","providers":"[]","generation":"0"},"body":"\n      await dsx.module.convertdata.invalidatePackageRefresh({ token: token })\n      if (generation != dsx.variable.taskGeneration) { return }\n      await dsx.action.requireProvider({ providers: providers })\n      dsx.variable.refreshToken = ''\n    "},{"as":"taskChanged","inputs":{},"body":"\n      const generation = dsx.variable.taskGeneration + 1\n      const token = dsx.variable.refreshToken\n      dsx.variable.refreshToken = ''\n      dsx.variable.taskGeneration = generation\n      dsx.variable.loadRequest = dsx.variable.loadRequest + 1\n      dsx.variable.busy = false\n      dsx.variable.error = ''\n      dsx.variable.acknowledgeAlpha = false\n      dsx.variable.alphaRequired = false\n      dsx.variable.provider = dsx.attribute.provider\n      dsx.variable.providerOptions = null\n      dsx.variable.optionsPackage = ''\n      dsx.variable.optionsLoading = false\n      await dsx.module.convertdata.invalidatePackageRefresh({ token: token })\n      if (generation != dsx.variable.taskGeneration || !dsx.attribute.present) { return }\n      await dsx.action.prepare()\n    "},{"as":"dismiss","inputs":{},"body":"\n      const generation = dsx.variable.taskGeneration + 1\n      const token = dsx.variable.refreshToken\n      dsx.variable.refreshToken = ''\n      dsx.variable.taskGeneration = generation\n      dsx.variable.loadRequest = dsx.variable.loadRequest + 1\n      dsx.variable.busy = false\n      await dsx.module.convertdata.invalidatePackageRefresh({ token: token })\n      if (generation != dsx.variable.taskGeneration) { return }\n      dsx.event('close')\n    "},{"as":"choose","inputs":{"id":"dsx.this.id"},"body":"\n      if (dsx.variable.busy) { return }\n      dsx.variable.target = id\n      await dsx.action.select()\n    "},{"as":"select","inputs":{},"body":"\n      if (dsx.variable.loadedWorkspace != dsx.module.convertdata.context.workspace) { return }\n      const pick = dsx.variable.projects.find(p => p.id == dsx.variable.target)\n      if (pick == null) { return }\n      const generation = dsx.variable.taskGeneration\n      const workspace = dsx.module.convertdata.context.workspace\n      const request = dsx.variable.selectRequest + 1\n      dsx.variable.selectRequest = request\n      const r = await dsx.module.convertdata.selectPackageProject({ id: pick.id, name: pick.name })\n      if (generation != dsx.variable.taskGeneration || request != dsx.variable.selectRequest || workspace != dsx.module.convertdata.context.workspace || !dsx.attribute.present) { return }\n      if (!r.ok) { dsx.variable.error = messageOf(r); return }\n      dsx.variable.error = ''\n    "},{"as":"primary","inputs":{},"body":"\n      if (!dsx.variable.adding) { await dsx.action.dismiss(); return }\n      if (!dsx.variable.canAdd) { return }\n      const pick = dsx.variable.projects.find(p => p.id == dsx.variable.target)\n      const projectId = dsx.variable.choosing ? (pick ? pick.id : '') : dsx.attribute.projectId\n      if (projectId == '') { dsx.variable.error = 'Choose an app first.'; return }\n      const projectName = dsx.variable.where\n      const workspace = dsx.module.convertdata.context.workspace\n      const epoch = dsx.module.convertdata.context.packageSelectionEpoch || 0\n      const generation = dsx.variable.taskGeneration\n      const pkg = dsx.attribute.entry.package\n      const title = dsx.attribute.entry.title\n      const footer = 'It is added to ' + projectName + ' at its next build.'\n      dsx.variable.busy = true\n      const provider = dsx.variable.selectedProvider == null ? '' : dsx.variable.selectedProvider.path\n      const plan = await dsx.module.convertdata.planPackage({ id: projectId, package: pkg, installed: true, acknowledgeAlpha: dsx.variable.acknowledgeAlpha, operationRefresh: true, ...(provider != '' ? { provider: provider } : {}) })\n      if (generation != dsx.variable.taskGeneration) { if (plan.ok) { await dsx.module.convertdata.invalidatePackageRefresh({ token: plan.data.planId }) }; return }\n      if (!dsx.attribute.present || workspace != dsx.module.convertdata.context.workspace || epoch != (dsx.module.convertdata.context.packageSelectionEpoch || 0)) { dsx.variable.busy = false; if (plan.ok) { await dsx.module.convertdata.invalidatePackageRefresh({ token: plan.data.planId }) }; return }\n      if (!plan.ok) { dsx.variable.busy = false; dsx.variable.alphaRequired = plan.error == 'alpha_notice_required'; dsx.variable.error = messageOf(plan); return }\n      if (plan.data.providerRequired) { await dsx.action.requireProvider({ providers: plan.data.providers }); return }\n      dsx.variable.refreshToken = plan.data.planId\n      const r = await dsx.module.convertdata.applyPlan({ planId: plan.data.planId })\n      if (generation == dsx.variable.taskGeneration &amp;&amp; r.ok &amp;&amp; r.data.providerRequired) {\n        await dsx.action.providerRefused({ token: plan.data.planId, providers: r.data.providers, generation: generation })\n        return\n      }\n      if (generation != dsx.variable.taskGeneration) {\n        if (r.ok &amp;&amp; !r.data.providerRequired) { dsx.module.toast.show({ title: title + (r.data.changed == false ? ' is already in ' : ' added to ') + projectName, message: footer }) }\n        await dsx.module.convertdata.invalidatePackageRefresh({ token: plan.data.planId })\n        return\n      }\n      if (!r.ok) {\n        await dsx.module.convertdata.invalidatePackageRefresh({ token: plan.data.planId })\n        if (generation != dsx.variable.taskGeneration) { return }\n        dsx.variable.refreshToken = ''\n        dsx.variable.busy = false\n        if (dsx.attribute.present &amp;&amp; workspace == dsx.module.convertdata.context.workspace &amp;&amp; epoch == (dsx.module.convertdata.context.packageSelectionEpoch || 0)) {\n          dsx.variable.alphaRequired = r.error == 'alpha_notice_required'\n          dsx.variable.error = messageOf(r)\n        }\n        return\n      }\n      const successToast = { title: title + (r.data.changed == false ? ' is already in ' : ' added to ') + projectName, message: footer }\n      if (!dsx.attribute.present || workspace != dsx.module.convertdata.context.workspace || epoch != (dsx.module.convertdata.context.packageSelectionEpoch || 0)) { dsx.module.toast.show(successToast); await dsx.module.convertdata.invalidatePackageRefresh({ token: plan.data.planId }); if (generation != dsx.variable.taskGeneration) { return }; dsx.variable.refreshToken = ''; dsx.variable.busy = false; return }\n      const selected = await dsx.module.convertdata.selectPackageProject({ id: projectId, name: projectName, refresh: true, expectedEpoch: epoch, refreshToken: plan.data.planId })\n      await dsx.module.convertdata.invalidatePackageRefresh({ token: plan.data.planId })\n      // The apply completed the task. A superseded or failed metadata read cannot undo it.\n      if (generation == dsx.variable.taskGeneration) {\n        dsx.variable.refreshToken = ''\n        dsx.variable.busy = false\n        if (workspace == dsx.module.convertdata.context.workspace &amp;&amp; epoch == (dsx.module.convertdata.context.packageSelectionEpoch || 0) &amp;&amp; dsx.attribute.present) {\n          dsx.variable.error = ''\n          dsx.event('added', { projectId: projectId, projectName: projectName, package: pkg, provider: provider, changed: r.data.changed, installed: selected.ok ? selected.data.installed : null })\n          dsx.event('close')\n        }\n      }\n      dsx.module.toast.show(successToast)\n    "}],"watches":[{"value":"dsx.attribute.present","handler":"dsx.action.taskChanged()"},{"value":"dsx.attribute.entry","handler":"dsx.action.taskChanged()"},{"value":"dsx.attribute.projectId","handler":"dsx.action.taskChanged()"},{"value":"dsx.attribute.mode","handler":"dsx.action.taskChanged()"},{"value":"dsx.attribute.provider","handler":"dsx.action.taskChanged()"},{"value":"dsx.module.convertdata.context.workspace","handler":"dsx.action.taskChanged()"}],"scripts":["\n      function messageOf(r) {\n        if (r == null) { return 'Despia did not answer. Try again in a moment.' }\n        if (r.error == 'package_unpublished' || (r.error != null &amp;&amp; r.error.code == 'package_unpublished')) { return 'This package is coming soon.' }\n        if (r.error != null &amp;&amp; typeof r.error == 'object' &amp;&amp; r.error.message) { return r.error.message }\n        if (r.message) { return r.message }\n        return 'Despia did not answer. Try again in a moment.'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{"on:appear":"dsx.action.prepare()"},"children":[{"tag":"sheet","attrs":{"detents":"{{ dsx.screen.width < 600 ? 'full' : 'half' }}","present":"dsx.attribute.present && dsx.variable.has","title":"{{ dsx.variable.title }}","close":"leading","action":"{{ dsx.variable.action }}","on:action":"dsx.action.primary()","on:dismiss":"dsx.action.dismiss()"},"children":[{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.error != ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.error }}"},"children":[],"text":"","reactive":true,"nid":3}],"text":"\n      \n    ","reactive":true,"nid":2},{"tag":"text","attrs":{"visible-if":"dsx.variable.adding && dsx.variable.has && dsx.attribute.entry.published != true","value":"Coming soon"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"ListGroup","attrs":{"header":"Add to","visible-if":"dsx.variable.adding && dsx.variable.choosing"},"children":[{"tag":"AppRow","attrs":{"repeat":"dsx.variable.choices","key":"id","app":"{{ dsx.this }}","checked":"{{ dsx.this.checked }}","on:tap":"dsx.action.choose()"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"SettingsRow","attrs":{"icon":"square.stack","title":"No app yet","subtitle":"Create an app on the Apps page, then add packages to it.","visible-if":"dsx.variable.projects.length == 0"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n      \n      \n    ","reactive":true,"nid":5},{"tag":"ListGroup","attrs":{"header":"Alpha package","visible-if":"dsx.variable.adding && dsx.variable.alpha","footer":"This package is in Alpha. It is published so you can try it, but it has not been fully tested on every platform and its API can change before it is stable. Do not rely on it in production yet."},"children":[{"tag":"SettingsRow","attrs":{"title":"I understand the Alpha notice"},"children":[{"tag":"toggle","attrs":{"aria-label":"I understand the Alpha notice","bind":"dsx.variable.acknowledgeAlpha"},"children":[],"text":"","reactive":true,"nid":10}],"text":"","reactive":true,"nid":9}],"text":"\n      \n    ","reactive":true,"nid":8},{"tag":"ListGroup","attrs":{"header":"Provider","visible-if":"dsx.variable.adding && dsx.variable.providers != null","footer":"The provider and package are added together."},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.providerRows","key":"path","title":"{{ dsx.this.vendor }}","subtitle":"{{ dsx.this.title }}","icon":"{{ dsx.this.brand }}","icon-style":"plain","badge":"{{ dsx.this.badge }}","checked":"{{ dsx.this.checked }}","disabled":"{{ !dsx.this.available || dsx.variable.busy }}","on:tap":"dsx.action.chooseProvider()"},"children":[],"text":"","reactive":true,"nid":12},{"tag":"SettingsRow","attrs":{"visible-if":"dsx.variable.providerRows.length == 0","title":"No providers available"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n      \n      \n    ","reactive":true,"nid":11},{"tag":"ListGroup","attrs":{"header":"What it adds","visible-if":"dsx.variable.adding && dsx.variable.adds.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.adds","key":"id","icon":"{{ dsx.this.mark }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.line }}"},"children":[{"tag":"image","attrs":{"visible-if":"dsx.this.platformMark != ''","icon":"{{ dsx.this.platformMark }}","aria-label":"{{ dsx.this.platform }}"},"children":[],"text":"","reactive":true,"nid":16}],"text":"\n        \n      ","reactive":true,"nid":15}],"text":"\n      \n    ","reactive":true,"nid":14},{"tag":"ListGroup","attrs":{"header":"The system asks for","visible-if":"dsx.variable.adding && dsx.variable.asks.length > 0","footer":"The person sees each prompt the first time the app uses it."},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.asks","key":"id","icon":"{{ dsx.this.symbol }}","title":"{{ dsx.this.title }}","value":"{{ dsx.this.where }}"},"children":[],"text":"","reactive":true,"nid":18}],"text":"\n      \n    ","reactive":true,"nid":17},{"tag":"ListGroup","attrs":{"header":"You will set","visible-if":"dsx.variable.adding && dsx.variable.settings.length > 0","footer":"{{ dsx.variable.footer }}"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.settings","key":"id","icon":"{{ dsx.this.secret ? 'key.fill' : 'slider.horizontal.3' }}","title":"{{ dsx.this.label }}","subtitle":"{{ dsx.this.description }}","badge":"{{ dsx.this.secret ? 'Secret' : '' }}"},"children":[],"text":"","reactive":true,"nid":20}],"text":"\n      \n    ","reactive":true,"nid":19},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.adding && dsx.variable.settings.length == 0","footer":"{{ dsx.variable.footer }}"},"children":[],"text":"","reactive":true,"nid":21},{"tag":"PackageConfig","attrs":{"visible-if":"!dsx.variable.adding","project-id":"{{ dsx.attribute.projectId }}","package":"{{ dsx.attribute.entry.package }}"},"children":[],"text":"","reactive":true,"nid":22}],"text":"\n    \n\n    \n    \n    \n    \n    \n    \n    \n    \n    \n\n    \n    \n  ","reactive":true,"nid":1}],"text":"\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.AffectedApps":{"name":"AffectedApps","scheme":"platform","head":{"attributes":[{"as":"phase","default":"'confirm'"},{"as":"title","default":"''"},{"as":"change","default":"''"},{"as":"apps","default":"[]"},{"as":"steps","default":"[]"},{"as":"confirm-label","default":"'Confirm'"},{"as":"destructive","default":"false"},{"as":"summary","default":"''"},{"as":"done-title","default":"'Done'"},{"as":"done-line","default":"''"},{"as":"done-apps-header","default":"'Apps Updated'"},{"as":"error","default":"''"},{"as":"busy","default":"false"}],"apis":[],"expects":[],"events":[{"as":"confirm","payload":[]},{"as":"cancel","payload":[]},{"as":"close","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"list","body":"\n      const a = Array.isArray(dsx.attribute.apps) ? dsx.attribute.apps : []\n      return a.map((x, i) => ({ id: String(x.id || i) + ':' + String(x.platform || ''), name: String(x.name || ''), icon: String(x.iconUrl || ''),\n        appId: String(x.appId || ''), platform: x.platform == 'android' ? 'Android' : 'iOS',\n        line: (x.platform == 'android' ? 'Android' : 'iOS') + (x.appId ? ' · ' + String(x.appId) : '') }))\n    ","computed":true},{"as":"count","body":"return dsx.variable.list.length","computed":true},{"as":"countLine","body":"\n      if (dsx.attribute.summary != null &amp;&amp; String(dsx.attribute.summary) != '') { return String(dsx.attribute.summary) }\n      if (dsx.variable.count == 0) { return 'No app uses this account yet.' }\n      return 'Changes apply to ' + dsx.variable.count + (dsx.variable.count == 1 ? ' app. It re-links automatically.' : ' apps. They re-link automatically.')\n    ","computed":true},{"as":"appsHeader","body":"return dsx.variable.count == 1 ? '1 Affected App' : dsx.variable.count + ' Affected Apps'","computed":true},{"as":"timeline","body":"return Array.isArray(dsx.attribute.steps) ? dsx.attribute.steps : []","computed":true},{"as":"confirming","body":"return dsx.attribute.phase == 'confirm'","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"affected-apps"},"children":[{"tag":"ListGroup","attrs":{"header":"{{ dsx.attribute.title }}","visible-if":"dsx.variable.confirming && dsx.attribute.change != ''"},"children":[{"tag":"SettingsRow","attrs":{"title":"{{ dsx.attribute.change }}"},"children":[],"text":"","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1},{"tag":"ListGroup","attrs":{"header":"{{ dsx.variable.appsHeader }}","footer":"{{ dsx.variable.countLine }}","visible-if":"dsx.variable.confirming"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.list","key":"id","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.line }}"},"children":[{"tag":"IconTile","attrs":{"slot":"leading","src":"{{ dsx.this.icon }}","name":"{{ dsx.this.name }}"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n      \n    ","reactive":true,"nid":4},{"tag":"SettingsRow","attrs":{"icon":"square.grid.2x2","title":"No apps are linked to this account","visible-if":"dsx.variable.count == 0"},"children":[],"text":"","reactive":true,"nid":6}],"text":"\n    \n    \n  ","reactive":true,"nid":3},{"tag":"ListGroup","attrs":{"visible-if":"dsx.attribute.error != ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"info.circle","title":"{{ dsx.attribute.error }}"},"children":[],"text":"","reactive":true,"nid":8}],"text":"\n    \n  ","reactive":true,"nid":7},{"tag":"stack","attrs":{"class":"affected-apps-actions","visible-if":"dsx.variable.confirming","__steers":"1"},"children":[{"tag":"button","attrs":{"variant":"prominent","control-size":"large","label":"{{ dsx.attribute.confirmLabel }}","visible-if":"!dsx.attribute.destructive","disabled-if":"dsx.attribute.busy","on:tap":"dsx.event('confirm')"},"children":[],"text":"","reactive":true,"nid":10},{"tag":"button","attrs":{"variant":"prominent","control-size":"large","role":"destructive","label":"{{ dsx.attribute.confirmLabel }}","visible-if":"dsx.attribute.destructive","disabled-if":"dsx.attribute.busy","on:tap":"dsx.event('confirm')"},"children":[],"text":"","reactive":true,"nid":11},{"tag":"button","attrs":{"variant":"bordered","control-size":"large","label":"Cancel","on:tap":"dsx.event('cancel')"},"children":[],"text":"","reactive":true,"nid":12}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":9},{"tag":"ListGroup","attrs":{"class":"affected-apps-steps","visible-if":"!dsx.variable.confirming && dsx.variable.timeline.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.timeline","key":"id","status":"{{ dsx.this.status }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle || '' }}"},"children":[],"text":"","reactive":true,"nid":14}],"text":"\n    \n  ","reactive":true,"nid":13},{"tag":"ListGroup","attrs":{"class":"affected-apps-steps","visible-if":"dsx.attribute.phase == 'done'"},"children":[{"tag":"SettingsRow","attrs":{"status":"done","title":"{{ dsx.attribute.doneTitle }}","subtitle":"{{ dsx.attribute.doneLine }}"},"children":[],"text":"","reactive":true,"nid":16}],"text":"\n    \n  ","reactive":true,"nid":15},{"tag":"ListGroup","attrs":{"header":"{{ dsx.attribute.doneAppsHeader }}","visible-if":"dsx.attribute.phase == 'done' && dsx.variable.count > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.list","key":"id","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.line }}"},"children":[{"tag":"IconTile","attrs":{"slot":"leading","src":"{{ dsx.this.icon }}","name":"{{ dsx.this.name }}"},"children":[],"text":"","reactive":true,"nid":19}],"text":"\n      \n    ","reactive":true,"nid":18}],"text":"\n    \n  ","reactive":true,"nid":17},{"tag":"stack","attrs":{"class":"affected-apps-actions","visible-if":"dsx.attribute.phase == 'done' || dsx.attribute.phase == 'failed'","__steers":"1"},"children":[{"tag":"button","attrs":{"variant":"prominent","control-size":"large","label":"Done","on:tap":"dsx.event('close')"},"children":[],"text":"","reactive":true,"nid":21}],"text":"\n    \n  ","reactive":true,"nid":20}],"text":"\n  \n\n  \n  \n\n  \n  \n\n  \n\n  \n\n  \n  \n\n  \n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.AgentCard":{"name":"AgentCard","scheme":"platform","head":{"attributes":[{"as":"store","default":"''"},{"as":"tile-src","default":"''"},{"as":"tile-icon","default":"''"},{"as":"tile-tint","default":"''"},{"as":"tile-name","default":"''"},{"as":"title","default":"''"},{"as":"body","default":"''"},{"as":"primary","default":"''"},{"as":"secondary","default":"''"},{"as":"primary-go","default":"''"},{"as":"secondary-go","default":"''"},{"as":"go","default":"''"},{"as":"busy","default":"false"},{"as":"primary-disabled","default":"false"},{"as":"divider","default":"false"},{"as":"agent","default":"false"}],"apis":[],"expects":[],"events":[{"as":"primary","payload":[]},{"as":"secondary","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"hasStore","body":"return dsx.attribute.store == 'apple' || dsx.attribute.store == 'google'","computed":true},{"as":"hasHead","body":"return dsx.attribute.title != '' || dsx.attribute.body != '' || dsx.attribute.store == 'apple' || dsx.attribute.store == 'google' || dsx.attribute.tileSrc != '' || dsx.attribute.tileIcon != '' || dsx.attribute.tileName != ''","computed":true},{"as":"hasTile","body":"return !dsx.variable.hasStore &amp;&amp; (dsx.attribute.tileSrc != '' || dsx.attribute.tileIcon != '' || dsx.attribute.tileName != '')","computed":true},{"as":"goKind","body":"return dsx.attribute.go == 'page' || dsx.attribute.go == 'external' ? 'link' : 'action'","computed":true},{"as":"isLink","body":"return dsx.variable.goKind == 'link'","computed":true},{"as":"isBusy","body":"return dsx.attribute.busy === true || dsx.attribute.busy === 'true'","computed":true},{"as":"primaryOff","body":"return dsx.variable.isBusy || dsx.attribute.primaryDisabled === true || dsx.attribute.primaryDisabled === 'true'","computed":true},{"as":"hasDivider","body":"return dsx.attribute.divider === true || dsx.attribute.divider === 'true'","computed":true},{"as":"hasButtons","body":"return !dsx.variable.isLink &amp;&amp; (dsx.attribute.primary != '' || dsx.attribute.secondary != '')","computed":true},{"as":"markIcon","body":"return dsx.attribute.store == 'google' ? 'google.play.logo' : 'appstore.logo'","computed":true},{"as":"goIcon","body":"return dsx.attribute.go == 'external' ? 'arrow.up.right.square' : 'chevron.right'","computed":true},{"as":"primaryIcon","body":"\n      if (dsx.attribute.primaryGo == 'external') { return 'arrow.up.right.square' }\n      if (dsx.attribute.primaryGo == 'copy') { return 'doc.on.doc' }\n      return String(dsx.attribute.primary).startsWith('Connect ') ? 'link' : ''\n    ","computed":true},{"as":"secondaryIcon","body":"\n      if (dsx.attribute.secondaryGo == 'external') { return 'arrow.up.right.square' }\n      if (dsx.attribute.secondaryGo == 'copy') { return 'doc.on.doc' }\n      return dsx.attribute.secondaryGo == 'page' ? 'chevron.right' : ''\n    ","computed":true},{"as":"primaryLabel","body":"return dsx.variable.isBusy ? 'Working…' : dsx.attribute.primary","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"Card","attrs":{"class":"agent-card agent-card-{{ dsx.variable.goKind }}"},"children":[{"tag":"pressable","attrs":{"class":"agent-card-head agent-card-tap","role":"link","aria-label":"{{ dsx.attribute.title }}","visible-if":"dsx.variable.isLink","on:tap":"dsx.event('primary')","__row":"1","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"agent-card-mark","visible-if":"dsx.variable.hasStore","aria-hidden":"true","icon":"{{ dsx.variable.markIcon }}"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"stack","attrs":{"class":"agent-card-words"},"children":[{"tag":"text","attrs":{"class":"agent-card-title","value":"{{ dsx.attribute.title }}","visible-if":"dsx.attribute.title != ''"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"text","attrs":{"class":"agent-card-body","value":"{{ dsx.attribute.body }}","visible-if":"dsx.attribute.body != ''"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n      \n      \n    ","reactive":true,"nid":3},{"tag":"image","attrs":{"class":"agent-card-go","aria-hidden":"true","icon":"{{ dsx.variable.goIcon }}"},"children":[],"text":"","reactive":true,"nid":6}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"hstack","attrs":{"class":"agent-card-head","visible-if":"!dsx.variable.isLink && dsx.variable.hasHead","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"agent-card-mark","visible-if":"dsx.variable.hasStore","aria-hidden":"true","icon":"{{ dsx.variable.markIcon }}"},"children":[],"text":"","reactive":true,"nid":8},{"tag":"IconTile","attrs":{"class":"agent-card-tile","visible-if":"dsx.variable.hasTile","src":"{{ dsx.attribute.tileSrc }}","icon":"{{ dsx.attribute.tileIcon }}","tint":"{{ dsx.attribute.tileTint }}","name":"{{ dsx.attribute.tileName }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"stack","attrs":{"class":"agent-card-words"},"children":[{"tag":"hstack","attrs":{"class":"agent-card-title-row","visible-if":"dsx.attribute.title != ''","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"agent-card-agent-mark","icon":"agent.mark","aria-hidden":"true","visible-if":"dsx.attribute.agent === true || dsx.attribute.agent === 'true'"},"children":[],"text":"","reactive":true,"nid":12},{"tag":"text","attrs":{"class":"agent-card-title","value":"{{ dsx.attribute.title }}"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n        \n        \n      ","reactive":true,"nid":11},{"tag":"text","attrs":{"class":"agent-card-body","value":"{{ dsx.attribute.body }}","visible-if":"dsx.attribute.body != ''"},"children":[],"text":"","reactive":true,"nid":14}],"text":"\n      \n      \n    ","reactive":true,"nid":10}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":7},{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":15},{"tag":"divider","attrs":{"visible-if":"dsx.variable.hasDivider && dsx.variable.hasButtons"},"children":[],"text":"","reactive":true,"nid":16},{"tag":"hstack","attrs":{"class":"agent-card-actions","visible-if":"dsx.variable.hasButtons","__steers":"1"},"children":[{"tag":"button","attrs":{"class":"agent-card-button agent-card-mark-{{ dsx.attribute.primaryGo == '' ? 'lead' : 'trail' }}","variant":"prominent","label":"{{ dsx.variable.primaryLabel }}","icon":"{{ dsx.variable.primaryIcon }}","visible-if":"dsx.attribute.primary != ''","disabled-if":"dsx.variable.primaryOff","on:tap":"dsx.event('primary')"},"children":[],"text":"","reactive":true,"nid":18},{"tag":"button","attrs":{"class":"agent-card-button agent-card-mark-{{ dsx.attribute.secondaryGo == '' ? 'lead' : 'trail' }}","variant":"bordered","label":"{{ dsx.attribute.secondary }}","icon":"{{ dsx.variable.secondaryIcon }}","visible-if":"dsx.attribute.secondary != '' && !dsx.variable.isBusy","on:tap":"dsx.event('secondary')"},"children":[],"text":"","reactive":true,"nid":19}],"text":"\n    \n    \n  ","reactive":true,"nid":17}],"text":"\n  \n\n  \n  \n\n  \n  \n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.AgentConnectCard":{"name":"AgentConnectCard","scheme":"platform","head":{"attributes":[{"as":"store","default":"'apple'"},{"as":"project-id","default":"''"},{"as":"title","default":"''"},{"as":"body","default":"''"},{"as":"hand","default":"false"},{"as":"file-ref","default":"''"}],"apis":[],"expects":[],"events":[{"as":"done","payload":["note"]},{"as":"failed","payload":["note"]}],"inputs":[],"tools":[],"variables":[{"as":"phase","body":"return 'loading'","computed":false},{"as":"readError","body":"return false","computed":false},{"as":"ext","body":"return null","computed":false},{"as":"phone","body":"return false","computed":false},{"as":"hasStoreConnection","body":"return false","computed":false},{"as":"google","body":"return null","computed":false},{"as":"guide","body":"return null","computed":false},{"as":"howOpen","body":"return false","computed":false},{"as":"byHand","body":"return dsx.attribute.hand === true || dsx.attribute.hand === 'true' || String(dsx.attribute.fileRef || '') != ''","computed":false},{"as":"issuerId","body":"return ''","computed":false},{"as":"keyId","body":"return ''","computed":false},{"as":"fileText","body":"return ''","computed":false},{"as":"fileName","body":"return ''","computed":false},{"as":"fileError","body":"return ''","computed":false},{"as":"fieldError","body":"return { field: '', message: '' }","computed":false},{"as":"problem","body":"return ''","computed":false},{"as":"plan","body":"return null","computed":false},{"as":"devText","body":"return ''","computed":false},{"as":"installOpen","body":"return false","computed":false},{"as":"started","body":"return false","computed":false},{"as":"isApple","body":"return dsx.attribute.store == 'apple'","computed":true},{"as":"isGoogle","body":"return dsx.attribute.store == 'google'","computed":true},{"as":"isExtension","body":"return dsx.attribute.store == 'extension'","computed":true},{"as":"isGithub","body":"return dsx.attribute.store == 'github'","computed":true},{"as":"oneTap","body":"return dsx.variable.isExtension || dsx.variable.isGithub","computed":true},{"as":"cardStore","body":"return dsx.variable.isGoogle ? 'google' : (dsx.variable.isApple ? 'apple' : '')","computed":true},{"as":"tile","body":"\n      if (dsx.variable.isGithub) { return 'github.logo' }\n      return dsx.variable.isExtension ? 'puzzlepiece.extension' : ''\n    ","computed":true},{"as":"fileLabel","body":"\n      if (dsx.variable.fileName != '') { return dsx.variable.fileName }\n      return dsx.variable.isGoogle ? 'Choose JSON Key' : 'Choose .p8 Key'\n    ","computed":true},{"as":"kind","body":"return dsx.variable.isGoogle ? 'play' : 'asc'","computed":true},{"as":"storeName","body":"\n      if (dsx.variable.isGithub) { return 'GitHub' }\n      return dsx.variable.isGoogle ? 'Google Play' : (dsx.variable.isApple ? 'App Store Connect' : 'Despia extension')\n    ","computed":true},{"as":"appId","body":"return String(dsx.attribute.projectId).startsWith('workspace:') ? '' : String(dsx.attribute.projectId)","computed":true},{"as":"extReady","body":"return dsx.variable.ext != null &amp;&amp; dsx.variable.ext.installed &amp;&amp; dsx.variable.ext.connected","computed":true},{"as":"appleAuto","body":"return dsx.variable.isApple &amp;&amp; dsx.variable.extReady &amp;&amp; dsx.variable.ext.ascKey == true &amp;&amp; dsx.variable.appId != ''","computed":true},{"as":"seenIds","body":"return dsx.variable.ext == null ? [] : dsx.variable.ext.developerIds","computed":true},{"as":"googleAuto","body":"return dsx.variable.isGoogle &amp;&amp; dsx.variable.google != null &amp;&amp; dsx.variable.google.available == true","computed":true},{"as":"auto","body":"return !dsx.variable.byHand &amp;&amp; (dsx.variable.appleAuto || dsx.variable.googleAuto)","computed":true},{"as":"manual","body":"return dsx.variable.phase == 'form' &amp;&amp; !dsx.variable.oneTap &amp;&amp; !dsx.variable.auto","computed":true},{"as":"accepted","body":"return dsx.variable.fileText != '' &amp;&amp; dsx.variable.fileError == ''","computed":true},{"as":"fileTypes","body":"\n      return dsx.variable.isGoogle ? ['.json', '.txt', 'application/json', 'text/plain', 'application/octet-stream']\n        : ['.p8', '.txt', 'text/plain', 'application/x-pem-file', 'application/pkcs8', 'application/octet-stream']\n    ","computed":true},{"as":"howSteps","body":"\n      const h = dsx.variable.guide\n      if (h == null || !Array.isArray(h.steps)) { return [] }\n      return h.steps.map((s) => ({ title: String(s.text || ''),\n        body: s.copy == null ? '' : String(s.copy.label || '') + ': `' + String(s.copy.value || '') + '`',\n        action: s.link == null ? null : { label: String(s.link.label || ''), href: String(s.link.url || '') } }))\n    ","computed":true},{"as":"planRows","body":"\n      const p = dsx.variable.plan\n      return p == null ? [] : p.actions.map((a, n) => ({ id: 'a' + n, title: a.title, status: a.state == 'done' ? 'done' : (a.state == 'failed' ? 'failed' : (a.state == 'running' ? 'active' : 'upcoming')) }))\n    ","computed":true},{"as":"cardBody","body":"\n      if (dsx.variable.phase == 'connected' &amp;&amp; dsx.variable.isGithub) { return 'Every change to your apps is backed up to a repository you own.' }\n      if (dsx.variable.phase == 'connected') { return dsx.variable.isExtension ? 'Despia can now do the store steps in Chrome for you.' : 'Every app in this workspace can now build and publish with ' + dsx.variable.storeName + '.' }\n      if (dsx.variable.isExtension &amp;&amp; dsx.variable.phone) { return 'The extension runs in Chrome on a computer. Open Despia there to add it.' }\n      return dsx.attribute.body\n    ","computed":true},{"as":"cardTitle","body":"\n      if (dsx.variable.phase != 'connected') { return dsx.attribute.title }\n      if (dsx.variable.isGithub) { return 'GitHub connected' }\n      return dsx.variable.isExtension ? 'Extension connected' : (dsx.variable.isGoogle ? 'Google Play connected' : 'App Store connected')\n    ","computed":true},{"as":"primary","body":"\n      const p = dsx.variable.phase\n      if (p == 'loading' || p == 'connected' || dsx.variable.readError) { return '' }\n      if (dsx.variable.isGithub) { return 'Connect' }\n      if (dsx.variable.isExtension) {\n        if (dsx.variable.phone) { return '' }\n        return dsx.variable.ext != null &amp;&amp; dsx.variable.ext.installed ? 'Connect' : 'Install'\n      }\n      if (p == 'working' &amp;&amp; dsx.variable.plan != null) { return '' }\n      return dsx.variable.auto ? 'Continue' : 'Connect'\n    ","computed":true},{"as":"primaryGo","body":"return dsx.variable.isGithub || (dsx.variable.isExtension &amp;&amp; dsx.variable.primary == 'Install') ? 'external' : ''","computed":true},{"as":"secondary","body":"\n      if (dsx.variable.phase != 'form' || dsx.variable.oneTap) { return '' }\n      if (dsx.variable.auto) { return 'By Hand' }\n      return dsx.variable.appleAuto || dsx.variable.googleAuto ? 'Automatic' : ''\n    ","computed":true},{"as":"working","body":"return dsx.variable.phase == 'working' || dsx.action.connect.pending || dsx.action.pair.pending","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      dsx.variable.readError = false\n      if (dsx.variable.isGithub) { await dsx.action.loadGithub(); return }\n      const b = await dsx.module.convertdata.browserInfo()\n      dsx.variable.phone = b.ok &amp;&amp; b.data.phone\n      const e = await dsx.module.convertdata.extensionState()\n      dsx.variable.ext = e.ok ? e.data : null\n      if (dsx.variable.isExtension) {\n        dsx.variable.phase = dsx.variable.extReady ? 'connected' : 'form'\n        return\n      }\n      const workspace = dsx.module.convertdata.context.workspace\n      const [c, h] = await Promise.all([dsx.module.convertdata.connections({ workspace: workspace || '' }),\n        dsx.module.convertdata.storeGuide({ id: dsx.variable.isGoogle ? 'google.key.file_invalid' : 'apple.key.file_invalid' })])\n      if (!c.ok) { dsx.variable.readError = true; dsx.variable.problem = messageOf(c); return }\n      dsx.variable.guide = h.ok ? h.data.guide : null\n      const kind = dsx.variable.isGoogle ? 'googleplay' : 'appstore'\n      dsx.variable.hasStoreConnection = c.data.items.some(x => x.kind == kind &amp;&amp; x.status == 'connected')\n      if (dsx.variable.isGoogle) {\n        const g = await dsx.module.convertdata.googleSignin()\n        dsx.variable.google = g.ok ? g.data : null\n      }\n      dsx.variable.phase = dsx.variable.hasStoreConnection ? 'connected' : 'form'\n      if (dsx.variable.phase == 'form' &amp;&amp; String(dsx.attribute.fileRef || '') != '' &amp;&amp; dsx.variable.fileText == '') {\n        const h = await dsx.module.convertdata.copilotHeldFile({ id: dsx.attribute.projectId, ref: dsx.attribute.fileRef })\n        if (h.ok) { await dsx.action.takeFile({ name: h.data.name, text: h.data.text }) } else { dsx.variable.fileError = 'Add the file again, or choose it here.' }\n      }\n    "},{"as":"loadGithub","inputs":{},"body":"\n      const r = await dsx.module.convertdata.providerConnections()\n      if (!r.ok) { dsx.variable.readError = true; dsx.variable.problem = messageOf(r); return }\n      const on = r.data.items.some(c => c.provider == 'github' &amp;&amp; c.status == 'connected')\n      dsx.variable.phase = on ? 'connected' : 'form'\n      if (on &amp;&amp; dsx.variable.started) { dsx.variable.started = false; dsx.event('done', { note: 'GitHub connected' }) }\n    "},{"as":"github","inputs":{},"body":"\n      const r = await dsx.module.convertdata.providerStart({ provider: 'github', projectId: dsx.variable.appId, returnTo: String(dsx.path || '/connections'), reconnectId: '' })\n      if (!r.ok) { dsx.variable.problem = messageOf(r); return }\n      const o = await dsx.module.browser.open({ url: String(r.data.url || '') })\n      if (!o.ok) { dsx.variable.problem = 'GitHub did not open. Allow pop-ups for Despia, then try again.'; return }\n      dsx.variable.problem = ''\n      dsx.variable.started = true\n    "},{"as":"seen","inputs":{},"body":"\n      if (dsx.variable.oneTap &amp;&amp; dsx.variable.phase == 'form' &amp;&amp; dsx.module.convertdata.context.visible !== false) { await dsx.action.load() }\n    "},{"as":"pickFile","inputs":{},"body":"\n      const r = await dsx.module.files.open({ types: dsx.variable.fileTypes })\n      if (!r.ok) { dsx.variable.fileError = 'The file picker could not open.'; return }\n      if (r.data.cancelled || r.data.items.length == 0) { return }\n      const f = r.data.items[0]\n      const read = await dsx.module.files.read({ path: f.path })\n      await dsx.module.files.delete({ path: f.path })\n      await dsx.action.takeFile({ name: String(f.name || ''), text: read.ok ? String(read.data.data) : '' })\n    "},{"as":"takeFile","inputs":{"name":"dsx.this.name","text":"dsx.this.text"},"body":"\n      dsx.variable.fileName = String(name || '')\n      dsx.variable.fileText = String(text || '')\n      const k = await dsx.module.convertdata.readKeyFile({ kind: dsx.variable.kind, text: dsx.variable.fileText, name: dsx.variable.fileName, keyId: dsx.variable.keyId })\n      if (!k.ok) { dsx.variable.fileText = ''; dsx.variable.fileError = messageOf(k); return }\n      if (!k.data.ok) { dsx.variable.fileText = ''; dsx.variable.fileError = k.data.message; return }\n      dsx.variable.fileError = ''\n      dsx.variable.fileName = k.data.displayName\n      if (dsx.variable.isApple &amp;&amp; dsx.variable.keyId.trim() == '' &amp;&amp; k.data.keyIdFromName != '') { dsx.variable.keyId = k.data.keyIdFromName }\n    "},{"as":"connect","inputs":{},"body":"\n      dsx.variable.problem = ''\n      dsx.variable.fieldError = { field: '', message: '' }\n      if (!dsx.variable.accepted) { dsx.variable.fileError = dsx.variable.fileError != '' ? dsx.variable.fileError : (dsx.variable.isGoogle ? 'Choose the JSON key file.' : 'Choose the .p8 key file.'); return }\n      const r = await dsx.module.convertdata.connectStore({ kind: dsx.variable.kind, workspace: dsx.module.convertdata.context.workspace || '',\n        issuerId: dsx.variable.issuerId.trim(), keyId: dsx.variable.keyId.trim(),\n        key: dsx.variable.isApple ? dsx.variable.fileText : '', serviceJson: dsx.variable.isGoogle ? dsx.variable.fileText : '', developerId: '' })\n      dsx.variable.fileText = ''\n      if (!r.ok) { dsx.variable.fileName = ''; dsx.variable.problem = messageOf(r); return }\n      if (!r.data.connected) {\n        dsx.variable.fileName = ''\n        if (r.data.field == 'file') { dsx.variable.fileError = r.data.message } else if (r.data.field == 'issuerId' || r.data.field == 'keyId') { dsx.variable.fieldError = { field: r.data.field, message: r.data.message } } else { dsx.variable.problem = r.data.message }\n        return\n      }\n      await dsx.action.connected()\n    "},{"as":"connected","inputs":{},"body":"\n      dsx.variable.phase = 'connected'\n      dsx.variable.fileName = ''\n      if (String(dsx.attribute.fileRef || '') != '') { await dsx.module.convertdata.copilotDetach({ id: dsx.attribute.projectId, ref: dsx.attribute.fileRef }) }\n      dsx.event('done', { note: dsx.variable.isExtension ? 'Extension connected' : (dsx.variable.isGoogle ? 'Google Play connected' : 'Apple connected') })\n    "},{"as":"appleAutomatic","inputs":{},"body":"\n      const r = await dsx.module.convertdata.appleExtensionKey({ id: dsx.variable.appId, access: { reviews: true, finance: false, payouts: false } })\n      if (!r.ok) { dsx.variable.problem = messageOf(r); dsx.variable.byHand = true; return }\n      if (r.data.state != 'delivered' || r.data.plan == null) {\n        const need = r.data.missing.map(m => m.title).join('. ')\n        dsx.variable.problem = need == '' ? 'The Despia extension is not ready. Open it in Chrome and try again.' : 'First: ' + need + '.'\n        return\n      }\n      dsx.variable.plan = r.data.plan\n      dsx.variable.phase = 'working'\n      setInterval(() => { dsx.action.appleTick() }, 1000, 'agent-asc-key')\n    "},{"as":"appleTick","inputs":{},"body":"\n      if (dsx.variable.plan == null || dsx.variable.phase != 'working') { clearInterval('agent-asc-key'); return }\n      const r = await dsx.module.convertdata.extensionPlan({ id: dsx.variable.appId, planId: dsx.variable.plan.id })\n      if (!r.ok) { clearInterval('agent-asc-key'); dsx.variable.problem = 'The extension’s run stopped before it finished. Try again.'; dsx.variable.phase = 'form'; dsx.variable.plan = null; return }\n      dsx.variable.plan = { id: dsx.variable.plan.id, actions: r.data.actions }\n      if (r.data.actions.some(a => a.state == 'pending' || a.state == 'running')) { return }\n      clearInterval('agent-asc-key')\n      if (r.data.actions.some(a => a.state == 'failed')) { dsx.variable.phase = 'form'; dsx.variable.problem = 'The extension could not make the key. Try again, or connect by hand.'; return }\n      await dsx.action.connected()\n    "},{"as":"googleAutomatic","inputs":{},"body":"\n      const pasted = await dsx.module.convertdata.developerId({ text: dsx.variable.devText })\n      const developer = dsx.variable.seenIds.length == 1 ? dsx.variable.seenIds[0] : (pasted.ok ? pasted.data.developerId : '')\n      if (developer == '') { dsx.variable.problem = 'Paste your Play Console address, so Despia knows which developer account to use.'; return }\n      const r = await dsx.module.convertdata.startGoogleSignin({ workspace: dsx.module.convertdata.context.workspace || '', project: dsx.variable.appId, developerId: developer,\n        connection: '', returnTo: '/settings/integrations?connect=google_play', access: { reviews: true, finance: false } })\n      if (!r.ok) { dsx.variable.problem = messageOf(r); dsx.variable.byHand = true; return }\n      if (r.data.mode == 'tab') { return }\n      dsx.variable.phase = 'working'\n      dsx.variable.plan = { id: r.data.job.id, actions: [] }\n      setInterval(() => { dsx.action.googleTick() }, 1000, 'agent-google-signin')\n    "},{"as":"googleTick","inputs":{},"body":"\n      if (dsx.variable.plan == null || dsx.variable.phase != 'working') { clearInterval('agent-google-signin'); return }\n      const r = await dsx.module.convertdata.googleSigninJob({ job: dsx.variable.plan.id })\n      if (!r.ok) { clearInterval('agent-google-signin'); dsx.variable.problem = 'This sign-in is not open any more. Start again.'; dsx.variable.phase = 'form'; dsx.variable.plan = null; return }\n      dsx.variable.plan = { id: dsx.variable.plan.id, actions: r.data.steps.map(s => ({ title: s.title, state: s.status })) }\n      if (!r.data.finished) { return }\n      clearInterval('agent-google-signin')\n      if (r.data.status == 'done') { await dsx.action.connected(); return }\n      dsx.variable.phase = 'form'\n      dsx.variable.byHand = true\n      dsx.variable.problem = 'Google did not finish the setup. Connect by hand with the key file.'\n    "},{"as":"pair","inputs":{},"body":"\n      const r = await dsx.module.convertdata.connectExtension()\n      if (!r.ok) { dsx.variable.problem = messageOf(r); return }\n      if (!r.data.installed) { await dsx.action.install(); return }\n      if (!r.data.ok) { dsx.variable.problem = r.data.notice == '' ? 'The extension did not connect. Try again.' : r.data.notice; return }\n      dsx.variable.problem = ''\n      await dsx.action.load()\n      if (dsx.variable.phase == 'connected') { dsx.event('done', { note: 'Extension connected' }) }\n    "},{"as":"install","inputs":{},"body":"\n      const r = await dsx.module.convertdata.extensionInstall()\n      if (r.ok &amp;&amp; r.data.store &amp;&amp; r.data.installUrl != '') { await dsx.module.browser.open({ url: r.data.installUrl }); return }\n      dsx.variable.installOpen = true\n    "},{"as":"primaryTap","inputs":{},"body":"\n      if (dsx.variable.isGithub) { await dsx.action.github(); return }\n      if (dsx.variable.isExtension) {\n        if (dsx.variable.primary == 'Install') { await dsx.action.install(); return }\n        await dsx.action.pair()\n        return\n      }\n      if (!dsx.variable.auto) { await dsx.action.connect(); return }\n      dsx.variable.problem = ''\n      if (dsx.variable.appleAuto) { await dsx.action.appleAutomatic(); return }\n      await dsx.action.googleAutomatic()\n    "},{"as":"secondaryTap","inputs":{},"body":"\n      dsx.variable.problem = ''\n      dsx.variable.byHand = !dsx.variable.byHand\n    "}],"watches":[{"value":"dsx.module.convertdata.context.visible","handler":"dsx.action.seen()"}],"scripts":["\n      function messageOf(r) {\n        if (r == null) { return 'Despia did not answer. Try again in a moment.' }\n        if (r.error != null &amp;&amp; typeof r.error == 'object' &amp;&amp; r.error.message) { return r.error.message }\n        if (r.message) { return r.message }\n        return 'Despia did not answer. Try again in a moment.'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"agent-connect-host","on:appear":"dsx.action.load()"},"children":[{"tag":"AgentCard","attrs":{"class":"agent-connect","store":"{{ dsx.variable.cardStore }}","tile-icon":"{{ dsx.variable.tile }}","title":"{{ dsx.variable.cardTitle }}","body":"{{ dsx.variable.cardBody }}","primary":"{{ dsx.variable.primary }}","primary-go":"{{ dsx.variable.primaryGo }}","secondary":"{{ dsx.variable.secondary }}","busy":"{{ dsx.variable.working ? 'true' : 'false' }}","divider":"{{ dsx.variable.manual ? 'true' : 'false' }}","on:primary":"dsx.action.primaryTap()","on:secondary":"dsx.action.secondaryTap()"},"children":[{"tag":"ListGroup","attrs":{"class":"agent-connect-fields","visible-if":"dsx.variable.phase == 'loading' && !dsx.variable.readError","aria-busy":"true"},"children":[{"tag":"SettingsRow","attrs":{"status":"active","title":"{{ 'Checking ' + dsx.variable.storeName }}"},"children":[],"text":"","reactive":true,"nid":3}],"text":"\n      \n    ","reactive":true,"nid":2},{"tag":"text","attrs":{"class":"agent-connect-line","visible-if":"dsx.variable.phase == 'form' && dsx.variable.auto && dsx.variable.appleAuto","value":"The Despia extension creates the App Store Connect key for you. Chrome asks you to confirm."},"children":[],"text":"","reactive":true,"nid":4},{"tag":"text","attrs":{"class":"agent-connect-line","visible-if":"dsx.variable.phase == 'form' && dsx.variable.auto && dsx.variable.googleAuto","value":"Sign in with Google and Despia sets up the Play access for you."},"children":[],"text":"","reactive":true,"nid":5},{"tag":"ListGroup","attrs":{"class":"agent-connect-fields","visible-if":"dsx.variable.phase == 'form' && dsx.variable.auto && dsx.variable.googleAuto && dsx.variable.seenIds.length != 1"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.devText","placeholder":"Play Console address or developer ID","autocapitalize":"none","autocorrect":"off","aria-label":"Play Console address or developer ID"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n      \n    ","reactive":true,"nid":6},{"tag":"ListGroup","attrs":{"class":"agent-connect-fields","visible-if":"dsx.variable.phase == 'working' && dsx.variable.planRows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.planRows","key":"id","status":"{{ dsx.this.status }}","title":"{{ dsx.this.title }}"},"children":[],"text":"","reactive":true,"nid":9}],"text":"\n      \n    ","reactive":true,"nid":8},{"tag":"ListGroup","attrs":{"class":"agent-connect-fields","visible-if":"dsx.variable.manual && dsx.variable.isApple"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.issuerId","placeholder":"Issuer ID","autocapitalize":"none","autocorrect":"off","autocomplete":"off","aria-label":"Issuer ID","aria-invalid":"{{ dsx.variable.fieldError.field == 'issuerId' ? 'true' : 'false' }}"},"children":[],"text":"","reactive":true,"nid":11},{"tag":"textfield","attrs":{"bind":"dsx.variable.keyId","placeholder":"Key ID","autocapitalize":"characters","autocorrect":"off","autocomplete":"off","aria-label":"Key ID","aria-invalid":"{{ dsx.variable.fieldError.field == 'keyId' ? 'true' : 'false' }}"},"children":[],"text":"","reactive":true,"nid":12},{"tag":"SettingsRow","attrs":{"status":"failed","title":"{{ dsx.variable.fieldError.message }}","visible-if":"dsx.variable.fieldError.message != ''"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n      \n      \n      \n    ","reactive":true,"nid":10},{"tag":"ListGroup","attrs":{"class":"agent-connect-fields","visible-if":"dsx.variable.manual"},"children":[{"tag":"SettingsRow","attrs":{"icon":"doc.badge.plus","title":"{{ dsx.variable.fileLabel }}","status":"{{ dsx.variable.accepted ? 'done' : '' }}","chevron":"true","tappable":"{{ dsx.variable.working ? 'false' : 'true' }}","on:tap":"dsx.action.pickFile()"},"children":[],"text":"","reactive":true,"nid":15},{"tag":"SettingsRow","attrs":{"status":"failed","title":"{{ dsx.variable.fileError }}","visible-if":"dsx.variable.fileError != ''"},"children":[],"text":"","reactive":true,"nid":16},{"tag":"accordion","attrs":{"visible-if":"dsx.variable.howSteps.length > 0","open":"{{ dsx.variable.howOpen }}","on:toggle":"dsx.variable.howOpen = !dsx.variable.howOpen"},"children":[{"tag":"SettingsRow","attrs":{"slot":"header","icon":"questionmark.circle","title":"Where do I find this?","tone":"accent"},"children":[],"text":"","reactive":true,"nid":18},{"tag":"Guide","attrs":{"class":"dsx-guide-compact agent-connect-guide","steps":"{{ dsx.variable.howSteps }}","aria-label":"Create the key"},"children":[],"text":"","reactive":true,"nid":19}],"text":"\n        \n        \n      ","reactive":true,"nid":17}],"text":"\n      \n      \n      \n      \n    ","reactive":true,"nid":14},{"tag":"Callout","attrs":{"tone":"error","title":"{{ dsx.variable.readError ? 'This did not load' : 'Not connected yet' }}","message":"{{ dsx.variable.problem }}","action":"{{ dsx.variable.readError ? 'Try Again' : '' }}","visible-if":"dsx.variable.problem != ''","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":20}],"text":"\n\n    \n\n    \n    \n    \n    \n    \n\n    \n    \n    \n\n    \n  ","reactive":true,"nid":1},{"tag":"ExtensionInstallSheet","attrs":{"present":"{{ dsx.variable.installOpen }}","on:close":"dsx.variable.installOpen = false"},"children":[],"text":"","reactive":true,"nid":21}],"text":"\n  \n\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.AgentHistory":{"name":"AgentHistory","scheme":"platform","head":{"attributes":[{"as":"shown","default":"false"}],"apis":[],"expects":[],"events":[{"as":"back","payload":[]},{"as":"open","payload":["id"]}],"inputs":[],"tools":[],"variables":[{"as":"list","body":"return null","computed":false},{"as":"apps","body":"return []","computed":false},{"as":"failed","body":"return ''","computed":false},{"as":"rows","body":"\n      const items = dsx.variable.list == null ? [] : dsx.variable.list.items\n      return items.map(i => {\n        const app = dsx.variable.apps.find(a => a.id == i.projectId)\n        return { id: i.projectId, title: i.title != '' ? i.title : i.app, line: i.app + '\\u00a0·\\u00a0' + String(i.when).replace(/ /g, '\\u00a0'), name: i.app, icon: app ? String(app.icon || '') : '' }\n      })\n    ","computed":true},{"as":"keepLine","body":"return dsx.variable.list == null ? '' : 'Chats are kept for ' + dsx.variable.list.retentionDays + ' days, then deleted. They are never used to train AI models.'","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      if (!(dsx.attribute.shown === true || dsx.attribute.shown === 'true')) { return }\n      const workspace = String(dsx.module.convertdata.context.workspace || '')\n      if (workspace == '') { return }\n      dsx.variable.failed = ''\n      const [h, p] = await Promise.all([dsx.module.convertdata.agentHistory({ workspace: workspace }), dsx.module.convertdata.projects({ shallow: true })])\n      if (p.ok) { dsx.variable.apps = p.data.items }\n      if (h.ok) { dsx.variable.list = h.data } else { dsx.variable.failed = h.message || 'History could not be read.' }\n    "},{"as":"exportChat","inputs":{"id":"dsx.this.id"},"body":"await dsx.module.convertdata.agentExport({ id: id })"}],"watches":[{"value":"dsx.attribute.shown","handler":"dsx.action.load()","immediate":true}],"scripts":[],"globalScripts":[]},"root":{"tag":"vstack","attrs":{"class":"agent-history"},"children":[{"tag":"hstack","attrs":{"class":"agent-history-bar","__steers":"1"},"children":[{"tag":"button","attrs":{"icon":"chevron.left","variant":"plain","aria-label":"Back to Agent","on:tap":"dsx.event('back')"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"text","attrs":{"class":"agent-history-title","value":"History","role":"heading","__css":"c6"},"children":[],"text":"","reactive":false,"nid":3}],"text":"\n    \n    \n  ","reactive":true,"nid":1},{"tag":"scroll","attrs":{"class":"agent-history-scroll"},"children":[{"tag":"stack","attrs":{"class":"agent-history-body"},"children":[{"tag":"text","attrs":{"class":"agent-history-keep","value":"{{ dsx.variable.keepLine }}","visible-if":"dsx.variable.keepLine != ''"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"Loader","attrs":{"label":"Loading","mark":"none","visible-if":"dsx.variable.list == null && dsx.variable.failed == ''"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.failed != ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.failed }}"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"SettingsRow","attrs":{"icon":"arrow.clockwise","title":"Try Again","tone":"accent","tappable":"true","on:tap":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":10}],"text":"\n        \n        \n      ","reactive":true,"nid":8},{"tag":"EmptyState","attrs":{"visible-if":"dsx.variable.list != null && dsx.variable.rows.length == 0","icon":"clock.arrow.circlepath","title":"No chats yet","message":"Your chats with Agent about your apps show up here."},"children":[],"text":"","reactive":true,"nid":11},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.rows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.rows","key":"id","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.line }}"},"children":[{"tag":"IconTile","attrs":{"slot":"leading","src":"{{ dsx.this.icon }}","name":"{{ dsx.this.name }}"},"children":[],"text":"","reactive":true,"nid":14},{"tag":"hstack","attrs":{"class":"agent-history-actions","__steers":"1"},"children":[{"tag":"button","attrs":{"variant":"bordered","control-size":"small","label":"Export","aria-label":"{{ 'Export the chat about ' + dsx.this.name }}","disabled-if":"dsx.action.exportChat.pending","on:tap":"dsx.action.exportChat({ id: dsx.this.id })"},"children":[],"text":"","reactive":true,"nid":16},{"tag":"button","attrs":{"variant":"bordered","control-size":"small","label":"Open","aria-label":"{{ 'Open the chat about ' + dsx.this.name }}","on:tap":"dsx.event('open', { id: dsx.this.id })"},"children":[],"text":"","reactive":true,"nid":17}],"text":"\n            \n            \n          ","reactive":true,"nid":15}],"text":"\n          \n          \n        ","reactive":true,"nid":13}],"text":"\n        \n      ","reactive":true,"nid":12}],"text":"\n      \n      \n      \n      \n      \n    ","reactive":true,"nid":5}],"text":"\n    \n  ","reactive":true,"nid":4}],"text":"\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.AgentSetupCard":{"name":"AgentSetupCard","scheme":"platform","head":{"attributes":[{"as":"project-id","default":"''"},{"as":"card-key","default":"''"},{"as":"card"},{"as":"outcome","default":"''"},{"as":"note","default":"''"}],"apis":[],"expects":[],"events":[{"as":"decline","payload":[]},{"as":"saved","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"fields","body":"return []","computed":false},{"as":"problem","body":"return ''","computed":false},{"as":"wordsFields","body":"return []","computed":false},{"as":"open","body":"return dsx.attribute.outcome == '' || dsx.attribute.outcome == 'failed' || dsx.attribute.outcome == 'running'","computed":true},{"as":"primary","body":"\n      if (!dsx.variable.open) { return '' }\n      return dsx.attribute.card == null || !dsx.attribute.card.saveLabel ? 'Save' : dsx.attribute.card.saveLabel\n    ","computed":true},{"as":"ready","body":"return !dsx.variable.fields.some(f => f.input == 'secret' &amp;&amp; !f.set &amp;&amp; String(f.text).trim() == '')","computed":true},{"as":"isSetup","body":"return dsx.attribute.card != null &amp;&amp; dsx.attribute.card.kind == 'setup' &amp;&amp; Array.isArray(dsx.attribute.card.fields)","computed":true},{"as":"decided","body":"return dsx.variable.isSetup &amp;&amp; Array.isArray(dsx.attribute.card.decided) ? dsx.attribute.card.decided : []","computed":true},{"as":"consequence","body":"return dsx.attribute.card == null || dsx.attribute.card.consequence == null ? '' : dsx.attribute.card.consequence.line","computed":true},{"as":"savedRows","body":"\n      const c = dsx.attribute.card\n      if (!dsx.variable.isSetup) { return [] }\n      return c.fields.map(f => ({ key: f.key, label: f.label, value: f.input == 'secret' ? (f.set ? 'Set' : 'Not set') : shown(f.value) }))\n    ","computed":true}],"formulas":[],"actions":[{"as":"init","inputs":{},"body":"\n      const c = dsx.attribute.card\n      if (c == null || c.kind != 'setup' || !Array.isArray(c.fields)) { dsx.variable.fields = []; return }\n      dsx.variable.fields = c.fields.map(f => ({\n        key: f.key, label: f.label, description: f.description, input: f.input, set: f.set === true, words: f.words === true,\n        options: (f.options || []).join(','), on: f.value === true, text: f.input == 'secret' ? '' : textOf(f.input, f.value),\n        describe: '', wordsProblem: '', drafting: false, hint: hintOf(f.input),\n      }))\n      dsx.variable.wordsFields = dsx.variable.fields.filter(f => f.words).map(f => ({ key: f.key, label: f.label + ' in words', describe: '', drafting: false, wordsProblem: '' }))\n      dsx.variable.problem = ''\n    "},{"as":"save","inputs":{},"body":"\n      if (!dsx.variable.ready) { return }\n      const entered = {}\n      for (const f of dsx.variable.fields) {\n        const v = valueOf(f)\n        if (v.problem != '') { dsx.variable.problem = v.problem; return }\n        if (f.input == 'secret' &amp;&amp; String(f.text).trim() == '') { continue }\n        entered[f.key] = v.value\n      }\n      const r = await dsx.module.convertdata.copilotSetup({ id: dsx.attribute.projectId, card: dsx.attribute.cardKey, entered: entered })\n      //  the typed keys never stay in the form, whatever the answer\n      dsx.variable.fields = dsx.variable.fields.map(f => f.input == 'secret' ? { ...f, text: '' } : f)\n      if (!r.ok || !r.data.ok) { dsx.variable.problem = r.ok ? r.data.message : (r.message || 'That did not go through.'); return }\n      dsx.variable.problem = ''\n      dsx.event('saved')\n    "},{"as":"describe","inputs":{"key":"dsx.this.key"},"body":"\n      const w = dsx.variable.wordsFields.find(x => x.key == key)\n      if (w == null || String(w.describe).trim() == '') { return }\n      dsx.variable.wordsFields = dsx.variable.wordsFields.map(x => x.key == key ? { ...x, drafting: true } : x)\n      const r = await dsx.module.convertdata.copilotDraftSetting({ id: dsx.attribute.projectId, card: dsx.attribute.cardKey, field: key, words: w.describe })\n      const ok = r.ok &amp;&amp; r.data.ok\n      const why = r.ok ? r.data.message : (r.message || 'That did not go through.')\n      if (ok) { dsx.variable.fields = dsx.variable.fields.map(x => x.key == key ? { ...x, text: textOf(x.input, r.data.value) } : x) }\n      dsx.variable.wordsFields = dsx.variable.wordsFields.map(x => x.key != key ? x : { ...x, drafting: false, describe: ok ? '' : x.describe, wordsProblem: ok ? '' : why })\n    "}],"watches":[{"value":"dsx.attribute.cardKey","handler":"dsx.action.init()"}],"scripts":["\n      //  a value as the form shows it: a list one per line, names and values as \"name: value\", JSON indented\n      function textOf(input, v) {\n        if (v == null) { return '' }\n        if (input == 'list') { return Array.isArray(v) ? v.map(x => String(x)).join('\\n') : String(v) }\n        if (input == 'pairs') { return v != null &amp;&amp; typeof v == 'object' &amp;&amp; !Array.isArray(v) ? Object.keys(v).map(k => k + ': ' + String(v[k])).join('\\n') : '' }\n        if (input == 'json') { return JSON.stringify(v, null, 2) }\n        return String(v)\n      }\n      //  and back: the value each setting takes, or a plain problem\n      function valueOf(f) {\n        const t = String(f.text)\n        if (f.input == 'toggle') { return { value: f.on === true, problem: '' } }\n        if (f.input == 'number') { return t.trim() == '' || isNaN(Number(t)) ? { value: null, problem: f.label + ' is a number.' } : { value: Number(t), problem: '' } }\n        if (f.input == 'list') { return { value: t.split('\\n').map(x => x.trim()).filter(x => x != ''), problem: '' } }\n        if (f.input == 'pairs') {\n          const out = {}\n          for (const line of t.split('\\n')) {\n            if (line.trim() == '') { continue }\n            const at = line.indexOf(':')\n            if (at &lt;= 0) { return { value: null, problem: 'Write each line of ' + f.label + ' as name: value.' } }\n            out[line.slice(0, at).trim()] = line.slice(at + 1).trim()\n          }\n          return { value: out, problem: '' }\n        }\n        if (f.input == 'json') {\n          try { return { value: t.trim() == '' ? null : JSON.parse(t), problem: '' } } catch (e) { return { value: null, problem: f.label + ' is not valid JSON. Describe it in words instead.' } }\n        }\n        return { value: t, problem: '' }\n      }\n      function hintOf(input) {\n        if (input == 'list') { return 'One per line' }\n        if (input == 'pairs') { return 'name: value, one per line' }\n        return ''\n      }\n      function shown(v) {\n        if (v === true) { return 'On' }\n        if (v === false) { return 'Off' }\n        if (Array.isArray(v)) { return v.length + (v.length == 1 ? ' item' : ' items') }\n        if (v != null &amp;&amp; typeof v == 'object') { return Object.keys(v).length + ' set' }\n        return v == null || v === '' ? 'Not set' : String(v)\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"agent-setup-host","on:appear":"dsx.action.init()"},"children":[{"tag":"AgentCard","attrs":{"class":"agent-setup","title":"{{ dsx.attribute.card.title }}","body":"{{ dsx.attribute.card.body }}","primary":"{{ dsx.variable.primary }}","secondary":"{{ dsx.attribute.outcome == '' ? 'Not Now' : '' }}","busy":"{{ dsx.attribute.outcome == 'running' ? 'true' : 'false' }}","primary-disabled":"{{ dsx.variable.ready ? 'false' : 'true' }}","divider":"true","on:primary":"dsx.action.save()","on:secondary":"dsx.event('decline')"},"children":[{"tag":"ListGroup","attrs":{"footer":"{{ dsx.variable.consequence }}","visible-if":"dsx.variable.open && dsx.variable.fields.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.fields","key":"key","title":"{{ dsx.this.label }}","subtitle":"{{ dsx.this.description }}"},"children":[{"tag":"textfield","attrs":{"secure":"true","autocapitalize":"none","autocorrect":"off","bind":"dsx.this.text","visible-if":"dsx.this.input == 'secret'","placeholder":"{{ dsx.this.set ? 'Paste a new one to replace it' : 'Paste it here' }}","aria-label":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"chip","attrs":{"label":"Set","role":"success","visible-if":"dsx.this.input == 'secret' && dsx.this.set"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"textfield","attrs":{"bind":"dsx.this.text","visible-if":"dsx.this.input == 'text' || dsx.this.input == 'url'","keyboard":"{{ dsx.this.input == 'url' ? 'url' : 'default' }}","aria-label":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"textfield","attrs":{"bind":"dsx.this.text","keyboard":"number","visible-if":"dsx.this.input == 'number'","aria-label":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"textarea","attrs":{"bind":"dsx.this.text","visible-if":"dsx.this.input == 'multiline' || dsx.this.input == 'list' || dsx.this.input == 'pairs' || dsx.this.input == 'json'","placeholder":"{{ dsx.this.hint }}","aria-label":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":8},{"tag":"toggle","attrs":{"bind":"dsx.this.on","visible-if":"dsx.this.input == 'toggle'","aria-label":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"picker","attrs":{"bind":"dsx.this.text","options":"{{ dsx.this.options }}","visible-if":"dsx.this.input == 'choice'","aria-label":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":10},{"tag":"colorpicker","attrs":{"bind":"dsx.this.text","visible-if":"dsx.this.input == 'color'","aria-label":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":11}],"text":"\n        \n        \n        \n        \n        \n        \n        \n        \n      ","reactive":true,"nid":3}],"text":"\n      \n    ","reactive":true,"nid":2},{"tag":"ListGroup","attrs":{"repeat":"dsx.variable.wordsFields","key":"key","header":"{{ dsx.this.label }}","footer":"{{ dsx.this.wordsProblem }}"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.this.describe","placeholder":"Describe it in words","aria-label":"{{ 'Describe ' + dsx.this.label + ' in words' }}","on:submit":"dsx.action.describe({ key: dsx.this.key })"},"children":[],"text":"","reactive":true,"nid":13},{"tag":"SettingsRow","attrs":{"icon":"agent.mark","title":"{{ dsx.this.drafting ? 'Writing…' : 'Fill In' }}","tone":"accent","tappable":"{{ dsx.this.drafting ? 'false' : 'true' }}","on:tap":"dsx.action.describe({ key: dsx.this.key })"},"children":[],"text":"","reactive":true,"nid":14}],"text":"\n      \n      \n    ","reactive":true,"nid":12},{"tag":"ListGroup","attrs":{"header":"I set these for you","visible-if":"dsx.variable.open && dsx.variable.decided.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.decided","key":"key","title":"{{ dsx.this.label }}","value":"{{ dsx.this.value }}"},"children":[],"text":"","reactive":true,"nid":16}],"text":"\n      \n    ","reactive":true,"nid":15},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.problem != ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.problem }}"},"children":[],"text":"","reactive":true,"nid":18}],"text":"\n      \n    ","reactive":true,"nid":17},{"tag":"ListGroup","attrs":{"visible-if":"dsx.attribute.outcome == 'done'"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.savedRows","key":"key","title":"{{ dsx.this.label }}","value":"{{ dsx.this.value }}"},"children":[],"text":"","reactive":true,"nid":20}],"text":"\n      \n    ","reactive":true,"nid":19},{"tag":"TaskRow","attrs":{"title":"{{ dsx.attribute.note != '' ? dsx.attribute.note : 'Saved' }}","status":"done","visible-if":"dsx.attribute.outcome == 'done'"},"children":[],"text":"","reactive":true,"nid":21},{"tag":"text","attrs":{"value":"Not now. Ask again any time.","visible-if":"dsx.attribute.outcome == 'declined'","__css":"c7"},"children":[],"text":"","reactive":true,"nid":22},{"tag":"TaskRow","attrs":{"title":"{{ dsx.attribute.note != '' ? dsx.attribute.note : 'That did not go through.' }}","status":"failed","visible-if":"dsx.attribute.outcome == 'failed'"},"children":[],"text":"","reactive":true,"nid":23}],"text":"\n\n    \n    \n\n    \n    \n\n    \n    \n    \n\n    \n    \n    \n    \n    \n  ","reactive":true,"nid":1}],"text":"\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.AgentSketch":{"name":"AgentSketch","scheme":"platform","head":{"attributes":[{"as":"sketch"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"listRows","body":"return [{ id: 'a' }, { id: 'b' }, { id: 'c' }]","computed":false},{"as":"s","body":"\n      const v = dsx.attribute.sketch\n      return v != null &amp;&amp; typeof v == 'object' ? v : { content: [], tabBar: false, sideMenu: false, sheet: false, lit: { tabBar: false, sideMenu: false, sheet: false }, tone: 'neutral', say: '' }\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"agent-sketch agent-sketch-{{ dsx.variable.s.tone }}","role":"img","aria-label":"{{ dsx.variable.s.say }}","__steers":"1","__css":"c8"},"children":[{"tag":"AppPreview","attrs":{"device":"phone","screen":"app","name":"Sketch","extent":"220","aria-hidden":"true"},"children":[{"tag":"stack","attrs":{"class":"agent-sketch-screen"},"children":[{"tag":"stack","attrs":{"class":"agent-sketch-content"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.variable.s.content","key":"key","class":"agent-sketch-part agent-sketch-{{ dsx.this.part }}{{ dsx.this.lit ? ' agent-sketch-lit' : '' }}"},"children":[{"tag":"stack","attrs":{"class":"agent-sketch-line agent-sketch-line-title","visible-if":"dsx.this.part == 'header'"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"stack","attrs":{"visible-if":"dsx.this.part == 'list'","__css":"c9"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.variable.listRows","key":"id","class":"agent-sketch-row","__row":"1","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"agent-sketch-dot"},"children":[],"text":"","reactive":false,"nid":8},{"tag":"stack","attrs":{"class":"agent-sketch-line"},"children":[],"text":"","reactive":false,"nid":9}],"text":"","reactive":true,"nid":7}],"text":"\n            \n          ","reactive":true,"nid":6},{"tag":"stack","attrs":{"class":"agent-sketch-cell","visible-if":"dsx.this.part == 'grid'"},"children":[],"text":"","reactive":true,"nid":10},{"tag":"stack","attrs":{"class":"agent-sketch-cell","visible-if":"dsx.this.part == 'grid'"},"children":[],"text":"","reactive":true,"nid":11},{"tag":"stack","attrs":{"class":"agent-sketch-cell","visible-if":"dsx.this.part == 'grid'"},"children":[],"text":"","reactive":true,"nid":12},{"tag":"stack","attrs":{"class":"agent-sketch-cell","visible-if":"dsx.this.part == 'grid'"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n          \n          \n          \n          \n          \n          \n        ","reactive":true,"nid":4}],"text":"\n        \n      ","reactive":true,"nid":3},{"tag":"stack","attrs":{"class":"agent-sketch-part agent-sketch-tab-bar{{ dsx.variable.s.lit.tabBar ? ' agent-sketch-lit' : '' }}","visible-if":"dsx.variable.s.tabBar"},"children":[{"tag":"stack","attrs":{"class":"agent-sketch-tab"},"children":[],"text":"","reactive":false,"nid":15},{"tag":"stack","attrs":{"class":"agent-sketch-tab"},"children":[],"text":"","reactive":false,"nid":16},{"tag":"stack","attrs":{"class":"agent-sketch-tab"},"children":[],"text":"","reactive":false,"nid":17},{"tag":"stack","attrs":{"class":"agent-sketch-tab"},"children":[],"text":"","reactive":false,"nid":18}],"text":"\n        \n      ","reactive":true,"nid":14},{"tag":"stack","attrs":{"class":"agent-sketch-dim","visible-if":"dsx.variable.s.sideMenu || dsx.variable.s.sheet"},"children":[],"text":"","reactive":true,"nid":19},{"tag":"stack","attrs":{"class":"agent-sketch-part agent-sketch-side-menu{{ dsx.variable.s.lit.sideMenu ? ' agent-sketch-lit' : '' }}","visible-if":"dsx.variable.s.sideMenu"},"children":[{"tag":"stack","attrs":{"class":"agent-sketch-line agent-sketch-line-title"},"children":[],"text":"","reactive":false,"nid":21},{"tag":"stack","attrs":{"class":"agent-sketch-line"},"children":[],"text":"","reactive":false,"nid":22},{"tag":"stack","attrs":{"class":"agent-sketch-line"},"children":[],"text":"","reactive":false,"nid":23},{"tag":"stack","attrs":{"class":"agent-sketch-line"},"children":[],"text":"","reactive":false,"nid":24},{"tag":"stack","attrs":{"class":"agent-sketch-line"},"children":[],"text":"","reactive":false,"nid":25}],"text":"\n        \n        \n      ","reactive":true,"nid":20},{"tag":"stack","attrs":{"class":"agent-sketch-part agent-sketch-sheet{{ dsx.variable.s.lit.sheet ? ' agent-sketch-lit' : '' }}","visible-if":"dsx.variable.s.sheet"},"children":[{"tag":"stack","attrs":{"class":"agent-sketch-grabber"},"children":[],"text":"","reactive":false,"nid":27},{"tag":"stack","attrs":{"class":"agent-sketch-line agent-sketch-line-title"},"children":[],"text":"","reactive":false,"nid":28},{"tag":"stack","attrs":{"class":"agent-sketch-line"},"children":[],"text":"","reactive":false,"nid":29}],"text":"\n        \n        \n        \n      ","reactive":true,"nid":26}],"text":"\n      \n      \n      \n      \n      \n    ","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1}],"text":"\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.AgentSkillsSheet":{"name":"AgentSkillsSheet","scheme":"platform","head":{"attributes":[{"as":"present","default":"false"},{"as":"cli-available","default":"false"},{"as":"mcp-available","default":"false"}],"apis":[],"expects":[],"events":[{"as":"close","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"agent","body":"return 'claude'","computed":false},{"as":"aboutOpen","body":"return false","computed":false},{"as":"agents","body":"\n      return [\n        { id: 'claude', name: 'Claude Code', icon: 'claude.logo' },\n        { id: 'codex', name: 'Codex', icon: 'codex.logo' },\n        { id: 'cursor', name: 'Cursor', icon: 'cursor.logo' },\n        { id: 'copilot', name: 'GitHub Copilot in VS Code', icon: 'githubcopilot.logo' },\n        { id: 'gemini', name: 'Gemini CLI', icon: 'gemini.logo' },\n        { id: 'other', name: 'Another Agent', icon: 'ellipsis.circle' }\n      ].map(a => ({ ...a, on: a.id == dsx.variable.agent }))\n    ","computed":true},{"as":"agentOptions","body":"return dsx.variable.agents.map(a => ({ id: a.id, label: a.name }))","computed":true},{"as":"cliOn","body":"return dsx.attribute.cliAvailable == true || dsx.attribute.cliAvailable == 'true' || dsx.module.convertdata.context.cliAvailable == true","computed":true},{"as":"remote","body":"return !dsx.variable.cliOn &amp;&amp; (dsx.attribute.mcpAvailable == true || dsx.attribute.mcpAvailable == 'true' || dsx.module.convertdata.context.mcpAvailable == true)","computed":true},{"as":"mcpUrl","body":"return dsx.module.convertdata.context.mcpUrl || 'https://mcp.despia.com/beta/mcp/account'","computed":true},{"as":"sheetTitle","body":"return dsx.variable.remote ? 'Connect Your AI Agent' : 'Install Agent Skill'","computed":true},{"as":"remoteBody","body":"\n      const a = dsx.variable.agent\n      const u = dsx.variable.mcpUrl\n      if (a == 'claude') { return 'Run it once in your terminal.\\n\\n```sh\\nclaude mcp add --transport http despia ' + u + '\\n```' }\n      if (a == 'codex') { return 'Run it once in your terminal.\\n\\n```sh\\ncodex mcp add despia --url ' + u + '\\n```' }\n      if (a == 'gemini') { return 'Run it once in your terminal.\\n\\n```sh\\ngemini mcp add --transport http despia ' + u + '\\n```' }\n      if (a == 'cursor') { return 'Save this as `.cursor/mcp.json` in your project, or in `~/.cursor/mcp.json` for every project.\\n\\n```json\\n{ \"mcpServers\": { \"despia\": { \"url\": \"' + u + '\" } } }\\n```' }\n      if (a == 'copilot') { return 'Save this as `.vscode/mcp.json` in your project, then pick **despia** in Copilot\\'s tools.\\n\\n```json\\n{ \"servers\": { \"despia\": { \"type\": \"http\", \"url\": \"' + u + '\" } } }\\n```' }\n      return 'Add a remote MCP server (streamable HTTP) to your agent with the address `' + u + '`. It signs in with OAuth.'\n    ","computed":true},{"as":"signInBody","body":"\n      const a = dsx.variable.agent\n      if (a == 'claude') { return 'In Claude Code, run `/mcp`, choose **despia** and sign in. Despia opens in your browser; approve the code there.' }\n      if (a == 'codex') { return 'Sign in once. Despia opens in your browser; approve the code there.\\n\\n```sh\\ncodex mcp login despia\\n```' }\n      return 'The first time your agent uses Despia, it opens Despia in your browser. Sign in and approve the code there.'\n    ","computed":true},{"as":"prompt","body":"return 'Set up my app with Despia, add push notifications, and send a build to my testers.'","computed":true},{"as":"agentName","body":"return (dsx.variable.agents.find(a => a.on) || dsx.variable.agents[0]).name","computed":true},{"as":"skillLine","body":"\n      const host = { claude: 'claude-code', codex: 'codex', cursor: 'cursor', copilot: 'github-copilot', gemini: 'gemini-cli' }\n      const a = host[dsx.variable.agent]\n      return a ? 'npx skills add despia-native/skills -g -a ' + a + ' -y' : 'npx skills add despia-native/skills -g'\n    ","computed":true},{"as":"toolsBody","body":"\n      const a = dsx.variable.agent\n      const why = 'Run it in your app\\'s folder.'\n      if (a == 'claude') { return why + '\\n\\n```sh\\nclaude mcp add despia -- npx despia mcp\\n```' }\n      if (a == 'codex') { return why + '\\n\\n```sh\\ncodex mcp add despia -- npx despia mcp\\n```' }\n      if (a == 'gemini') { return why + '\\n\\n```sh\\ngemini mcp add despia npx despia mcp\\n```' }\n      if (a == 'cursor') { return 'Save this as `.cursor/mcp.json` in your app\\'s folder.\\n\\n```json\\n{ \"mcpServers\": { \"despia\": { \"command\": \"npx\", \"args\": [\"despia\", \"mcp\"] } } }\\n```' }\n      if (a == 'copilot') { return 'Save this as `.vscode/mcp.json` in your app\\'s folder, then pick **despia** in Copilot\\'s tools.\\n\\n```json\\n{ \"servers\": { \"despia\": { \"type\": \"stdio\", \"command\": \"npx\", \"args\": [\"despia\", \"mcp\"] } } }\\n```' }\n      return 'Add an MCP server to your agent that runs this command in your app\\'s folder:\\n\\n```sh\\nnpx despia mcp\\n```'\n    ","computed":true},{"as":"steps","body":"\n      if (dsx.variable.remote) {\n        return [\n          { title: 'Connect Despia', body: dsx.variable.remoteBody },\n          { title: 'Sign in and ask', body: dsx.variable.signInBody }\n        ]\n      }\n      return [\n        { title: 'Add the skill', body: 'Run it once. It teaches **' + dsx.variable.agentName + '** how Despia apps are built.\\n\\n```sh\\n' + dsx.variable.skillLine + '\\n```' },\n        { title: 'Connect the Despia tools', body: dsx.variable.toolsBody },\n        { title: 'Sign in and ask', body: 'Sign in once and approve the code on this page.\\n\\n```sh\\nnpx despia login\\n```' }\n      ]\n    ","computed":true},{"as":"abilities","body":"\n      return [\n        { id: 'create', icon: 'plus.app', title: 'Set up your apps', subtitle: dsx.module.convertdata.context.nativeSurfaces === true ? 'A new native app, or your web app brought across.' : (dsx.variable.cliOn ? 'A new project from the CLI, or your Despia V3 app moved across.' : 'Your web app as an iOS and Android app, with native features.') },\n        { id: 'native', icon: 'puzzlepiece.extension', title: 'Add native features', subtitle: 'Push, camera, purchases, widgets, with permissions wired.' },\n        { id: 'fix', icon: 'wrench.and.screwdriver', title: 'Fix what breaks', subtitle: 'Reads the build log, finds the cause and changes only what it needs to.' },\n        { id: 'testers', icon: 'paperplane', title: 'Ship to testers', subtitle: 'Builds the app and sends it to TestFlight and Google Play testing.' },\n        { id: 'review', icon: 'checkmark.seal', title: 'Submit for review', subtitle: 'Fills in the store listing, submits it and follows the review for you.' }\n      ]\n    ","computed":true}],"formulas":[],"actions":[{"as":"close","inputs":{},"body":"dsx.event('close')"}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"sheet","attrs":{"detents":"content","present":"dsx.attribute.present","title":"{{ dsx.variable.sheetTitle }}","close":"trailing","on:dismiss":"dsx.action.close()"},"children":[{"tag":"ListGroup","attrs":{"footer":"Your agent builds, ships to testers and submits. Anything that publishes waits for your approval."},"children":[{"tag":"SettingsRow","attrs":{"title":"Agent"},"children":[{"tag":"picker","attrs":{"aria-label":"Agent","bind":"dsx.variable.agent","options-key":"dsx.variable.agentOptions"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"visible-if":"dsx.variable.remote","icon":"server.rack","title":"Despia MCP Server","subtitle":"{{ dsx.variable.mcpUrl }}","badge":"Beta","badge-role":"info"},"children":[],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true},{"tag":"button","attrs":{"variant":"bordered","label":"What can it do?","on:tap":"dsx.variable.aboutOpen = true"},"children":[],"text":"","reactive":true},{"tag":"Guide","attrs":{"steps":"{{ dsx.variable.steps }}","aria-label":"Install steps"},"children":[],"text":"","reactive":true},{"tag":"ListGroup","attrs":{"header":"Then ask"},"children":[{"tag":"SettingsRow","attrs":{"title":"{{ dsx.variable.prompt }}"},"children":[{"tag":"CopyButton","attrs":{"value":"{{ dsx.variable.prompt }}","label":"Copy Prompt"},"children":[],"text":"","reactive":true}],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true}],"text":"\n    \n    \n\n    \n\n    \n  ","reactive":true},{"tag":"sheet","attrs":{"detents":"content","present":"dsx.variable.aboutOpen","title":"What Your Agent Can Do","on:dismiss":"dsx.variable.aboutOpen = false"},"children":[{"tag":"ListGroup","attrs":{"footer":"Ask the way you would ask a teammate. Anything that publishes waits for your approval."},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.abilities","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}"},"children":[],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true}],"text":"\n    \n  ","reactive":true}],"text":"\n  \n\n  \n  \n\n  \n","reactive":true},"reactive":true,"language":"1"},"platform.AgentThreads":{"name":"AgentThreads","scheme":"platform","head":{"attributes":[{"as":"project-id","default":"''"},{"as":"thread-id","default":"''"},{"as":"items"}],"apis":[],"expects":[],"events":[{"as":"back","payload":[]},{"as":"open","payload":["id"]},{"as":"read","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"list","body":"return Array.isArray(dsx.attribute.items) ? dsx.attribute.items : []","computed":true},{"as":"rowsOf","body":"\n      return dsx.variable.list.map(t => ({\n        id: t.id, title: t.title != '' ? t.title : 'Case #' + t.number,\n        line: t.staffUnread &gt; 0 ? 'The team replied' : (t.waitingForTeam ? 'Waiting for the team' : (t.status == 'resolved' ? 'Resolved' : t.preview)),\n        badge: t.unread &gt; 0 ? String(t.unread) : '', resolved: t.status == 'resolved',\n        icon: t.status == 'resolved' ? 'checkmark.circle' : 'bubble.left.and.bubble.right'\n      }))\n    ","computed":true},{"as":"open","body":"return dsx.variable.rowsOf.filter(r => !r.resolved)","computed":true},{"as":"done","body":"return dsx.variable.rowsOf.filter(r => r.resolved)","computed":true},{"as":"showList","body":"return dsx.attribute.threadId == '' || dsx.attribute.threadId == null","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"vstack","attrs":{"class":"agent-threads"},"children":[{"tag":"vstack","attrs":{"class":"agent-threads-list","visible-if":"dsx.variable.showList"},"children":[{"tag":"hstack","attrs":{"class":"agent-threads-bar","__steers":"1"},"children":[{"tag":"button","attrs":{"icon":"chevron.left","variant":"plain","aria-label":"Back to Agent","on:tap":"dsx.event('back')"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"text","attrs":{"class":"agent-threads-title","value":"Threads","role":"heading","__css":"c6"},"children":[],"text":"","reactive":false,"nid":4}],"text":"\n      \n      \n    ","reactive":true,"nid":2},{"tag":"scroll","attrs":{"class":"agent-threads-scroll"},"children":[{"tag":"stack","attrs":{"class":"agent-threads-body"},"children":[{"tag":"EmptyState","attrs":{"visible-if":"dsx.variable.list.length == 0","icon":"bubble.left.and.bubble.right","title":"No threads yet","message":"When you ask for a person, Agent gathers the details and opens a thread with the team here."},"children":[],"text":"","reactive":true,"nid":7},{"tag":"ListGroup","attrs":{"header":"Open","visible-if":"dsx.variable.open.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.open","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.line }}","badge":"{{ dsx.this.badge }}","badge-role":"info","tappable":"true","chevron":"true","on:tap":"dsx.event('open', { id: dsx.this.id })"},"children":[],"text":"","reactive":true,"nid":9}],"text":"\n          \n        ","reactive":true,"nid":8},{"tag":"ListGroup","attrs":{"header":"Resolved","visible-if":"dsx.variable.done.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.done","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.line }}","badge":"{{ dsx.this.badge }}","badge-role":"info","tappable":"true","chevron":"true","on:tap":"dsx.event('open', { id: dsx.this.id })"},"children":[],"text":"","reactive":true,"nid":11}],"text":"\n          \n        ","reactive":true,"nid":10}],"text":"\n        \n        \n        \n      ","reactive":true,"nid":6}],"text":"\n      \n    ","reactive":true,"nid":5}],"text":"\n    \n    \n  ","reactive":true,"nid":1},{"tag":"GroupChat","attrs":{"class":"agent-threads-thread","visible-if":"!dsx.variable.showList","conversation-id":"{{ dsx.attribute.threadId }}","project-id":"{{ dsx.attribute.projectId }}","back":"true","on:back":"dsx.event('open', { id: '' })","on:read":"dsx.event('read')"},"children":[],"text":"","reactive":true,"nid":12}],"text":"\n  \n\n  \n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.AgentVisual":{"name":"AgentVisual","scheme":"platform","head":{"attributes":[{"as":"block"}],"apis":[],"expects":[],"events":[{"as":"open","payload":["target","url","path"]}],"inputs":[],"tools":[],"variables":[{"as":"b","body":"return dsx.attribute.block == null || typeof dsx.attribute.block != 'object' ? null : dsx.attribute.block","computed":true},{"as":"kind","body":"return dsx.variable.b == null ? '' : dsx.variable.b.kind","computed":true},{"as":"title","body":"return dsx.variable.b == null ? '' : dsx.variable.b.title","computed":true},{"as":"alt","body":"return dsx.variable.b == null ? '' : dsx.variable.b.alt","computed":true},{"as":"note","body":"return dsx.variable.kind == 'callout' ? dsx.variable.b.callout : { tone: 'info', title: '', message: '' }","computed":true},{"as":"checks","body":"return dsx.variable.kind == 'checklist' ? dsx.variable.b.checklist : { rows: [], summary: '' }","computed":true},{"as":"sides","body":"return dsx.variable.kind == 'compare' ? dsx.variable.b.compare.sides : []","computed":true},{"as":"flow","body":"return dsx.variable.kind == 'flow' ? dsx.variable.b.flow : { layout: '', rows: [], states: {}, nodeRows: [], brokenRows: [] }","computed":true},{"as":"map","body":"return dsx.variable.kind == 'mindmap' ? dsx.variable.b.mindmap : { root: '', rows: [] }","computed":true},{"as":"plot","body":"return dsx.variable.kind == 'chart' ? dsx.variable.b.chart : { type: '', unit: '', rows: [], progress: { value: 0, max: 1, share: 0, label: '', current: '' } }","computed":true},{"as":"stepsBlock","body":"return dsx.variable.kind == 'steps' ? dsx.variable.b.steps : { rows: [], summary: '' }","computed":true},{"as":"sketch","body":"return dsx.variable.kind == 'wireframe' ? dsx.variable.b.wireframe : null","computed":true}],"formulas":[],"actions":[{"as":"evidence","inputs":{"key":"dsx.this.key"},"body":"\n      const row = dsx.variable.checks.rows.find(r => r.key == key)\n      if (row == null || row.link == null) { return }\n      dsx.event('open', { target: row.link.target, url: row.link.url, path: row.link.path })\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"agent-visual agent-visual-{{ dsx.variable.kind }}","__css":"c10"},"children":[{"tag":"Callout","attrs":{"visible-if":"dsx.variable.kind == 'callout'","tone":"{{ dsx.variable.note.tone }}","title":"{{ dsx.variable.note.title }}","message":"{{ dsx.variable.note.message }}"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"AgentCard","attrs":{"visible-if":"dsx.variable.kind == 'checklist'","title":"{{ dsx.variable.title }}","body":"{{ dsx.variable.checks.summary }}"},"children":[{"tag":"ListGroup","attrs":{},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.checks.rows","key":"key","status":"{{ dsx.this.status }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.detail }}","tappable":"{{ dsx.this.go != '' ? 'true' : 'false' }}","chevron":"{{ dsx.this.go == 'page' ? 'true' : 'false' }}","value-icon":"{{ dsx.this.go == 'external' ? 'arrow.up.right.square' : '' }}","on:tap":"dsx.action.evidence({ key: dsx.this.key })"},"children":[],"text":"","reactive":true,"nid":4}],"text":"\n      \n    ","reactive":true,"nid":3}],"text":"\n    \n  ","reactive":true,"nid":2},{"tag":"AgentCard","attrs":{"visible-if":"dsx.variable.kind == 'compare'","title":"{{ dsx.variable.title }}"},"children":[{"tag":"stack","attrs":{"class":"agent-visual-sides","__row":"1","__steers":"1"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.variable.sides","key":"key","class":"agent-visual-side agent-visual-side-{{ dsx.this.positive ? 'good' : 'bad' }}","role":"group","aria-label":"{{ dsx.this.say }}"},"children":[{"tag":"AgentSketch","attrs":{"visible-if":"dsx.this.sketch != null","sketch":"{{ dsx.this.sketch }}"},"children":[],"text":"","reactive":true,"nid":8},{"tag":"hstack","attrs":{"aria-hidden":"true","__steers":"1","__css":"c11"},"children":[{"tag":"image","attrs":{"class":"agent-visual-verdict-mark","icon":"{{ dsx.this.icon }}"},"children":[],"text":"","reactive":true,"nid":10},{"tag":"text","attrs":{"class":"agent-visual-verdict","value":"{{ dsx.this.word }}"},"children":[],"text":"","reactive":true,"nid":11}],"text":"\n          \n          \n        ","reactive":true,"nid":9},{"tag":"text","attrs":{"value":"{{ dsx.this.label }}","aria-hidden":"true","__css":"c12"},"children":[],"text":"","reactive":true,"nid":12},{"tag":"text","attrs":{"repeat":"dsx.this.points","key":"key","value":"{{ dsx.this.text }}","aria-hidden":"true","__css":"c13"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n        \n        \n        \n        \n      ","reactive":true,"nid":7}],"text":"\n      \n    ","reactive":true,"nid":6}],"text":"\n    \n  ","reactive":true,"nid":5},{"tag":"AgentCard","attrs":{"visible-if":"dsx.variable.kind == 'flow'","title":"{{ dsx.variable.title }}"},"children":[{"tag":"Timeline","attrs":{"visible-if":"dsx.variable.flow.layout == 'path'","class":"agent-visual-path","bind":"{{ dsx.variable.flow.rows }}","states":"{{ dsx.variable.flow.states }}","expand":"all","aria-label":"{{ dsx.variable.alt }}"},"children":[],"text":"","reactive":true,"nid":15},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.flow.layout == 'graph'"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.flow.nodeRows","key":"key","status":"{{ dsx.this.status }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.detail }}"},"children":[],"text":"","reactive":true,"nid":17}],"text":"\n      \n    ","reactive":true,"nid":16}],"text":"\n    \n    \n  ","reactive":true,"nid":14},{"tag":"AgentCard","attrs":{"visible-if":"dsx.variable.kind == 'mindmap'","title":"{{ dsx.variable.title != '' ? dsx.variable.title : dsx.variable.map.root }}"},"children":[{"tag":"ListGroup","attrs":{},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.map.rows","key":"id","title":"{{ dsx.this.label }}","subtitle":"{{ dsx.this.leaves }}"},"children":[],"text":"","reactive":true,"nid":20}],"text":"\n      \n    ","reactive":true,"nid":19}],"text":"\n    \n  ","reactive":true,"nid":18},{"tag":"AgentCard","attrs":{"visible-if":"dsx.variable.kind == 'chart'","title":"{{ dsx.variable.title }}","body":"{{ dsx.variable.plot.type != 'progress' ? dsx.variable.plot.unit : '' }}"},"children":[{"tag":"stack","attrs":{"visible-if":"dsx.variable.plot.type == 'bar' || dsx.variable.plot.type == 'line'","role":"img","aria-label":"{{ dsx.variable.alt }}","__css":"c9"},"children":[{"tag":"chart","attrs":{"visible-if":"dsx.variable.plot.type == 'bar'","type":"bar","data":"{{ dsx.variable.plot.rows }}","x":"label","y":"value","legend":"none","__css":"c14"},"children":[],"text":"","reactive":true,"nid":23},{"tag":"chart","attrs":{"visible-if":"dsx.variable.plot.type == 'line'","type":"line","data":"{{ dsx.variable.plot.rows }}","x":"label","y":"value","legend":"none","__css":"c14"},"children":[],"text":"","reactive":true,"nid":24}],"text":"\n      \n      \n    ","reactive":true,"nid":22},{"tag":"stack","attrs":{"visible-if":"dsx.variable.plot.type == 'progress'","__css":"c15"},"children":[{"tag":"hstack","attrs":{"aria-hidden":"true","__steers":"1","__css":"c16"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.variable.plot.progress.label }}","__css":"c17"},"children":[],"text":"","reactive":true,"nid":27},{"tag":"text","attrs":{"value":"{{ dsx.variable.plot.progress.current }}","__css":"c18"},"children":[],"text":"","reactive":true,"nid":28}],"text":"\n        \n        \n      ","reactive":true,"nid":26},{"tag":"progress","attrs":{"value":"{{ dsx.variable.plot.progress.share }}","aria-label":"{{ dsx.variable.plot.progress.label + ', ' + dsx.variable.plot.progress.current }}"},"children":[],"text":"","reactive":true,"nid":29}],"text":"\n      \n      \n    ","reactive":true,"nid":25}],"text":"\n    \n    \n  ","reactive":true,"nid":21},{"tag":"AgentCard","attrs":{"visible-if":"dsx.variable.kind == 'steps'","title":"{{ dsx.variable.title }}","body":"{{ dsx.variable.stepsBlock.summary }}"},"children":[{"tag":"Timeline","attrs":{"class":"dsx-timeline-compact","bind":"{{ dsx.variable.stepsBlock.rows }}","expand":"none","aria-label":"{{ dsx.variable.alt }}"},"children":[],"text":"","reactive":true,"nid":31}],"text":"\n    \n  ","reactive":true,"nid":30},{"tag":"AgentCard","attrs":{"visible-if":"dsx.variable.kind == 'wireframe'","title":"{{ dsx.variable.title }}"},"children":[{"tag":"AgentSketch","attrs":{"visible-if":"dsx.variable.sketch != null","sketch":"{{ dsx.variable.sketch }}"},"children":[],"text":"","reactive":true,"nid":33}],"text":"\n    \n  ","reactive":true,"nid":32}],"text":"\n  \n\n  \n  \n\n  \n  \n\n  \n  \n\n  \n  \n\n  \n  \n\n  \n  \n\n  \n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.AnnouncementSheet":{"name":"AnnouncementSheet","scheme":"platform","head":{"attributes":[{"as":"present","default":"false"},{"as":"announcement","default":"null"}],"apis":[],"expects":[],"events":[{"as":"close","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"title","body":"return dsx.attribute.announcement == null ? '' : String(dsx.attribute.announcement.title || '')","computed":true},{"as":"content","body":"return dsx.attribute.announcement == null ? '' : String(dsx.attribute.announcement.content || '')","computed":true},{"as":"dateLine","body":"\n      const n = dsx.attribute.announcement\n      if (n == null || !n.date) { return '' }\n      const ms = Date.parse(n.date)\n      return isNaN(ms) ? '' : new Date(ms).toLocaleDateString('en-US', { dateStyle: 'long' })\n    ","computed":true},{"as":"cta","body":"return dsx.attribute.announcement == null ? null : (dsx.attribute.announcement.cta || null)","computed":true},{"as":"ctaLabel","body":"return dsx.variable.cta == null ? '' : dsx.variable.cta.label","computed":true},{"as":"ctaExternal","body":"return dsx.variable.cta != null &amp;&amp; dsx.variable.cta.url.indexOf('https://') == 0","computed":true},{"as":"open","body":"return (dsx.attribute.present == true || dsx.attribute.present == 'true') &amp;&amp; dsx.attribute.announcement != null","computed":true}],"formulas":[],"actions":[{"as":"close","inputs":{},"body":"dsx.event('close')"},{"as":"follow","inputs":{},"body":"\n      const c = dsx.variable.cta\n      if (c == null) { return }\n      if (dsx.variable.ctaExternal) { await dsx.module.browser.open({ url: c.url }); return }\n      dsx.event('close')\n      dsx.module.route.select({ path: c.url })\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"sheet","attrs":{"detents":"{{ dsx.screen.width < 600 ? 'full' : 'half' }}","present":"dsx.variable.open","title":"{{ dsx.variable.title }}","close":"trailing","on:dismiss":"dsx.action.close()"},"children":[{"tag":"vstack","attrs":{"class":"announcement-article","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"announcement-date","type":"footnote","value":"{{ dsx.variable.dateLine }}","visible-if":"dsx.variable.dateLine != ''"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"markdown","attrs":{"value":"{{ dsx.variable.content }}","externalLinks":"true"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"hstack","attrs":{"class":"announcement-cta","visible-if":"dsx.variable.cta != null"},"children":[{"tag":"button","attrs":{"variant":"prominent","label":"{{ dsx.variable.ctaLabel }}","icon":"{{ dsx.variable.ctaExternal ? 'arrow.up.right' : '' }}","on:tap":"dsx.action.follow()"},"children":[],"text":"","reactive":true,"nid":6}],"text":"\n        \n      ","reactive":true,"nid":5}],"text":"\n      \n      \n      \n    ","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1}],"text":"\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.AppJourney":{"name":"AppJourney","scheme":"platform","head":{"attributes":[{"as":"project-id","default":"''"},{"as":"store-setup"},{"as":"builds","type":"array"},{"as":"live","type":"array"},{"as":"publish-open","default":"true"},{"as":"testing-open","default":"true"},{"as":"first-build"},{"as":"identified","default":"true"},{"as":"apple-app-id","default":"''"},{"as":"android-id","default":"''"},{"as":"copilot","default":"false"},{"as":"layout","default":"'card'"},{"as":"home","default":"false"},{"as":"stages-shown","default":"true"}],"apis":[],"expects":[],"events":[{"as":"build","payload":[]},{"as":"rebuild","payload":["os","of","fix"]},{"as":"publish","payload":[]},{"as":"changed","payload":[]},{"as":"firstBuildFix","payload":["target"]},{"as":"copilot","payload":[]},{"as":"state","payload":["id","stage","tone","running","words","title","action","go","next"]}],"inputs":[],"tools":[],"variables":[{"as":"opened","body":"return {}","computed":false},{"as":"base","body":"return '/apps/' + dsx.attribute.projectId","computed":true},{"as":"rows","body":"return Array.isArray(dsx.attribute.builds) ? dsx.attribute.builds : []","computed":true},{"as":"own","body":"return dsx.variable.rows.filter(b => !b.submission)","computed":true},{"as":"subs","body":"return dsx.variable.rows.filter(b => b.submission)","computed":true},{"as":"liveRows","body":"return Array.isArray(dsx.attribute.live) ? dsx.attribute.live : []","computed":true},{"as":"canTest","body":"return !(dsx.attribute.testingOpen === false || dsx.attribute.testingOpen === 'false')","computed":true},{"as":"canPublish","body":"return !(dsx.attribute.publishOpen === false || dsx.attribute.publishOpen === 'false')","computed":true},{"as":"setup","body":"\n      const st = dsx.attribute.storeSetup\n      return st != null &amp;&amp; typeof st == 'object' &amp;&amp; Number(st.total) &gt; 0 ? st : null\n    ","computed":true},{"as":"setupOpen","body":"return dsx.variable.setup != null &amp;&amp; dsx.variable.setup.done &lt; dsx.variable.setup.total","computed":true},{"as":"plain","body":"\n      return {\n        'apple:account': ['Your Apple developer account', 'Apple publishes apps only from a paid developer account. You sign up once, with Apple.'],\n        'apple:asc-key': ['Connect your Apple account', 'Despia builds and uploads your iPhone app with it. The Despia extension can do it for you.'],\n        'apple:app-id': [\"Reserve your app’s ID with Apple\", 'Apple needs it before Despia can sign your app. Despia does it for you.'],\n        'apple:capability': [\"Turn on your app’s Apple features\", 'Features like notifications are switched on with Apple first. Despia does most of them for you.'],\n        'apple:app-record': ['Create your app in the App Store', 'Your iPhone builds are uploaded to it. Despia can do it for you.'],\n        'apple:agreements': [\"Accept Apple’s paid apps agreement\", 'Apple holds in-app purchases until the account holder accepts it.'],\n        'apple:aasa': ['Let your website open your iPhone app', 'Links to your site open in the app once your site lists it.'],\n        'google:account': ['Your Google Play developer account', 'Google publishes apps only from a verified developer account.'],\n        'google:service-account': ['Connect your Google Play account', 'Despia uploads your Android app with it. Sign in with Google and Despia does the rest.'],\n        'google:app': ['Create your app in Google Play', 'Google needs it before your first release. The Despia extension can do it for you.'],\n        'google:assetlinks': ['Let your website open your Android app', 'Links to your site open in the app once your site lists it.']\n      }\n    ","computed":true},{"as":"words","body":"\n      const plain = dsx.variable.plain\n      return (step) => {\n        if (step == null) { return { title: '', why: '' } }\n        //  the one source: the adapter's plain words on the step (step-words.js); the table below only for an older view\n        if (step.plain != null &amp;&amp; step.plain.title != '') { return { title: step.plain.title, why: step.plain.why } }\n        const parts = String(step.id || '').split(':')\n        if (parts[0] == 'apple' &amp;&amp; parts[1] == 'capability' &amp;&amp; parts[parts.length - 1] == 'APP_GROUPS') {\n          return { title: \"Create your app’s App Group\", why: 'Your app shares data between its parts, so Apple needs an App Group for it.' }\n        }\n        const w = plain[parts[0] + ':' + parts[1]]\n        return w == null ? { title: step.title || '', why: step.why || step.reason || '' } : { title: w[0], why: w[1] }\n      }\n    ","computed":true},{"as":"doer","body":"\n      return (step) => {\n        const q = (d) => 'store-setup?do=' + d + '\\u0026step=' + encodeURIComponent(step.id)\n        if (step.extension != null &amp;&amp; step.extension.available !== false) {\n          return { action: 'Continue', go: q('extension'), link: 'By Hand', linkGo: q('guide'), line: 'Despia can create it for you with the extension.' }\n        }\n        if (step.canAutomate === true) {\n          return { action: 'Continue', go: q('automate'), link: 'By Hand', linkGo: q('guide'), line: 'Despia can do it for you.' }\n        }\n        return null\n      }\n    ","computed":true},{"as":"repairs","body":"\n      const st = dsx.variable.setup\n      const step = (prefix) => st == null || !Array.isArray(st.steps) ? null : st.steps.find(x => String(x.id).startsWith(prefix))\n      const reconnect = (prefix, label) => {\n        const s = step(prefix)\n        return { action: label, go: s == null ? 'store-setup' : 'store-setup?do=extension\\u0026step=' + encodeURIComponent(s.id), link: 'Get Help', linkGo: '/help' }\n      }\n      return [\n        //  the key Despia signs with was revoked or lacks a role: a new one through the extension, then the apps move to it\n        { code: 'signing.asc_key_invalid', ...reconnect('apple:asc-key', 'Reconnect Apple'), why: 'Apple stopped accepting the key Despia uses for your account. Despia can make a new one with the extension and switch your apps to it.' },\n        { code: 'signing.asc_key_forbidden', ...reconnect('apple:asc-key', 'Reconnect Apple'), why: 'The key Despia uses cannot create what your app needs to be signed. Despia can make one with the right access with the extension.' },\n        { code: 'play.permission_denied', ...reconnect('google:service-account', 'Reconnect'), why: 'Google Play stopped letting Despia upload. Despia can give itself access again with the extension.' },\n        //  a number the store already has: the next build takes a new one\n        { code: 'apple.build_number_used', action: 'Build Again', go: 'rebuild', link: 'Get Help', linkGo: '/help', why: 'Apple already has a build with this number. The next build takes a new one.' },\n        { code: 'play.version_code_used', action: 'Build Again', go: 'rebuild', link: 'Get Help', linkGo: '/help', why: 'Google Play already has a build with this number. The next build takes a new one.' },\n        //  the icon Apple refused (transparency): the pipeline fills it with white and makes every size on the next build\n        { code: 'apple.icon_alpha', action: 'Fix Build', go: 'rebuild', link: 'Change Icon', linkGo: 'settings', why: 'Apple did not accept the app icon: it has a transparent background. Despia fills it with white and builds again.' },\n        { code: 'build.icon_alpha', action: 'Fix Build', go: 'rebuild', link: 'Change Icon', linkGo: 'settings', why: 'Apple did not accept the app icon: it has a transparent background. Despia fills it with white and builds again.' }\n      ]\n    ","computed":true},{"as":"fixedNote","body":"\n      const b = dsx.variable.own.length &gt; 0 ? dsx.variable.own[0] : null\n      const kinds = b == null || !Array.isArray(b.fixedForYou) ? [] : b.fixedForYou\n      const words = { icon_alpha: \"your icon’s transparent background was filled with white\", icon_transparency: \"your icon’s transparent background was filled with white\",\n        icon_sizes: 'every icon size the stores ask for was made', icon_resized: 'every icon size the stores ask for was made', icon_format: 'your icon was saved in the format the stores ask for',\n        privacy_manifest: 'the privacy details Apple asks for were added', usage_strings: 'the permission texts Apple asks for were added' }\n      const said = kinds.map(k => words[k]).filter(x => x != null)\n      if (said.length == 0) { return '' }\n      const line = said.join(', and ')\n      return 'Fixed for you: ' + line + '.'\n    ","computed":true},{"as":"journey","body":"\n      const os = (o) => o == 'ios' ? 'iPhone' : (o == 'android' ? 'Android' : 'iPhone and Android')\n      const store = (o) => o == 'android' ? 'Google' : 'Apple'\n      const st = dsx.variable.setup\n      //  MAKE IT: an app with no ID in the stores yet (no bundle ID, no package name) starts there; nothing else can go on\n      if (dsx.attribute.identified === false || dsx.attribute.identified === 'false') {\n        return { id: 'identify', stage: 1, tone: '', title: 'Add your app\\u2019s ID', reason: 'Apple and Google Play know your app by it (com.example.app). It takes a minute.', action: 'Continue', go: 'identifiers', link: '', linkGo: '' }\n      }\n      if (dsx.variable.setupOpen) {\n        const steps = Array.isArray(st.steps) ? st.steps : []\n        //  NOT STARTED IS NOT FAILED (law 8): a step the service could not find yet (an App Group not made, a file not on the site)\n        //  is the next step in grey; red only when access Despia had stopped working (a connection) or an attempt did not go through\n        const tried = (s) => s.attempted === true || /^(apple:asc-key|google:service-account)/.test(String(s.id))\n        const failed = steps.find(s => s.status == 'open' &amp;&amp; s.state == 'failed' &amp;&amp; tried(s))\n        const next = steps.find(s => s.id == st.next) || steps.find(s => s.status == 'open')\n        //  applied for a developer account and waiting for the store: that is the step now, calm, never an error (stores.<store>.account)\n        const stores = st.stores == null ? {} : st.stores\n        const waits = ['apple', 'google'].filter(k =&gt; stores[k] != null &amp;&amp; stores[k].account == 'waiting')\n        if (waits.length &gt; 0) {\n          const who = waits.length == 2 ? 'Apple and Google' : (waits[0] == 'apple' ? 'Apple' : 'Google')\n          return { id: 'account-waiting', stage: 2, tone: '', title: 'Waiting for ' + who, reason: who + (waits.length == 2 ? ' are' : ' is') + ' checking your developer account. Despia picks up as soon as you’re approved.', action: 'Store Setup', go: 'store-setup', link: '', linkGo: '' }\n        }\n        if (failed != null) {\n          //  access that stopped working: one verb per cause, Reconnect Apple or Reconnect Google Play, everywhere\n          const conn = /^apple:asc-key/.test(String(failed.id)) ? ['Apple', 'Reconnect Apple'] : (/^google:service-account/.test(String(failed.id)) ? ['Google Play', 'Reconnect'] : null)\n          if (conn != null) {\n            return { id: 'connect-attention', stage: 2, tone: 'danger', title: conn[0] + ' stopped accepting Despia’s access', reason: failed.reason || 'Despia can connect it again with the extension.', action: conn[1], go: 'store-setup?do=extension&step=' + encodeURIComponent(failed.id), link: 'Get Help', linkGo: '/help' }\n          }\n          const fw = dsx.variable.words(failed)\n          const fd = dsx.variable.doer(failed)\n          //  something Despia can do: the plain reason and the button that does it, never the store's own wording\n          if (fd != null) {\n            return { id: 'connect-attention', stage: 2, tone: 'danger', title: fw.title, reason: fw.why.includes('Despia') ? fw.why : fw.why + ' ' + fd.line, action: fd.action, go: fd.go, link: fd.link, linkGo: fd.linkGo }\n          }\n          return { id: 'connect-attention', stage: 2, tone: 'danger', title: fw.title, reason: failed.reason || failed.why || 'This step did not go through. Open it to see what to change.', action: 'Fix It', go: 'store-setup?do=guide\\u0026step=' + encodeURIComponent(failed.id), link: 'Get Help', linkGo: '/help' }\n        }\n        if (st.done == 0 || next == null) {\n          return { id: 'connect-start', stage: 2, tone: '', title: 'Connect your app stores', reason: 'Despia needs access to your Apple and Google Play accounts to publish for you. It takes about 3 minutes with the Despia extension.', action: 'Connect Stores', go: 'store-setup', link: 'View Steps', linkGo: 'store-setup?view=steps' }\n        }\n        const nw = dsx.variable.words(next)\n        const nd = dsx.variable.doer(next)\n        if (nd != null) {\n          return { id: 'connect-next', stage: 2, tone: '', title: nw.title, reason: nw.why.includes('Despia') ? nw.why : (nw.why || 'One more step to get your app into the stores.') + ' ' + nd.line, action: nd.action, go: nd.go, link: nd.link, linkGo: nd.linkGo }\n        }\n        return { id: 'connect-next', stage: 2, tone: '', title: nw.title, reason: nw.why || 'One more step to get your app into the stores.', action: 'Continue', go: 'store-setup', link: 'View Steps', linkGo: 'store-setup?view=steps' }\n      }\n      //  the builds under way: the one actually running first; both platforms at once are one app in words\n      const under = dsx.variable.own.filter(b => b.status == 'building')\n      const lead = under.find(b => !b.waiting) || under[0]\n      const both = under.some(b => b.os != under[0].os)\n      const running = lead == null ? null : (both ? { ...lead, os: 'both' } : lead)\n      if (running != null) {\n        //  AHEAD OF THE QUESTION (3b.5): what is happening now, what comes next, and about how long, from the build's own step\n        const who = os(running.os)\n        const dest = { android: 'Google Play internal testing', ios: 'TestFlight' }[running.os] || 'TestFlight and Google Play internal testing'\n        const uploads = dsx.variable.canTest &amp;&amp; running.uploads !== false\n        const next = uploads ? 'Next it goes to ' + dest + '.' : 'Next it is ready to download.'\n        const typical = running.os == 'android' ? 8 : 10\n        const spent = running.startedAtMs &gt; 0 ? Math.floor((Date.now() - running.startedAtMs) / 60000) : 0\n        const left = Math.max(1, typical - spent)\n        const about = 'About ' + left + (left == 1 ? ' minute' : ' minutes') + ' left.'\n        const close = ' You can close this tab, it keeps going.'\n        const base = { stage: 3, tone: '', action: 'View Build', go: '/builds/' + running.id, link: 'Cancel', linkGo: 'cancel', buildId: running.id, spinner: true }\n        if (under.every(b => b.waiting)) {\n          return { ...base, id: 'starting', title: 'Starting your ' + who + ' build', reason: (running.queueLine ? running.queueLine + '. ' + (running.queueEstimate ? running.queueEstimate + ' ' : '') : 'Your ' + who + ' app is next in line for a build machine. ') + 'Then it builds, in about ' + typical + ' minutes.' + close }\n        }\n        if (running.phase == 'queued' || running.phase == 'starting') {\n          return { ...base, id: 'starting', title: 'Starting your ' + who + ' build', reason: 'Getting a build machine ready for your ' + who + ' app.' + close }\n        }\n        if (running.step == 'fetch' || running.step == 'packages') {\n          return { ...base, id: 'building', title: 'Preparing your ' + who + ' app', reason: about + ' ' + next + close }\n        }\n        if (running.step == 'sign') {\n          return { ...base, id: 'building', title: 'Signing your ' + who + ' app', reason: (running.os == 'android' ? 'For Google Play. ' : 'For the App Store. ') + next + close }\n        }\n        if (running.step == 'upload' || running.phase == 'publishing') {\n          return { ...base, id: 'building', title: 'Sending your ' + who + ' app to ' + dest, reason: running.os == 'android' ? 'Your testers can install it a few minutes after.' : 'Apple processes it next, usually 5 to 15 minutes.' }\n        }\n        if (running.step == 'compile') {\n          return { ...base, id: 'building', title: 'Building your ' + who + ' app', reason: about + ' ' + next + close }\n        }\n        return { ...base, id: 'building', title: 'Building your ' + who + ' app', reason: 'It usually takes 10 to 20 minutes. ' + next + close }\n      }\n      const newest = dsx.variable.own.length &gt; 0 ? dsx.variable.own[0] : null\n      if (newest != null &amp;&amp; newest.status == 'failed') {\n        const credits = newest.refunded ? ' Your credits were given back.' : ''\n        const fix = newest.firstFix\n        //  a failure Despia repairs or redoes itself: the button that does it, never a log\n        //  1. a new key or new access through the extension (the service leaves these to the person: needs_you)\n        //  2. the service's own verdict: fixable, so Fix It and Rebuild on its route (it repairs, then builds again, once)\n        //  3. a known class while the service gives no verdict yet: the same repair through a plain rebuild\n        //  4. not fixable: the service's sentence, See How to Fix It and Get Help\n        const title = 'Your ' + os(newest.os) + ' build stopped'\n        const rep = dsx.variable.repairs.find(r => r.code == (newest.failureCode || ''))\n        if (rep != null &amp;&amp; rep.go != 'rebuild') {\n          return { id: 'build-repair', stage: 3, tone: 'danger', title: title, reason: rep.why + credits, action: rep.action, go: rep.go, link: rep.link, linkGo: rep.linkGo, buildId: newest.id, os: newest.os }\n        }\n        const v = newest.fix\n        if (v != null &amp;&amp; v.fixable) {\n          const icon = v.kind == 'icon'\n          return { id: 'build-repair', stage: 3, tone: 'danger', title: title, reason: (v.say || 'Despia can repair this and build again.') + credits, action: v.label == 'Build Again' ? 'Build Again' : 'Fix Build',\n            go: 'fix-rebuild', link: icon ? 'Change Icon' : 'Get Help', linkGo: icon ? 'settings' : '/help', buildId: newest.id, os: newest.os }\n        }\n        if (v == null &amp;&amp; rep != null) {\n          return { id: 'build-repair', stage: 3, tone: 'danger', title: title, reason: rep.why + credits, action: rep.action, go: rep.go, link: rep.link, linkGo: rep.linkGo, buildId: newest.id, os: newest.os }\n        }\n        if (v != null &amp;&amp; !v.fixable) {\n          return { id: 'build-failed', stage: 3, tone: 'danger', title: title, reason: (v.say || newest.whatHappened || 'It stopped before it finished.') + credits, action: 'View Fix', go: '/builds/' + newest.id, link: 'Get Help', linkGo: '/help' }\n        }\n        //  a failure whose first remedy is to build again (on our side): one tap, no log\n        if (fix != null &amp;&amp; fix.kind == 'retry' &amp;&amp; fix.target == 'build') {\n          return { id: 'build-retry', stage: 3, tone: 'danger', title: 'Your ' + os(newest.os) + ' build stopped on our side', reason: (newest.whatHappened || 'Nothing in your app caused it.') + credits + ' Building again usually works.', action: 'Build Again', go: 'rebuild', link: 'Get Help', linkGo: '/help', buildId: newest.id, os: newest.os }\n        }\n        return { id: 'build-failed', stage: 3, tone: 'danger', title: 'Your ' + os(newest.os) + ' build stopped', reason: (newest.whatHappened || newest.message || 'It stopped before it finished.') + credits, action: 'View Fix', go: '/builds/' + newest.id, link: 'Get Help', linkGo: '/help' }\n      }\n      const review = dsx.variable.subs.find(s => s.status == 'building')\n      if (review != null) {\n        return { id: 'review', stage: 4, tone: '', title: 'Waiting for ' + store(review.os) + ' review', reason: store(review.os) + ' usually reviews an app in 1 to 2 days. Nothing to do until then.', action: 'See Status', go: dsx.variable.canPublish ? 'submissions' : 'builds', link: '', linkGo: '' }\n      }\n      const lastSub = dsx.variable.subs.length &gt; 0 ? dsx.variable.subs[0] : null\n      if (lastSub != null &amp;&amp; lastSub.status == 'failed') {\n        return { id: 'rejected', stage: 4, tone: 'danger', title: store(lastSub.os) + ' asked for changes', reason: 'See what ' + store(lastSub.os) + ' asked for and how to fix it, then send it again.', action: 'View Changes', go: '/submissions/' + lastSub.id, link: 'Get Help', linkGo: '/help' }\n      }\n      if (dsx.variable.liveRows.length &gt; 0) {\n        const where = dsx.variable.liveRows.map(l => l.id == 'ios' ? 'the App Store' : 'Google Play').join(' and ')\n        return { id: 'live', stage: 5, tone: 'success', title: 'Your app is live', reason: 'People can download it from ' + where + '.', action: 'Publish Update', go: 'publish', link: '', linkGo: '' }\n      }\n      if (dsx.variable.own.some(b => b.status == 'completed')) {\n        //  testing on a phone from Despia is not open to this reader yet: the build is ready to download, and the card says so\n        if (!dsx.variable.canTest) {\n          return { id: 'ready', stage: 3, tone: '', title: 'Your app is built', reason: 'Trying it on your phone from Despia opens very soon. Your signed app is ready to download.', action: 'View Build', go: 'builds', link: '', linkGo: '' }\n        }\n        if (!dsx.variable.canPublish) {\n          return { id: 'ready', stage: 4, tone: '', title: 'Try it on your phone', reason: 'Publishing from Despia opens very soon. Your app is ready on TestFlight and Google Play testing.', action: 'Test App', go: 'test', link: '', linkGo: '' }\n        }\n        return { id: 'ready', stage: 4, tone: '', title: 'Try it on your phone, then publish', reason: 'Your first build is ready in TestFlight and Google Play internal testing. When you are happy with it, finish the store listing and send it for review.', action: 'Continue', go: 'store-listing', link: 'Test App', linkGo: 'test' }\n      }\n      if (st == null) { return null }\n      //  the stores are ready and nothing is built: the page starts the first build by itself (owner ruling); if something is\n      //  missing first (credits, a store link) the card says what and offers the fix, never a red error\n      const fb = dsx.attribute.firstBuild\n      if (fb != null &amp;&amp; fb.state == 'blocked') {\n        return { id: 'first-build-blocked', stage: 3, tone: '', title: 'Your first build is ready to start', reason: fb.message, action: fb.action, go: 'first-build-fix', link: 'Get Help', linkGo: '/help' }\n      }\n      return { id: 'first-build', stage: 3, tone: '', title: 'Starting your first build', reason: 'Your stores are ready, so Despia is building your app for iPhone and Android. It usually takes 10 to 20 minutes, and you can close this tab.', action: '', go: '', link: '', linkGo: '', spinner: true }\n    ","computed":true},{"as":"stages","body":"\n      const j = dsx.variable.journey\n      const at = j == null ? 1 : j.stage\n      const narrow = dsx.screen.width &lt; 600\n      const names = [['make', 'Make it'], ['connect', narrow ? 'Connect' : 'Connect the stores'], ['test', 'Test it'], ['publish', 'Publish']]\n      return names.map((n, i) => {\n        const k = i + 1\n        const state = k &lt; at ? 'done' : (k == at ? (j.tone == 'danger' ? 'failed' : (j.spinner ? 'running' : 'current')) : 'upcoming')\n        //  the one count sits with its stage on the track, quiet, never under the buttons\n        return { key: n[0], title: n[1], state: state, detail: n[0] == 'connect' &amp;&amp; k == at &amp;&amp; dsx.variable.setup != null ? dsx.variable.setup.done + ' of ' + dsx.variable.setup.total + (narrow ? '' : ' steps done') : '' }\n      })\n    ","computed":true},{"as":"stageGo","body":"return { make: 'settings', connect: 'store-setup', test: dsx.variable.canTest ? 'test' : 'builds', publish: dsx.variable.canPublish ? 'store-listing' : (dsx.variable.canTest ? 'test' : 'builds') }","computed":true},{"as":"eyebrow","body":"\n      const j = dsx.variable.journey\n      if (j == null || j.stage != 2 || dsx.variable.setup == null) { return '' }\n      return dsx.variable.setup.done + ' of ' + dsx.variable.setup.total + ' steps done'\n    ","computed":true},{"as":"quietLink","body":"\n      const j = dsx.variable.journey\n      if (j == null) { return { label: '', go: '' } }\n      if (j.link != '') { return { label: j.link, go: j.linkGo } }\n      const on = dsx.attribute.copilot === true || dsx.attribute.copilot === 'true'\n      return on &amp;&amp; j.id != 'live' ? { label: 'Ask Agent', go: 'copilot' } : { label: '', go: '' }\n    ","computed":true},{"as":"actionIcon","body":"\n      const j = dsx.variable.journey\n      if (j == null) { return '' }\n      return { identify: 'tag', 'account-waiting': '', 'connect-start': 'link', 'connect-next': 'arrow.right', 'connect-attention': 'wrench.and.screwdriver', building: 'hammer', starting: 'hammer', 'first-build': 'hammer', 'build-failed': 'wrench.and.screwdriver', 'build-retry': 'arrow.clockwise', 'build-repair': j.go == 'rebuild' || j.go == 'fix-rebuild' ? 'arrow.clockwise' : 'wrench.and.screwdriver', review: 'clock', rejected: 'doc.text.magnifyingglass', live: 'arrow.up.circle', ready: j.go == 'test' ? 'iphone' : (j.go == 'builds' ? 'arrow.down.circle' : 'square.and.pencil') }[j.id] || ''\n    ","computed":true},{"as":"panel","body":"return dsx.attribute.layout == 'panel'","computed":true},{"as":"onHome","body":"return dsx.attribute.home === true || dsx.attribute.home === 'true'","computed":true},{"as":"isLive","body":"return dsx.variable.journey != null &amp;&amp; dsx.variable.journey.id == 'live'","computed":true},{"as":"cardStages","body":"return !(dsx.attribute.stagesShown === false || dsx.attribute.stagesShown === 'false')","computed":true},{"as":"ringShare","body":"\n      const j = dsx.variable.journey\n      if (j == null) { return 0 }\n      if (j.id == 'live') { return 1 }\n      //  the ring shows the count its line says: \"2 of 6 steps done\" fills 2/6, \"Step 1 of 4\" the stages behind (0 is the empty track)\n      if (dsx.variable.eyebrow != '' &amp;&amp; dsx.variable.setup.total &gt; 0) { return Math.max(0, Math.min(1, dsx.variable.setup.done / dsx.variable.setup.total)) }\n      return Math.max(0, Math.min(1, (j.stage - 1) / 4))\n    ","computed":true},{"as":"ringTitle","body":"\n      const j = dsx.variable.journey\n      if (j == null) { return '' }\n      return j.id == 'live' ? 'Live' : ['', 'Make it', 'Connect the stores', 'Test it', 'Publish'][j.stage]\n    ","computed":true},{"as":"ringLine","body":"\n      const j = dsx.variable.journey\n      if (j == null) { return '' }\n      if (j.id == 'live') { return 'Your app is in the stores' }\n      if (dsx.variable.eyebrow != '') { return dsx.variable.eyebrow }\n      return 'Step ' + j.stage + ' of 4 on the way to the stores'\n    ","computed":true},{"as":"ringTone","body":"return dsx.variable.journey != null &amp;&amp; dsx.variable.journey.tone == 'danger' ? 'danger' : (dsx.variable.isLive ? 'success' : 'accent')","computed":true},{"as":"ringSay","body":"return dsx.variable.ringTitle + ', ' + dsx.variable.ringLine","computed":true},{"as":"stepTitle","body":"\n      const words = dsx.variable.words\n      const names = { PUSH_NOTIFICATIONS: 'notifications', ASSOCIATED_DOMAINS: 'links to your website', IN_APP_PURCHASE: 'in-app purchases',\n        CRITICAL_ALERTS: 'critical alerts', SIGN_IN_WITH_APPLE: 'Sign in with Apple', HEALTHKIT: 'Apple Health', APPLE_PAY: 'Apple Pay' }\n      return (step) => {\n        const parts = String(step.id || '').split(':')\n        const code = parts[parts.length - 1]\n        if (parts[0] != 'apple' || parts[1] != 'capability' || code == 'APP_GROUPS') { return words(step).title }\n        const cap = step.capability == null ? '' : String(step.capability.name || '')\n        const name = names[code] || (cap != '' ? cap : code.toLowerCase().split('_').join(' '))\n        return 'Turn on ' + name + ' with Apple'\n      }\n    ","computed":true},{"as":"stageSteps","body":"\n      const st = dsx.variable.setup\n      const own = dsx.variable.own\n      const newest = own.length &gt; 0 ? own[0] : null\n      const built = own.some(b => b.status == 'completed')\n      const buildState = built ? 'done' : (newest == null ? 'pending' : (newest.status == 'building' ? 'running' : (newest.status == 'failed' ? 'failed' : 'pending')))\n      const subs = dsx.variable.subs\n      const lastSub = subs.length &gt; 0 ? subs[0] : null\n      const live = dsx.variable.liveRows.length &gt; 0\n      const reviewState = live || (lastSub != null &amp;&amp; lastSub.status == 'completed') ? 'done' : (lastSub == null ? 'pending' : (lastSub.status == 'failed' ? 'failed' : 'running'))\n      const setupSteps = st == null || !Array.isArray(st.steps) ? [] : st.steps.map(x => {\n        const done = x.status == 'done' || x.status == 'confirmed' || x.status == 'skipped'\n        //  red as the card says it: only access that stopped working or an attempt that did not go through; not found yet is grey\n        const tried = x.attempted === true || /^(apple:asc-key|google:service-account)/.test(String(x.id))\n        return { key: 'step:' + x.id, title: dsx.variable.stepTitle(x), status: done ? 'done' : (x.state == 'failed' &amp;&amp; tried ? 'failed' : 'pending'),\n          go: 'store-setup?' + (done ? '' : 'do=guide&') + 'step=' + encodeURIComponent(x.id) }\n      })\n      const testGo = dsx.variable.canTest ? 'test' : 'builds'\n      const publishGo = dsx.variable.canPublish ? 'store-listing' : testGo\n      return {\n        make: [{ key: 'make:name', title: 'Name and icon', status: 'done', go: 'settings' }, { key: 'make:packages', title: 'Features', status: 'done', go: 'packages' }],\n        connect: setupSteps.length &gt; 0 ? setupSteps : [{ key: 'connect:stores', title: 'Connect your app stores', status: 'pending', go: 'store-setup' }],\n        test: [{ key: 'test:build', title: 'First build', status: buildState, go: newest == null ? 'builds' : '/builds/' + newest.id },\n          { key: 'test:phone', title: 'On your phone', status: built &amp;&amp; dsx.variable.canTest ? 'done' : 'pending', go: testGo }],\n        publish: [{ key: 'publish:listing', title: 'Store listing', status: lastSub != null ? 'done' : 'pending', go: publishGo },\n          { key: 'publish:review', title: 'Store review', status: reviewState, go: dsx.variable.canPublish ? 'submissions' : testGo },\n          { key: 'publish:live', title: 'Live in the stores', status: live ? 'done' : 'pending', go: dsx.variable.canPublish ? 'submissions' : testGo }]\n      }\n    ","computed":true},{"as":"panelRows","body":"\n      const j = dsx.variable.journey\n      const at = j == null ? 1 : j.stage\n      const names = [['make', 'Make it'], ['connect', 'Connect the stores'], ['test', 'Test it'], ['publish', 'Publish']]\n      const steps = dsx.variable.stageSteps\n      let rows = []\n      for (const n of names) {\n        const k = names.indexOf(n) + 1\n        const phase = k &lt; at ? 'done' : (k == at ? (j != null &amp;&amp; j.tone == 'danger' ? 'failed' : (j != null &amp;&amp; j.spinner ? 'running' : 'current')) : 'upcoming')\n        const open = dsx.variable.opened[n[0]] == null ? k == at : dsx.variable.opened[n[0]] === true\n        rows.push({ key: 'stage:' + n[0], kind: 'stage', stage: n[0], title: n[1], status: phase == 'current' ? '' : (phase == 'upcoming' ? 'pending' : phase),\n          icon: phase == 'current' ? 'record.circle' : '', value: '', valueIcon: open ? 'chevron.up' : 'chevron.down', go: '' })\n        if (open) { rows = rows.concat(steps[n[0]].map(x => ({ ...x, kind: 'step', stage: n[0], icon: '', value: '', valueIcon: '' }))) }\n      }\n      return rows\n    ","computed":true},{"as":"activity","body":"\n      const os = (o) => o == 'android' ? 'Android' : 'iPhone'\n      //  a build the next step already names (running or stopped) is said there, not again here\n      const j = dsx.variable.journey\n      const named = j == null ? '' : (j.buildId || (String(j.id).startsWith('build-') &amp;&amp; dsx.variable.own.length &gt; 0 ? dsx.variable.own[0].id : ''))\n      const under = dsx.variable.own.filter(b => b.status == 'building' &amp;&amp; b.id != named)\n      const running = under.map(b => {\n        const typical = b.os == 'android' ? 8 : 10\n        const spent = b.startedAtMs &gt; 0 ? Math.floor((Date.now() - b.startedAtMs) / 60000) : 0\n        const left = Math.max(1, typical - spent)\n        const about = 'About ' + left + (left == 1 ? ' minute' : ' minutes') + ' left'\n        const steps = { fetch: 'Preparing', packages: 'Preparing', compile: 'Building', sign: 'Signing', upload: 'Sending' }\n        const verb = b.waiting ? '' : (b.phase == 'queued' || b.phase == 'starting' ? 'Starting' : (steps[b.step] || 'Building'))\n        const title = b.waiting ? 'Your ' + os(b.os) + ' app is waiting in line' : verb + ' your ' + os(b.os) + ' app'\n        const detail = b.waiting ? (b.queueLine || 'It starts as soon as a build machine is free') : (verb == 'Starting' ? 'Getting a build machine ready' : (verb == 'Sending' ? (b.os == 'android' ? 'To Google Play testing' : 'To TestFlight') : about))\n        return { key: '/builds/' + b.id, title: title, detail: detail, status: b.waiting ? 'queued' : 'running' }\n      })\n      //  the same words as the build lists, so one build never reads 'Failed' there and 'Stopped' here\n      const words = { completed: 'Completed', failed: 'Failed', cancelled: 'Canceled', canceled: 'Canceled' }\n      const states = { completed: 'done', failed: 'failed', cancelled: 'cancelled', canceled: 'cancelled' }\n      const finished = ['ios', 'android'].map(o => dsx.variable.own.find(x => x.os == o &amp;&amp; x.status != 'building')).filter(b => b != null &amp;&amp; b.id != named)\n        .map(b => ({ key: '/builds/' + b.id, title: os(b.os) + ' build', detail: words[b.status] || '', status: states[b.status] || 'pending' }))\n      const r = dsx.variable.subs[0]\n      const store = r == null ? '' : (r.os == 'android' ? 'Google Play' : 'App Store')\n      //  a review the next step already names is said there too\n      const reviewNamed = j != null &amp;&amp; (j.id == 'review' || j.id == 'rejected')\n      const review = r == null || reviewNamed ? [] : [{ key: '/submissions/' + r.id, title: store + ' review', detail: r.status == 'building' ? 'Waiting for review' : (r.status == 'failed' ? 'Changes asked for' : 'Approved'),\n        status: r.status == 'building' ? 'running' : (r.status == 'failed' ? 'failed' : 'done') }]\n      const out = running.concat(finished, review).slice(0, 4)\n      return out\n    ","computed":true},{"as":"storeRows","body":"\n      return dsx.variable.liveRows.map(l => {\n        const link = dsx.variable.storeLinks.find(x => x.id == l.id)\n        return { key: l.id, title: l.id == 'ios' ? 'App Store' : 'Google Play', icon: l.id == 'ios' ? 'appstore.logo' : 'google.play.logo',\n          value: String(l.label || '').replace(/^(iOS|Android) /, ''), url: link == null ? '' : link.url }\n      })\n    ","computed":true},{"as":"ringTone","body":"\n      const j = dsx.variable.journey\n      return j == null ? 'accent' : (j.id == 'live' ? 'success' : (j.tone == 'danger' ? 'danger' : 'accent'))\n    ","computed":true},{"as":"stateWords","body":"\n      const j = dsx.variable.journey\n      if (j == null) { return '' }\n      if (j.id == 'live') { return 'Live in the stores' }\n      return ['', 'Make it', 'Connect the stores', 'Test it', 'Publish'][j.stage] + ': ' + j.title\n    ","computed":true},{"as":"storeLinks","body":"\n      const j = dsx.variable.journey\n      if (j == null || j.id != 'live') { return [] }\n      const ids = dsx.variable.liveRows.map(l => l.id)\n      const apple = String(dsx.attribute.appleAppId || '').replace(/^id/, '')\n      const pkg = String(dsx.attribute.androidId || '')\n      return [\n        ids.includes('ios') &amp;&amp; apple != '' ? { id: 'ios', label: 'App Store', url: 'https://apps.apple.com/app/id' + apple } : null,\n        ids.includes('android') &amp;&amp; pkg != '' ? { id: 'android', label: 'Google Play', url: 'https://play.google.com/store/apps/details?id=' + encodeURIComponent(pkg) } : null\n      ].filter(x => x != null)\n    ","computed":true},{"as":"stateKey","body":"return dsx.variable.journey == null ? '' : dsx.variable.journey.id + '|' + dsx.variable.stateWords","computed":true}],"formulas":[],"actions":[{"as":"go","inputs":{"to":"dsx.this.to"},"body":"\n      if (to == null || to == '') { return }\n      if (to == 'build') { dsx.event('build'); return }\n      if (to == 'publish') { dsx.event('publish'); return }\n      if (to == 'cancel') { await dsx.action.cancel(); return }\n      if (to == 'rebuild' || to == 'fix-rebuild') { const j = dsx.variable.journey; dsx.event('rebuild', { os: j.os || 'ios', of: j.buildId || '', fix: to == 'fix-rebuild' }); return }\n      if (to == 'first-build-fix') { dsx.event('firstBuildFix', { target: dsx.attribute.firstBuild == null ? 'retry' : dsx.attribute.firstBuild.target }); return }\n      if (to == 'copilot') { dsx.event('copilot'); return }\n      dsx.module.route.push({ path: to.startsWith('/') ? to : dsx.variable.base + '/' + to })\n    "},{"as":"toggle","inputs":{"stage":"dsx.this.stage"},"body":"\n      const j = dsx.variable.journey\n      const keys = ['make', 'connect', 'test', 'publish']\n      const now = dsx.variable.opened[stage] == null ? (j == null ? 1 : j.stage) == keys.indexOf(stage) + 1 : dsx.variable.opened[stage] === true\n      dsx.variable.opened = { ...dsx.variable.opened, [stage]: !now }\n    "},{"as":"row","inputs":{"kind":"dsx.this.kind","stage":"dsx.this.stage","go":"dsx.this.go"},"body":"\n      if (kind == 'stage') { await dsx.action.toggle({ stage: stage }); return }\n      await dsx.action.go({ to: go })\n    "},{"as":"cancel","inputs":{},"body":"\n      const j = dsx.variable.journey\n      if (j == null || !j.buildId) { return }\n      const r = await dsx.module.convertdata.cancelBuild({ id: j.buildId })\n      if (!r.ok) { dsx.module.toast.show({ title: 'The build did not stop', message: r.message || 'Try again in a moment.' }); return }\n      dsx.module.toast.show({ title: 'Build cancelled', message: r.data.refunded ? 'Your credits were given back.' : '' })\n      dsx.event('changed')\n    "},{"as":"announce","inputs":{},"body":"\n      const j = dsx.variable.journey\n      dsx.event('state', { id: j == null ? '' : j.id, stage: j == null ? 0 : j.stage, tone: j == null ? '' : j.tone, running: j != null &amp;&amp; j.spinner == true, words: dsx.variable.stateWords, title: j == null ? '' : j.title, action: j == null ? '' : j.action, go: j == null ? '' : j.go, next: dsx.variable.setup == null || !dsx.variable.setupOpen ? null : (dsx.variable.setup.next || null) })\n    "}],"watches":[{"value":"dsx.variable.stateKey","handler":"dsx.action.announce()","immediate":true}],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"app-journey-root"},"children":[{"tag":"Card","attrs":{"class":"app-journey","visible-if":"!dsx.variable.panel"},"children":[{"tag":"stack","attrs":{"class":"app-journey-hero","__css":"c19"},"children":[{"tag":"Timeline","attrs":{"class":"dsx-timeline-horizontal app-journey-stages","bind":"{{ dsx.variable.stages }}","clickable":"true","expand":"current","aria-label":"Your app’s progress","on:select":"dsx.action.go({ to: dsx.variable.stageGo[dsx.this.key] })"},"children":[],"text":"","reactive":true,"nid":3}],"text":"\n      \n    ","reactive":true,"nid":2},{"tag":"stack","attrs":{"class":"app-journey-lead","visible-if":"dsx.variable.journey != null","__css":"c20"},"children":[{"tag":"text","attrs":{"type":"headline","value":"{{ dsx.variable.journey.title }}","role":"heading","__css":"c21"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"text","attrs":{"value":"{{ dsx.variable.journey.reason }}","__css":"c22"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"hstack","attrs":{"class":"app-journey-actions","visible-if":"dsx.variable.journey.action != '' || dsx.variable.quietLink.label != '' || dsx.variable.storeLinks.length > 0","__steers":"1","__css":"c23"},"children":[{"tag":"button","attrs":{"variant":"prominent","icon":"{{ dsx.variable.actionIcon }}","label":"{{ dsx.variable.journey.action }}","visible-if":"dsx.variable.journey.action != ''","on:tap":"dsx.action.go({ to: dsx.variable.journey.go })"},"children":[],"text":"","reactive":true,"nid":8},{"tag":"button","attrs":{"variant":"bordered","label":"{{ dsx.variable.quietLink.label }}","visible-if":"dsx.variable.quietLink.label != ''","disabled-if":"dsx.action.cancel.pending","on:tap":"dsx.action.go({ to: dsx.variable.quietLink.go })"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"button","attrs":{"class":"app-journey-external","variant":"bordered","repeat":"dsx.variable.storeLinks","key":"id","icon":"arrow.up.right","label":"{{ dsx.this.label }}","on:tap":"dsx.module.browser.open({ url: dsx.this.url })","__row":"1"},"children":[],"text":"","reactive":true,"nid":10}],"text":"\n        \n        \n        \n      ","reactive":true,"nid":7},{"tag":"text","attrs":{"value":"{{ dsx.variable.fixedNote }}","visible-if":"dsx.variable.fixedNote != '' && dsx.variable.journey.tone != 'danger'","__css":"c24"},"children":[],"text":"","reactive":true,"nid":11}],"text":"\n      \n      \n      \n      \n      \n      \n      \n    ","reactive":true,"nid":4}],"text":"\n    \n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"app-journey-panel","visible-if":"dsx.variable.panel && dsx.variable.journey != null","__css":"c25"},"children":[{"tag":"hstack","attrs":{"role":"group","aria-label":"{{ dsx.variable.ringSay }}","__steers":"1","__css":"c26"},"children":[{"tag":"progress-ring","attrs":{"class":"app-journey-ring app-journey-ring-{{ dsx.variable.ringTone }}","value":"{{ dsx.variable.ringShare }}","aria-hidden":"true","__color":"var(--app-journey-ring-color)","__css":"c27"},"children":[],"text":"","reactive":true,"nid":14},{"tag":"stack","attrs":{"__css":"c28"},"children":[{"tag":"text","attrs":{"type":"headline","value":"{{ dsx.variable.ringTitle }}"},"children":[],"text":"","reactive":true,"nid":16},{"tag":"text","attrs":{"value":"{{ dsx.variable.ringLine }}","__css":"c7"},"children":[],"text":"","reactive":true,"nid":17}],"text":"\n        \n        \n      ","reactive":true,"nid":15}],"text":"\n      \n      \n    ","reactive":true,"nid":13},{"tag":"stack","attrs":{"visible-if":"!dsx.variable.onHome && !dsx.variable.isLive","__css":"c29"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.variable.journey.title }}","role":"heading","__css":"c30"},"children":[],"text":"","reactive":true,"nid":19},{"tag":"text","attrs":{"value":"{{ dsx.variable.journey.reason }}","__css":"c31"},"children":[],"text":"","reactive":true,"nid":20},{"tag":"hstack","attrs":{"class":"app-journey-panel-buttons","visible-if":"dsx.variable.journey.action != '' || dsx.variable.quietLink.label != ''","__css":"c32"},"children":[{"tag":"button","attrs":{"variant":"prominent","icon":"{{ dsx.variable.actionIcon }}","label":"{{ dsx.variable.journey.action }}","visible-if":"dsx.variable.journey.action != ''","on:tap":"dsx.action.go({ to: dsx.variable.journey.go })","__css":"c33"},"children":[],"text":"","reactive":true,"nid":22},{"tag":"button","attrs":{"variant":"bordered","label":"{{ dsx.variable.quietLink.label }}","visible-if":"dsx.variable.quietLink.label != ''","disabled-if":"dsx.action.cancel.pending","on:tap":"dsx.action.go({ to: dsx.variable.quietLink.go })","__css":"c33"},"children":[],"text":"","reactive":true,"nid":23}],"text":"\n        \n        \n      ","reactive":true,"nid":21}],"text":"\n      \n      \n      \n    ","reactive":true,"nid":18},{"tag":"stack","attrs":{"visible-if":"dsx.variable.isLive && !dsx.variable.onHome","__css":"c34"},"children":[{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.storeRows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.storeRows","key":"key","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","value":"{{ dsx.this.value }}","href":"{{ dsx.this.url }}","tappable":"{{ dsx.this.url != '' }}"},"children":[],"text":"","reactive":true,"nid":26}],"text":"\n        \n      ","reactive":true,"nid":25},{"tag":"button","attrs":{"variant":"prominent","icon":"arrow.up.circle","label":"Publish Update","visible-if":"!dsx.variable.onHome","on:tap":"dsx.action.go({ to: 'publish' })"},"children":[],"text":"","reactive":true,"nid":27}],"text":"\n      \n      \n    ","reactive":true,"nid":24},{"tag":"ListGroup","attrs":{"header":"Your steps","visible-if":"!dsx.variable.isLive"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.panelRows","key":"key","class":"app-journey-row app-journey-row-{{ dsx.this.kind }}","status":"{{ dsx.this.status }}","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","value":"{{ dsx.this.value }}","value-icon":"{{ dsx.this.valueIcon }}","chevron":"{{ dsx.this.kind == 'step' }}","tappable":"true","on:tap":"dsx.action.row({ kind: dsx.this.kind, stage: dsx.this.stage, go: dsx.this.go })"},"children":[],"text":"","reactive":true,"nid":29}],"text":"\n      \n    ","reactive":true,"nid":28},{"tag":"ListGroup","attrs":{"header":"Activity","visible-if":"dsx.variable.activity.length > 0 && !dsx.variable.onHome"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.activity","key":"key","status":"{{ dsx.this.status }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.detail }}","chevron":"true","tappable":"true","on:tap":"dsx.action.go({ to: dsx.this.key })"},"children":[],"text":"","reactive":true,"nid":31}],"text":"\n      \n    ","reactive":true,"nid":30}],"text":"\n    \n\n    \n    \n\n    \n    \n\n    \n    \n\n    \n  ","reactive":true,"nid":12}],"text":"\n  \n\n  \n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.AppRow":{"name":"AppRow","scheme":"platform","head":{"attributes":[{"as":"app","default":"null"},{"as":"checked","default":"''"},{"as":"chevron","default":"''"}],"apis":[],"expects":[],"events":[{"as":"tap","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"id","body":"return dsx.attribute.app == null ? '' : String(dsx.attribute.app.id || '')","computed":true},{"as":"name","body":"return dsx.attribute.app == null ? '' : String(dsx.attribute.app.name || '')","computed":true},{"as":"icon","body":"return dsx.attribute.app == null ? '' : String(dsx.attribute.app.icon || '')","computed":true},{"as":"idLine","body":"\n      const ios = dsx.attribute.app == null ? '' : String(dsx.attribute.app.iosId || '')\n      const android = dsx.attribute.app == null ? '' : String(dsx.attribute.app.androidId || '')\n      if (ios == '' &amp;&amp; android == '') { return 'No identifier yet' }\n      return ios == android ? ios : [ios, android].filter(x => x != '').join(' · ')\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"SettingsRow","attrs":{"title":"{{ dsx.variable.name }}","subtitle":"{{ dsx.variable.idLine }}","checked":"{{ dsx.attribute.checked }}","chevron":"{{ dsx.attribute.chevron }}","tappable":"true","on:tap":"dsx.event('tap', { id: dsx.variable.id })"},"children":[{"tag":"IconTile","attrs":{"slot":"leading","src":"{{ dsx.variable.icon }}","name":"{{ dsx.variable.name }}"},"children":[],"text":"","reactive":true}],"text":"\n  \n  \n","reactive":true},"reactive":true,"language":"1"},"platform.AskDespia":{"name":"AskDespia","scheme":"platform","head":{"attributes":[{"as":"project-id","default":"''"},{"as":"journey"},{"as":"page-scope","default":"''"},{"as":"page-name","default":"''"},{"as":"mode","default":"'chat'"},{"as":"back","default":"true"},{"as":"closable","default":"true"},{"as":"bar","default":"true"},{"as":"shown","default":"true"}],"apis":[],"expects":[],"events":[{"as":"open","payload":[]},{"as":"back","payload":[]},{"as":"navigate","payload":["path"]},{"as":"changed","payload":[]},{"as":"close","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"openTools","body":"return []","computed":false},{"as":"openSteps","body":"return []","computed":false},{"as":"chosen","body":"return {}","computed":false},{"as":"installOpen","body":"return false","computed":false},{"as":"installCard","body":"return ''","computed":false},{"as":"attachError","body":"return ''","computed":false},{"as":"namePick","body":"return ''","computed":false},{"as":"iconPicks","body":"return {}","computed":false},{"as":"iconPrompt","body":"return ''","computed":false},{"as":"iconInspiration","body":"return []","computed":false},{"as":"iconRights","body":"return false","computed":false},{"as":"diffOpen","body":"return {}","computed":false},{"as":"openFields","body":"return []","computed":false},{"as":"browser","body":"return null","computed":false},{"as":"linkCopied","body":"return false","computed":false},{"as":"copied","body":"return {}","computed":false},{"as":"retried","body":"return {}","computed":false},{"as":"confirmedOnce","body":"return {}","computed":false},{"as":"panelView","body":"return 'main'","computed":false},{"as":"threadOpen","body":"return ''","computed":false},{"as":"threads","body":"return []","computed":false},{"as":"intake","body":"return null","computed":false},{"as":"deepLinked","body":"return false","computed":false},{"as":"picks","body":"return {}","computed":false},{"as":"starters","body":"return []","computed":false},{"as":"apps","body":"return []","computed":false},{"as":"handCards","body":"return {}","computed":false},{"as":"live","body":"return false","computed":false},{"as":"starterScope","body":"return String(dsx.attribute.pageScope || '') != '' ? String(dsx.attribute.pageScope) : String(dsx.attribute.projectId)","computed":true},{"as":"switchTo","body":"\n      const page = String(dsx.attribute.pageScope || '')\n      if (page == '' || page.startsWith('workspace:') || page.startsWith('v3:') || page == String(dsx.attribute.projectId)) { return '' }\n      return String(dsx.attribute.pageName || '') != '' ? String(dsx.attribute.pageName) : 'This App'\n    ","computed":true},{"as":"form","body":"return dsx.attribute.mode == 'entry' ? 'entry' : 'chat'","computed":true},{"as":"threadsUnread","body":"return dsx.variable.threads.filter(t => t.unread &gt; 0).length","computed":true},{"as":"activeUpdate","body":"return dsx.variable.threads.find(t => t.staffUnread &gt; 0 &amp;&amp; t.status != 'resolved') || null","computed":true},{"as":"asking","body":"return dsx.variable.intake != null &amp;&amp; dsx.variable.intake.phase == 'asking'","computed":true},{"as":"intakeRows","body":"return dsx.variable.intake == null ? [] : dsx.variable.intake.rows","computed":true},{"as":"closable","body":"return !(dsx.attribute.closable === false || dsx.attribute.closable === 'false')","computed":true},{"as":"showBar","body":"return !(dsx.attribute.bar === false || dsx.attribute.bar === 'false')","computed":true},{"as":"state","body":"\n      const c = dsx.module.convertdata.context.copilot\n      return c != null &amp;&amp; c.projectId == dsx.attribute.projectId ? c : null\n    ","computed":true},{"as":"open","body":"\n      const r = dsx.module.convertdata.context.rollout\n      const a = r == null || r.areas == null ? null : r.areas['setup-copilot']\n      return a == null || a.open === true\n    ","computed":true},{"as":"gate","body":"\n      if (!dsx.variable.open) { return 'soon' }\n      return dsx.variable.state == null || dsx.variable.state.gate == 'loading' ? '' : dsx.variable.state.gate\n    ","computed":true},{"as":"restoring","body":"return dsx.variable.state == null || dsx.variable.state.gate == 'loading'","computed":true},{"as":"thread","body":"return dsx.variable.state == null ? [] : dsx.variable.state.thread","computed":true},{"as":"streaming","body":"return dsx.variable.state != null &amp;&amp; dsx.variable.state.streaming","computed":true},{"as":"held","body":"return dsx.variable.state == null ? [] : dsx.variable.state.files","computed":true},{"as":"studio","body":"\n      const s = dsx.variable.state\n      return s != null &amp;&amp; s.status != null &amp;&amp; s.status.storeStudio === true &amp;&amp; !String(dsx.attribute.projectId).startsWith('workspace:')\n    ","computed":true},{"as":"dropping","body":"return dsx.variable.studio &amp;&amp; dsx.variable.state.dropping === true","computed":true},{"as":"attachments","body":"return dsx.variable.held.filter(f => f.image !== true).map(f => ({ id: f.ref, name: f.name, size: f.size }))","computed":true},{"as":"thumbs","body":"return dsx.variable.held.filter(f => f.image === true &amp;&amp; f.url != '').map(f => ({ ref: f.ref, url: f.url, label: f.label != '' ? f.label : f.name }))","computed":true},{"as":"fileProblem","body":"\n      if (dsx.variable.attachError != '') { return dsx.variable.attachError }\n      return dsx.variable.studio &amp;&amp; dsx.variable.state.fileError ? dsx.variable.state.fileError : ''\n    ","computed":true},{"as":"appConversation","body":"return String(dsx.attribute.projectId || '') != '' &amp;&amp; !String(dsx.attribute.projectId).startsWith('workspace:')","computed":true},{"as":"helpingLine","body":"\n      const s = dsx.variable.state == null || dsx.variable.state.status == null ? null : dsx.variable.state.status.helpingLine\n      if (s != null) { return s }\n      const id = String(dsx.attribute.projectId)\n      return id != '' &amp;&amp; !id.startsWith('workspace:') &amp;&amp; id == String(dsx.attribute.pageScope) ? String(dsx.attribute.pageName || '') : ''\n    ","computed":true},{"as":"chipsOn","body":"return !dsx.variable.empty &amp;&amp; !dsx.variable.streaming &amp;&amp; !dsx.variable.asking &amp;&amp; dsx.variable.draft == '' &amp;&amp; dsx.variable.starters.length &gt; 0","computed":true},{"as":"empty","body":"return dsx.variable.thread.length == 0","computed":true},{"as":"helloShown","body":"return !dsx.variable.restoring &amp;&amp; dsx.variable.empty &amp;&amp; dsx.variable.intakeRows.length == 0 &amp;&amp; dsx.variable.gate == ''","computed":true},{"as":"voiceOn","body":"\n      const s = dsx.variable.state\n      return s != null &amp;&amp; s.status != null &amp;&amp; s.status.voice === true &amp;&amp; !String(dsx.attribute.projectId).startsWith('workspace:')\n    ","computed":true},{"as":"voice","body":"return dsx.variable.state == null || dsx.variable.state.voice == null ? null : dsx.variable.state.voice","computed":true},{"as":"recording","body":"return dsx.variable.voice != null &amp;&amp; dsx.variable.voice.state == 'recording'","computed":true},{"as":"level","body":"return dsx.variable.recording ? Number(dsx.variable.voice.level || 0) : 0","computed":true},{"as":"elapsed","body":"return dsx.variable.recording ? Math.floor(Number(dsx.variable.voice.elapsed || 0)) : 0","computed":true},{"as":"voiceState","body":"return dsx.variable.voice == null ? '' : dsx.variable.voice.state","computed":true},{"as":"voiceLine","body":"return dsx.variable.voice == null ? '' : dsx.variable.voice.message","computed":true},{"as":"draft","body":"return dsx.variable.state == null || dsx.variable.state.draft == null ? '' : dsx.variable.state.draft","computed":true},{"as":"disclosure","body":"\n      const c = dsx.module.convertdata.context.agentCopy\n      return c == null ? null : { footnote: String(c.footnote || ''), link: String(c.footnoteLink || ''), href: String(c.footnoteHref || '') }\n    ","computed":true},{"as":"suggestions","body":"\n      if (dsx.variable.starters.length &gt; 0) { return dsx.variable.starters }\n      const s = dsx.variable.state == null || dsx.variable.state.status == null ? [] : dsx.variable.state.status.suggestions\n      const j = dsx.attribute.journey\n      const next = j != null &amp;&amp; j.title &amp;&amp; j.id != 'live' ? [{ key: 'j', label: j.title, prompt: 'Help me with this: ' + j.title }] : []\n      const rest = s.length &gt; 0 ? s.map((x, i) => ({ key: 's' + i, label: x.label, prompt: x.prompt }))\n        : [{ key: 'a', label: 'Set up my app', prompt: 'Set up my app for the App Store and Google Play.' }, { key: 'b', label: 'Why did my last build fail?', prompt: 'Why did my last build fail?' }, { key: 'c', label: 'What is left before I can publish?', prompt: 'What is left before I can publish?' }]\n      return next.concat(rest.filter(x => next.length == 0 || x.label != next[0].label)).slice(0, 3)\n    ","computed":true},{"as":"rows","body":"\n      const out = []\n      const thread = dsx.variable.thread\n      let lastAt = 0\n      for (let i = 0; i &lt; thread.length; i++) {\n        const m = thread[i]\n        //  the time, centred, the iMessage way: before the first message and after a quiet gap of 15 minutes, never on every bubble\n        if (m.at &gt; 0 &amp;&amp; (lastAt == 0 || m.at - lastAt &gt; 900000)) { out.push({ key: m.key + '.time', type: 'time', text: m.atLabel || '' }) }\n        if (m.at &gt; 0) { lastAt = m.at }\n        if (m.role == 'user') { out.push({ key: m.key, type: 'user', text: m.text, files: m.files || [], voiced: m.voiced === true }); continue }\n        const pointed = []\n        for (const b of m.blocks) {\n          if (b.type != 'card') { continue }\n          if (b.card.action != null &amp;&amp; b.card.action.cardId) { pointed.push(b.card.action.cardId) }\n          if (b.card.after != null &amp;&amp; b.card.after.cardId) { pointed.push(b.card.after.cardId) }\n          if (b.card.kind == 'actions') { for (const x of b.card.buttons) { pointed.push(x.cardId) } }\n          if (b.card.kind == 'confirm' &amp;&amp; b.card.attachedTo) { pointed.push(b.card.id) }\n        }\n        //  once a turn is done: the reads first, then Despia's words, the pictures that explain them, then the cards those words\n        //  introduce (the words arrive last)\n        const ordered = !m.done ? m.blocks : m.blocks.filter(b => b.type == 'tool').concat(m.blocks.filter(b => b.type == 'text'), m.blocks.filter(b => b.type == 'visual'), m.blocks.filter(b => b.type == 'card'))\n        //  THE WORK, the way an answer is written live: one head line leads the turn, Agent's mark with three soft dots, or the\n        //  step at work in its words; once done it reads \"Checked 3 things\" and opens the steps under it. One line all along, so\n        //  nothing in the thread jumps when the work folds away.\n        const tools = m.blocks.filter(b => b.type == 'tool')\n        const stepsOpen = dsx.variable.openSteps.includes(m.key)\n        if (!m.done &amp;&amp; m.error == null) {\n          const working = tools.filter(x => x.state == 'running')\n          out.push({ key: m.key + '.head', type: 'thinking', label: working.length == 0 ? '' : working[working.length - 1].label })\n        }\n        else if (tools.length &gt; 0) {\n          const failed = tools.filter(x => x.state == 'failed').length\n          const n = tools.length\n          const said = 'Checked ' + (n == 1 ? 'one thing' : n + ' things') + (failed == 0 ? '' : (failed == 1 ? ', one didn’t finish' : ', ' + failed + ' didn’t finish'))\n          out.push({ key: m.key + '.head', type: 'steps', turn: m.key, open: stepsOpen, label: said, failed: failed &gt; 0 })\n        }\n        //  one card per thing: a card the model drew twice in one turn is drawn once\n        const seenCards = []\n        for (const b of ordered) {\n          if (b.type == 'card' &amp;&amp; ['step', 'steps', 'integration', 'link'].includes(b.card.kind)) {\n            const sig = b.card.kind + '|' + (b.card.title || '') + '|' + (b.card.stepId || b.card.store || b.card.path || b.card.url || '')\n            if (seenCards.includes(sig)) { continue }\n            seenCards.push(sig)\n          }\n          if (b.type == 'text') {\n            //  the paragraph being written is drawn word by word, so each new word fades in where it lands (nothing reflows); once\n            //  settled it is one text again, which assistive tech and the page's own text read (a label on a plain box is not read)\n            const words = b.streaming === true ? b.text.split(/\\s+/).filter(x => x != '').map((x, n) => ({ id: 'w' + n, w: x })) : []\n            out.push({ key: b.key, type: 'text', text: b.text, words: words, streamed: words.length &gt; 0 })\n            continue\n          }\n          //  a card's place, never taller than the card: a compact card's is one line, and a confirm another card's button runs\n          //  (drawn on that card) has none\n          if (b.type == 'skeleton') {\n            if (!pointed.includes(b.id)) { out.push({ key: b.key, type: 'skeleton', kind: b.kind, compact: ['integration', 'step', 'steps', 'link', 'actions'].includes(b.kind) }) }\n            continue\n          }\n          if (b.type == 'visual') { out.push({ key: b.key, type: 'visual', block: b.block }); continue }\n          if (b.type == 'tool') {\n            if (!stepsOpen) { continue }\n            const opened = dsx.variable.openTools.includes(b.key)\n            const took = b.durationMs &gt; 0 ? (b.durationMs &lt; 1000 ? Math.round(b.durationMs) + ' ms' : (Math.round(b.durationMs / 100) / 10) + ' s') : ''\n            const said = b.state == 'running' ? ', running' : (b.state == 'failed' ? ', did not finish' : ', done')\n            out.push({ key: b.key, type: 'tool', label: b.label, state: b.state, detail: opened ? b.summary : '', took: opened ? took : '', hasMore: b.summary != '', say: b.label + said })\n            continue\n          }\n          const c = b.card\n          if (c.kind == 'confirm' &amp;&amp; pointed.includes(c.id) &amp;&amp; b.revealed !== true) { continue }\n          const row = { key: b.key, type: 'card', kind: c.kind, card: c, outcome: b.outcome, note: b.note }\n          if (c.kind == 'confirm') {\n            //  Use as Icon: the person's own image goes up only under the rights tick\n            row.rightsAsk = c.perform != null &amp;&amp; c.perform.type == 'flow' &amp;&amp; c.perform.flow == 'set-icon' &amp;&amp; b.outcome == ''\n            //  a screenshot drawn at its own shape: a phone's tall one, a tablet's, or a wide one\n            const p = c.preview\n            const r = p == null ? 0 : p.height / p.width\n            row.preview = p == null ? '' : p.url\n            row.previewShape = r &gt; 1.9 ? 'tall' : (r &gt; 1.15 ? 'portrait' : (r &gt; 0.87 ? 'square' : 'wide'))\n            //  fitted: the person's own image beside the copy made for the store\n            const bf = c.before\n            const br2 = bf == null ? 0 : bf.height / bf.width\n            row.before = bf == null ? '' : bf.url\n            row.beforeShape = br2 &gt; 1.9 ? 'tall' : (br2 &gt; 1.15 ? 'portrait' : (br2 &gt; 0.87 ? 'square' : 'wide'))\n            row.warnings = (c.warnings || []).map((w, n) => ({ id: 'w' + n, text: w }))\n            //  the publish card: what changes in the store, by language, the first few until Show All\n            const d = c.diff\n            const all = d == null ? [] : d.text.map((x, n) => ({ id: 't' + n, locale: x.locale, language: x.language, kind: 'text', label: x.label, from: x.from == null ? '' : x.from, isNew: x.from == null, to: x.to, line: '' }))\n              .concat(d.screenshots.map((x, n) => ({ id: 's' + n, locale: x.locale, language: x.language, kind: 'shot', label: '', from: '', isNew: false, to: '', line: x.line })))\n            const cap = 5\n            const opened = dsx.variable.diffOpen[b.key] === true\n            const shown = opened ? all : all.slice(0, cap)\n            const tags = shown.map(x => x.locale).filter((l, n, a) => a.indexOf(l) == n)\n            row.diffGroups = tags.map(l => ({ locale: l, name: shown.find(x => x.locale == l).language, rows: shown.filter(x => x.locale == l) }))\n            row.diffMore = !opened &amp;&amp; all.length &gt; cap\n          }\n          if (c.kind == 'listing') {\n            //  ONE LISTING CARD per turn: every store and language Agent wrote lands in it, a section each, so one tap applies the\n            //  whole draft; long text shows whole sentences until Show All (never cut with an ellipsis)\n            //  the first listing card of the turn draws them all; the others are already in it\n            const listings = ordered.filter(x =&gt; x.type == 'card' &amp;&amp; x.card.kind == 'listing')\n            if (listings[0].key != b.key) { continue }\n            row.sections = listings.map(x =&gt; listingSection(x, dsx.variable.openFields))\n            row.keys = listings.map(x =&gt; x.key)\n            const sm = listingSummary(row.sections, row.card)\n            row.many = sm.many\n            row.headTitle = sm.headTitle\n            row.headBody = sm.headBody\n            row.allOutcome = sm.allOutcome\n            row.failNote = sm.failNote\n            row.doneNote = sm.doneNote\n            row.applyLabel = sm.applyLabel\n          }\n          if (c.kind == 'fact-check') {\n            //  each claim with its verdict mark (true = done, not true = failed, can't confirm = upcoming) and the evidence under it\n            row.verdictRows = c.rows.map(r => ({ id: r.id, title: r.claim, status: r.verdict == 'true' ? 'done' : (r.verdict == 'not_true' ? 'failed' : 'upcoming'),\n              badge: r.label, role: r.verdict == 'true' ? 'success' : (r.verdict == 'not_true' ? 'danger' : 'info'),\n              subtitle: r.why + (r.evidence.length &gt; 0 ? ' Evidence: ' + r.evidence.map(e => e.label + ', ' + e.detail).join('; ') + '.' : '') }))\n            const n = (w) => c.rows.filter(r => r.verdict == w).length\n            row.countLine = [n('not_true') &gt; 0 ? n('not_true') + ' not true' : '', n('true') &gt; 0 ? n('true') + ' true' : '', n('cant_confirm') &gt; 0 ? n('cant_confirm') + \" can't confirm\" : ''].filter(x => x != '').join(', ') + '. Checked against your build and your live app.'\n            row.rcTitle = c.rootCause == null ? '' : c.rootCause.title\n            row.rcCause = c.rootCause == null ? '' : c.rootCause.cause + (c.rootCause.evidence != '' ? ' Seen on your app: ' + c.rootCause.evidence + '.' : '')\n            row.rcFix = c.rootCause == null ? '' : c.rootCause.resolution\n          }\n          if (c.kind == 'voice-ask') { row.last = i == thread.length - 1 }\n          if (c.kind == 'connect.apple' || c.kind == 'connect.googlePlay' || c.kind == 'connect.extension' || c.kind == 'connect.github') { row.connectStore = c.kind.slice(8) == 'googlePlay' ? 'google' : c.kind.slice(8) }\n          if (c.kind == 'growth-plan') { row.planRows = c.steps.map(x => ({ id: x.id, title: x.title, subtitle: x.body })) }\n          if (c.kind == 'actions') {\n            row.buttons = c.buttons.map((button, n) => {\n              const target = thread.flatMap(turn => turn.blocks || []).find(block => block.type == 'card' &amp;&amp; block.card.id == button.cardId)\n              const p = target == null || target.card.perform == null ? {} : target.card.perform\n              //  a button that carries a message (a check-in's options) says it, like a suggestion; one with a cardId runs that card\n              return { ...button, key: button.cardId || ('say' + n), cardId: button.cardId || '', message: button.message || '', external: p.type == 'flow' &amp;&amp; (p.flow == 'extension-install' || p.flow == 'extension-pair') }\n            })\n          }\n          if (c.kind == 'screenshot-design') {\n            //  the change list the service made from the patch, and the rendered before and after of each changed slide\n            row.changeRows = c.changes.map((x, n) => ({ id: 'c' + n, title: x.label, subtitle: x.before != '' || x.after != '' ? x.before + ' to ' + x.after : '' }))\n            row.pairs = c.images.map((x, n) => ({ id: 'p' + n, before: x.beforeUrl, after: x.afterUrl, ok: x.ok, issue: x.issues.length &gt; 0 ? x.issues[0] : '', label: 'Slide ' + x.slide }))\n            row.waiting = c.images.length == 0\n          }\n          if (c.kind == 'missing') { row.locales = c.locales.map(l => ({ tag: l.tag, name: l.name })) }\n          if (c.kind == 'lint') { row.issues = c.issues.map((x, n) => ({ id: 'i' + n, message: x.message, error: x.severity == 'error' })) }\n          if (c.kind == 'names') { row.optionValues = c.options.map(o => o.value) }\n          //  THE ICON STUDIO: the service's previews; a round's candidates and the choices are tiles to pick from\n          if (c.kind == 'icon-save' || c.kind == 'icon-generate') { row.primary = b.outcome == '' || b.outcome == 'running' ? c.confirmLabel : '' }\n          if (c.kind == 'icon-generate' || c.kind == 'icon-choices') {\n            const picked = dsx.variable.iconPicks[b.key] || ''\n            const from = c.kind == 'icon-generate' ? c.made.map((x, n) => ({ ref: x.ref, image: x.image, label: 'New icon ' + (n + 1) })) : c.options.map(o => ({ ref: o.value, image: o.image, label: o.label }))\n            row.tiles = from.filter(x => x.image != '').map(x => ({ ref: x.ref, image: x.image, label: x.label, rowKey: b.key, on: picked == x.ref }))\n            row.picked = picked\n            row.pickedLabel = (from.find(x => x.ref == picked) || { label: '' }).label\n          }\n          if (c.kind == 'icon-generate') {\n            const editor = c.editorPath != '' ? c.editorPath : '/apps/' + dsx.attribute.projectId + '/settings?open=icon'\n            row.openPath = row.picked == '' ? '' : editor + '&amp;mark=' + encodeURIComponent(row.picked)\n          }\n          if (c.kind == 'icon-choices') {\n            row.chosenLabel = dsx.variable.chosen[b.key] || ''\n            row.plain = row.tiles.length &lt; c.options.length\n            row.options = c.options.map(o => ({ value: o.value, label: o.label, rowKey: b.key, on: dsx.variable.chosen[b.key] == ('Use ' + o.label) ? 'true' : 'false' }))\n          }\n          if (c.kind == 'choice') {\n            const picked = dsx.variable.chosen[b.key]\n            //  AN APP IS ALWAYS DRAWN AS THAT APP (icon or letter tile, name, bundle ID and package): an option naming one of this\n            //  workspace's apps, by its id or its name; two apps with one name are both drawn, and the answer says which\n            const chrome = dsx.module.convertdata.context.chrome\n            const known = chrome != null &amp;&amp; Array.isArray(chrome.projects) ? chrome.projects : []\n            const apps = known.concat(dsx.variable.apps.filter(a => !known.some(k => k.id == a.id)))\n            const norm = (t) => String(t == null ? '' : t).trim().toLowerCase()\n            const appsOf = (o) => {\n              const byId = apps.filter(p => p.id == o.value)\n              return byId.length &gt; 0 ? byId : apps.filter(p => norm(p.name) != '' &amp;&amp; (norm(p.name) == norm(o.value) || norm(p.name) == norm(o.label)))\n            }\n            row.options = c.options.map(o => ({ value: o.value, label: o.label, rowKey: b.key, on: picked == o.label ? 'true' : 'false' }))\n            row.plainOptions = row.options.filter(o => appsOf(o).length == 0)\n            row.appOptions = row.options.flatMap(o => {\n              const hits = appsOf(o)\n              //  the answer is the app's name, never its id; identifiers join it only when another app has the same name\n              return hits.map(a => {\n                const twin = apps.some(p => p.id != a.id &amp;&amp; norm(p.name) == norm(a.name))\n                const send = String(a.name || o.label) + (twin ? ' (' + [a.iosId, a.androidId].filter(x => x).join(', ') + ')' : '')\n                return { ...o, value: hits.length == 1 ? o.value : o.value + '|' + a.id, app: a, send: send, on: picked == send ? 'true' : 'false' }\n              })\n            })\n            //  the line just above usually asked it already: the question is drawn only when it stands alone\n            const prev = out[out.length - 1]\n            row.question = prev != null &amp;&amp; prev.type == 'text' ? '' : c.question\n          }\n          if (c.kind == 'integration' || c.kind == 'step') {\n            const target = m.blocks.find(x => x.type == 'card' &amp;&amp; c.action != null &amp;&amp; x.card.id == c.action.cardId)\n            row.actionDone = target != null &amp;&amp; target.outcome == 'done'\n            const st = row.actionDone ? 'connected' : c.state\n            row.stateIcon = st == 'connected' ? 'checkmark.circle.fill' : (st == 'failed' ? 'exclamationmark.circle.fill' : 'circle')\n          }\n          if (c.kind == 'steps') {\n            row.steps = c.steps.map(x => ({ stepId: x.stepId, title: x.title, status: { current: 'queued', todo: 'queued' }[x.status] || x.status }))\n            row.stepsLine = row.steps.filter(x => x.status == 'done').length + ' of ' + row.steps.length + ' done'\n          }\n          if (c.kind == 'step') { row.store = c.store == 'apple' || c.store == 'google' ? c.store : '' }\n          if (c.kind == 'confirm') {\n            const br = dsx.variable.browser\n            row.extension = c.action == 'install_extension' || c.action == 'pair_extension'\n            row.inline = dsx.variable.handCards[b.key] || null\n            row.extState = b.outcome == 'done' ? 'connected' : (br != null &amp;&amp; br.phone ? 'phone' : (br == null || br.chromium ? 'add' : 'other'))\n            row.primary = b.outcome == '' || b.outcome == 'running' ? c.confirmLabel : (b.outcome == 'failed' ? 'Get Help' : '')\n            const p = c.perform == null ? {} : c.perform\n            const hit = String(p.path || '').match(/\\/connect\\/(apple|google)/)\n            row.store = p.store == 'apple' || p.store == 'google' ? p.store : (hit != null ? hit[1] : (c.action == 'create_store_app' ? (/google|play/i.test(c.title) ? 'google' : 'apple') : ''))\n            row.submission = p.type == 'navigate' &amp;&amp; p.path == '/apps/' + encodeURIComponent(dsx.attribute.projectId) + '/submissions'\n            //  a build or a store submission runs once per tap: a second tap while it starts sends nothing more\n            row.once = row.submission || (p.type == 'tool' &amp;&amp; (p.proposalId != null || (Array.isArray(p.calls) &amp;&amp; p.calls.some(call => call.tool == 'despia_build'))))\n            row.confirming = row.once &amp;&amp; b.outcome == '' &amp;&amp; dsx.variable.confirmedOnce[dsx.attribute.projectId + '|' + b.key] === true\n            row.submissionFacts = []\n            if (row.submission) {\n              const release = m.blocks.find(x => x.type == 'card' &amp;&amp; x.card.kind == 'release' &amp;&amp; x.card.action != null &amp;&amp; x.card.action.cardId == c.id)\n              const chrome = dsx.module.convertdata.context.chrome\n              const known = chrome != null &amp;&amp; Array.isArray(chrome.projects) ? chrome.projects : []\n              const app = known.concat(dsx.variable.apps).find(a => a.id == dsx.attribute.projectId)\n              const android = release != null ? release.card.platform == 'android' : /google|play/i.test(c.body)\n              row.store = android ? 'google' : 'apple'\n              const version = release == null ? null : release.card.facts.find(f => f.label == (android ? 'Internal testing' : 'TestFlight'))\n              row.submissionFacts = [{ id: 'app', label: 'App', value: app == null ? dsx.attribute.projectId : app.name },\n                { id: 'store', label: 'Platform', value: android ? 'Android · Google Play' : 'iOS · App Store' },\n                { id: 'version', label: 'Version', value: version == null ? 'Not available yet' : version.value }]\n              row.primary = b.outcome == '' || b.outcome == 'running' ? 'Submit' : row.primary\n            }\n          }\n          //  A FEATURE and A STORE'S RELEASE: their buttons run the confirm cards they point at, drawn on the card itself\n          if (c.kind == 'feature' || c.kind == 'release') {\n            const addId = c.action == null ? '' : c.action.cardId\n            const buildId = c.kind == 'feature' &amp;&amp; c.after != null ? c.after.cardId : ''\n            const add = addId == '' ? null : m.blocks.find(x => x.type == 'card' &amp;&amp; x.card.id == addId)\n            const build = buildId == '' ? null : m.blocks.find(x => x.type == 'card' &amp;&amp; x.card.id == buildId)\n            row.addOutcome = add == null ? (c.installed === true ? 'done' : '') : add.outcome\n            row.addNote = add == null ? '' : add.note\n            row.buildOutcome = build == null ? '' : build.outcome\n            row.buildNote = build == null ? '' : build.note\n            const adding = c.action != null &amp;&amp; (row.addOutcome == '' || row.addOutcome == 'running')\n            const building = c.kind == 'feature' &amp;&amp; c.after != null &amp;&amp; row.addOutcome == 'done' &amp;&amp; (row.buildOutcome == '' || row.buildOutcome == 'running')\n            row.primary = adding ? c.action.label : (building ? c.after.label : '')\n            row.working = row.addOutcome == 'running' || row.buildOutcome == 'running'\n            row.store = c.platform == 'android' ? 'google' : 'apple'\n            row.channelRows = c.kind == 'release' ? c.facts.map((x, n) => ({ id: 'r' + n, label: x.label, value: x.value })) : []\n            row.changeRows = c.kind == 'release' ? c.changes.map((x, n) => ({ id: 'c' + n, label: x.title, value: x.detail })) : []\n          }\n          if (c.kind == 'checkout') {\n            const lead = c.options.find(o => o.recommended)\n            const pick = dsx.variable.picks[b.key] != null ? dsx.variable.picks[b.key] : (lead == null ? '' : lead.key)\n            row.pick = pick\n            row.optionRows = c.options.map(o => ({ key: o.key, rowKey: b.key, title: o.label, subtitle: o.detail, price: o.price, on: pick == o.key ? 'true' : 'false' }))\n            row.primary = b.outcome == '' || b.outcome == 'running' || b.outcome == 'failed' ? 'Continue' : ''\n          }\n          if (c.kind == 'goodwill') {\n            const usd = c.usd &gt; 0 ? ('$' + (Number.isInteger(c.usd) ? String(c.usd) : c.usd.toFixed(2))) : ''\n            row.giftTitle = 'I’ve added ' + c.amount + ' free credits'\n            row.giftLine = (usd == '' ? 'On us.' : 'On us, about ' + usd + ' of builds.') + (c.balance == null ? '' : ' Your balance is now ' + c.balance + ' credits.')\n          }\n          if (c.kind == 'summary') { row.summaryRows = c.facts.map(x => ({ id: x.key, label: x.label, value: x.value })) }\n          if (c.kind == 'new-app') {\n            const both = c.platforms.includes('ios') &amp;&amp; c.platforms.includes('android')\n            row.lead = c.templateLine + (both || c.platforms.length == 0 ? ' for iPhone and Android' : (c.platforms.includes('ios') ? ' for iPhone' : ' for Android'))\n            row.facts = [{ id: 'address', label: 'Address', value: c.host != '' ? c.host : c.url }].concat(c.bundleId != '' ? [{ id: 'bundle', label: 'Bundle ID', value: c.bundleId }] : [])\n            row.primary = b.outcome == '' || b.outcome == 'running' ? c.confirmLabel : (b.outcome == 'failed' ? 'Try Again' : '')\n            row.settingRows = c.settings.map((x, n) => ({ id: 's' + n, label: x.label, value: x.value }))\n          }\n          if (c.kind == 'file-drop') {\n            const image = c.slot == 'icon' || c.slot == 'screenshots'\n            const key = c.slot == 'apple-key' || c.slot == 'google-key'\n            const sound = c.slot == 'sound'\n            row.fileIcon = image ? 'photo' : (key ? 'key' : (sound ? 'waveform' : 'doc'))\n            row.fileTypes = image ? ['image/png', 'image/jpeg'] : (sound ? ['audio/wav', '.wav', 'audio/aiff', '.aiff', '.aif', 'audio/x-caf', '.caf', 'audio/mpeg', '.mp3'] : [])\n            row.isKey = key\n          }\n          out.push(row)\n        }\n        if (m.error != null) { out.push({ key: m.key + '.error', type: 'error', message: m.error.message, last: i == thread.length - 1 }) }\n        else if (m.stopped) { out.push({ key: m.key + '.stopped', type: 'stopped', last: i == thread.length - 1 }) }\n        //  a lone read is already its own ticked row: the summary speaks when there is more than that to say; what waits for the\n        //  person is the card itself, never said twice\n        if (m.summary != null &amp;&amp; m.summary.did.length &gt; 1 &amp;&amp; !m.summary.did.every(d => tools.some(x => x.label == d))) {\n          out.push({ key: m.key + '.summary', type: 'summary',\n            did: m.summary.did.map((t, n) => ({ id: 'd' + n, title: t })),\n            waiting: m.summary.waiting.map((t, n) => ({ id: 'w' + n, title: t })) })\n        }\n      }\n      //  RUNS: consecutive messages from one side; the first shows who, the last carries the tail, and a run sits tight. The\n      //  turn's head line (typing, then its steps) carries Agent's mark, so the words under it continue that run.\n      const sideOf = (r) => r == null ? '' : (r.type == 'user' ? 'you' : (['text', 'thinking', 'steps'].includes(r.type) ? 'agent' : ''))\n      return out.map((r, i) => {\n        const side = sideOf(r)\n        if (side == '') { return r }\n        const before = sideOf(out[i - 1])\n        return { ...r, head: before != side, tail: sideOf(out[i + 1]) != side, run: before == side ? 'cont' : 'start' }\n      })\n    ","computed":true},{"as":"nextStep","body":"\n      const j = dsx.attribute.journey\n      if (j == null || !j.title || j.id == 'live') { return null }\n      return { title: j.title, words: j.words || '', path: '/apps/' + dsx.attribute.projectId + (j.stage == 2 ? '/store-setup' : (j.stage == 3 ? '/builds' : '')) }\n    ","computed":true},{"as":"calm","body":"\n      const g = dsx.variable.gate\n      if (g == 'soon') { return { icon: 'agent.mark', title: 'Agent is coming soon', message: 'A co-pilot that reads your setup and does the steps with you. It opens to everyone very soon.', help: false, retry: false } }\n      if (g == 'not-ready') { return { icon: 'agent.mark', title: 'Agent is getting ready', message: 'It will be here in a moment. Your next step is right here meanwhile.', help: true, retry: false } }\n      if (g == 'capped') { return { icon: 'moon', title: 'Agent is resting until tomorrow', message: \"You have used Agent's allowance for today. Your next step is still right here, and our team is one tap away.\", help: true, retry: false } }\n      if (g == 'unavailable') { return { icon: 'agent.mark', title: 'Agent is not here yet', message: 'It is coming to this console soon. Your next step is right here meanwhile.', help: false, retry: false } }\n      if (g == 'offline') { return { icon: 'wifi.slash', title: 'Despia did not answer', message: 'Check your connection, then try again.', help: false, retry: true } }\n      return null\n    ","computed":true}],"formulas":[],"actions":[{"as":"loadStarters","inputs":{},"body":"\n      const id = dsx.variable.starterScope\n      if (id == '' || id == 'workspace:' || !dsx.variable.open) { return }\n      const path = String(dsx.path || '')\n      if (id.startsWith('workspace:')) {\n        const p = await dsx.module.convertdata.projects({ shallow: true })\n        const r = await dsx.module.convertdata.agentStarters({ path: path, scope: id, apps: p.ok ? p.data.items.length : 1 })\n        if (r.ok) { dsx.variable.starters = r.data.items }\n        return\n      }\n      //  Safe prompts need only the app scope; enrich them when the page's reads finish.\n      const safe = await dsx.module.convertdata.agentStarters({ path: path, scope: id })\n      if (id != dsx.variable.starterScope || path != String(dsx.path || '')) { return }\n      if (safe.ok) { dsx.variable.starters = safe.data.items }\n      const [st, b] = await Promise.all([dsx.module.convertdata.storeSetup({ id: id }), dsx.module.convertdata.builds({ id: id })])\n      let privacy = null\n      if (/\\/policies(\\/|$|\\?)/.test(path)) {\n        const po = await dsx.module.convertdata.policies({ id: id })\n        privacy = po.ok ? po.data.documents.some(d => d.kind == 'privacy' &amp;&amp; d.published != null) : null\n      }\n      let shots = null\n      if (/\\/(store-listing|store-setup)(\\/|$|\\?)/.test(path)) {\n        const sp = await dsx.module.convertdata.screenshotsPlan({ id: id })\n        shots = sp.ok ? sp.data.latest != null : null\n      }\n      const r = await dsx.module.convertdata.agentStarters({ path: path, scope: id, setup: st.ok ? st.data : null,\n        latestBuild: b.ok &amp;&amp; b.data.items.length &gt; 0 ? b.data.items[0] : null, privacyPublished: privacy, screenshotsMade: shots })\n      if (r.ok &amp;&amp; id == dsx.variable.starterScope &amp;&amp; path == String(dsx.path || '')) { dsx.variable.starters = r.data.items }\n    "},{"as":"switchScope","inputs":{},"body":"await dsx.module.convertdata.agentShow({ scope: String(dsx.attribute.pageScope) })"},{"as":"askStarter","inputs":{"prompt":"dsx.this.prompt"},"body":"\n      if (dsx.variable.switchTo == '') { await dsx.action.ask({ prompt: prompt }); return }\n      const scope = String(dsx.attribute.pageScope)\n      await dsx.module.convertdata.agentShow({ scope: scope })\n      //  Open publishes the held thread at once; status refreshes its availability behind the question.\n      const r = await dsx.module.convertdata.copilotOpen({ id: scope, background: true })\n      if (r.ok &amp;&amp; (r.data.gate == '' || r.data.gate == 'loading')) { await dsx.module.convertdata.copilotSend({ id: scope, text: prompt }) }\n    "},{"as":"loadApps","inputs":{},"body":"\n      const r = await dsx.module.convertdata.projects({ shallow: true })\n      if (r.ok) { dsx.variable.apps = r.data.items }\n    "},{"as":"load","inputs":{},"body":"\n      dsx.variable.live = false\n      if (dsx.attribute.projectId == '' || dsx.attribute.projectId == 'workspace:' || !dsx.variable.open) { dsx.action.goLive(); return }\n      await dsx.module.convertdata.copilotOpen({ id: dsx.attribute.projectId, background: true })\n      dsx.action.goLive()\n      dsx.action.loadStarters()\n      dsx.action.loadApps()\n      await dsx.action.loadThreads()\n      //  a deep link (/apps/:id?thread=<id>) opens the panel at that thread\n      if (dsx.query.thread &amp;&amp; !dsx.variable.deepLinked) { dsx.variable.deepLinked = true; dsx.action.openThread({ id: String(dsx.query.thread) }) }\n      const b = await dsx.module.convertdata.browserInfo()\n      dsx.variable.browser = b.ok ? b.data : null\n    "},{"as":"reshow","inputs":{},"body":"\n      dsx.variable.live = false\n      if (dsx.attribute.shown === true || dsx.attribute.shown === 'true') { dsx.action.goLive() }\n    "},{"as":"goLive","inputs":{},"body":"\n      setTimeout(() =&gt; { if (!dsx.variable.restoring) { dsx.variable.live = true } }, 200, 'ask-despia-live')\n    "},{"as":"send","inputs":{"text":"dsx.this.text"},"body":"\n      const words = String(text == null ? '' : text).trim()\n      if (dsx.variable.streaming || (words == '' &amp;&amp; dsx.variable.held.length == 0)) { return }\n      await dsx.module.convertdata.copilotDraft({ id: dsx.attribute.projectId, text: '' })\n      if (dsx.variable.asking) { await dsx.action.answerIntake({ text: words }); return }\n      if (dsx.variable.form == 'entry') { dsx.event('open') }\n      await dsx.module.convertdata.copilotSend({ id: dsx.attribute.projectId, text: words })\n    "},{"as":"ask","inputs":{"prompt":"dsx.this.prompt"},"body":"\n      await dsx.action.send({ text: prompt })\n    "},{"as":"toggleSteps","inputs":{"turn":"dsx.this.turn"},"body":"\n      const now = dsx.variable.openSteps\n      dsx.variable.openSteps = now.includes(turn) ? now.filter(k => k != turn) : now.concat([turn])\n    "},{"as":"toggleTool","inputs":{"key":"dsx.this.key"},"body":"\n      const now = dsx.variable.openTools\n      dsx.variable.openTools = now.includes(key) ? now.filter(k => k != key) : now.concat([key])\n    "},{"as":"attach","inputs":{"types":"dsx.this.types","then":"dsx.this.then"},"body":"\n      const r = await dsx.module.files.open({ types: types == null || types.length == 0 ? [] : types, multiple: false })\n      if (!r.ok || r.data.cancelled || r.data.items.length == 0) { return }\n      const picked = r.data.items[0]\n      const read = await dsx.module.files.read({ path: picked.path, encoding: 'base64' })\n      await dsx.module.files.delete({ path: picked.path })\n      if (!read.ok) { dsx.variable.attachError = 'That file could not be read.'; return }\n      const out = await dsx.module.convertdata.copilotAttach({ id: dsx.attribute.projectId, name: String(picked.name || 'file'), type: String(picked.type || ''), base64: read.data.data })\n      if (!out.ok) { dsx.variable.attachError = out.message || 'That file could not be added.'; return }\n      dsx.variable.attachError = ''\n      if (then != null &amp;&amp; then != '') { await dsx.action.send({ text: then }) }\n    "},{"as":"voiceStart","inputs":{},"body":"\n      if (dsx.variable.recording || dsx.variable.streaming) { return }\n      await dsx.module.convertdata.copilotVoiceStart({ id: dsx.attribute.projectId })\n    "},{"as":"voiceStop","inputs":{},"body":"\n      await dsx.module.convertdata.copilotVoiceStop({ id: dsx.attribute.projectId })\n    "},{"as":"voiceCancel","inputs":{},"body":"\n      await dsx.module.convertdata.copilotVoiceCancel({ id: dsx.attribute.projectId })\n    "},{"as":"detach","inputs":{"ref":"dsx.this.id"},"body":"\n      await dsx.module.convertdata.copilotDetach({ id: dsx.attribute.projectId, ref: ref })\n    "},{"as":"showAllChanges","inputs":{"key":"dsx.this.key"},"body":"\n      dsx.variable.diffOpen = { ...dsx.variable.diffOpen, [key]: true }\n    "},{"as":"relink","inputs":{"ref":"dsx.this.ref"},"body":"\n      await dsx.module.convertdata.copilotLink({ id: dsx.attribute.projectId, ref: ref })\n    "},{"as":"perform","inputs":{"card":"dsx.this.card","choice":"dsx.this.choice","confirmed":"dsx.this.confirmed"},"body":"\n      const turn = dsx.variable.thread.find(m => m.role == 'assistant' &amp;&amp; m.blocks.some(b => b.type == 'card' &amp;&amp; (b.key == card || b.card.id == card)))\n      const proposal = turn == null ? null : turn.blocks.find(b => b.type == 'card' &amp;&amp; (b.key == card || b.card.id == card))\n      const p = proposal == null ? null : proposal.card.perform\n      if (p != null &amp;&amp; p.type == 'navigate' &amp;&amp; p.path == '/apps/' + encodeURIComponent(dsx.attribute.projectId) + '/submissions' &amp;&amp; confirmed !== true) {\n        await dsx.module.convertdata.copilotReveal({ id: dsx.attribute.projectId, cardId: proposal.card.id })\n        return\n      }\n      //  a names card hands over the picked name; every other card sends only itself\n      //  the rights tick rides along once ticked: Use as Icon sends the person's own image only under it\n      const icon = dsx.variable.iconRights ? { icon: { rights: true } } : {}\n      const r = await dsx.module.convertdata.copilotPerform(choice == null ? { id: dsx.attribute.projectId, card: card, ...icon } : { id: dsx.attribute.projectId, card: card, choice: String(choice), ...icon })\n      if (!r.ok) { return false }\n      if (r.data.navigate != '') { await dsx.action.go({ path: r.data.navigate }); return }\n      if (r.data.flow == 'extension-install') { await dsx.action.installExtension({ card: card }); return }\n      if (r.data.flow == 'apple-key') { dsx.variable.handCards = { ...dsx.variable.handCards, [proposal == null ? card : proposal.key]: { store: 'apple', fileRef: r.data.fileRef } }; return }\n      if (r.data.flow == 'extension-pair') { await dsx.action.pairExtension({ card: card }); return }\n      if (r.data.changed) { dsx.event('changed') }\n    "},{"as":"cardButton","inputs":{"button":"dsx.this.button"},"body":"\n      if (button.message != '') { await dsx.action.ask({ prompt: button.message }); return }\n      await dsx.action.point({ target: button.cardId })\n    "},{"as":"point","inputs":{"target":"dsx.this.target"},"body":"\n      const turn = dsx.variable.thread.find(m => m.role == 'assistant' &amp;&amp; m.blocks.some(b => b.type == 'card' &amp;&amp; b.card.id == target))\n      if (turn == null) { return }\n      const b = turn.blocks.find(x => x.type == 'card' &amp;&amp; x.card.id == target)\n      const p = b.card.perform\n      if (p != null &amp;&amp; p.type != 'tool') { await dsx.action.perform({ card: target }); return }\n      await dsx.module.convertdata.copilotReveal({ id: dsx.attribute.projectId, cardId: target })\n    "},{"as":"pointFrom","inputs":{"card":"dsx.this.card"},"body":"\n      if (card == null || card.action == null) { return }\n      await dsx.action.point({ target: card.action.cardId })\n    "},{"as":"confirmPrimary","inputs":{"card":"dsx.this.card","outcome":"dsx.this.outcome"},"body":"\n      if (outcome == 'failed') { await dsx.action.getHelp(); return }\n      const row = dsx.variable.rows.find(r => r.key == card)\n      if (row != null &amp;&amp; row.once) {\n        const key = dsx.attribute.projectId + '|' + card\n        if (row.outcome != '' || dsx.variable.confirmedOnce[key] === true) { return }\n        dsx.variable.confirmedOnce = { ...dsx.variable.confirmedOnce, [key]: true }\n        const sent = await dsx.action.perform({ card: card, confirmed: true })\n        if (sent === false) { dsx.variable.confirmedOnce = { ...dsx.variable.confirmedOnce, [key]: false } }\n        return\n      }\n      await dsx.action.perform({ card: card })\n    "},{"as":"extCopy","inputs":{},"body":"\n      const link = dsx.variable.browser == null ? '' : dsx.variable.browser.link\n      const r = await dsx.module.clipboard.write({ text: link })\n      dsx.variable.linkCopied = r.ok\n    "},{"as":"extHand","inputs":{"card":"dsx.this.card","store":"dsx.this.store"},"body":"\n      dsx.variable.handCards = { ...dsx.variable.handCards, [card]: { store: store == 'google' ? 'google' : 'apple', fileRef: '' } }\n    "},{"as":"secureState","inputs":{"card":"dsx.this.card","set":"dsx.this.set"},"body":"\n      await dsx.module.convertdata.copilotOutcome({ id: dsx.attribute.projectId, card: card, result: 'done', note: set ? 'Set' : 'Not set' })\n      dsx.event('changed')\n    "},{"as":"connectState","inputs":{"card":"dsx.this.card","result":"dsx.this.result","note":"dsx.this.note"},"body":"\n      await dsx.module.convertdata.copilotOutcome({ id: dsx.attribute.projectId, card: card, result: result, note: note })\n      dsx.event('changed')\n    "},{"as":"decline","inputs":{"card":"dsx.this.card"},"body":"\n      await dsx.module.convertdata.copilotOutcome({ id: dsx.attribute.projectId, card: card, result: 'declined' })\n    "},{"as":"go","inputs":{"path":"dsx.this.path"},"body":"\n      dsx.event('navigate', { path: path })\n      dsx.module.route.push({ path: path })\n    "},{"as":"follow","inputs":{"target":"dsx.this.target","url":"dsx.this.url","path":"dsx.this.path"},"body":"\n      if (target == 'new-tab') { await dsx.module.browser.open({ url: url }); return }\n      //  an explanation in the docs opens the docs site in a new tab, so the chat stays where it was\n      if (target == 'docs') { await dsx.module.browser.open({ url: 'https://docs.despia.com' + path }); return }\n      await dsx.action.go({ path: path })\n    "},{"as":"featureTap","inputs":{"card":"dsx.this.card","added":"dsx.this.added"},"body":"\n      const target = added ? card.after : card.action\n      if (target == null) { return }\n      //  Add and Build Now run once: a second tap sends nothing; only a send that failed can be tapped again\n      const key = dsx.attribute.projectId + '|tap|' + target.cardId\n      if (dsx.variable.confirmedOnce[key] === true) { return }\n      dsx.variable.confirmedOnce = { ...dsx.variable.confirmedOnce, [key]: true }\n      const sent = await dsx.action.perform({ card: target.cardId })\n      if (sent === false) { dsx.variable.confirmedOnce = { ...dsx.variable.confirmedOnce, [key]: false } }\n    "},{"as":"retryAddress","inputs":{"key":"dsx.this.key","text":"dsx.this.text"},"body":"\n      dsx.variable.retried = { ...dsx.variable.retried, [key]: true }\n      await dsx.module.convertdata.copilotQuestion({ id: dsx.attribute.projectId, text: text == '' ? 'Which website should become your app?' : text })\n    "},{"as":"copyPrompt","inputs":{"key":"dsx.this.key","prompt":"dsx.this.prompt"},"body":"\n      const r = await dsx.module.clipboard.write({ text: prompt })\n      if (r.ok) { dsx.variable.copied = { ...dsx.variable.copied, [key]: true } }\n    "},{"as":"openDocs","inputs":{"docs":"dsx.this.docs"},"body":"\n      if (docs == null) { return }\n      await dsx.action.follow({ target: docs.target, url: docs.url, path: docs.path })\n    "},{"as":"performAll","inputs":{"keys":"dsx.this.keys"},"body":"\n      for (const k of keys) { await dsx.action.perform({ card: k }) }\n    "},{"as":"declineAll","inputs":{"keys":"dsx.this.keys"},"body":"\n      for (const k of keys) { await dsx.action.decline({ card: k }) }\n    "},{"as":"openField","inputs":{"id":"dsx.this.id"},"body":"\n      if (!dsx.variable.openFields.includes(id)) { dsx.variable.openFields = dsx.variable.openFields.concat([id]) }\n    "},{"as":"iconPrimary","inputs":{"card":"dsx.this.card","outcome":"dsx.this.outcome","path":"dsx.this.path"},"body":"\n      if (outcome == 'done') { if (path != '') { await dsx.action.go({ path: path }) } return }\n      const icon = { prompt: dsx.variable.iconPrompt, rights: dsx.variable.iconRights, inspiration: dsx.variable.iconInspiration.map((x) =&gt; ({ type: x.type, base64: x.base64 })) }\n      const r = await dsx.module.convertdata.copilotPerform({ id: dsx.attribute.projectId, card: card, icon: icon })\n      if (r.ok &amp;&amp; r.data.result == 'done') { dsx.variable.iconPrompt = ''; dsx.variable.iconInspiration = [] }\n    "},{"as":"iconAddImage","inputs":{},"body":"\n      const room = 3 - dsx.variable.iconInspiration.length\n      if (room &lt;= 0 || !dsx.variable.iconRights) { return }\n      const r = await dsx.module.files.open({ types: ['image/png', 'image/jpeg'], multiple: true })\n      if (!r.ok || r.data.cancelled) { return }\n      const added = []\n      for (const picked of r.data.items.slice(0, room)) {\n        const read = await dsx.module.files.read({ path: picked.path, encoding: 'base64' })\n        await dsx.module.files.delete({ path: picked.path })\n        if (!read.ok) { continue }\n        const type = picked.type ? String(picked.type) : (String(picked.name || '').toLowerCase().endsWith('.png') ? 'image/png' : 'image/jpeg')\n        added.push({ id: picked.path, type: type, base64: read.data.data, image: 'data:' + type + ';base64,' + read.data.data })\n      }\n      dsx.variable.iconInspiration = dsx.variable.iconInspiration.concat(added)\n    "},{"as":"iconRemoveImage","inputs":{"id":"dsx.this.id"},"body":"\n      dsx.variable.iconInspiration = dsx.variable.iconInspiration.filter((x) =&gt; x.id != id)\n    "},{"as":"iconPick","inputs":{"key":"dsx.this.key","ref":"dsx.this.ref"},"body":"\n      if (dsx.variable.chosen[key] != null) { return }\n      dsx.variable.iconPicks = { ...dsx.variable.iconPicks, [key]: ref }\n    "},{"as":"pickOption","inputs":{"key":"dsx.this.rowKey","option":"dsx.this.key"},"body":"\n      dsx.variable.picks = { ...dsx.variable.picks, [key]: option }\n    "},{"as":"checkoutPay","inputs":{"key":"dsx.this.key","option":"dsx.this.option"},"body":"\n      const r = await dsx.module.convertdata.copilotCheckout({ id: dsx.attribute.projectId, card: key, option: option })\n      if (r.ok &amp;&amp; r.data.ok &amp;&amp; r.data.url != '') { await dsx.module.browser.open({ url: r.data.url }) }\n    "},{"as":"choose","inputs":{"key":"dsx.this.key","label":"dsx.this.label"},"body":"\n      if (dsx.variable.chosen[key] != null || dsx.variable.streaming) { return }\n      dsx.variable.chosen = { ...dsx.variable.chosen, [key]: label }\n      await dsx.action.send({ text: label })\n    "},{"as":"pairExtension","inputs":{"card":"dsx.this.card"},"body":"\n      const r = await dsx.module.convertdata.connectExtension()\n      if (!r.ok) { await dsx.module.convertdata.copilotOutcome({ id: dsx.attribute.projectId, card: card, result: 'failed', note: r.message || 'The extension did not answer.' }); return }\n      if (!r.data.installed) { await dsx.action.installExtension({ card: card }); return }\n      const ok = r.data.ok === true\n      await dsx.module.convertdata.copilotOutcome({ id: dsx.attribute.projectId, card: card, result: ok ? 'done' : 'failed', note: ok ? '' : (r.data.notice || 'The extension could not connect.') })\n      if (ok) { dsx.event('changed') }\n    "},{"as":"installExtension","inputs":{"card":"dsx.this.card"},"body":"\n      const r = await dsx.module.convertdata.extensionInstall()\n      if (r.ok &amp;&amp; r.data.store &amp;&amp; r.data.installUrl != '') {\n        await dsx.module.browser.open({ url: r.data.installUrl })\n        await dsx.module.convertdata.copilotOutcome({ id: dsx.attribute.projectId, card: card, result: 'done', note: 'Opened the Chrome Web Store' })\n        return\n      }\n      dsx.variable.installCard = card\n      dsx.variable.installOpen = true\n    "},{"as":"installClosed","inputs":{},"body":"\n      dsx.variable.installOpen = false\n      if (dsx.variable.installCard == '') { return }\n      await dsx.module.convertdata.copilotOutcome({ id: dsx.attribute.projectId, card: dsx.variable.installCard, result: 'done', note: 'Showed how to install the extension' })\n      dsx.variable.installCard = ''\n    "},{"as":"support","inputs":{"key":"dsx.this.key"},"body":"await dsx.action.startIntake({ key: key })"},{"as":"getHelp","inputs":{},"body":"\n      const r = await dsx.module.tracking.support({ message: '' })\n      if (r.ok &amp;&amp; r.data.opened) { return }\n      dsx.module.route.push({ path: '/help' })\n    "},{"as":"loadThreads","inputs":{},"body":"\n      if (dsx.attribute.projectId == '' || String(dsx.attribute.projectId).startsWith('workspace:')) { return }\n      const r = await dsx.module.convertdata.groupChatList({ projectId: dsx.attribute.projectId })\n      if (!r.ok) { return }\n      dsx.variable.threads = r.data.items\n      //  ONE Agent post per staff update (event-sourced, keyed by the case and the reply's time), then only the pinned banner\n      for (const t of r.data.items) {\n        if (t.staffUnread &gt; 0 &amp;&amp; t.lastStaffReplyAt != null &amp;&amp; t.status != 'resolved') {\n          await dsx.module.convertdata.copilotPost({ id: dsx.attribute.projectId, key: 'thread-update:' + t.id + ':' + t.lastStaffReplyAt, text: 'There\\'s an update in your thread.', threadId: t.id, threadTitle: t.title })\n        }\n      }\n      //  while the conversation shows, follow the newest open case live, so a reply pins the update without a refresh\n      const live = r.data.items.find(t => t.status != 'resolved')\n      if (live != null &amp;&amp; dsx.variable.panelView == 'main') { await dsx.module.convertdata.helpFollow({ id: live.id }) }\n    "},{"as":"openThread","inputs":{"id":"dsx.this.id"},"body":"\n      dsx.variable.threadOpen = id\n      dsx.variable.panelView = 'threads'\n    "},{"as":"threadPicked","inputs":{"id":"dsx.this.id"},"body":"dsx.variable.threadOpen = id"},{"as":"openChat","inputs":{"id":"dsx.this.id"},"body":"\n      dsx.variable.panelView = 'main'\n      await dsx.module.convertdata.copilotHistory({ id: id })\n      if (id != String(dsx.attribute.projectId)) { await dsx.module.convertdata.agentShow({ scope: id }) }\n    "},{"as":"closeThreads","inputs":{},"body":"\n      dsx.variable.panelView = 'main'\n      dsx.variable.threadOpen = ''\n      await dsx.action.loadThreads()\n    "},{"as":"heardLive","inputs":{},"body":"\n      if (dsx.variable.panelView == 'main') { await dsx.action.loadThreads() }\n    "},{"as":"startIntake","inputs":{"key":"dsx.this.key"},"body":"\n      dsx.variable.intake = { phase: 'asking', answers: {}, field: '', rows: [], threadOf: String(key || 'agent'), threadId: '' }\n      await dsx.action.askNext()\n    "},{"as":"askNext","inputs":{},"body":"\n      const i = dsx.variable.intake\n      const r = await dsx.module.convertdata.caseDraft({ projectId: dsx.attribute.projectId, answers: i.answers })\n      const n = i.rows.length\n      if (!r.ok) {\n        dsx.variable.intake = { ...i, rows: i.rows.concat([{ key: 'i' + n, type: 'agent', text: r.message || 'That did not go through. Try again in a moment.' }]) }\n        return\n      }\n      if (r.data.next != null) {\n        dsx.variable.intake = { ...i, phase: 'asking', field: r.data.next.field, rows: i.rows.concat([{ key: 'i' + n, type: 'agent', text: r.data.next.question }]) }\n        return\n      }\n      const s = r.data.summary\n      const fields = s.rows.map((x, k) => ({ id: 'f' + k, label: x.label, value: x.value }))\n      dsx.variable.intake = { ...i, phase: 'summary', rows: i.rows.concat([{ key: 'i' + n, type: 'agent', text: r.data.intro }, { key: 'i' + (n + 1), type: 'summary', title: s.title, fields: fields }]) }\n    "},{"as":"answerIntake","inputs":{"text":"dsx.this.text"},"body":"\n      const i = dsx.variable.intake\n      dsx.variable.intake = { ...i, answers: { ...i.answers, [i.field]: text }, rows: i.rows.concat([{ key: 'i' + i.rows.length, type: 'user', text: text }]) }\n      await dsx.action.askNext()\n    "},{"as":"fileCase","inputs":{},"body":"\n      const i = dsx.variable.intake\n      const r = await dsx.module.convertdata.caseFile({ projectId: dsx.attribute.projectId, answers: i.answers, threadOf: i.threadOf })\n      if (!r.ok) { dsx.module.toast.show({ title: 'The case was not opened', message: r.message || 'Try again in a moment.' }); return }\n      const id = r.data.conversation.id\n      const n = i.rows.length\n      dsx.variable.intake = { ...i, phase: 'filed', threadId: id, rows: i.rows.concat([{ key: 'i' + n, type: 'agent', text: r.data.filed }, { key: 'i' + (n + 1), type: 'thread', id: id, title: r.data.conversation.subject || 'Your case' }]) }\n      await dsx.action.loadThreads()\n    "},{"as":"editCase","inputs":{},"body":"\n      const i = dsx.variable.intake\n      dsx.variable.intake = { ...i, phase: 'asking', answers: {}, rows: i.rows.filter(x => x.type != 'summary') }\n      await dsx.action.askNext()\n    "}],"watches":[{"value":"dsx.attribute.projectId","handler":"dsx.action.load()"},{"value":"dsx.variable.open","handler":"dsx.action.load()"},{"value":"dsx.attribute.shown","handler":"dsx.action.reshow()"},{"value":"String(dsx.path || '') + '|' + dsx.variable.starterScope + '|' + (dsx.variable.streaming ? 'busy' : 'idle')","handler":"dsx.action.loadStarters()"},{"value":"dsx.module.convertdata.context.helpLive","handler":"dsx.action.heardLive()"}],"scripts":["\n      //  a long text as whole sentences that fit (the card's Show All brings the rest); a first sentence too long stays whole\n      function sentencesOf(text, max) {\n        const t = String(text || '')\n        if (t.length &lt;= max) { return t }\n        let out = ''\n        for (const x of (t.match(/[^.!?]+[.!?]+(?=\\s|$)/g) || [])) { if ((out + x).trim().length &gt; max) { break } out += x }\n        return out.trim() == '' ? t : out.trim()\n      }\n      //  one store and language of the listing draft: its fields (long text as whole sentences until Show All) and its issues\n      function listingSection(b, openFields) {\n        const c = b.card\n        return { key: b.key, heading: (c.storeLabel || (c.store == 'android' ? 'Google Play' : 'App Store')) + ', ' + (c.language || c.locale), outcome: b.outcome, note: b.note,\n          fields: c.fields.map(f =&gt; {\n            const id = b.key + '.' + f.field\n            const open = openFields.includes(id)\n            const short = sentencesOf(f.value, 220)\n            return { id: id, field: f.field, label: f.label, value: open || short == f.value ? f.value : short, more: !open &amp;&amp; short != f.value, before: f.before || '', count: f.max &gt; 0 ? f.count + '/' + f.max : '', over: f.over }\n          }),\n          issues: c.issues.map((x, n) =&gt; ({ id: b.key + '.i' + n, message: x.message })) }\n      }\n      //  one listing card for the whole draft: its title, which stores and languages, and one outcome for every section\n      function listingSummary(ss, card) {\n        const row = {}\n        const stores = ss.map(x =&gt; x.heading.split(', ')[0]).filter((v, n, a) =&gt; a.indexOf(v) == n)\n        const langs = ss.map(x =&gt; x.heading.split(', ').slice(1).join(', ')).filter((v, n, a) =&gt; a.indexOf(v) == n)\n        const join = (a) =&gt; a.length &lt;= 1 ? (a[0] || '') : a.slice(0, -1).join(', ') + ' and ' + a[a.length - 1]\n        row.many = ss.length &gt; 1\n        row.headTitle = row.many ? 'Your store listing' : card.title\n        row.headBody = row.many ? join(stores) + ', in ' + join(langs) + '. Each one is saved as a draft; nothing reaches a store until you publish.' : card.body\n        const outs = ss.map(x =&gt; x.outcome)\n        row.allOutcome = outs.every(o =&gt; o == 'done') ? 'done' : (outs.some(o =&gt; o == 'running') ? 'running' : (outs.some(o =&gt; o == 'failed') ? 'failed' : (outs.every(o =&gt; o == 'declined') ? 'declined' : '')))\n        row.failNote = (ss.find(x =&gt; x.outcome == 'failed') || { note: '' }).note\n        row.doneNote = row.many ? 'Saved ' + ss.length + ' drafts' : (ss[0].note || 'Saved')\n        row.applyLabel = row.many ? 'Apply All' : 'Apply Draft'\n        return row\n      }\n    "],"globalScripts":[]},"root":{"tag":"vstack","attrs":{"class":"ask-despia ask-despia-{{ dsx.variable.form }}","on:appear":"dsx.action.load()"},"children":[{"tag":"stack","attrs":{"class":"ask-despia-entry-body","visible-if":"dsx.variable.form == 'entry'"},"children":[{"tag":"hstack","attrs":{"class":"ask-despia-brand","aria-label":"Agent","role":"heading","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"ask-despia-lockup","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":3}],"text":"","reactive":false,"nid":2},{"tag":"ListGroup","attrs":{"class":"ask-despia-suggest","visible-if":"dsx.variable.gate != 'soon'"},"children":[{"tag":"SettingsRow","attrs":{"title":"Ask anything about your app","tone":"accent","tappable":"true","chevron":"true","on:tap":"dsx.event('open')"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.suggestions","key":"key","title":"{{ dsx.this.label }}","tappable":"true","chevron":"true","visible-if":"dsx.variable.gate == ''","on:tap":"dsx.action.ask({ prompt: dsx.this.prompt })"},"children":[],"text":"","reactive":true,"nid":6}],"text":"\n      \n      \n    ","reactive":true,"nid":4},{"tag":"text","attrs":{"class":"ask-despia-quiet","value":"Coming soon: a co-pilot that reads your setup and does the steps with you.","visible-if":"dsx.variable.gate == 'soon'"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"hstack","attrs":{"class":"ask-despia-bar","visible-if":"dsx.variable.form == 'chat' && dsx.variable.showBar","__steers":"1"},"children":[{"tag":"button","attrs":{"icon":"chevron.left","variant":"plain","aria-label":"Back","visible-if":"dsx.attribute.back === true || dsx.attribute.back === 'true'","on:tap":"dsx.event('back')"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"stack","attrs":{"class":"ask-despia-brand-col","__css":"c6"},"children":[{"tag":"hstack","attrs":{"class":"ask-despia-brand","aria-label":"Agent","role":"heading","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"ask-despia-lockup","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":12}],"text":"","reactive":false,"nid":11},{"tag":"text","attrs":{"class":"ask-despia-helping","value":"{{ dsx.variable.helpingLine != '' ? dsx.variable.helpingLine : '\\u00a0' }}","visible-if":"dsx.variable.helpingLine != '' || dsx.variable.appConversation"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n      \n      \n      \n      \n    ","reactive":true,"nid":10},{"tag":"zstack","attrs":{"class":"ask-despia-threads-entry","visible-if":"dsx.variable.gate == '' && dsx.variable.panelView == 'main'"},"children":[{"tag":"button","attrs":{"class":"ask-despia-icon","icon":"bubble.left.and.bubble.right","variant":"plain","aria-label":"{{ dsx.variable.threadsUnread > 0 ? 'Threads, ' + dsx.variable.threadsUnread + ' unread' : 'Threads' }}","on:tap":"dsx.action.openThread({ id: '' })"},"children":[],"text":"","reactive":true,"nid":15},{"tag":"Badge","attrs":{"class":"ask-despia-threads-badge","value":"{{ dsx.variable.threadsUnread }}","visible-if":"dsx.variable.threadsUnread > 0"},"children":[],"text":"","reactive":true,"nid":16}],"text":"\n      \n      \n    ","reactive":true,"nid":14},{"tag":"button","attrs":{"class":"ask-despia-icon","icon":"clock.arrow.circlepath","variant":"plain","aria-label":"History","visible-if":"dsx.variable.gate == '' && dsx.variable.panelView == 'main'","on:tap":"dsx.variable.panelView = 'history'"},"children":[],"text":"","reactive":true,"nid":17},{"tag":"button","attrs":{"class":"ask-despia-icon","icon":"square.and.pencil","variant":"plain","aria-label":"New Conversation","visible-if":"dsx.variable.gate == ''","disabled-if":"dsx.variable.streaming || dsx.variable.empty","on:tap":"dsx.module.convertdata.copilotClear({ id: dsx.attribute.projectId })"},"children":[],"text":"","reactive":true,"nid":18},{"tag":"button","attrs":{"class":"ask-despia-icon","icon":"xmark","variant":"plain","aria-label":"Close Agent","shortcut":"escape","visible-if":"dsx.variable.closable","on:tap":"dsx.event('close')"},"children":[],"text":"","reactive":true,"nid":19}],"text":"\n    \n    \n    \n    \n    \n    \n    \n    \n  ","reactive":true,"nid":8},{"tag":"hstack","attrs":{"class":"ask-despia-switch","visible-if":"dsx.variable.form == 'chat' && dsx.variable.switchTo != '' && dsx.variable.panelView == 'main'"},"children":[{"tag":"button","attrs":{"variant":"bordered","control-size":"small","label":"{{ 'Switch to ' + dsx.variable.switchTo }}","on:tap":"dsx.action.switchScope()"},"children":[],"text":"","reactive":true,"nid":21}],"text":"\n    \n  ","reactive":true,"nid":20},{"tag":"scroll","attrs":{"class":"ask-despia-calm","visible-if":"dsx.variable.form == 'chat' && dsx.variable.calm != null"},"children":[{"tag":"stack","attrs":{"class":"ask-despia-calm-body"},"children":[{"tag":"text","attrs":{"class":"ask-despia-strong","value":"{{ dsx.variable.calm.title }}","role":"heading"},"children":[],"text":"","reactive":true,"nid":24},{"tag":"text","attrs":{"class":"ask-despia-quiet","value":"{{ dsx.variable.calm.message }}"},"children":[],"text":"","reactive":true,"nid":25}],"text":"\n      \n      \n    ","reactive":true,"nid":23},{"tag":"ListGroup","attrs":{"header":"Your next step","visible-if":"dsx.variable.nextStep != null && dsx.variable.gate != 'offline'"},"children":[{"tag":"SettingsRow","attrs":{"title":"{{ dsx.variable.nextStep.title }}","tone":"accent","tappable":"true","chevron":"true","on:tap":"dsx.action.go({ path: dsx.variable.nextStep.path })"},"children":[],"text":"","reactive":true,"nid":27}],"text":"\n      \n    ","reactive":true,"nid":26},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.calm.help || dsx.variable.calm.retry"},"children":[{"tag":"SettingsRow","attrs":{"icon":"arrow.clockwise","title":"Try Again","tone":"accent","tappable":"true","visible-if":"dsx.variable.calm.retry","on:tap":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":29},{"tag":"SettingsRow","attrs":{"icon":"questionmark.circle","title":"Get Help","tone":"accent","tappable":"true","visible-if":"dsx.variable.calm.help","on:tap":"dsx.action.getHelp()"},"children":[],"text":"","reactive":true,"nid":30}],"text":"\n      \n      \n    ","reactive":true,"nid":28}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":22},{"tag":"stack","attrs":{"class":"ask-despia-update","visible-if":"dsx.variable.form == 'chat' && dsx.variable.gate == '' && dsx.variable.panelView == 'main' && dsx.variable.activeUpdate != null"},"children":[{"tag":"AgentCard","attrs":{"title":"Active case: the team replied","body":"{{ dsx.variable.activeUpdate == null ? '' : dsx.variable.activeUpdate.title }}","secondary":"Open Thread","secondary-go":"page","on:secondary":"dsx.action.openThread({ id: dsx.variable.activeUpdate.id })"},"children":[],"text":"","reactive":true,"nid":32}],"text":"\n    \n    \n  ","reactive":true,"nid":31},{"tag":"AgentThreads","attrs":{"class":"ask-despia-threads","visible-if":"dsx.variable.form == 'chat' && dsx.variable.gate == '' && dsx.variable.panelView == 'threads'","project-id":"{{ dsx.attribute.projectId }}","items":"{{ dsx.variable.threads }}","thread-id":"{{ dsx.variable.threadOpen }}","on:back":"dsx.action.closeThreads()","on:open":"dsx.action.threadPicked({ id: dsx.this.id })","on:read":"dsx.action.loadThreads()"},"children":[],"text":"","reactive":true,"nid":33},{"tag":"AgentHistory","attrs":{"class":"ask-despia-threads","visible-if":"dsx.variable.form == 'chat' && dsx.variable.gate == '' && dsx.variable.panelView == 'history'","shown":"{{ dsx.variable.panelView == 'history' }}","on:back":"dsx.variable.panelView = 'main'","on:open":"dsx.action.openChat({ id: dsx.this.id })"},"children":[],"text":"","reactive":true,"nid":34},{"tag":"ThreadPane","attrs":{"class":"ask-despia-thread ask-despia-thread-{{ !dsx.variable.restoring && dsx.variable.empty && dsx.variable.intakeRows.length == 0 ? 'empty' : 'going' }}{{ dsx.variable.panelView == 'main' ? '' : ' ask-despia-away' }}{{ dsx.variable.live && !dsx.variable.restoring ? ' ask-despia-live' : '' }}","label":"Agent","count":"{{ dsx.variable.rows.length }}","latest":"{{ dsx.variable.thread.filter(m => m.role == 'user').length }}","visible-if":"dsx.variable.form == 'chat' && dsx.variable.gate == ''"},"children":[{"tag":"stack","attrs":{"class":"ask-despia-restoring","visible-if":"dsx.variable.restoring","aria-label":"Loading conversation","aria-busy":"true","__css":"c37"},"children":[{"tag":"skeleton","attrs":{"__css":"c38"},"children":[],"text":"","reactive":false,"nid":37},{"tag":"skeleton","attrs":{"__css":"c39"},"children":[],"text":"","reactive":false,"nid":38},{"tag":"skeleton","attrs":{"__css":"c38"},"children":[],"text":"","reactive":false,"nid":39},{"tag":"skeleton","attrs":{"__css":"c39"},"children":[],"text":"","reactive":false,"nid":40}],"text":"\n      \n      \n      \n      \n    ","reactive":true,"nid":36},{"tag":"stack","attrs":{"class":"ask-despia-hello","visible-if":"!dsx.variable.restoring && dsx.variable.empty && dsx.variable.intakeRows.length == 0"},"children":[{"tag":"stack","attrs":{"class":"ask-despia-calm-body"},"children":[{"tag":"text","attrs":{"class":"ask-despia-strong","value":"How can I help?","role":"heading"},"children":[],"text":"","reactive":false,"nid":43},{"tag":"text","attrs":{"class":"ask-despia-quiet","value":"I read your setup, take you to the right page and do the steps with you. Nothing changes until you tap."},"children":[],"text":"","reactive":false,"nid":44}],"text":"\n        \n        \n      ","reactive":false,"nid":42},{"tag":"ListGroup","attrs":{"class":"ask-despia-suggest"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.suggestions","key":"key","title":"{{ dsx.this.label }}","tappable":"true","chevron":"true","on:tap":"dsx.action.askStarter({ prompt: dsx.this.prompt })"},"children":[],"text":"","reactive":true,"nid":46}],"text":"\n        \n      ","reactive":true,"nid":45}],"text":"\n      \n      \n    ","reactive":true,"nid":41},{"tag":"stack","attrs":{"repeat":"dsx.variable.rows","key":"key","class":"ask-despia-row ask-despia-row-{{ dsx.this.type }} ask-despia-run-{{ dsx.this.run == 'cont' ? 'cont' : 'none' }}"},"children":[{"tag":"text","attrs":{"class":"ask-despia-time","value":"{{ dsx.this.text }}","visible-if":"dsx.this.type == 'time' && dsx.this.text != ''"},"children":[],"text":"","reactive":true,"nid":48},{"tag":"chat-bubble","attrs":{"class":"ask-despia-bubble ask-despia-bubble-{{ dsx.this.tail ? 'tail' : 'run' }}","side":"right","value":"{{ dsx.this.text }}","visible-if":"dsx.this.type == 'user'"},"children":[{"tag":"Attachment","attrs":{"repeat":"dsx.this.files","key":"ref","name":"{{ dsx.this.name }}","size":"{{ dsx.this.size }}","removable":"false"},"children":[],"text":"","reactive":true,"nid":50}],"text":"\n        \n      ","reactive":true,"nid":49},{"tag":"text","attrs":{"class":"ask-despia-voiced","value":"From your voice note","visible-if":"dsx.this.type == 'user' && dsx.this.voiced"},"children":[],"text":"","reactive":true,"nid":51},{"tag":"stack","attrs":{"class":"ask-despia-says","visible-if":"dsx.this.type == 'text'"},"children":[{"tag":"image","attrs":{"class":"ask-despia-says-mark","icon":"agent.mark","aria-label":"Agent","visible-if":"dsx.this.head"},"children":[],"text":"","reactive":true,"nid":53},{"tag":"text","attrs":{"class":"ask-despia-text","value":"{{ dsx.this.text }}","visible-if":"!dsx.this.streamed"},"children":[],"text":"","reactive":true,"nid":54},{"tag":"hstack","attrs":{"class":"ask-despia-words","aria-label":"{{ dsx.this.text }}","visible-if":"dsx.this.streamed"},"children":[{"tag":"text","attrs":{"repeat":"dsx.this.words","key":"id","class":"ask-despia-word","value":"{{ dsx.this.w }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":56}],"text":"\n          \n        ","reactive":true,"nid":55}],"text":"\n        \n        \n        \n      ","reactive":true,"nid":52},{"tag":"pressable","attrs":{"class":"ask-despia-tool ask-despia-tool-{{ dsx.this.state }}","role":"button","aria-label":"{{ dsx.this.say }}","visible-if":"dsx.this.type == 'tool'","on:tap":"dsx.action.toggleTool({ key: dsx.this.key })"},"children":[{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.label }}","status":"{{ dsx.this.state }}","detail":"{{ dsx.this.detail }}","duration":"{{ dsx.this.took }}"},"children":[],"text":"","reactive":true,"nid":58}],"text":"\n        \n      ","reactive":true,"nid":57},{"tag":"hstack","attrs":{"class":"ask-despia-typing","aria-label":"{{ dsx.this.label != '' ? dsx.this.label : 'Working on it…' }}","a11yLive":"polite","visible-if":"dsx.this.type == 'thinking'","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"ask-despia-head-mark","icon":"agent.mark","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":60},{"tag":"hstack","attrs":{"class":"ask-despia-dots","aria-hidden":"true","visible-if":"dsx.this.label == ''","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"ask-despia-dot"},"children":[],"text":"","reactive":false,"nid":62},{"tag":"stack","attrs":{"class":"ask-despia-dot"},"children":[],"text":"","reactive":false,"nid":63},{"tag":"stack","attrs":{"class":"ask-despia-dot"},"children":[],"text":"","reactive":false,"nid":64}],"text":"","reactive":true,"nid":61},{"tag":"text","attrs":{"class":"ask-despia-typing-label","value":"{{ dsx.this.label }}","aria-hidden":"true","visible-if":"dsx.this.label != ''"},"children":[],"text":"","reactive":true,"nid":65}],"text":"\n        \n        \n        \n      ","reactive":true,"nid":59},{"tag":"pressable","attrs":{"class":"ask-despia-steps ask-despia-steps-{{ dsx.this.open ? 'open' : 'closed' }}","role":"button","aria-label":"{{ dsx.this.label }}","a11yExpanded":"{{ dsx.this.open ? 'true' : 'false' }}","visible-if":"dsx.this.type == 'steps'","on:tap":"dsx.action.toggleSteps({ turn: dsx.this.turn })","__row":"1","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"ask-despia-head-mark","icon":"agent.mark","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":67},{"tag":"text","attrs":{"class":"ask-despia-steps-label ask-despia-steps-{{ dsx.this.failed ? 'warn' : 'ok' }}","value":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":68},{"tag":"image","attrs":{"class":"ask-despia-steps-chevron","icon":"chevron.right","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":69}],"text":"\n        \n        \n        \n      ","reactive":true,"nid":66},{"tag":"AgentCard","attrs":{"class":"ask-despia-skeleton ask-despia-skeleton-{{ dsx.this.kind }}{{ dsx.this.compact ? ' ask-despia-skeleton-compact' : '' }}","visible-if":"dsx.this.type == 'skeleton'","aria-label":"Preparing a card","aria-busy":"true"},"children":[{"tag":"skeleton","attrs":{"__css":"c40"},"children":[],"text":"","reactive":false,"nid":71},{"tag":"skeleton","attrs":{"visible-if":"!dsx.this.compact","__css":"c41"},"children":[],"text":"","reactive":true,"nid":72},{"tag":"skeleton","attrs":{"visible-if":"!dsx.this.compact","__css":"c42"},"children":[],"text":"","reactive":true,"nid":73},{"tag":"skeleton","attrs":{"visible-if":"!dsx.this.compact","__css":"c43"},"children":[],"text":"","reactive":true,"nid":74}],"text":"\n        \n        \n        \n        \n      ","reactive":true,"nid":70},{"tag":"AgentVisual","attrs":{"visible-if":"dsx.this.type == 'visual'","block":"{{ dsx.this.block }}","on:open":"dsx.action.follow({ target: dsx.this.target, url: dsx.this.url, path: dsx.this.path })"},"children":[],"text":"","reactive":true,"nid":75},{"tag":"AgentConnectCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'confirm' && dsx.this.inline != null","store":"{{ dsx.this.inline.store }}","project-id":"{{ dsx.attribute.projectId }}","title":"{{ dsx.this.inline.store == 'google' ? 'Connect Google Play' : 'Connect App Store' }}","hand":"true","file-ref":"{{ dsx.this.inline.fileRef }}","on:done":"dsx.action.connectState({ card: dsx.this.key, result: 'done', note: dsx.this.note })"},"children":[],"text":"","reactive":true,"nid":76},{"tag":"ExtensionCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'confirm' && dsx.this.extension && dsx.this.extState != 'phone' && dsx.this.inline == null","state":"{{ dsx.this.extState }}","browser":"{{ dsx.variable.browser == null ? 'Chrome' : dsx.variable.browser.name }}","copied":"{{ dsx.variable.linkCopied }}","on:add":"dsx.action.perform({ card: dsx.this.key })","on:copy":"dsx.action.extCopy()","on:hand":"dsx.action.extHand({ card: dsx.this.key, store: dsx.this.store })"},"children":[],"text":"","reactive":true,"nid":77},{"tag":"AgentCard","attrs":{"class":"ask-despia-plain-card","visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'confirm' && dsx.this.inline == null && (!dsx.this.extension || dsx.this.extState == 'phone')","store":"{{ dsx.this.store }}","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.body }}","primary":"{{ dsx.this.primary }}","primary-disabled":"{{ dsx.this.rightsAsk && !dsx.variable.iconRights ? 'true' : 'false' }}","secondary":"{{ dsx.this.outcome == '' ? 'Not Now' : '' }}","busy":"{{ dsx.this.outcome == 'running' || dsx.this.confirming ? 'true' : 'false' }}","divider":"{{ dsx.this.submission || dsx.this.outcome == 'done' || dsx.this.outcome == 'failed' ? 'true' : 'false' }}","on:primary":"dsx.action.confirmPrimary({ card: dsx.this.key, outcome: dsx.this.outcome })","on:secondary":"dsx.action.decline({ card: dsx.this.key })"},"children":[{"tag":"stack","attrs":{"visible-if":"dsx.this.submission"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.submissionFacts","key":"id","title":"{{ dsx.this.label }}","value":"{{ dsx.this.value }}"},"children":[],"text":"","reactive":true,"nid":80}],"text":"\n          \n        ","reactive":true,"nid":79},{"tag":"checkbox","attrs":{"bind":"dsx.variable.iconRights","visible-if":"dsx.this.rightsAsk","label":"I own this image or have the rights to use it, and it may be used to create my app's icon."},"children":[],"text":"","reactive":true,"nid":81},{"tag":"image","attrs":{"class":"ask-despia-preview media-frame ask-despia-preview-{{ dsx.this.previewShape }}","visible-if":"dsx.this.preview != '' && dsx.this.before == ''","src":"{{ dsx.this.preview }}","aria-label":"{{ dsx.this.card.title }}","__css":"c44"},"children":[],"text":"","reactive":true,"nid":82},{"tag":"hstack","attrs":{"class":"ask-despia-pairing","visible-if":"dsx.this.preview != '' && dsx.this.before != ''","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"ask-despia-pairing-side","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"ask-despia-preview media-frame ask-despia-preview-{{ dsx.this.beforeShape }}","src":"{{ dsx.this.before }}","aria-label":"Your screenshot","__css":"c45"},"children":[],"text":"","reactive":true,"nid":85},{"tag":"text","attrs":{"class":"ask-despia-quiet","value":"Yours"},"children":[],"text":"","reactive":false,"nid":86}],"text":"\n            \n            \n          ","reactive":true,"nid":84},{"tag":"stack","attrs":{"class":"ask-despia-pairing-side","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"ask-despia-preview media-frame ask-despia-preview-{{ dsx.this.previewShape }}","src":"{{ dsx.this.preview }}","aria-label":"The screenshot fitted for the store","__css":"c45"},"children":[],"text":"","reactive":true,"nid":88},{"tag":"text","attrs":{"class":"ask-despia-quiet","value":"For the store"},"children":[],"text":"","reactive":false,"nid":89}],"text":"\n            \n            \n          ","reactive":true,"nid":87}],"text":"\n          \n          \n        ","reactive":true,"nid":83},{"tag":"stack","attrs":{"repeat":"dsx.this.diffGroups","key":"locale","class":"ask-despia-diff-group"},"children":[{"tag":"text","attrs":{"class":"ask-despia-field-label","value":"{{ dsx.this.name }}"},"children":[],"text":"","reactive":true,"nid":91},{"tag":"stack","attrs":{"repeat":"dsx.this.rows","key":"id","class":"ask-despia-field"},"children":[{"tag":"text","attrs":{"class":"ask-despia-field-value","value":"{{ dsx.this.line }}","visible-if":"dsx.this.kind == 'shot'"},"children":[],"text":"","reactive":true,"nid":93},{"tag":"hstack","attrs":{"visible-if":"dsx.this.kind == 'text'","__steers":"1","__css":"c46"},"children":[{"tag":"text","attrs":{"class":"ask-despia-diff-label","value":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":95},{"tag":"text","attrs":{"class":"ask-despia-count","value":"New","visible-if":"dsx.this.isNew"},"children":[],"text":"","reactive":true,"nid":96}],"text":"\n              \n              \n            ","reactive":true,"nid":94},{"tag":"text","attrs":{"class":"ask-despia-diff-from","value":"{{ dsx.this.from }}","visible-if":"dsx.this.kind == 'text' && !dsx.this.isNew"},"children":[],"text":"","reactive":true,"nid":97},{"tag":"text","attrs":{"class":"ask-despia-field-value","value":"{{ dsx.this.to }}","visible-if":"dsx.this.kind == 'text'"},"children":[],"text":"","reactive":true,"nid":98}],"text":"\n            \n            \n            \n            \n          ","reactive":true,"nid":92}],"text":"\n          \n          \n        ","reactive":true,"nid":90},{"tag":"hstack","attrs":{"class":"ask-despia-actions","visible-if":"dsx.this.diffMore","__steers":"1"},"children":[{"tag":"button","attrs":{"variant":"bordered","control-size":"small","label":"Show All","on:tap":"dsx.action.showAllChanges({ key: dsx.this.key })"},"children":[],"text":"","reactive":true,"nid":100}],"text":"\n          \n        ","reactive":true,"nid":99},{"tag":"stack","attrs":{"class":"ask-despia-issues","visible-if":"dsx.this.warnings.length > 0 && (dsx.this.outcome == '' || dsx.this.outcome == 'running')"},"children":[{"tag":"text","attrs":{"repeat":"dsx.this.warnings","key":"id","class":"ask-despia-quiet","value":"{{ dsx.this.text }}"},"children":[],"text":"","reactive":true,"nid":102}],"text":"\n          \n        ","reactive":true,"nid":101},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.note != '' ? dsx.this.note : 'Done' }}","status":"done","visible-if":"dsx.this.outcome == 'done'"},"children":[],"text":"","reactive":true,"nid":103},{"tag":"text","attrs":{"class":"ask-despia-quiet","value":"Not now. Ask again any time.","visible-if":"dsx.this.outcome == 'declined'"},"children":[],"text":"","reactive":true,"nid":104},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.note != '' ? dsx.this.note : 'That did not go through.' }}","status":"failed","visible-if":"dsx.this.outcome == 'failed'"},"children":[],"text":"","reactive":true,"nid":105}],"text":"\n        \n        \n        \n        \n        \n        \n        \n        \n        \n        \n        \n        \n        \n      ","reactive":true,"nid":78},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'screenshot-design'","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.body }}","primary":"{{ dsx.this.outcome == '' || dsx.this.outcome == 'running' ? dsx.this.card.confirmLabel : '' }}","secondary":"{{ dsx.this.outcome == '' ? 'Not Now' : '' }}","busy":"{{ dsx.this.outcome == 'running' ? 'true' : 'false' }}","divider":"true","on:primary":"dsx.action.perform({ card: dsx.this.key })","on:secondary":"dsx.action.decline({ card: dsx.this.key })"},"children":[{"tag":"stack","attrs":{"class":"ask-despia-shot-pairs","visible-if":"dsx.this.pairs.length > 0"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.this.pairs","key":"id","class":"ask-despia-shot-pair"},"children":[{"tag":"hstack","attrs":{"class":"ask-despia-shot-row"},"children":[{"tag":"image","attrs":{"class":"ask-despia-shot media-frame","src":"{{ dsx.this.before }}","aria-label":"{{ dsx.this.label + ', before' }}"},"children":[],"text":"","reactive":true,"nid":110},{"tag":"image","attrs":{"class":"ask-despia-shot media-frame","src":"{{ dsx.this.after }}","aria-label":"{{ dsx.this.label + ', after' }}"},"children":[],"text":"","reactive":true,"nid":111}],"text":"\n              \n              \n            ","reactive":true,"nid":109},{"tag":"text","attrs":{"class":"ask-despia-issue","value":"{{ dsx.this.issue }}","visible-if":"!dsx.this.ok"},"children":[],"text":"","reactive":true,"nid":112}],"text":"\n            \n            \n          ","reactive":true,"nid":108}],"text":"\n          \n        ","reactive":true,"nid":107},{"tag":"TaskRow","attrs":{"title":"Preview is still rendering","status":"running","visible-if":"dsx.this.waiting && dsx.this.outcome == ''"},"children":[],"text":"","reactive":true,"nid":113},{"tag":"ListGroup","attrs":{},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.changeRows","key":"id","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}"},"children":[],"text":"","reactive":true,"nid":115}],"text":"\n          \n        ","reactive":true,"nid":114},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.note != '' ? dsx.this.note : 'Saved. Rendering every size.' }}","status":"done","visible-if":"dsx.this.outcome == 'done'"},"children":[],"text":"","reactive":true,"nid":116},{"tag":"text","attrs":{"class":"ask-despia-quiet","value":"Not now. Ask again any time.","visible-if":"dsx.this.outcome == 'declined'"},"children":[],"text":"","reactive":true,"nid":117},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.note != '' ? dsx.this.note : 'That did not go through.' }}","status":"failed","visible-if":"dsx.this.outcome == 'failed'"},"children":[],"text":"","reactive":true,"nid":118}],"text":"\n        \n        \n        \n        \n        \n        \n      ","reactive":true,"nid":106},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'listing'","title":"{{ dsx.this.headTitle }}","body":"{{ dsx.this.headBody }}","primary":"{{ dsx.this.allOutcome == '' || dsx.this.allOutcome == 'running' || dsx.this.allOutcome == 'failed' ? dsx.this.applyLabel : '' }}","secondary":"{{ dsx.this.allOutcome == '' ? 'Not Now' : '' }}","busy":"{{ dsx.this.allOutcome == 'running' ? 'true' : 'false' }}","divider":"true","on:primary":"dsx.action.performAll({ keys: dsx.this.keys })","on:secondary":"dsx.action.declineAll({ keys: dsx.this.keys })"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.this.sections","key":"key","class":"ask-despia-listing-section"},"children":[{"tag":"text","attrs":{"class":"ask-despia-section-head","value":"{{ dsx.this.heading }}","visible-if":"dsx.this.heading != ''"},"children":[],"text":"","reactive":true,"nid":121},{"tag":"stack","attrs":{"class":"ask-despia-fields"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.this.fields","key":"id","class":"ask-despia-field"},"children":[{"tag":"hstack","attrs":{"__steers":"1","__css":"c47"},"children":[{"tag":"text","attrs":{"class":"ask-despia-field-label","value":"{{ dsx.this.label }}","__css":"c6"},"children":[],"text":"","reactive":true,"nid":125},{"tag":"text","attrs":{"class":"ask-despia-count ask-despia-count-{{ dsx.this.over ? 'over' : 'ok' }}","value":"{{ dsx.this.count }}","visible-if":"dsx.this.count != ''"},"children":[],"text":"","reactive":true,"nid":126}],"text":"\n                \n                \n              ","reactive":true,"nid":124},{"tag":"text","attrs":{"class":"ask-despia-field-value","value":"{{ dsx.this.value }}"},"children":[],"text":"","reactive":true,"nid":127},{"tag":"hstack","attrs":{"class":"ask-despia-actions","visible-if":"dsx.this.more","__steers":"1"},"children":[{"tag":"button","attrs":{"variant":"bordered","control-size":"small","label":"Show All","on:tap":"dsx.action.openField({ id: dsx.this.id })"},"children":[],"text":"","reactive":true,"nid":129}],"text":"\n                \n              ","reactive":true,"nid":128},{"tag":"text","attrs":{"class":"ask-despia-field-before","value":"{{ 'Before: ' + dsx.this.before }}","visible-if":"dsx.this.before != '' && !dsx.this.more"},"children":[],"text":"","reactive":true,"nid":130}],"text":"\n              \n              \n              \n              \n            ","reactive":true,"nid":123}],"text":"\n            \n          ","reactive":true,"nid":122},{"tag":"stack","attrs":{"class":"ask-despia-issues","visible-if":"dsx.this.issues.length > 0"},"children":[{"tag":"text","attrs":{"repeat":"dsx.this.issues","key":"id","class":"ask-despia-issue","value":"{{ dsx.this.message }}"},"children":[],"text":"","reactive":true,"nid":132}],"text":"\n            \n          ","reactive":true,"nid":131}],"text":"\n          \n          \n          \n        ","reactive":true,"nid":120},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.doneNote }}","status":"done","visible-if":"dsx.this.allOutcome == 'done'"},"children":[],"text":"","reactive":true,"nid":133},{"tag":"text","attrs":{"class":"ask-despia-quiet","value":"Not now. Ask again any time.","visible-if":"dsx.this.allOutcome == 'declined'"},"children":[],"text":"","reactive":true,"nid":134},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.failNote != '' ? dsx.this.failNote : 'That did not go through.' }}","status":"failed","visible-if":"dsx.this.allOutcome == 'failed'"},"children":[],"text":"","reactive":true,"nid":135}],"text":"\n        \n        \n        \n        \n      ","reactive":true,"nid":119},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'missing'","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.body }}"},"children":[{"tag":"stack","attrs":{"class":"ask-despia-plain-list"},"children":[{"tag":"text","attrs":{"repeat":"dsx.this.locales","key":"tag","class":"ask-despia-text","value":"{{ dsx.this.name }}"},"children":[],"text":"","reactive":true,"nid":138}],"text":"\n          \n        ","reactive":true,"nid":137}],"text":"\n        \n      ","reactive":true,"nid":136},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'lint'","title":"{{ dsx.this.card.title }}"},"children":[{"tag":"TaskRow","attrs":{"title":"Everything passes the store's rules","status":"done","visible-if":"dsx.this.card.ok"},"children":[],"text":"","reactive":true,"nid":140},{"tag":"stack","attrs":{"class":"ask-despia-issues","visible-if":"!dsx.this.card.ok"},"children":[{"tag":"text","attrs":{"repeat":"dsx.this.issues","key":"id","class":"ask-despia-issue ask-despia-issue-{{ dsx.this.error ? 'error' : 'warning' }}","value":"{{ dsx.this.message }}"},"children":[],"text":"","reactive":true,"nid":142}],"text":"\n          \n        ","reactive":true,"nid":141}],"text":"\n        \n        \n      ","reactive":true,"nid":139},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'names'","store":"{{ dsx.this.card.store == 'android' ? 'google' : 'apple' }}","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.body }}","primary":"{{ dsx.this.outcome == '' || dsx.this.outcome == 'running' ? dsx.this.card.confirmLabel : '' }}","primary-disabled":"{{ dsx.this.optionValues.includes(dsx.variable.namePick) ? 'false' : 'true' }}","secondary":"{{ dsx.this.outcome == '' ? 'Not Now' : '' }}","busy":"{{ dsx.this.outcome == 'running' ? 'true' : 'false' }}","on:primary":"dsx.action.perform({ card: dsx.this.key, choice: dsx.variable.namePick })","on:secondary":"dsx.action.decline({ card: dsx.this.key })"},"children":[{"tag":"radio-group","attrs":{"class":"ask-despia-radio","bind":"dsx.variable.namePick","options-key":"dsx.this.card.options","value-field":"value","label-field":"label","aria-label":"Free names","disabled-if":"dsx.this.outcome != ''"},"children":[],"text":"","reactive":true,"nid":144},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.note != '' ? dsx.this.note : 'Name saved' }}","status":"done","visible-if":"dsx.this.outcome == 'done'"},"children":[],"text":"","reactive":true,"nid":145},{"tag":"text","attrs":{"class":"ask-despia-quiet","value":"Not now. Ask again any time.","visible-if":"dsx.this.outcome == 'declined'"},"children":[],"text":"","reactive":true,"nid":146},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.note != '' ? dsx.this.note : 'That did not go through.' }}","status":"failed","visible-if":"dsx.this.outcome == 'failed'"},"children":[],"text":"","reactive":true,"nid":147}],"text":"\n        \n        \n        \n        \n      ","reactive":true,"nid":143},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'icon-save'","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.body }}","primary":"{{ dsx.this.primary }}","secondary":"{{ dsx.this.card.editorPath != '' && dsx.this.outcome != 'running' ? 'Open Editor' : '' }}","secondary-go":"page","busy":"{{ dsx.this.outcome == 'running' ? 'true' : 'false' }}","divider":"true","on:primary":"dsx.action.perform({ card: dsx.this.key })","on:secondary":"dsx.action.go({ path: dsx.this.card.editorPath })"},"children":[{"tag":"hstack","attrs":{"class":"agent-icon-previews","__steers":"1"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.this.card.previews","key":"id","class":"agent-icon-preview","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"agent-icon-preview-image agent-icon-preview-{{ dsx.this.id }}","src":"{{ dsx.this.image }}","aria-label":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":151},{"tag":"text","attrs":{"class":"ask-despia-quiet","value":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":152}],"text":"\n            \n            \n          ","reactive":true,"nid":150}],"text":"\n          \n        ","reactive":true,"nid":149},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.note != '' ? dsx.this.note : 'Saved' }}","status":"done","visible-if":"dsx.this.outcome == 'done'"},"children":[],"text":"","reactive":true,"nid":153},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.note != '' ? dsx.this.note : 'That did not go through.' }}","status":"failed","visible-if":"dsx.this.outcome == 'failed'"},"children":[],"text":"","reactive":true,"nid":154}],"text":"\n        \n        \n        \n      ","reactive":true,"nid":148},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'icon-generate'","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.outcome == 'done' ? 'Pick one. Use This opens it in the icon editor, where you save it.' : dsx.this.card.body }}","primary":"{{ dsx.this.outcome == 'done' ? 'Use This' : dsx.this.primary }}","primary-disabled":"{{ (dsx.this.outcome == 'done' && dsx.this.picked == '') || (dsx.this.outcome == '' && dsx.variable.iconInspiration.length > 0 && !dsx.variable.iconRights) ? 'true' : 'false' }}","secondary":"{{ dsx.this.outcome == '' ? 'Not Now' : '' }}","busy":"{{ dsx.this.outcome == 'running' ? 'true' : 'false' }}","divider":"true","on:primary":"dsx.action.iconPrimary({ card: dsx.this.key, outcome: dsx.this.outcome, path: dsx.this.openPath })","on:secondary":"dsx.action.decline({ card: dsx.this.key })"},"children":[{"tag":"stack","attrs":{"class":"agent-icon-brief","visible-if":"dsx.this.outcome == ''"},"children":[{"tag":"ListGroup","attrs":{"header":"Describe Your Icon","footer":"New icons never contain words or letters."},"children":[{"tag":"SettingsRow","attrs":{},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.iconPrompt","placeholder":"{{ dsx.this.card.prompt != '' ? dsx.this.card.prompt : 'A fox in a forest, flat and bold' }}","aria-label":"Describe your icon"},"children":[],"text":"","reactive":true,"nid":159}],"text":"","reactive":true,"nid":158},{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.iconInspiration","key":"id","image":"{{ dsx.this.image }}","title":"Inspiration","value":"Remove","tappable":"true","on:tap":"dsx.action.iconRemoveImage({ id: dsx.this.id })"},"children":[],"text":"","reactive":true,"nid":160}],"text":"\n            \n            \n          ","reactive":true,"nid":157},{"tag":"checkbox","attrs":{"bind":"dsx.variable.iconRights","label":"I own this image or have the rights to use it, and it may be used to create my app's icon."},"children":[],"text":"","reactive":true,"nid":161},{"tag":"hstack","attrs":{"class":"agent-icon-brief-actions","__steers":"1"},"children":[{"tag":"button","attrs":{"variant":"bordered","icon":"photo","label":"Add Image","disabled-if":"!dsx.variable.iconRights || dsx.variable.iconInspiration.length >= 3","on:tap":"dsx.action.iconAddImage()"},"children":[],"text":"","reactive":true,"nid":163},{"tag":"text","attrs":{"class":"ask-despia-fine ask-despia-fine-link","role":"link","value":"How Despia uses AI","href":"/ai-terms"},"children":[],"text":"","reactive":false,"nid":164}],"text":"\n            \n            \n          ","reactive":true,"nid":162}],"text":"\n          \n          \n          \n        ","reactive":true,"nid":156},{"tag":"ListGroup","attrs":{"visible-if":"dsx.this.outcome != 'done' && dsx.this.card.rounds.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.card.rounds","key":"id","icon":"photo","title":"{{ dsx.this.label }}","value":"{{ dsx.this.value }}"},"children":[],"text":"","reactive":true,"nid":166}],"text":"\n          \n        ","reactive":true,"nid":165},{"tag":"stack","attrs":{"class":"agent-icon-tiles","visible-if":"dsx.this.outcome == 'done' && dsx.this.tiles.length > 0"},"children":[{"tag":"pressable","attrs":{"class":"agent-icon-tile","repeat":"dsx.this.tiles","key":"ref","aria-label":"{{ dsx.this.label }}","aria-selected":"{{ dsx.this.on }}","on:tap":"dsx.action.iconPick({ key: dsx.this.rowKey, ref: dsx.this.ref })","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"agent-icon-tile-image agent-icon-tile-picture","src":"{{ dsx.this.image }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":169},{"tag":"text","attrs":{"class":"agent-icon-tile-label","value":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":170},{"tag":"image","attrs":{"class":"agent-icon-tile-mark","icon":"{{ dsx.this.on ? 'checkmark.circle.fill' : 'circle' }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":171}],"text":"\n            \n            \n            \n          ","reactive":true,"nid":168}],"text":"\n          \n        ","reactive":true,"nid":167},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.note }}","status":"done","visible-if":"dsx.this.outcome == 'done' && dsx.this.note != ''"},"children":[],"text":"","reactive":true,"nid":172},{"tag":"text","attrs":{"class":"ask-despia-quiet","value":"Not now. Ask again any time.","visible-if":"dsx.this.outcome == 'declined'"},"children":[],"text":"","reactive":true,"nid":173},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.note != '' ? dsx.this.note : 'That did not go through.' }}","status":"failed","visible-if":"dsx.this.outcome == 'failed'"},"children":[],"text":"","reactive":true,"nid":174}],"text":"\n        \n        \n        \n        \n        \n        \n      ","reactive":true,"nid":155},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'icon-choices'","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.body }}","primary":"{{ dsx.this.chosenLabel == '' && !dsx.this.plain ? dsx.this.card.confirmLabel : '' }}","primary-disabled":"{{ dsx.this.picked == '' ? 'true' : 'false' }}","on:primary":"dsx.action.choose({ key: dsx.this.key, label: 'Use ' + dsx.this.pickedLabel })"},"children":[{"tag":"stack","attrs":{"class":"agent-icon-tiles","visible-if":"!dsx.this.plain"},"children":[{"tag":"pressable","attrs":{"class":"agent-icon-tile","repeat":"dsx.this.tiles","key":"ref","aria-label":"{{ dsx.this.label }}","aria-selected":"{{ dsx.this.on }}","on:tap":"dsx.action.iconPick({ key: dsx.this.rowKey, ref: dsx.this.ref })","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"agent-icon-tile-image","src":"{{ dsx.this.image }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":178},{"tag":"text","attrs":{"class":"agent-icon-tile-label","value":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":179},{"tag":"image","attrs":{"class":"agent-icon-tile-mark","icon":"{{ dsx.this.on ? 'checkmark.circle.fill' : 'circle' }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":180}],"text":"\n            \n            \n            \n          ","reactive":true,"nid":177}],"text":"\n          \n        ","reactive":true,"nid":176},{"tag":"ListGroup","attrs":{"visible-if":"dsx.this.plain"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.options","key":"value","title":"{{ dsx.this.label }}","checked":"{{ dsx.this.on }}","tappable":"true","on:tap":"dsx.action.choose({ key: dsx.this.rowKey, label: 'Use ' + dsx.this.label })"},"children":[],"text":"","reactive":true,"nid":182}],"text":"\n          \n        ","reactive":true,"nid":181},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.chosenLabel }}","status":"done","visible-if":"dsx.this.chosenLabel != ''"},"children":[],"text":"","reactive":true,"nid":183}],"text":"\n        \n        \n        \n      ","reactive":true,"nid":175},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'new-app'","tile-src":"{{ dsx.this.card.iconUrl }}","tile-name":"{{ dsx.this.card.title }}","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.lead }}","primary":"{{ dsx.this.primary }}","secondary":"{{ dsx.this.outcome == '' || dsx.this.outcome == 'failed' ? dsx.this.card.changeLabel : '' }}","busy":"{{ dsx.this.outcome == 'running' ? 'true' : 'false' }}","divider":"true","on:primary":"dsx.action.perform({ card: dsx.this.key })","on:secondary":"dsx.action.go({ path: dsx.this.card.changePath })"},"children":[{"tag":"ListGroup","attrs":{"footer":"{{ dsx.this.card.iconUrl == '' ? dsx.this.card.body : '' }}"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.facts","key":"id","title":"{{ dsx.this.label }}","value":"{{ dsx.this.value }}"},"children":[],"text":"","reactive":true,"nid":186}],"text":"\n          \n        ","reactive":true,"nid":185},{"tag":"ListGroup","attrs":{"header":"I set these for you","visible-if":"dsx.this.settingRows.length > 0 && dsx.this.outcome != 'done'"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.settingRows","key":"id","title":"{{ dsx.this.label }}","value":"{{ dsx.this.value }}"},"children":[],"text":"","reactive":true,"nid":188}],"text":"\n          \n        ","reactive":true,"nid":187},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.note != '' ? dsx.this.note : 'Created' }}","status":"done","visible-if":"dsx.this.outcome == 'done'"},"children":[],"text":"","reactive":true,"nid":189},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.note != '' ? dsx.this.note : 'That did not go through.' }}","status":"failed","visible-if":"dsx.this.outcome == 'failed'"},"children":[],"text":"","reactive":true,"nid":190}],"text":"\n        \n        \n        \n        \n      ","reactive":true,"nid":184},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'site-unreachable'","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.body }}","primary":"{{ dsx.variable.retried[dsx.this.key] === true ? '' : dsx.this.card.retryLabel }}","on:primary":"dsx.action.retryAddress({ key: dsx.this.key, text: dsx.this.card.draft })"},"children":[],"text":"","reactive":true,"nid":191},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'app-ready'","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.body }}","primary":"{{ dsx.this.card.openPath != '' ? dsx.this.card.openLabel : '' }}","secondary":"{{ dsx.this.card.nextPath != '' ? dsx.this.card.nextLabel : '' }}","on:primary":"dsx.action.go({ path: dsx.this.card.openPath })","on:secondary":"dsx.action.go({ path: dsx.this.card.nextPath })"},"children":[],"text":"","reactive":true,"nid":192},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'feature'","tile-icon":"{{ dsx.this.card.icon.symbol != '' ? dsx.this.card.icon.symbol : 'puzzlepiece.extension' }}","tile-tint":"{{ dsx.this.card.icon.tint != '' ? dsx.this.card.icon.tint : '#6D3BEF' }}","tile-name":"{{ dsx.this.card.title }}","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.body }}","primary":"{{ dsx.this.primary }}","secondary":"{{ dsx.this.card.action != null && dsx.this.addOutcome == '' ? 'Not Now' : '' }}","busy":"{{ dsx.this.working ? 'true' : 'false' }}","on:primary":"dsx.action.featureTap({ card: dsx.this.card, added: dsx.this.addOutcome == 'done' })","on:secondary":"dsx.action.decline({ card: dsx.this.card.action.cardId })"},"children":[{"tag":"text","attrs":{"class":"ask-despia-quiet","value":"{{ dsx.this.card.alpha }}","visible-if":"dsx.this.card.alpha != '' && dsx.this.addOutcome == ''"},"children":[],"text":"","reactive":true,"nid":194},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.addNote != '' ? dsx.this.addNote : 'Added to your app' }}","status":"done","visible-if":"dsx.this.card.action != null && dsx.this.addOutcome == 'done'"},"children":[],"text":"","reactive":true,"nid":195},{"tag":"text","attrs":{"class":"ask-despia-text","value":"{{ dsx.this.card.consequence.line }}","visible-if":"dsx.this.card.consequence.line != '' && dsx.this.buildOutcome != 'done' && dsx.this.addOutcome != 'declined'"},"children":[],"text":"","reactive":true,"nid":196},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.buildNote != '' ? dsx.this.buildNote : 'Build started' }}","status":"done","visible-if":"dsx.this.buildOutcome == 'done'"},"children":[],"text":"","reactive":true,"nid":197},{"tag":"text","attrs":{"class":"ask-despia-quiet","value":"Not now. Ask again any time.","visible-if":"dsx.this.addOutcome == 'declined'"},"children":[],"text":"","reactive":true,"nid":198},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.addNote != '' ? dsx.this.addNote : 'That did not go through.' }}","status":"failed","visible-if":"dsx.this.addOutcome == 'failed'"},"children":[],"text":"","reactive":true,"nid":199},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.buildNote != '' ? dsx.this.buildNote : 'The build did not start.' }}","status":"failed","visible-if":"dsx.this.buildOutcome == 'failed'"},"children":[],"text":"","reactive":true,"nid":200}],"text":"\n        \n        \n        \n        \n        \n        \n        \n      ","reactive":true,"nid":193},{"tag":"AgentSetupCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'setup'","project-id":"{{ dsx.attribute.projectId }}","card-key":"{{ dsx.this.key }}","card":"{{ dsx.this.card }}","outcome":"{{ dsx.this.outcome }}","note":"{{ dsx.this.note }}","on:decline":"dsx.action.decline({ card: dsx.this.key })","on:saved":"dsx.event('changed')"},"children":[],"text":"","reactive":true,"nid":201},{"tag":"DemoAccountCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'secure-field-card' && dsx.this.card.block == 'screenshots.demo_account'","project-id":"{{ dsx.attribute.projectId }}","on:saved":"dsx.action.secureState({ card: dsx.this.key, set: true })","on:deleted":"dsx.action.secureState({ card: dsx.this.key, set: false })"},"children":[],"text":"","reactive":true,"nid":202},{"tag":"AgentConnectCard","attrs":{"visible-if":"dsx.this.type == 'card' && (dsx.this.kind == 'connect.apple' || dsx.this.kind == 'connect.googlePlay' || dsx.this.kind == 'connect.extension' || dsx.this.kind == 'connect.github')","store":"{{ dsx.this.connectStore }}","project-id":"{{ dsx.attribute.projectId }}","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.body }}","on:done":"dsx.action.connectState({ card: dsx.this.key, result: 'done', note: dsx.this.note })"},"children":[],"text":"","reactive":true,"nid":203},{"tag":"StoreScreenshotSetCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'screenshots.set'","project-id":"{{ dsx.attribute.projectId }}","title":"{{ dsx.this.title }}","cls":"{{ dsx.this.cls || '' }}","locale":"{{ dsx.this.locale || '' }}"},"children":[],"text":"","reactive":true,"nid":204},{"tag":"StoreScreenshotsCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'screenshots.run'","project-id":"{{ dsx.attribute.projectId }}","on:changed":"dsx.event('changed')"},"children":[],"text":"","reactive":true,"nid":205},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'prompt'","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.body }}","primary":"{{ dsx.variable.copied[dsx.this.key] === true ? 'Copied' : dsx.this.card.copyLabel }}","primary-go":"copy","secondary":"{{ dsx.this.card.docs != null ? dsx.this.card.docs.label : '' }}","secondary-go":"{{ dsx.this.card.docs != null && dsx.this.card.docs.target == 'new-tab' ? 'external' : '' }}","on:primary":"dsx.action.copyPrompt({ key: dsx.this.key, prompt: dsx.this.card.prompt })","on:secondary":"dsx.action.openDocs({ docs: dsx.this.card.docs })"},"children":[],"text":"","reactive":true,"nid":206},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'fact-check'","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.countLine }}","primary":"{{ dsx.variable.copied[dsx.this.key] === true ? 'Copied' : dsx.this.card.copyLabel }}","primary-go":"copy","divider":"true","on:primary":"dsx.action.copyPrompt({ key: dsx.this.key, prompt: dsx.this.card.copyText })"},"children":[{"tag":"ListGroup","attrs":{},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.verdictRows","key":"id","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}","badge":"{{ dsx.this.badge }}","badge-role":"{{ dsx.this.role }}"},"children":[],"text":"","reactive":true,"nid":209}],"text":"\n          \n        ","reactive":true,"nid":208},{"tag":"ListGroup","attrs":{"header":"What is really happening","visible-if":"dsx.this.rcTitle != ''"},"children":[{"tag":"SettingsRow","attrs":{"status":"failed","title":"{{ dsx.this.rcTitle }}","subtitle":"{{ dsx.this.rcCause }}"},"children":[],"text":"","reactive":true,"nid":211},{"tag":"SettingsRow","attrs":{"icon":"wrench.and.screwdriver","title":"How to fix it","subtitle":"{{ dsx.this.rcFix }}"},"children":[],"text":"","reactive":true,"nid":212}],"text":"\n          \n          \n        ","reactive":true,"nid":210}],"text":"\n        \n        \n      ","reactive":true,"nid":207},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'growth-plan'","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.closing }}","primary":"{{ dsx.variable.copied[dsx.this.key] === true ? 'Copied' : dsx.this.card.copyLabel }}","primary-go":"copy","divider":"true","on:primary":"dsx.action.copyPrompt({ key: dsx.this.key, prompt: dsx.this.card.prompt })"},"children":[{"tag":"ListGroup","attrs":{},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.planRows","key":"id","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}"},"children":[],"text":"","reactive":true,"nid":215}],"text":"\n          \n        ","reactive":true,"nid":214}],"text":"\n        \n      ","reactive":true,"nid":213},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'github'","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.body }}","primary":"{{ dsx.this.outcome == '' && dsx.this.card.path != '' ? dsx.this.card.openLabel : '' }}","secondary":"{{ dsx.this.outcome == '' ? 'Not Now' : '' }}","on:primary":"dsx.action.go({ path: dsx.this.card.path })","on:secondary":"dsx.action.decline({ card: dsx.this.key })"},"children":[{"tag":"text","attrs":{"class":"ask-despia-quiet","value":"Not now. Ask again any time.","visible-if":"dsx.this.outcome == 'declined'"},"children":[],"text":"","reactive":true,"nid":217}],"text":"\n        \n      ","reactive":true,"nid":216},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'voice-ask'","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.question }}","primary":"{{ dsx.variable.voiceOn && dsx.this.last && (dsx.variable.voiceState == '' || dsx.variable.voiceState == 'failed') ? 'Record' : '' }}","on:primary":"dsx.action.voiceStart()"},"children":[{"tag":"text","attrs":{"class":"ask-despia-quiet","value":"{{ dsx.this.card.retention }}","visible-if":"dsx.this.card.retention != '' && dsx.this.last && dsx.variable.voiceState != 'heard'"},"children":[],"text":"","reactive":true,"nid":219}],"text":"\n        \n      ","reactive":true,"nid":218},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'release'","store":"{{ dsx.this.store }}","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.body }}","primary":"{{ dsx.this.primary }}","busy":"{{ dsx.this.working ? 'true' : 'false' }}","divider":"true","on:primary":"dsx.action.featureTap({ card: dsx.this.card, added: false })"},"children":[{"tag":"ListGroup","attrs":{},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.channelRows","key":"id","title":"{{ dsx.this.label }}","value":"{{ dsx.this.value }}"},"children":[],"text":"","reactive":true,"nid":222}],"text":"\n          \n        ","reactive":true,"nid":221},{"tag":"ListGroup","attrs":{"header":"Not in a build yet","visible-if":"dsx.this.changeRows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.changeRows","key":"id","title":"{{ dsx.this.label }}","subtitle":"{{ dsx.this.value }}"},"children":[],"text":"","reactive":true,"nid":224}],"text":"\n          \n        ","reactive":true,"nid":223},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.addNote != '' ? dsx.this.addNote : 'Started' }}","status":"done","visible-if":"dsx.this.card.action != null && dsx.this.addOutcome == 'done'"},"children":[],"text":"","reactive":true,"nid":225},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.addNote != '' ? dsx.this.addNote : 'That did not go through.' }}","status":"failed","visible-if":"dsx.this.addOutcome == 'failed'"},"children":[],"text":"","reactive":true,"nid":226}],"text":"\n        \n        \n        \n        \n      ","reactive":true,"nid":220},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'summary'","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.body }}","secondary":"{{ String(dsx.attribute.projectId).startsWith('workspace:') ? '' : dsx.this.card.changeLabel }}","divider":"true","on:secondary":"dsx.action.go({ path: '/apps/' + dsx.attribute.projectId + '/settings' })"},"children":[{"tag":"ListGroup","attrs":{},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.summaryRows","key":"id","title":"{{ dsx.this.label }}","value":"{{ dsx.this.value }}"},"children":[],"text":"","reactive":true,"nid":229}],"text":"\n          \n        ","reactive":true,"nid":228}],"text":"\n        \n      ","reactive":true,"nid":227},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'checkout'","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.body }}","primary":"{{ dsx.this.primary }}","primary-go":"external","primary-disabled":"{{ dsx.this.pick == '' ? 'true' : 'false' }}","secondary":"{{ dsx.this.outcome == '' ? 'Not Now' : '' }}","busy":"{{ dsx.this.outcome == 'running' ? 'true' : 'false' }}","divider":"true","on:primary":"dsx.action.checkoutPay({ key: dsx.this.key, option: dsx.this.pick })","on:secondary":"dsx.action.decline({ card: dsx.this.key })"},"children":[{"tag":"ListGroup","attrs":{"visible-if":"dsx.this.outcome != 'done' && dsx.this.outcome != 'declined'"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.optionRows","key":"key","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}","value":"{{ dsx.this.price }}","checked":"{{ dsx.this.on }}","tappable":"true","on:tap":"dsx.action.pickOption({ key: dsx.this.rowKey, option: dsx.this.key })"},"children":[],"text":"","reactive":true,"nid":232}],"text":"\n          \n        ","reactive":true,"nid":231},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.note != '' ? dsx.this.note : 'Opened the payment page' }}","status":"done","visible-if":"dsx.this.outcome == 'done'"},"children":[],"text":"","reactive":true,"nid":233},{"tag":"text","attrs":{"class":"ask-despia-quiet","value":"Not now. Ask again any time.","visible-if":"dsx.this.outcome == 'declined'"},"children":[],"text":"","reactive":true,"nid":234},{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.note != '' ? dsx.this.note : 'That did not go through.' }}","status":"failed","visible-if":"dsx.this.outcome == 'failed'"},"children":[],"text":"","reactive":true,"nid":235}],"text":"\n        \n        \n        \n        \n      ","reactive":true,"nid":230},{"tag":"ListGroup","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'goodwill'"},"children":[{"tag":"SettingsRow","attrs":{"icon":"gift","title":"{{ dsx.this.giftTitle }}","subtitle":"{{ dsx.this.giftLine }}"},"children":[],"text":"","reactive":true,"nid":237}],"text":"\n        \n      ","reactive":true,"nid":236},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'integration'","store":"{{ dsx.this.card.store == 'google' ? 'google' : 'apple' }}","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.state == 'connected' || dsx.this.actionDone ? 'Connected' : dsx.this.card.detail }}","primary":"{{ dsx.this.card.action != null && !dsx.this.actionDone && dsx.this.card.state != 'connected' ? dsx.this.card.action.label : '' }}","on:primary":"dsx.action.pointFrom({ card: dsx.this.card })"},"children":[],"text":"","reactive":true,"nid":238},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'step'","store":"{{ dsx.this.store }}","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.body }}","primary":"{{ dsx.this.card.action != null && !dsx.this.actionDone ? dsx.this.card.action.label : '' }}","on:primary":"dsx.action.pointFrom({ card: dsx.this.card })"},"children":[],"text":"","reactive":true,"nid":239},{"tag":"ListGroup","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'steps'"},"children":[{"tag":"SettingsRow","attrs":{"icon":"list.number","title":"Store Setup","value":"{{ dsx.this.stepsLine }}","tappable":"true","chevron":"true","on:tap":"dsx.action.go({ path: '/apps/' + dsx.attribute.projectId + '/store-setup' })"},"children":[],"text":"","reactive":true,"nid":241}],"text":"\n        \n      ","reactive":true,"nid":240},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'link'","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.body }}","go":"{{ dsx.this.card.target == 'new-tab' ? 'external' : 'page' }}","on:primary":"dsx.action.follow({ target: dsx.this.card.target, url: dsx.this.card.url, path: dsx.this.card.path })"},"children":[],"text":"","reactive":true,"nid":242},{"tag":"ListGroup","attrs":{"header":"{{ dsx.this.question }}","visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'choice'"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.appOptions","key":"value","title":"{{ dsx.this.app.name }}","code":"{{ [dsx.this.app.iosId, dsx.this.app.androidId].filter(x => x).filter((x, i, ids) => ids.indexOf(x) == i).join(' · ') || 'No identifier yet' }}","checked":"{{ dsx.this.on }}","tappable":"true","on:tap":"dsx.action.choose({ key: dsx.this.rowKey, label: dsx.this.send })"},"children":[{"tag":"IconTile","attrs":{"slot":"leading","src":"{{ dsx.this.app.icon }}","name":"{{ dsx.this.app.name }}"},"children":[],"text":"","reactive":true,"nid":245}],"text":"\n          \n        ","reactive":true,"nid":244},{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.plainOptions","key":"value","title":"{{ dsx.this.label }}","checked":"{{ dsx.this.on }}","tappable":"true","on:tap":"dsx.action.choose({ key: dsx.this.rowKey, label: dsx.this.label })"},"children":[],"text":"","reactive":true,"nid":246}],"text":"\n        \n        \n      ","reactive":true,"nid":243},{"tag":"ListGroup","attrs":{"footer":"{{ dsx.this.isKey ? 'Keys go straight to your sealed store. Agent only sees that one was added.' : '' }}","visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'file-drop'"},"children":[{"tag":"SettingsRow","attrs":{"icon":"{{ dsx.this.fileIcon }}","title":"{{ dsx.this.card.title }}","subtitle":"{{ dsx.this.card.body }}"},"children":[],"text":"","reactive":true,"nid":248},{"tag":"SettingsRow","attrs":{"icon":"paperclip","title":"Choose a File","tone":"accent","tappable":"true","on:tap":"dsx.action.attach({ types: dsx.this.fileTypes, then: 'Here it is.' })"},"children":[],"text":"","reactive":true,"nid":249}],"text":"\n        \n        \n      ","reactive":true,"nid":247},{"tag":"AskDespiaProgress","attrs":{"project-id":"{{ dsx.attribute.projectId }}","visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'progress'","build-id":"{{ dsx.this.card.buildId }}","title":"{{ dsx.this.card.title }}","platform":"{{ dsx.this.card.platform }}","on:open":"dsx.action.go({ path: dsx.this.path })"},"children":[],"text":"","reactive":true,"nid":250},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'actions'","title":"{{ dsx.this.card.title }}","body":"{{ dsx.this.card.body }}"},"children":[{"tag":"hstack","attrs":{"class":"agent-card-actions"},"children":[{"tag":"button","attrs":{"repeat":"dsx.this.buttons","key":"key","class":"agent-card-button agent-card-mark-trail","variant":"bordered","label":"{{ dsx.this.label }}","icon":"{{ dsx.this.external ? 'arrow.up.right' : 'chevron.right' }}","on:tap":"dsx.action.cardButton({ button: dsx.this })"},"children":[],"text":"","reactive":true,"nid":253}],"text":"\n          \n        ","reactive":true,"nid":252}],"text":"\n        \n      ","reactive":true,"nid":251},{"tag":"ListGroup","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'support'"},"children":[{"tag":"SettingsRow","attrs":{"icon":"bubble.left.and.bubble.right","title":"{{ dsx.this.card.title != '' ? dsx.this.card.title : 'Talk to Our Team' }}","subtitle":"{{ dsx.this.card.body }}","tappable":"{{ dsx.variable.intake == null ? 'true' : 'false' }}","chevron":"{{ dsx.variable.intake == null ? 'true' : 'false' }}","on:tap":"dsx.action.support({ key: dsx.this.key })"},"children":[],"text":"","reactive":true,"nid":255}],"text":"\n        \n      ","reactive":true,"nid":254},{"tag":"ListGroup","attrs":{"visible-if":"dsx.this.type == 'card' && dsx.this.kind == 'thread'"},"children":[{"tag":"SettingsRow","attrs":{"icon":"bubble.left.and.bubble.right","title":"{{ dsx.this.card.title != '' ? dsx.this.card.title : 'Your case' }}","subtitle":"Open the thread","tappable":"true","chevron":"true","on:tap":"dsx.action.openThread({ id: dsx.this.card.threadId })"},"children":[],"text":"","reactive":true,"nid":257}],"text":"\n        \n      ","reactive":true,"nid":256},{"tag":"ListGroup","attrs":{"header":"What I did","visible-if":"dsx.this.type == 'summary' && dsx.this.did.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.did","key":"id","status":"done","title":"{{ dsx.this.title }}"},"children":[],"text":"","reactive":true,"nid":259}],"text":"\n        \n      ","reactive":true,"nid":258},{"tag":"stack","attrs":{"class":"ask-despia-problem","visible-if":"dsx.this.type == 'error' || dsx.this.type == 'stopped'"},"children":[{"tag":"text","attrs":{"class":"ask-despia-quiet","value":"{{ dsx.this.type == 'stopped' ? 'Stopped.' : dsx.this.message }}"},"children":[],"text":"","reactive":true,"nid":261},{"tag":"ListGroup","attrs":{"visible-if":"dsx.this.last"},"children":[{"tag":"SettingsRow","attrs":{"icon":"arrow.clockwise","title":"Try Again","tone":"accent","tappable":"true","on:tap":"dsx.module.convertdata.copilotRetry({ id: dsx.attribute.projectId })"},"children":[],"text":"","reactive":true,"nid":263}],"text":"\n          \n        ","reactive":true,"nid":262}],"text":"\n        \n        \n      ","reactive":true,"nid":260}],"text":"\n      \n      \n\n      \n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n      \n      \n      \n      \n\n      \n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n    ","reactive":true,"nid":47},{"tag":"stack","attrs":{"repeat":"dsx.variable.intakeRows","key":"key","class":"ask-despia-row ask-despia-row-{{ dsx.this.type }}"},"children":[{"tag":"stack","attrs":{"class":"ask-despia-you","visible-if":"dsx.this.type == 'user'"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.this.text }}"},"children":[],"text":"","reactive":true,"nid":266}],"text":"","reactive":true,"nid":265},{"tag":"text","attrs":{"class":"ask-despia-text","value":"{{ dsx.this.text }}","visible-if":"dsx.this.type == 'agent'"},"children":[],"text":"","reactive":true,"nid":267},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'summary'","title":"{{ dsx.this.title }}","body":"The case the team will get, with your app's latest build attached.","primary":"{{ dsx.variable.intake != null && (dsx.variable.intake.phase == 'summary' || dsx.variable.intake.phase == 'filing') ? 'File Case' : '' }}","secondary":"{{ dsx.variable.intake != null && dsx.variable.intake.phase == 'summary' ? 'Change Answers' : '' }}","busy":"{{ dsx.action.fileCase.pending ? 'true' : 'false' }}","divider":"true","on:primary":"dsx.action.fileCase()","on:secondary":"dsx.action.editCase()"},"children":[{"tag":"stack","attrs":{"class":"ask-despia-fields"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.this.fields","key":"id","class":"ask-despia-field"},"children":[{"tag":"text","attrs":{"class":"ask-despia-field-label","value":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":271},{"tag":"text","attrs":{"class":"ask-despia-field-value","value":"{{ dsx.this.value }}"},"children":[],"text":"","reactive":true,"nid":272}],"text":"\n            \n            \n          ","reactive":true,"nid":270}],"text":"\n          \n        ","reactive":true,"nid":269},{"tag":"TaskRow","attrs":{"title":"Case opened","status":"done","visible-if":"dsx.variable.intake != null && dsx.variable.intake.phase == 'filed'"},"children":[],"text":"","reactive":true,"nid":273}],"text":"\n        \n        \n      ","reactive":true,"nid":268},{"tag":"ListGroup","attrs":{"visible-if":"dsx.this.type == 'thread'"},"children":[{"tag":"SettingsRow","attrs":{"icon":"bubble.left.and.bubble.right","title":"{{ dsx.this.title }}","subtitle":"Open the thread","tappable":"true","chevron":"true","on:tap":"dsx.action.openThread({ id: dsx.this.id })"},"children":[],"text":"","reactive":true,"nid":275}],"text":"\n        \n      ","reactive":true,"nid":274}],"text":"\n      \n      \n      \n      \n    ","reactive":true,"nid":264},{"tag":"stack","attrs":{"slot":"bottom","class":"ask-despia-composer"},"children":[{"tag":"stack","attrs":{"class":"ask-despia-chip-strip{{ dsx.variable.chipsOn ? '' : ' ask-despia-chips-off' }}{{ dsx.variable.helloShown ? ' ask-despia-chips-none' : '' }}"},"children":[{"tag":"scroll","attrs":{"class":"ask-despia-chips","ref":"agentChips","axis":"horizontal","indicators":"false","overscroll":"never","aria-label":"Suggested questions","__row":"1"},"children":[{"tag":"button","attrs":{"repeat":"dsx.variable.starters","key":"key","variant":"bordered","control-size":"small","label":"{{ dsx.this.label }}","on:tap":"dsx.action.askStarter({ prompt: dsx.this.prompt })"},"children":[],"text":"","reactive":true,"nid":279}],"text":"\n          \n        ","reactive":true,"nid":278},{"tag":"ScrollFade","attrs":{"class":"ask-despia-chip-fade","source":"agentChips","axis":"horizontal"},"children":[],"text":"","reactive":true,"nid":280}],"text":"\n        \n        \n      ","reactive":true,"nid":277},{"tag":"text","attrs":{"class":"ask-despia-quiet","value":"{{ dsx.variable.fileProblem }}","visible-if":"dsx.variable.fileProblem != ''"},"children":[],"text":"","reactive":true,"nid":281},{"tag":"TaskRow","attrs":{"class":"ask-despia-voice-line","title":"{{ dsx.variable.voiceLine }}","status":"running","visible-if":"dsx.variable.voiceState == 'transcribing'","__steers":"1"},"children":[],"text":"","reactive":true,"nid":282},{"tag":"hstack","attrs":{"class":"ask-despia-voice-line","visible-if":"dsx.variable.voiceState == 'heard' || dsx.variable.voiceState == 'failed'","a11yLive":"polite","__steers":"1"},"children":[{"tag":"image","attrs":{"icon":"{{ dsx.variable.voiceState == 'heard' ? 'lock' : 'mic.slash' }}","class":"ask-despia-voice-mark","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":284},{"tag":"text","attrs":{"class":"ask-despia-quiet","value":"{{ dsx.variable.voiceLine }}","__css":"c48"},"children":[],"text":"","reactive":true,"nid":285}],"text":"\n        \n        \n      ","reactive":true,"nid":283},{"tag":"PromptInput","attrs":{"value":"{{ dsx.variable.draft }}","shape":"card","min-lines":"2","placeholder":"{{ dsx.variable.asking ? 'Answer Agent here' : 'Ask Agent anything about your app' }}","busy":"{{ dsx.variable.streaming ? 'true' : 'false' }}","attach":"{{ dsx.variable.studio ? 'true' : 'false' }}","attachments":"{{ dsx.variable.attachments }}","aria-label":"Agent","voice":"{{ dsx.variable.voiceOn ? 'true' : 'false' }}","recording":"{{ dsx.variable.recording ? 'true' : 'false' }}","level":"{{ dsx.variable.level }}","elapsed":"{{ dsx.variable.elapsed }}","on:voice-start":"dsx.action.voiceStart()","on:voice-stop":"dsx.action.voiceStop()","on:voice-cancel":"dsx.action.voiceCancel()","on:change":"dsx.module.convertdata.copilotDraft({ id: dsx.attribute.projectId, text: dsx.this.text })","on:submit":"dsx.action.send({ text: dsx.this.text })","on:attach":"dsx.action.attach({ types: [], then: '' })","on:stop":"dsx.module.convertdata.copilotStop()","on:remove":"dsx.action.detach({ id: dsx.this.id })"},"children":[{"tag":"hstack","attrs":{"slot":"top","class":"ask-despia-thumbs","visible-if":"dsx.variable.thumbs.length > 0"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.variable.thumbs","key":"ref","class":"ask-despia-thumb"},"children":[{"tag":"image","attrs":{"class":"ask-despia-thumb-image media-frame","src":"{{ dsx.this.url }}","aria-label":"{{ dsx.this.label }}","on:error":"dsx.action.relink({ ref: dsx.this.ref })","__css":"c44"},"children":[],"text":"","reactive":true,"nid":289},{"tag":"button","attrs":{"class":"ask-despia-thumb-remove","icon":"xmark.circle.fill","variant":"plain","aria-label":"{{ 'Remove ' + dsx.this.label }}","on:tap":"dsx.action.detach({ id: dsx.this.ref })"},"children":[],"text":"","reactive":true,"nid":290}],"text":"\n            \n            \n          ","reactive":true,"nid":288}],"text":"\n          \n        ","reactive":true,"nid":287}],"text":"\n        \n        \n      ","reactive":true,"nid":286},{"tag":"hstack","attrs":{"class":"ask-despia-footnote","visible-if":"dsx.variable.disclosure != null && dsx.variable.disclosure.footnote != ''","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"ask-despia-fine","value":"{{ dsx.variable.disclosure.footnote }}"},"children":[],"text":"","reactive":true,"nid":292},{"tag":"text","attrs":{"class":"ask-despia-fine ask-despia-fine-link","role":"link","value":"{{ dsx.variable.disclosure.link }}","href":"{{ dsx.variable.disclosure.href }}","visible-if":"dsx.variable.disclosure.link != '' && dsx.variable.disclosure.href != ''"},"children":[],"text":"","reactive":true,"nid":293}],"text":"\n        \n        \n      ","reactive":true,"nid":291}],"text":"\n      \n      \n      \n      \n      \n      \n      \n      \n      \n      \n    ","reactive":true,"nid":276}],"text":"\n    \n    \n    \n\n    \n\n    \n    \n\n    \n  ","reactive":true,"nid":35},{"tag":"stack","attrs":{"class":"ask-despia-drop","visible-if":"dsx.variable.form == 'chat' && dsx.variable.dropping","a11yLive":"polite","__steers":"1"},"children":[{"tag":"image","attrs":{"icon":"photo.on.rectangle","class":"ask-despia-drop-mark","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":295},{"tag":"text","attrs":{"class":"ask-despia-strong","value":"Drop to add"},"children":[],"text":"","reactive":false,"nid":296},{"tag":"text","attrs":{"class":"ask-despia-quiet","value":"PNG or JPEG, up to 8 MB. Kept for 24 hours."},"children":[],"text":"","reactive":false,"nid":297}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":294},{"tag":"ExtensionInstallSheet","attrs":{"present":"{{ dsx.variable.installOpen }}","on:close":"dsx.action.installClosed()"},"children":[],"text":"","reactive":true,"nid":298}],"text":"\n  \n\n\n  \n  \n\n  \n  \n  \n  \n\n  \n  \n\n  \n  \n  \n  \n  \n  \n\n  \n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.AskDespiaProgress":{"name":"AskDespiaProgress","scheme":"platform","head":{"attributes":[{"as":"project-id","default":"''"},{"as":"build-id","default":"''"},{"as":"title","default":"''"},{"as":"platform","default":"''"}],"apis":[],"expects":[],"events":[{"as":"open","payload":["path"]}],"inputs":[],"tools":[],"variables":[{"as":"detail","body":"return null","computed":false},{"as":"id","body":"\n      const b = String(dsx.attribute.buildId || '')\n      return b == '' || b.includes('.') || dsx.attribute.projectId == '' ? b : dsx.attribute.projectId + '.' + b\n    ","computed":true},{"as":"live","body":"\n      const l = dsx.module.convertdata.context.liveList\n      return l == null || l.rows == null ? null : (l.rows[dsx.variable.id] || null)\n    ","computed":true},{"as":"status","body":"\n      if (dsx.variable.live != null) { return dsx.variable.live.status }\n      return dsx.variable.detail == null ? 'building' : dsx.variable.detail.status\n    ","computed":true},{"as":"steps","body":"\n      const d = dsx.variable.detail\n      return d == null || !Array.isArray(d.steps) ? [] : d.steps\n    ","computed":true},{"as":"share","body":"\n      const s = dsx.variable.steps\n      if (dsx.variable.status == 'completed') { return 1 }\n      if (s.length == 0) { return 0 }\n      return s.filter(x => x.state == 'done').length / s.length\n    ","computed":true},{"as":"where","body":"\n      const os = dsx.attribute.platform || (dsx.variable.detail == null ? '' : dsx.variable.detail.os)\n      return os == 'android' ? 'Google Play internal testing' : 'TestFlight'\n    ","computed":true},{"as":"line","body":"\n      const st = dsx.variable.status\n      if (st == 'completed') { return 'Done. It is on its way to ' + dsx.variable.where + '.' }\n      if (st == 'failed') { return (dsx.variable.detail != null &amp;&amp; dsx.variable.detail.reason) ? dsx.variable.detail.reason : 'The build stopped. Open it to see the fix.' }\n      if (st == 'cancelled') { return 'Cancelled.' }\n      const s = dsx.variable.steps\n      const at = s.findIndex(x => x.state == 'running')\n      if (at == -1) { return 'Starting. It usually takes 10 to 20 minutes.' }\n      return 'Step ' + (at + 1) + ' of ' + s.length + ': ' + s[at].name\n    ","computed":true},{"as":"mark","body":"\n      const st = dsx.variable.status\n      return st == 'completed' ? 'checkmark.circle.fill' : (st == 'failed' ? 'exclamationmark.circle.fill' : (st == 'cancelled' ? 'stop.circle' : ''))\n    ","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      if (dsx.variable.id == '') { return }\n      const r = await dsx.module.convertdata.buildDetail({ id: dsx.variable.id })\n      if (r.ok) { dsx.variable.detail = r.data }\n      if (dsx.attribute.projectId != '') { await dsx.module.convertdata.watchBuilds({ projects: [dsx.attribute.projectId] }) }\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"on:appear":"dsx.action.load()"},"children":[{"tag":"ListGroup","attrs":{},"children":[{"tag":"SettingsRow","attrs":{"icon":"{{ dsx.variable.mark }}","status":"{{ dsx.variable.mark == '' ? 'running' : '' }}","title":"{{ dsx.attribute.title }}","subtitle":"{{ dsx.variable.line }}"},"children":[{"tag":"progress","attrs":{"value":"{{ dsx.variable.share }}","aria-label":"Build progress","visible-if":"dsx.variable.status == 'building'"},"children":[],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"SettingsRow","attrs":{"title":"{{ dsx.variable.status == 'failed' ? 'See Fix' : 'Watch Build' }}","tone":"accent","tappable":"true","chevron":"true","on:tap":"dsx.event('open', { path: '/builds/' + dsx.variable.id })"},"children":[],"text":"","reactive":true}],"text":"\n    \n    \n  ","reactive":true}],"text":"\n  \n  \n","reactive":true},"reactive":true,"language":"1"},"platform.AskDespiaSheet":{"name":"AskDespiaSheet","scheme":"platform","head":{"attributes":[{"as":"present","default":"false"},{"as":"project-id","default":"''"},{"as":"journey"},{"as":"page-scope","default":"''"},{"as":"page-name","default":"''"}],"apis":[],"expects":[],"events":[{"as":"close","payload":[]},{"as":"changed","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"ready","body":"return false","computed":false},{"as":"shellDraft","body":"return ''","computed":false}],"formulas":[],"actions":[{"as":"build","inputs":{},"body":"\n      const on = dsx.attribute.present === true || dsx.attribute.present === 'true'\n      if (!on || dsx.variable.ready) { return }\n      setTimeout(() => { dsx.action.built() }, 0)\n    "},{"as":"built","inputs":{},"body":"dsx.variable.ready = true"},{"as":"shellType","inputs":{"text":"dsx.this.text"},"body":"\n      dsx.variable.shellDraft = text\n      dsx.module.convertdata.copilotDraft({ id: dsx.attribute.projectId, text: text })\n    "}],"watches":[{"value":"dsx.attribute.present","handler":"dsx.action.build()","immediate":true}],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"sheet","attrs":{"detents":"full","present":"dsx.attribute.present","on:dismiss":"dsx.event('close')"},"children":[{"tag":"vstack","attrs":{"class":"ask-despia-sheet-wait","visible-if":"!dsx.variable.ready","aria-busy":"true"},"children":[{"tag":"hstack","attrs":{"class":"ask-despia-shell-bar","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"ask-despia-shell-brand","aria-label":"Agent","role":"heading","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"ask-despia-shell-lockup","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":5}],"text":"","reactive":false,"nid":4},{"tag":"button","attrs":{"class":"ask-despia-shell-close","icon":"xmark","variant":"plain","aria-label":"Close Agent","on:tap":"dsx.event('close')"},"children":[],"text":"","reactive":true,"nid":6}],"text":"\n        \n        \n      ","reactive":true,"nid":3},{"tag":"stack","attrs":{"class":"ask-despia-shell-fill"},"children":[],"text":"","reactive":false,"nid":7},{"tag":"PromptInput","attrs":{"class":"ask-despia-shell","value":"{{ dsx.variable.shellDraft }}","shape":"card","min-lines":"2","attach":"false","placeholder":"Ask Agent anything about your app","aria-label":"Agent","on:change":"dsx.action.shellType({ text: dsx.this.text })"},"children":[],"text":"","reactive":true,"nid":8}],"text":"\n      \n      \n      \n    ","reactive":true,"nid":2},{"tag":"AskDespia","attrs":{"visible-if":"dsx.variable.ready","class":"ask-despia-in-sheet","project-id":"{{ dsx.attribute.projectId }}","journey":"{{ dsx.attribute.journey }}","mode":"chat","back":"false","shown":"{{ dsx.attribute.present }}","page-scope":"{{ dsx.attribute.pageScope }}","page-name":"{{ dsx.attribute.pageName }}","on:close":"dsx.event('close')","on:changed":"dsx.event('changed')"},"children":[],"text":"","reactive":true,"nid":9}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":1}],"text":"\n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.BuildList":{"name":"BuildList","scheme":"platform","head":{"attributes":[{"as":"builds","default":"[]"},{"as":"by-app","default":"false"},{"as":"header","default":"''"},{"as":"footer","default":"''"},{"as":"empty","default":"'No builds yet'"},{"as":"empty-action","default":"''"},{"as":"selected","default":"''"}],"apis":[],"expects":[],"events":[{"as":"emptyAction","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"rows","body":"\n      return dsx.attribute.builds.map(b => ({\n        id: b.id,\n        icon: b.os == 'ios' ? 'apple.logo' : 'android.logo',\n        iconLabel: b.submission ? storeName(b.os) : osName(b.os),\n        build: buildLabel(b),\n        subtitle: [dsx.attribute.byApp ? (b.appName || '') : '', b.submission ? storeName(b.os) : ''].filter(x => x != '').join(' · '),\n        status: b.submission &amp;&amp; b.message ? b.message : (b.waiting == true &amp;&amp; isRunning(b.status) ? 'Waiting in line' : (b.kind == 'publish' &amp;&amp; b.status == 'completed' ? 'Submitted' : statusWord(b.status))),\n        statusRole: !b.submission &amp;&amp; isRunning(b.status) ? 'progress' : (b.status == 'completed' ? 'success' : (b.status == 'failed' ? 'danger' : (isRunning(b.status) ? 'info' : 'neutral'))),\n        by: b.by || '',\n        duration: b.duration || '',\n        when: b.createdAt || 0\n      }))\n    ","computed":true},{"as":"listRows","body":"\n      const narrow = dsx.screen.width &lt; 600\n      const day = (t) => t ? new Date(t).toLocaleDateString('en-US', narrow ? { month: 'short', day: 'numeric' } : { dateStyle: 'medium' }).replace(/ /g, '\\u00a0') : ''\n      return dsx.variable.rows.slice().sort((a, b) => (Number(b.when) || 0) - (Number(a.when) || 0)).map(r => ({\n        id: r.id, icon: r.icon, title: r.build, status: r.status,\n        role: r.statusRole == 'progress' ? 'info' : r.statusRole,\n        //  a phone keeps the subtitle compact: the mark already names the platform, the app (when the list spans apps)\n        //  stands in for who, and how long is on the build's page\n        //  the app name wraps between its words (glued whole, a long one broke inside a word in a narrow row); who, when and\n        //  how long each stay one unit\n        line: [narrow ? r.subtitle.replace(/-/g, '\\u2011') : r.subtitle].concat(keepEnd((narrow ? [r.by, day(r.when)] : [r.by, day(r.when), r.duration])))\n          .filter(x => x != null &amp;&amp; String(x) != '').join('\\u00a0· ')\n      }))\n    ","computed":true}],"formulas":[],"actions":[{"as":"open","inputs":{"id":"dsx.this.id"},"body":"dsx.module.route.push({ path: (id.includes('.s.') ? '/submissions/' : '/builds/') + id, column: 'detail' })"}],"watches":[],"scripts":["\n      // A second line joined with dots breaks only between parts, after a dot that stays with the part before it; a short\n      // part (an app name, a date) stays whole. With every part tied together a narrow row has no break and splits a word.\n      function keepEnd(parts) { return parts.map(p => p == null || String(p).length &gt; 24 ? p : String(p).replace(/ /g, '\\u00a0')) }\n      function osName(os) { return os == 'ios' ? 'iOS' : (os == 'android' ? 'Android' : os) }\n      // The title: where it goes and which version (\"iOS 2.4.0\", \"App Store 2.4.1\"); the build number means nothing to a person.\n      function buildLabel(b) {\n        const v = b.version == null ? '' : String(b.version)\n        const where = b.submission ? storeName(b.os) : osName(b.os)\n        return v != '' ? where + ' ' + v : where + (b.submission ? ' submission' : ' build')\n      }\n      function storeName(os) { return os == 'ios' ? 'App Store' : (os == 'android' ? 'Google Play' : os) }\n      function isRunning(s) { return ['building', 'queued', 'starting', 'publishing'].includes(s) }\n      function statusWord(s) {\n        // the build service spells it \"cancelled\"; every status reads as one capitalised word, never the raw value\n        const words = { completed: 'Completed', failed: 'Failed', building: 'Building', starting: 'Queued', queued: 'Queued', publishing: 'Submitting', canceled: 'Canceled', cancelled: 'Canceled' }\n        return words[s] || (s == '' ? '' : s.charAt(0).toUpperCase() + s.slice(1))\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{"__css":"c9"},"children":[{"tag":"EmptyState","attrs":{"icon":"hammer","title":"{{ dsx.attribute.empty }}","message":"{{ dsx.attribute.footer }}","action":"{{ dsx.attribute.emptyAction }}","on:action":"dsx.event('emptyAction')","visible-if":"dsx.attribute.builds.length == 0 && dsx.attribute.emptyAction != ''"},"children":[],"text":"","reactive":true},{"tag":"ListGroup","attrs":{"header":"{{ dsx.attribute.header }}","footer":"{{ dsx.attribute.footer }}","class":"build-list","visible-if":"dsx.attribute.builds.length > 0 || dsx.attribute.emptyAction == ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"hammer","title":"{{ dsx.attribute.empty }}","visible-if":"dsx.attribute.builds.length == 0"},"children":[],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.listRows","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.line }}","chevron":"true","tappable":"true","on:tap":"dsx.action.open({ id: dsx.this.id })"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.this.status }}","role":"{{ dsx.this.role }}"},"children":[],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true}],"text":"\n    \n    \n  ","reactive":true}],"text":"\n  \n\n  \n  \n  \n","reactive":true},"reactive":true,"language":"1"},"platform.ConnectProvider":{"name":"ConnectProvider","scheme":"platform","head":{"attributes":[{"as":"present","default":"false"},{"as":"start","default":"''"},{"as":"hosting-enabled","default":"true"},{"as":"reconnect-id","default":"''"},{"as":"project-id","default":"''"},{"as":"return-to","default":"'/connections'"},{"as":"reason","default":"''"}],"apis":[],"expects":[],"events":[{"as":"close","payload":[]},{"as":"connected","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"catalog","body":"return []","computed":false},{"as":"items","body":"return null","computed":false},{"as":"ready","body":"return false","computed":false},{"as":"chosen","body":"return null","computed":false},{"as":"at","body":"return 0","computed":false},{"as":"token","body":"return ''","computed":false},{"as":"label","body":"return ''","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"doctor","body":"return null","computed":false},{"as":"done","body":"return null","computed":false},{"as":"fromPicker","body":"return false","computed":false},{"as":"ghCode","body":"return ''","computed":false},{"as":"onPick","body":"return dsx.variable.chosen == null","computed":true},{"as":"reconnecting","body":"return dsx.attribute.reconnectId != ''","computed":true},{"as":"steps","body":"return dsx.variable.chosen == null ? [] : dsx.variable.chosen.steps","computed":true},{"as":"isGithub","body":"return dsx.variable.chosen != null &amp;&amp; dsx.variable.chosen.isGithub","computed":true},{"as":"ghProblem","body":"\n      if (!dsx.variable.isGithub) { return null }\n      if (!dsx.variable.chosen.available) { return githubProblem('provider_not_configured') }\n      return dsx.variable.ghCode == '' ? null : githubProblem(dsx.variable.ghCode)\n    ","computed":true},{"as":"ghUnavailable","body":"return dsx.variable.ghProblem != null &amp;&amp; dsx.variable.ghProblem.kind == 'unavailable'","computed":true},{"as":"ghProblemOpen","body":"return dsx.variable.ghProblem != null","computed":true},{"as":"showError","body":"return dsx.variable.error != '' &amp;&amp; !dsx.variable.isGithub","computed":true},{"as":"step","body":"return dsx.variable.done != null || dsx.variable.steps.length == 0 ? null : dsx.variable.steps[dsx.variable.at]","computed":true},{"as":"stepId","body":"return dsx.variable.step == null ? '' : dsx.variable.step.id","computed":true},{"as":"stepNumber","body":"return dsx.variable.done != null ? dsx.variable.steps.length + 1 : dsx.variable.at + 1","computed":true},{"as":"donePage","body":"return dsx.variable.steps.length + 1","computed":true},{"as":"isLast","body":"return dsx.variable.at == dsx.variable.steps.length - 1","computed":true},{"as":"pages","body":"\n      return dsx.variable.steps.map((st, i) => ({\n        id: st.id, n: i + 1, title: st.label, note: st.note || '', howto: st.howto || [], hasHowto: (st.howto || []).length &gt; 0,\n        lines: (st.lines || []).map((l, k) => ({ id: String(k + 1), text: l })), hasLines: (st.lines || []).length &gt; 0, isPaste: st.id == 'paste',\n        perms: st.perms || [], hasPerms: (st.perms || []).length &gt; 0 &amp;&amp; !dsx.variable.ghUnavailable,\n        isInstall: st.id == 'install' &amp;&amp; !dsx.variable.ghUnavailable\n      }))\n    ","computed":true},{"as":"pickRows","body":"return dsx.variable.catalog.map(p => ({ ...p, chevron: p.available || p.isGithub ? 'true' : 'false', tap: p.available || p.isGithub ? 'true' : 'false' }))","computed":true},{"as":"stepReady","body":"\n      if (dsx.variable.stepId == 'paste') { return dsx.variable.token.trim().length &gt;= 8 }\n      return dsx.variable.step != null\n    ","computed":true},{"as":"busy","body":"return dsx.action.connect.pending || dsx.action.leave.pending","computed":true},{"as":"primary","body":"\n      if (dsx.variable.onPick) { return '' }\n      if (dsx.variable.done != null) { return 'Done' }\n      if (dsx.variable.ghUnavailable) { return '' }\n      if (!dsx.variable.stepReady) { return '' }\n      if (dsx.variable.busy) { return dsx.variable.isGithub ? 'Opening GitHub…' : 'Checking…' }\n      if (dsx.variable.isGithub) { return dsx.variable.ghProblem != null ? 'Try Again' : 'Continue' }\n      return dsx.variable.isLast ? (dsx.variable.reconnecting ? 'Reconnect' : 'Connect') : 'Continue'\n    ","computed":true},{"as":"title","body":"\n      if (dsx.variable.chosen == null) { return 'Connect' }\n      if (dsx.variable.done != null || dsx.variable.step == null) { return dsx.variable.chosen.name }\n      return dsx.variable.step.label\n    ","computed":true},{"as":"subtitle","body":"\n      if (dsx.variable.chosen == null || dsx.variable.done != null || dsx.variable.steps.length &lt; 2) { return '' }\n      return 'Step ' + (dsx.variable.at + 1) + ' of ' + dsx.variable.steps.length\n    ","computed":true},{"as":"barAction","body":"return dsx.variable.isGithub &amp;&amp; dsx.variable.done == null ? '' : dsx.variable.primary","computed":true},{"as":"pushed","body":"return dsx.variable.chosen != null &amp;&amp; dsx.variable.done == null &amp;&amp; (dsx.variable.at &gt; 0 || dsx.variable.fromPicker)","computed":true},{"as":"tokenFooter","body":"return dsx.variable.reconnecting ? 'It must belong to the same account as before.' : 'Despia checks it with a read-only call, then keeps it encrypted. It is never shown again.'","computed":true},{"as":"doctorOpen","body":"return dsx.variable.doctor != null","computed":true}],"formulas":[],"actions":[{"as":"prefetch","inputs":{},"body":"\n      if (dsx.variable.items != null) { return }\n      const r = await dsx.module.convertdata.providerCatalog()\n      if (r.ok &amp;&amp; dsx.variable.items == null) { dsx.variable.items = r.data.items }\n    "},{"as":"open","inputs":{},"body":"\n      if (!dsx.attribute.present) { dsx.variable.ready = false; return }\n      if (dsx.variable.items == null) {\n        const r = await dsx.module.convertdata.providerCatalog()\n        if (!r.ok) { dsx.variable.error = messageOf(r); dsx.variable.ready = true; return }\n        dsx.variable.items = r.data.items\n      }\n      dsx.variable.catalog = dsx.variable.items.filter(p => dsx.attribute.hostingEnabled || p.id == 'github')\n      const hit = dsx.variable.catalog.find(i => i.id == dsx.attribute.start)\n      dsx.variable.chosen = hit &amp;&amp; (hit.available || hit.isGithub) ? hit : null\n      dsx.variable.ghCode = hit &amp;&amp; hit.isGithub ? dsx.attribute.reason : ''\n      dsx.variable.at = 0\n      dsx.variable.done = null\n      dsx.variable.doctor = null\n      dsx.variable.error = ''\n      dsx.variable.fromPicker = dsx.variable.chosen == null\n      dsx.variable.ready = true\n    "},{"as":"choose","inputs":{"id":"dsx.this.id"},"body":"\n      const hit = dsx.variable.catalog.find(i => i.id == id)\n      if (hit == null || !(hit.available || hit.isGithub)) { return }\n      dsx.variable.error = ''\n      dsx.variable.ghCode = ''\n      dsx.variable.at = 0\n      dsx.variable.chosen = hit\n    "},{"as":"back","inputs":{},"body":"\n      dsx.variable.error = ''\n      dsx.variable.doctor = null\n      dsx.variable.ghCode = ''\n      if (dsx.variable.at &gt; 0) { dsx.variable.at = dsx.variable.at - 1; return }\n      dsx.variable.chosen = null\n    "},{"as":"primaryTap","inputs":{},"body":"\n      if (dsx.variable.done != null) { dsx.action.finish(); return }\n      if (dsx.variable.isGithub) { dsx.action.leave(); return }\n      if (dsx.variable.isLast) { await dsx.action.connect(); return }\n      dsx.variable.error = ''\n      dsx.variable.at = dsx.variable.at + 1\n    "},{"as":"leave","inputs":{},"body":"\n      if (!dsx.variable.isGithub || dsx.variable.ghUnavailable) { return }\n      const r = await dsx.module.convertdata.providerStart({ provider: 'github', projectId: dsx.attribute.projectId, returnTo: dsx.attribute.returnTo, reconnectId: dsx.attribute.reconnectId })\n      if (!r.ok) { dsx.variable.ghCode = typeof r.error == 'string' &amp;&amp; r.error != '' ? r.error : 'failed'; return }\n      const o = await dsx.module.browser.open({ url: String(r.data.url || ''), target: 'self' })\n      dsx.variable.ghCode = o.ok ? '' : 'failed'\n    "},{"as":"support","inputs":{},"body":"\n      dsx.action.finish()\n      dsx.module.convertdata.confirm({ ask: 'help' })\n    "},{"as":"connect","inputs":{},"body":"\n      if (dsx.variable.isGithub) { return }\n      const token = dsx.variable.token\n      let r = null\n      if (dsx.variable.reconnecting) {\n        r = await dsx.module.convertdata.providerReplaceToken({ id: dsx.attribute.reconnectId, token: token })\n      } else {\n        r = await dsx.module.convertdata.providerAdd({ provider: dsx.variable.chosen.id, token: token, label: dsx.variable.label })\n      }\n      if (!r.ok) { dsx.variable.error = messageOf(r); return }\n      if (!r.data.done) {\n        dsx.variable.token = ''\n        if (r.data.problem.diagnosis != null) { dsx.variable.doctor = r.data.problem.diagnosis; return }\n        dsx.variable.error = r.data.problem.message\n        return\n      }\n      dsx.variable.token = ''\n      dsx.variable.label = ''\n      dsx.variable.error = ''\n      dsx.variable.done = r.data.item\n      dsx.event('connected')\n    "},{"as":"finish","inputs":{},"body":"\n      dsx.variable.token = ''\n      dsx.variable.label = ''\n      dsx.event('close')\n    "}],"watches":[{"value":"dsx.attribute.present","handler":"dsx.action.open()","immediate":true}],"scripts":["\n      function messageOf(r) {\n        if (r == null) { return 'Despia did not answer. Try again in a moment.' }\n        if (r.error != null &amp;&amp; typeof r.error == 'object' &amp;&amp; r.error.message) { return r.error.message }\n        if (r.message) { return r.message }\n        return 'Despia did not answer. Try again in a moment.'\n      }\n      //  GitHub's own words for each code its install flow can end with; anything unknown is a plain try again\n      function githubProblem(code) {\n        const unavailable = { kind: 'unavailable', tone: 'info', title: 'GitHub connection isn\\'t available yet', message: 'Despia cannot connect to GitHub on this server yet. Contact support and we will turn it on for you.', action: 'Contact Support' }\n        const words = {\n          provider_not_configured: unavailable, github_not_configured: unavailable, not_configured: unavailable,\n          denied: { kind: 'cancelled', tone: 'warning', title: 'The install was cancelled', message: 'Nothing was installed on GitHub. Continue to GitHub to install the Despia app.', action: '' },\n          cancelled: { kind: 'cancelled', tone: 'warning', title: 'The install was cancelled', message: 'Nothing was installed on GitHub. Continue to GitHub to install the Despia app.', action: '' },\n          invalid_request: { kind: 'cancelled', tone: 'warning', title: 'The install was cancelled', message: 'GitHub came back without an installation. Continue to GitHub to install the Despia app.', action: '' },\n          no_repositories: { kind: 'no_repositories', tone: 'warning', title: 'No repositories selected', message: 'Choose at least one repository for the Despia app on GitHub, or give it access to all repositories.', action: '' },\n          install_pending: { kind: 'pending', tone: 'info', title: 'Waiting for an organisation owner', message: 'An owner of the GitHub organisation has to approve the Despia app. Once they do, continue to GitHub again.', action: '' },\n          installation_unverified: { kind: 'failed', tone: 'warning', title: 'GitHub did not confirm the install', message: 'Sign in to GitHub with the account that installed the Despia app, then try again.', action: '' },\n          state_expired: { kind: 'failed', tone: 'warning', title: 'The GitHub link expired', message: 'The round trip took too long. Continue to GitHub to start again.', action: '' },\n          state_invalid: { kind: 'failed', tone: 'warning', title: 'The GitHub link expired', message: 'The round trip took too long. Continue to GitHub to start again.', action: '' },\n          forbidden: { kind: 'failed', tone: 'warning', title: 'Only an owner or admin can connect GitHub', message: 'Ask an owner or admin of this workspace to connect GitHub.', action: '' }\n        }\n        return words[code] || { kind: 'failed', tone: 'warning', title: 'GitHub did not finish connecting', message: 'Try again in a moment.', action: '' }\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{"on:appear":"dsx.action.prefetch()"},"children":[{"tag":"sheet","attrs":{"detents":"{{ dsx.variable.onPick || (dsx.variable.isGithub && dsx.screen.width >= 600) ? 'content' : 'full' }}","present":"dsx.attribute.present && dsx.variable.ready","title":"{{ dsx.variable.title }}","subtitle":"{{ dsx.variable.subtitle }}","close":"leading","back":"{{ dsx.variable.pushed }}","on:back":"dsx.action.back()","action":"{{ dsx.variable.barAction }}","on:action":"dsx.action.primaryTap()","on:dismiss":"dsx.action.finish()"},"children":[{"tag":"ListGroup","attrs":{"header":"Connect an account","footer":"Connect once; every project in this workspace can use it.","visible-if":"dsx.variable.onPick"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.pickRows","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.description }}","value":"{{ dsx.this.state }}","chevron":"{{ dsx.this.chevron }}","tappable":"{{ dsx.this.tap }}","on:tap":"dsx.action.choose()"},"children":[],"text":"","reactive":true,"nid":3}],"text":"\n      \n    ","reactive":true,"nid":2},{"tag":"Callout","attrs":{"tone":"warning","title":"That did not work","message":"{{ dsx.variable.error }}","visible-if":"dsx.variable.showError"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"Callout","attrs":{"tone":"{{ dsx.variable.ghProblemOpen ? dsx.variable.ghProblem.tone : 'info' }}","title":"{{ dsx.variable.ghProblemOpen ? dsx.variable.ghProblem.title : '' }}","message":"{{ dsx.variable.ghProblemOpen ? dsx.variable.ghProblem.message : '' }}","action":"{{ dsx.variable.ghProblemOpen ? dsx.variable.ghProblem.action : '' }}","visible-if":"dsx.variable.ghProblemOpen","on:action":"dsx.action.support()"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"Diagnosis","attrs":{"diagnosis":"{{ dsx.variable.doctor }}","recheck":"false","visible-if":"dsx.variable.doctorOpen"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"StepPages","attrs":{"current":"{{ dsx.variable.stepNumber }}","visible-if":"!dsx.variable.onPick"},"children":[{"tag":"StepPage","attrs":{"repeat":"dsx.variable.pages","key":"id","step":"{{ dsx.this.n }}"},"children":[{"tag":"ListGroup","attrs":{"footer":"{{ dsx.this.note }}","visible-if":"dsx.this.hasHowto"},"children":[{"tag":"Guide","attrs":{"class":"dsx-guide-compact","steps":"{{ dsx.this.howto }}","aria-label":"{{ dsx.this.title }}"},"children":[],"text":"","reactive":true,"nid":10}],"text":"\n          \n        ","reactive":true,"nid":9},{"tag":"stack","attrs":{"visible-if":"dsx.this.isInstall","__steers":"1","__css":"c58"},"children":[{"tag":"hstack","attrs":{"aria-hidden":"true","__steers":"1","__css":"c59"},"children":[{"tag":"IconTile","attrs":{"brand":"github.logo","tint":"#181717","name":"GitHub","__css":"c60"},"children":[],"text":"","reactive":true,"nid":13},{"tag":"image","attrs":{"icon":"arrow.left.arrow.right","__inkAuthored":"true","__fontSize":"20px","__css":"c61"},"children":[],"text":"","reactive":false,"nid":14},{"tag":"IconTile","attrs":{"brand":"despia.logo.mono","tint":"#6D3BEF","name":"Despia","__css":"c60"},"children":[],"text":"","reactive":true,"nid":15}],"text":"\n            \n            \n            \n          ","reactive":true,"nid":12},{"tag":"text","attrs":{"value":"Despia Native will be able to…","role":"heading","__css":"c62"},"children":[],"text":"","reactive":false,"nid":16},{"tag":"text","attrs":{"visible-if":"dsx.screen.width >= 600","value":"Back up every revision of your apps to a GitHub repository you own.","__css":"c63"},"children":[],"text":"","reactive":true,"nid":17}],"text":"\n          \n          \n          \n        ","reactive":true,"nid":11},{"tag":"ListGroup","attrs":{"footer":"{{ dsx.this.note }}","visible-if":"dsx.this.isInstall"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.perms","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.name }}","value":"{{ dsx.screen.width >= 600 ? dsx.this.access : '' }}","subtitle":"{{ dsx.screen.width >= 600 ? dsx.this.why : dsx.this.access + ' · ' + dsx.this.why }}"},"children":[],"text":"","reactive":true,"nid":19}],"text":"\n          \n        ","reactive":true,"nid":18},{"tag":"stack","attrs":{"visible-if":"dsx.this.isInstall","__css":"c64"},"children":[{"tag":"button","attrs":{"variant":"prominent","control-size":"large","icon":"arrow.up.right","label":"{{ dsx.variable.primary }}","disabled-if":"dsx.variable.busy","on:tap":"dsx.action.primaryTap()","__css":"c9"},"children":[],"text":"","reactive":true,"nid":21}],"text":"\n          \n        ","reactive":true,"nid":20},{"tag":"ListGroup","attrs":{"footer":"{{ dsx.this.note }}","visible-if":"dsx.this.hasLines"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.lines","key":"id","title":"{{ dsx.this.text }}"},"children":[],"text":"","reactive":true,"nid":23}],"text":"\n          \n        ","reactive":true,"nid":22},{"tag":"ListGroup","attrs":{"footer":"{{ dsx.variable.tokenFooter }}","visible-if":"dsx.this.isPaste"},"children":[{"tag":"SettingsRow","attrs":{"title":"Token"},"children":[{"tag":"textfield","attrs":{"secure":"true","placeholder":"Paste the token","bind":"dsx.variable.token","autocapitalize":"none","aria-label":"Token"},"children":[],"text":"","reactive":true,"nid":26}],"text":"","reactive":true,"nid":25},{"tag":"SettingsRow","attrs":{"title":"Name","visible-if":"!dsx.variable.reconnecting"},"children":[{"tag":"textfield","attrs":{"placeholder":"Optional, for example Production","bind":"dsx.variable.label","aria-label":"Name"},"children":[],"text":"","reactive":true,"nid":28}],"text":"","reactive":true,"nid":27}],"text":"\n          \n          \n        ","reactive":true,"nid":24}],"text":"\n        \n        \n        \n        \n        \n        \n        \n      ","reactive":true,"nid":8},{"tag":"StepPage","attrs":{"step":"{{ dsx.variable.donePage }}"},"children":[{"tag":"ListGroup","attrs":{"footer":"{{ dsx.variable.done.line }}","visible-if":"dsx.variable.done != null"},"children":[{"tag":"SettingsRow","attrs":{"icon":"checkmark.seal.fill","title":"{{ dsx.variable.chosen.name }} is connected","subtitle":"{{ dsx.variable.done.name }}"},"children":[],"text":"","reactive":true,"nid":31}],"text":"\n          \n        ","reactive":true,"nid":30}],"text":"\n        \n      ","reactive":true,"nid":29}],"text":"\n      \n      \n    ","reactive":true,"nid":7}],"text":"\n    \n\n    \n    \n    \n\n    \n  ","reactive":true,"nid":1}],"text":"\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.ConvertSheet":{"name":"ConvertSheet","scheme":"platform","head":{"attributes":[{"as":"present","default":"false"},{"as":"project-id","default":"''"},{"as":"name","default":"''"},{"as":"icon","default":"''"},{"as":"licensed","default":"null"}],"apis":[],"expects":[],"events":[{"as":"close","payload":[]},{"as":"converted","payload":["id"]},{"as":"review","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"refresh","body":"return null","computed":false},{"as":"scan","body":"return null","computed":false},{"as":"plan","body":"return null","computed":false},{"as":"leftRows","body":"return []","computed":false},{"as":"checkRows","body":"return []","computed":false},{"as":"keptRows","body":"return []","computed":false},{"as":"overrides","body":"return {}","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"loadedFor","body":"return ''","computed":false},{"as":"scanning","body":"return dsx.variable.scan != null &amp;&amp; !dsx.variable.scan.done","computed":true},{"as":"ready","body":"return dsx.variable.plan != null &amp;&amp; !dsx.variable.scanning","computed":true},{"as":"refreshing","body":"return dsx.variable.refresh != null &amp;&amp; dsx.variable.refresh.state == 'pending'","computed":true},{"as":"steps","body":"\n      const r = dsx.variable.refresh\n      const s = dsx.variable.scan\n      const failed = dsx.variable.error != ''\n      const refreshDone = r != null &amp;&amp; (r.state == 'fresh' || r.state == 'moved')\n      const refreshState = refreshDone ? 'done' : (r == null ? (failed ? 'failed' : 'running') : (r.state == 'pending' ? 'running' : 'failed'))\n      const scanState = s == null ? (refreshDone &amp;&amp; failed ? 'failed' : (refreshDone ? 'running' : 'upcoming')) : (s.done ? (s.status == 'failed' ? 'failed' : 'done') : 'running')\n      const planState = dsx.variable.plan != null ? 'done' : (s != null &amp;&amp; s.done ? (failed ? 'failed' : 'running') : 'upcoming')\n      return [\n        { key: 'refresh', title: 'Latest settings from Despia V3', detail: refreshDone ? 'Your app as it is in Despia V3 right now.' : 'Despia V3 is asked for your app as it is right now. This usually takes under a minute.', state: refreshState },\n        { key: 'scan', title: s == null ? 'Read your web code' : s.title, detail: s == null ? 'The pages and scripts anyone can open.' : s.line, state: scanState },\n        { key: 'plan', title: 'Plan the move', detail: 'Which native packages your app keeps.', state: planState }\n      ]\n    ","computed":true},{"as":"scanFooter","body":"\n      if (dsx.variable.scan == null) { return '' }\n      if (dsx.variable.scanning) { return 'Despia reads the pages and scripts anyone can open, one at a time. Nothing in your app changes.' }\n      if (dsx.variable.scan.notes.length > 0) { return dsx.variable.scan.notes.join('. ') + '.' }\n      return 'Pages behind a sign in are not read.'\n    ","computed":true},{"as":"changesFooter","body":"\n      if (dsx.variable.plan == null) { return '' }\n      return dsx.variable.plan.note\n    ","computed":true},{"as":"shipCount","body":"return dsx.variable.leftRows.concat(dsx.variable.checkRows, dsx.variable.keptRows).filter(r => r.ships).length","computed":true},{"as":"dropCount","body":"return dsx.variable.leftRows.concat(dsx.variable.checkRows, dsx.variable.keptRows).filter(r => !r.ships).length","computed":true},{"as":"storeKeys","body":"\n      const c = dsx.variable.plan == null ? null : dsx.variable.plan.credentials\n      if (c == null) { return 'Kept' }\n      return c.apple || c.google || c.android ? 'Kept' : 'Add after converting'\n    ","computed":true},{"as":"needsLoad","body":"return !!dsx.attribute.present &amp;&amp; dsx.attribute.projectId != '' &amp;&amp; !(dsx.variable.loadedFor == dsx.attribute.projectId &amp;&amp; dsx.variable.plan != null)","computed":true},{"as":"licence","body":"\n      const l = dsx.attribute.licensed\n      if (l == null || typeof l != 'object') { return { value: 'Carried over if licensed', carries: true } }\n      if (l.ios &amp;&amp; l.android) { return { value: 'Carried over', carries: true } }\n      if (l.ios || l.android) { return { value: (l.ios ? 'iOS' : 'Android') + ' carried over', carries: true } }\n      return { value: 'None yet', carries: false }\n    ","computed":true},{"as":"introFooter","body":"\n      const base = 'The next update of your app makes it a Despia V4 app. Same app, same store listing, same bundle ID'\n      return dsx.variable.licence.carries ? base + ', and your V3 licence comes with it.' : base + '.'\n    ","computed":true},{"as":"moveBackOpen","body":"\n      const r = dsx.module.convertdata.context.rollout\n      return r == null || r.areas == null || r.areas['move-back-v3'] == null || r.areas['move-back-v3'].open == true\n    ","computed":true},{"as":"updateFooter","body":"\n      const undo = dsx.variable.moveBackOpen ? ' You can undo this in App Settings.' : ''\n      if (dsx.variable.licence.carries) { return 'Your V3 licence carries over and 20 build credits are added once.' + undo }\n      return 'This app has no V3 licence to carry over: you can buy one under Plan and Credits after updating. 20 build credits are added once.' + undo\n    ","computed":true},{"as":"convertLabel","body":"return dsx.action.convert.pending ? 'Updating…' : 'Update App'","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      if (dsx.variable.needsLoad) {\n        dsx.variable.loadedFor = dsx.attribute.projectId\n        dsx.variable.error = ''\n        dsx.variable.plan = null\n        dsx.variable.overrides = {}\n        dsx.variable.refresh = null\n        dsx.variable.scan = null\n        await dsx.action.latest()\n        if (dsx.variable.error == '') { await dsx.action.readCode() }\n        if (dsx.variable.error == '') { await dsx.action.preview() }\n      }\n    "},{"as":"latest","inputs":{},"body":"\n      for (let i = 0; i &lt; 60; i++) {\n        const r = await dsx.module.convertdata.v3Refresh({ id: dsx.attribute.projectId, poll: i &gt; 0 })\n        if (!r.ok) { dsx.variable.refresh = null; dsx.variable.error = messageOf(r, 'Despia could not get the latest settings of this app from Despia V3. Try again.'); return }\n        dsx.variable.refresh = r.data\n        if (r.data.state == 'timeout') { dsx.variable.error = r.data.message != '' ? r.data.message : 'Getting the latest from Despia V3 timed out. Try again.'; return }\n        if (r.data.state != 'pending') { return }\n      }\n      dsx.variable.error = 'Despia V3 has not answered yet. Try again in a minute.'\n    "},{"as":"readCode","inputs":{},"body":"\n      for (let i = 0; i &lt; 60; i++) {\n        const r = await dsx.module.convertdata.usageScan({ id: dsx.attribute.projectId })\n        if (!r.ok) { dsx.variable.scan = null; dsx.variable.error = messageOf(r, 'Despia could not start reading your web code. Try again.'); return }\n        dsx.variable.scan = r.data\n        if (r.data.done) { return }\n      }\n    "},{"as":"preview","inputs":{},"body":"\n      const r = await dsx.module.convertdata.convertPreview({ id: dsx.attribute.projectId, overrides: dsx.variable.overrides })\n      if (!r.ok) { dsx.variable.error = messageOf(r, 'The conversion preview did not load. Try again.'); return }\n      dsx.variable.error = ''\n      dsx.variable.plan = r.data\n      dsx.variable.leftRows = r.data.leftOut\n      dsx.variable.checkRows = r.data.check\n      dsx.variable.keptRows = r.data.kept\n    "},{"as":"choose","inputs":{},"body":"\n      const next = {}\n      for (const r of dsx.variable.leftRows.concat(dsx.variable.checkRows, dsx.variable.keptRows)) {\n        if (r.ships != r.suggestedShips) { next[r.package] = r.ships ? 'keep' : 'remove' }\n      }\n      dsx.variable.overrides = next\n      await dsx.action.preview()\n    "},{"as":"retry","inputs":{},"body":"\n      dsx.variable.loadedFor = ''\n      await dsx.action.load()\n    "},{"as":"convert","inputs":{},"body":"\n      const r = await dsx.module.convertdata.migrate({ id: dsx.attribute.projectId, overrides: dsx.variable.overrides })\n      if (!r.ok) { dsx.variable.error = messageOf(r, 'The conversion did not finish. Nothing changed. Try again.'); return }\n      dsx.event('converted', { id: r.data.projectId })\n    "}],"watches":[{"value":"dsx.attribute.present","handler":"dsx.action.load()","immediate":true}],"scripts":["\n      function messageOf(r, fallback) {\n        if (r != null &amp;&amp; r.error != null &amp;&amp; typeof r.error == 'object' &amp;&amp; r.error.message) { return r.error.message }\n        if (r != null &amp;&amp; typeof r.message == 'string' &amp;&amp; r.message != '') { return r.message }\n        return fallback\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"sheet","attrs":{"detents":"full","present":"dsx.attribute.present","title":"Update App","on:dismiss":"dsx.event('close')"},"children":[{"tag":"ListGroup","attrs":{"footer":"{{ dsx.variable.introFooter }}"},"children":[{"tag":"SettingsRow","attrs":{"title":"{{ dsx.attribute.name }}","subtitle":"Despia V3 to V4"},"children":[{"tag":"IconTile","attrs":{"slot":"leading","src":"{{ dsx.attribute.icon }}","name":"{{ dsx.attribute.name }}"},"children":[],"text":"","reactive":true,"nid":4}],"text":"\n        \n      ","reactive":true,"nid":3}],"text":"\n      \n    ","reactive":true,"nid":2},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.error != ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.error }}"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"SettingsRow","attrs":{"icon":"arrow.clockwise","title":"Try Again","tone":"accent","tappable":"true","on:tap":"dsx.action.retry()"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n      \n      \n    ","reactive":true,"nid":5},{"tag":"ListGroup","attrs":{"header":"Getting ready","footer":"{{ dsx.variable.scanFooter }}","visible-if":"dsx.attribute.present && dsx.attribute.projectId != ''"},"children":[{"tag":"Timeline","attrs":{"bind":"{{ dsx.variable.steps }}","expand":"all","aria-label":"Getting ready to update"},"children":[],"text":"","reactive":true,"nid":9}],"text":"\n      \n    ","reactive":true,"nid":8},{"tag":"ListGroup","attrs":{"header":"What changes","footer":"{{ dsx.variable.changesFooter }}","visible-if":"dsx.variable.ready"},"children":[{"tag":"SettingsRow","attrs":{"icon":"globe","title":"Your web app","value":"Not touched"},"children":[],"text":"","reactive":true,"nid":11},{"tag":"SettingsRow","attrs":{"icon":"tag","title":"Store listing and bundle ID","value":"Same"},"children":[],"text":"","reactive":true,"nid":12},{"tag":"SettingsRow","attrs":{"icon":"shippingbox","title":"Native packages kept","value":"{{ dsx.variable.shipCount }}"},"children":[],"text":"","reactive":true,"nid":13},{"tag":"SettingsRow","attrs":{"icon":"minus.circle","title":"Packages left out","value":"{{ dsx.variable.dropCount == 0 ? 'None' : String(dsx.variable.dropCount) }}"},"children":[],"text":"","reactive":true,"nid":14},{"tag":"SettingsRow","attrs":{"icon":"key","title":"Store keys","value":"{{ dsx.variable.storeKeys }}"},"children":[],"text":"","reactive":true,"nid":15},{"tag":"SettingsRow","attrs":{"icon":"checkmark.seal","title":"Your licence","value":"{{ dsx.variable.licence.value }}"},"children":[],"text":"","reactive":true,"nid":16},{"tag":"SettingsRow","attrs":{"icon":"gift","title":"Build credits","value":"20 added"},"children":[],"text":"","reactive":true,"nid":17}],"text":"\n      \n      \n      \n      \n      \n      \n      \n    ","reactive":true,"nid":10},{"tag":"ListGroup","attrs":{"footer":"{{ dsx.variable.updateFooter }}","visible-if":"dsx.variable.ready"},"children":[{"tag":"SettingsRow","attrs":{"icon":"arrow.triangle.2.circlepath","title":"{{ dsx.variable.convertLabel }}","tone":"accent","tappable":"true","on:tap":"dsx.action.convert()"},"children":[],"text":"","reactive":true,"nid":19}],"text":"\n      \n    ","reactive":true,"nid":18},{"tag":"ListGroup","attrs":{"header":"Left out (not found in your web code)","footer":"Pages behind a sign in are not read, so turn one on if your app uses it there. You can add any back later under Packages.","visible-if":"dsx.variable.ready && dsx.variable.leftRows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.leftRows","key":"package","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.detail }}"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.this.ships","aria-label":"Ship {{ dsx.this.name }}","on:change":"dsx.action.choose()"},"children":[],"text":"","reactive":true,"nid":22}],"text":"\n        \n      ","reactive":true,"nid":21}],"text":"\n      \n    ","reactive":true,"nid":20},{"tag":"ListGroup","attrs":{"header":"Please check","footer":"Set up in your V3 app, but no use was found in the code we could read. They stay unless you turn them off.","visible-if":"dsx.variable.ready && dsx.variable.checkRows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.checkRows","key":"package","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.detail }}"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.this.ships","aria-label":"Ship {{ dsx.this.name }}","on:change":"dsx.action.choose()"},"children":[],"text":"","reactive":true,"nid":25}],"text":"\n        \n      ","reactive":true,"nid":24}],"text":"\n      \n    ","reactive":true,"nid":23},{"tag":"ListGroup","attrs":{"header":"Kept (your app uses these)","visible-if":"dsx.variable.ready && dsx.variable.keptRows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.keptRows","key":"package","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.detail }}"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.this.ships","aria-label":"Ship {{ dsx.this.name }}","on:change":"dsx.action.choose()"},"children":[],"text":"","reactive":true,"nid":28}],"text":"\n        \n      ","reactive":true,"nid":27}],"text":"\n      \n    ","reactive":true,"nid":26}],"text":"\n    \n\n    \n\n    \n\n    \n    \n\n    \n\n    \n\n    \n  ","reactive":true,"nid":1}],"text":"\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.DashboardNotice":{"name":"DashboardNotice","scheme":"platform","head":{"attributes":[{"as":"notice","default":"null"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"Callout","attrs":{"class":"page-notice","tone":"{{ dsx.attribute.notice == null ? 'info' : dsx.attribute.notice.tone }}","title":"{{ dsx.attribute.notice == null ? '' : dsx.attribute.notice.title }}","message":"{{ dsx.attribute.notice == null ? '' : dsx.attribute.notice.message }}","action":"{{ dsx.attribute.notice == null || dsx.attribute.notice.route == '' ? '' : dsx.attribute.notice.action }}","href":"{{ dsx.attribute.notice == null ? '' : dsx.attribute.notice.route }}","visible-if":"dsx.attribute.notice != null && dsx.attribute.notice.id != null && dsx.attribute.notice.id != ''"},"children":[],"text":"\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.DemoAccountCard":{"name":"DemoAccountCard","scheme":"platform","head":{"attributes":[{"as":"project-id","default":"''"}],"apis":[],"expects":[],"events":[{"as":"saved","payload":[]},{"as":"deleted","payload":[]},{"as":"status","payload":["state"]}],"inputs":[],"tools":[],"variables":[{"as":"account","body":"return null","computed":false},{"as":"username","body":"return ''","computed":false},{"as":"password","body":"return ''","computed":false},{"as":"replacing","body":"return false","computed":false},{"as":"problem","body":"return ''","computed":false},{"as":"asking","body":"return ''","computed":false},{"as":"isSet","body":"return dsx.variable.account != null &amp;&amp; dsx.variable.account.set === true","computed":true},{"as":"form","body":"return dsx.variable.account != null &amp;&amp; (!dsx.variable.isSet || dsx.variable.replacing)","computed":true},{"as":"ready","body":"return String(dsx.variable.username).trim() != '' &amp;&amp; String(dsx.variable.password) != ''","computed":true},{"as":"statusWord","body":"return dsx.variable.account == null ? '' : (dsx.variable.isSet ? 'done' : 'open')","computed":true},{"as":"working","body":"return dsx.action.save.pending || dsx.action.remove.pending","computed":true},{"as":"primary","body":"\n      if (dsx.variable.account == null) { return '' }\n      return dsx.variable.form ? 'Save' : 'Replace'\n    ","computed":true},{"as":"secondary","body":"\n      if (dsx.variable.account == null) { return '' }\n      if (dsx.variable.form) { return dsx.variable.replacing ? 'Cancel' : '' }\n      return 'Delete'\n    ","computed":true},{"as":"deleteButtons","body":"return [{ title: 'Delete', role: 'destructive', action: 'convertdata.confirm', args: { ask: 'demo-account-delete' } }, { title: 'Cancel', role: 'cancel' }]","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      const id = dsx.attribute.projectId\n      if (id == '') { return }\n      const r = await dsx.module.convertdata.demoAccount({ id: id })\n      dsx.variable.problem = r.ok ? '' : 'Despia did not answer. Check your connection and try again.'\n      if (!r.ok) { dsx.variable.problem = 'Despia did not answer. Check your connection and try again.'; return }\n      dsx.variable.account = r.data\n    "},{"as":"save","inputs":{},"body":"\n      if (!dsx.variable.ready) { return }\n      const r = await dsx.module.convertdata.demoAccountSet({ id: dsx.attribute.projectId, username: dsx.variable.username, password: dsx.variable.password })\n      dsx.variable.username = ''\n      dsx.variable.password = ''\n      if (!r.ok) { dsx.variable.problem = messageOf(r); return }\n      dsx.variable.problem = ''\n      dsx.variable.replacing = false\n      dsx.variable.account = r.data\n      dsx.module.toast.show({ title: 'Demo account saved', message: 'Stored encrypted. It is never shown again.' })\n      dsx.event('saved')\n    "},{"as":"remove","inputs":{},"body":"\n      const r = await dsx.module.convertdata.demoAccountDelete({ id: dsx.attribute.projectId })\n      dsx.variable.asking = ''\n      if (!r.ok) { dsx.variable.problem = messageOf(r); return }\n      dsx.variable.problem = ''\n      dsx.variable.account = r.data\n      dsx.event('deleted')\n    "},{"as":"primaryTap","inputs":{},"body":"\n      if (dsx.variable.form) { await dsx.action.save(); return }\n      dsx.variable.problem = ''\n      dsx.variable.replacing = true\n    "},{"as":"secondaryTap","inputs":{},"body":"\n      if (dsx.variable.form) {\n        dsx.variable.username = ''\n        dsx.variable.password = ''\n        dsx.variable.problem = ''\n        dsx.variable.replacing = false\n        return\n      }\n      dsx.variable.asking = 'delete'\n    "},{"as":"onConfirmed","inputs":{},"body":"\n      const k = dsx.module.convertdata.context.confirmed\n      if (k == null) { return }\n      if (k.ask == 'demo-account-delete' &amp;&amp; dsx.variable.asking == 'delete') { await dsx.action.remove() }\n    "}],"watches":[{"value":"dsx.variable.statusWord","handler":"dsx.event('status', { state: dsx.variable.statusWord })","immediate":true},{"value":"dsx.attribute.projectId","handler":"dsx.action.load()"},{"value":"dsx.module.convertdata.context.confirmed","handler":"dsx.action.onConfirmed()"}],"scripts":["\n      function messageOf(r) {\n        if (r == null) { return 'Despia did not answer. Try again in a moment.' }\n        if (r.error != null &amp;&amp; typeof r.error == 'object' &amp;&amp; r.error.message) { return r.error.message }\n        if (r.message) { return r.message }\n        return 'Despia did not answer. Try again in a moment.'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"demo-account-host","on:appear":"dsx.action.load()"},"children":[{"tag":"AgentCard","attrs":{"class":"demo-account","title":"Demo Account","body":"","primary":"{{ dsx.variable.primary }}","secondary":"{{ dsx.variable.secondary }}","busy":"{{ dsx.variable.working ? 'true' : 'false' }}","primary-disabled":"{{ dsx.variable.form && !dsx.variable.ready ? 'true' : 'false' }}","on:primary":"dsx.action.primaryTap()","on:secondary":"dsx.action.secondaryTap()"},"children":[{"tag":"Callout","attrs":{"tone":"error","title":"This must be a demo account.","message":"Don't enter your own account or a customer's account.","visible-if":"dsx.variable.form"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"text","attrs":{"class":"demo-account-body","value":"Despia signs in with it to take your store screenshots, and Apple's reviewers use the same account. It is stored encrypted, never shown again, and you can delete it any time."},"children":[],"text":"","reactive":false,"nid":3},{"tag":"ListGroup","attrs":{"class":"demo-account-fields","visible-if":"dsx.variable.form"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.username","placeholder":"Email or user name","autocomplete":"off","autocapitalize":"none","autocorrect":"off","aria-label":"Email or user name"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"textfield","attrs":{"bind":"dsx.variable.password","secure":"true","placeholder":"Password","autocomplete":"off","autocapitalize":"none","autocorrect":"off","aria-label":"Password","on:submit":"dsx.action.save()"},"children":[],"text":"","reactive":true,"nid":6}],"text":"\n      \n      \n    ","reactive":true,"nid":4},{"tag":"ListGroup","attrs":{"class":"demo-account-fields","visible-if":"dsx.variable.isSet && !dsx.variable.replacing"},"children":[{"tag":"SettingsRow","attrs":{"icon":"person.badge.key","title":"Demo Account","subtitle":"{{ dsx.variable.account.when }}","value":"Set"},"children":[],"text":"","reactive":true,"nid":8}],"text":"\n      \n    ","reactive":true,"nid":7},{"tag":"Callout","attrs":{"tone":"error","title":"The demo account did not load","message":"{{ dsx.variable.problem }}","action":"Try Again","visible-if":"dsx.variable.problem != ''","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":9}],"text":"\n\n    \n    \n    \n\n    \n    \n\n    \n    \n\n    \n  ","reactive":true,"nid":1},{"tag":"alert","attrs":{"present":"dsx.variable.asking == 'delete'","title":"Delete the demo account?","message":"Despia deletes it for good. Screenshots and App Review need a new one before they can sign in.","buttons":"dsx.variable.deleteButtons","on:dismiss":"dsx.variable.asking = ''"},"children":[],"text":"","reactive":true,"nid":10}],"text":"\n  \n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.DependencyView":{"name":"DependencyView","scheme":"platform","head":{"attributes":[{"as":"project-id","default":"''"},{"as":"focus-package","default":"''"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"loaded","body":"return false","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"denied","body":"return false","computed":false},{"as":"status","body":"return 'loading'","computed":false},{"as":"all","body":"return []","computed":false},{"as":"open","body":"return []","computed":false},{"as":"summary","body":"return ''","computed":false},{"as":"findings","body":"return []","computed":false},{"as":"why","body":"return null","computed":false},{"as":"whyOpen","body":"return false","computed":false},{"as":"busy","body":"return !dsx.variable.loaded &amp;&amp; dsx.variable.error == '' &amp;&amp; !dsx.variable.denied","computed":true},{"as":"visible","body":"\n      const shown = new Set()\n      const out = []\n      for (const r of dsx.variable.all) {\n        if (r.parent == null || (shown.has(r.parent) &amp;&amp; dsx.variable.open.includes(r.parent))) { shown.add(r.id); out.push({ ...r, isOpen: dsx.variable.open.includes(r.id), indent: r.depth, symbol: symbolOf(r.kind) }) }\n      }\n      return out\n    ","computed":true},{"as":"ready","body":"return dsx.variable.loaded &amp;&amp; dsx.variable.status == 'ready'","computed":true},{"as":"empty","body":"return dsx.variable.loaded &amp;&amp; dsx.variable.status == 'empty'","computed":true},{"as":"hasNested","body":"return dsx.variable.all.some(x => x.hasChildren)","computed":true},{"as":"toggleLabel","body":"return dsx.variable.open.length > 0 ? 'Show Installed' : 'Show Everything'","computed":true},{"as":"footerLine","body":"return dsx.variable.summary + '. Optional packages are not installed; tap one to see why.'","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      if (dsx.attribute.projectId == '') { return }\n      const r = await dsx.module.convertdata.dependencyGraph({ id: dsx.attribute.projectId })\n      if (!r.ok) {\n        const refused = r.error == 'signed_out' || r.error == 'forbidden' || r.error == 'not_found'\n        dsx.variable.loaded = false\n        dsx.variable.denied = refused\n        dsx.variable.error = refused ? '' : 'The dependencies did not load. Try again.'\n        return\n      }\n      dsx.variable.error = ''\n      dsx.variable.denied = false\n      dsx.variable.all = r.data.rows\n      dsx.variable.open = r.data.rows.filter(x => x.expanded).map(x => x.id)\n      dsx.variable.summary = r.data.summary\n      dsx.variable.findings = r.data.findings\n      dsx.variable.status = r.data.status\n      dsx.variable.loaded = true\n      if (dsx.attribute.focusPackage != '') { await dsx.action.showWhy({ name: dsx.attribute.focusPackage }) }\n    "},{"as":"toggleAll","inputs":{},"body":"\n      dsx.variable.open = dsx.variable.open.length > 0 ? [] : dsx.variable.all.filter(x => x.hasChildren).map(x => x.id)\n    "},{"as":"showWhy","inputs":{"name":"dsx.this.package"},"body":"\n      const r = await dsx.module.convertdata.packageWhy({ id: dsx.attribute.projectId, package: name })\n      if (!r.ok) { dsx.variable.why = { status: 'error', title: 'This answer did not load. Try again.', chains: [], blockers: [] }; dsx.variable.whyOpen = true; return }\n      dsx.variable.why = r.data\n      dsx.variable.whyOpen = true\n    "}],"watches":[{"value":"dsx.attribute.projectId","handler":"dsx.action.load()","immediate":true}],"scripts":["\n      function symbolOf(kind) {\n        if (kind == 'peer') { return 'link' }\n        return kind == 'conflicts' ? 'xmark.octagon' : 'shippingbox'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.busy","header":"Dependencies"},"children":[{"tag":"SettingsRow","attrs":{"icon":"shippingbox","title":"Reading what your app is built from","subtitle":"Nothing in your app changes."},"children":[{"tag":"spinner","attrs":{},"children":[],"text":"","reactive":false}],"text":"","reactive":true}],"text":"\n    \n  ","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.denied","header":"Dependencies"},"children":[{"tag":"SettingsRow","attrs":{"icon":"lock","title":"Not available to you","subtitle":"Ask the owner of this workspace for access to see how this app is built."},"children":[],"text":"","reactive":true}],"text":"\n    \n  ","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.error != ''","header":"Dependencies"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.error }}"},"children":[],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"icon":"arrow.clockwise","title":"Try Again","tone":"accent","tappable":"true","on:tap":"dsx.action.load()"},"children":[],"text":"","reactive":true}],"text":"\n    \n    \n  ","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.empty","header":"Dependencies","footer":"Add a package and its requirements appear here."},"children":[{"tag":"SettingsRow","attrs":{"icon":"shippingbox","title":"No packages yet","subtitle":"This app has only the app shell."},"children":[],"text":"","reactive":true}],"text":"\n    \n  ","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.ready && dsx.variable.findings.length > 0","header":"Needs attention"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.findings","key":"message","icon":"exclamationmark.triangle","title":"{{ dsx.this.message }}"},"children":[],"text":"","reactive":true}],"text":"\n    \n  ","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.ready && dsx.variable.hasNested"},"children":[{"tag":"SettingsRow","attrs":{"icon":"{{ dsx.variable.open.length > 0 ? 'arrow.down.right.and.arrow.up.left' : 'arrow.up.left.and.arrow.down.right' }}","title":"{{ dsx.variable.toggleLabel }}","tone":"accent","tappable":"true","on:tap":"dsx.action.toggleAll()"},"children":[],"text":"","reactive":true}],"text":"\n    \n  ","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.ready","header":"Dependencies","footer":"{{ dsx.variable.footerLine }}","role":"tree","aria-label":"Dependencies of this app"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.visible","key":"id","role":"treeitem","aria-level":"{{ dsx.this.level }}","aria-posinset":"{{ dsx.this.posInSet }}","aria-setsize":"{{ dsx.this.setSize }}","aria-expanded":"{{ dsx.this.hasChildren ? dsx.this.isOpen : '' }}","aria-label":"{{ dsx.this.name }}, {{ dsx.this.badge }}. {{ dsx.this.edge }}","icon":"{{ dsx.this.symbol }}","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.edge }}{{ dsx.this.detail != '' ? ' · ' + dsx.this.detail : '' }}","badge":"{{ dsx.this.badge }}","badge-role":"{{ dsx.this.badgeRole }}","indent":"{{ dsx.this.indent }}","tappable":"true","on:tap":"dsx.action.showWhy()"},"children":[],"text":"","reactive":true}],"text":"\n    \n  ","reactive":true},{"tag":"sheet","attrs":{"detents":"content","present":"dsx.variable.whyOpen","title":"{{ dsx.variable.why == null ? '' : dsx.variable.why.title }}","on:dismiss":"dsx.variable.whyOpen = false"},"children":[{"tag":"ListGroup","attrs":{"header":"Why is this here","visible-if":"dsx.variable.why != null && dsx.variable.why.chains.length > 0","footer":"{{ dsx.variable.why == null ? '' : dsx.variable.why.more }}"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.why.chains","key":"id","icon":"arrow.turn.down.right","title":"{{ dsx.this.text }}"},"children":[],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"Reasons","visible-if":"dsx.variable.why != null && dsx.variable.why.blockers.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.why.blockers","key":"id","icon":"info.circle","title":"{{ dsx.this.text }}"},"children":[],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.why != null && dsx.variable.why.status == 'ready' && dsx.variable.why.empty"},"children":[{"tag":"SettingsRow","attrs":{"icon":"info.circle","title":"Nothing more to say","subtitle":"This package is not part of the build and nothing would bring it in."},"children":[],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true}],"text":"\n    \n    \n    \n  ","reactive":true}],"text":"\n  \n\n  \n  \n\n  \n  \n\n  \n\n  \n\n  \n  \n\n  \n\n  \n\n  \n  \n","reactive":true},"reactive":true,"language":"1"},"platform.Diagnosis":{"name":"Diagnosis","scheme":"platform","head":{"attributes":[{"as":"diagnosis","default":"null"},{"as":"project-id","default":"''"},{"as":"build-page","default":"''"},{"as":"busy","default":"false"},{"as":"result","default":"''"},{"as":"recheck","default":"true"}],"apis":[],"expects":[],"events":[{"as":"retry","payload":["target"]},{"as":"upload","payload":["target"]},{"as":"recheck","payload":["kind"]},{"as":"assist","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"d","body":"return dsx.attribute.diagnosis","computed":true},{"as":"has","body":"return dsx.variable.d != null","computed":true},{"as":"isAi","body":"return dsx.variable.has &amp;&amp; dsx.variable.d.source == 'ai'","computed":true},{"as":"notStarted","body":"return dsx.variable.has &amp;&amp; String(dsx.variable.d.code || '').indexOf('setup.') == 0","computed":true},{"as":"headIcon","body":"\n      if (!dsx.variable.has) { return '' }\n      if (dsx.variable.isAi) { return 'agent.mark' }\n      if (dsx.variable.notStarted) { return 'circle' }\n      return dsx.variable.d.severity == 'warning' ? 'exclamationmark.triangle.fill' : 'xmark.octagon.fill'\n    ","computed":true},{"as":"headWord","body":"\n      if (!dsx.variable.has) { return '' }\n      if (dsx.variable.isAi) { return 'Build Agent' }\n      if (dsx.variable.notStarted) { return 'Not done yet' }\n      return dsx.variable.d.severity == 'warning' ? 'Heads up' : 'What went wrong'\n    ","computed":true},{"as":"headFooter","body":"\n      if (!dsx.variable.has) { return '' }\n      return dsx.variable.isAi ? dsx.variable.d.why + ' Agent can make mistakes: check before acting.' : dsx.variable.d.why\n    ","computed":true},{"as":"checkRows","body":"\n      if (!dsx.variable.has) { return [] }\n      const grey = dsx.variable.notStarted\n      return dsx.variable.d.checks.map((c, i) => ({\n        id: String(i), title: c.label,\n        icon: c.state == 'ok' ? 'checkmark.circle.fill' : (c.state == 'wrong' ? (grey ? 'circle' : 'xmark.circle.fill') : 'questionmark.circle'),\n        tone: c.state == 'ok' ? 'success' : (c.state == 'wrong' &amp;&amp; !grey ? 'destructive' : ''),\n        subtitle: c.state == 'ok' || c.expected == '' ? '' : 'Should be: ' + c.expected,\n        value: c.actual\n      }))\n    ","computed":true},{"as":"guideSteps","body":"\n      if (!dsx.variable.has) { return [] }\n      return dsx.variable.d.steps.map((s) => {\n        const a = s.action\n        const link = a != null &amp;&amp; a.kind == 'link' &amp;&amp; String(a.target).startsWith('http')\n        return { title: s.title || s.text, body: s.title ? (s.body || '') : '',\n          action: a == null ? null : (link ? { label: a.label, href: a.target } : { label: a.label, id: a.kind + '|' + a.target }) }\n      })\n    ","computed":true},{"as":"checkLabel","body":"return dsx.attribute.busy ? 'Checking…' : (dsx.variable.has ? dsx.variable.d.recheck.label : 'Check Again')","computed":true},{"as":"recheckOn","body":"return dsx.variable.has &amp;&amp; dsx.attribute.recheck != false &amp;&amp; dsx.attribute.recheck != 'false'","computed":true},{"as":"recheckActions","body":"\n      if (!dsx.variable.recheckOn || (dsx.attribute.buildPage != '' &amp;&amp; dsx.variable.d.recheck.kind == 'rebuild')) { return [] }\n      return [{ id: 'recheck', label: dsx.variable.checkLabel, icon: 'arrow.clockwise' }]\n    ","computed":true},{"as":"checkFooter","body":"\n      if (!dsx.variable.has) { return '' }\n      const k = dsx.variable.d.recheck.kind\n      if (k == 'rebuild') { return 'Starts a new build after the checks pass. A failed build costs no credits.' }\n      if (k == 'verify') { return 'We ask the store with your own account. Nothing is changed.' }\n      if (k == 'refresh') { return 'We ask the store for the latest state.' }\n      return 'Runs every check again. Nothing is built or charged.'\n    ","computed":true},{"as":"stillWrong","body":"return dsx.attribute.result == 'still'","computed":true},{"as":"raw","body":"return dsx.variable.has &amp;&amp; dsx.variable.d.raw ? dsx.variable.d.raw : ''","computed":true},{"as":"buildId","body":"return dsx.variable.has &amp;&amp; dsx.variable.d.context &amp;&amp; dsx.variable.d.context.buildId ? dsx.variable.d.context.buildId : ''","computed":true},{"as":"hasDetails","body":"return dsx.variable.raw != '' || dsx.variable.buildId != '' || dsx.variable.has","computed":true}],"formulas":[],"actions":[{"as":"guideAct","inputs":{"id":"dsx.this.id"},"body":"\n      const at = String(id).indexOf('|')\n      if (at &lt; 0) { dsx.module.route.push({ path: id }); return }\n      dsx.action.act({ kind: id.slice(0, at), target: id.slice(at + 1) })\n    "},{"as":"act","inputs":{"kind":"''","target":"''"},"body":"\n      if (kind == 'link') { dsx.module.route.push({ path: target }); return }\n      if (kind == 'console' &amp;&amp; target == 'submission:rejection') { dsx.event('assist'); return }\n      if (kind == 'console') { dsx.module.route.push({ path: placeOf(target, dsx.attribute.projectId, dsx.attribute.buildPage != '' ? dsx.attribute.buildPage : dsx.attribute.projectId + '.' + dsx.variable.buildId, String(dsx.path || ''), dsx.variable.d.context ? dsx.variable.d.context.connectionId : '') }); return }\n      if (kind == 'retry') { dsx.event('retry', { target: target }); return }\n      if (kind == 'upload') { dsx.event('upload', { target: target }) }\n    "}],"watches":[],"scripts":["\n      function placeOf(target, projectId, buildId, here, connectionId) {\n        const project = '/apps/' + projectId\n        //  a store to connect: the one connect flow (Store Setup's chooser), back here once connected\n        if (target == 'connections:apple' || target == 'connections:google') {\n          const store = target == 'connections:google' ? 'google' : 'apple'\n          if (connectionId) { return '/connect/' + store + '?connection=' + encodeURIComponent(connectionId) + '&access=1' }\n          if (projectId == '') { return '/connect/' + store }\n          return project + '/store-setup?connect=' + store + (here == '' ? '' : '&return=' + encodeURIComponent(here))\n        }\n        if (target == 'connections') { return projectId != '' ? project + '/store-setup' : '/app-stores' }\n        if (target == 'connections:providers') { return '/connections' }\n        if (target == 'project:connections') { return project + '/connections' }\n        if (target == 'billing') { return '/billing' }\n        if (target == 'project') { return project }\n        if (target == 'project:identity') { return project + '/identifiers' }\n        if (target == 'project:signing') { return project + '/signing' }\n        if (target == 'projects:new') { return '/apps' }\n        if (target == 'project:packages' || target == 'project:secrets' || target.startsWith('project:package:')) { return project + '/packages' }\n        if (target == 'project:setup:apple') { return project + '/app-groups' }\n        if (target == 'project:features') { return project + '/features' }\n        if (target == 'build:log') { return '/builds/' + buildId + '/log' }\n        if (target == 'submission:rejection') { return project + '/submissions' }\n        return project\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"Panel","attrs":{"class":"diagnosis-summary","title":"{{ dsx.variable.headWord }}","footer":"{{ dsx.variable.headFooter }}","actions":"{{ dsx.variable.recheckActions }}","visible-if":"dsx.variable.has","on:action":"dsx.event('recheck', { kind: dsx.variable.d.recheck.kind })"},"children":[{"tag":"SettingsRow","attrs":{"icon":"{{ dsx.variable.headIcon }}","title":"{{ dsx.variable.d.title }}","subtitle":"{{ dsx.variable.d.whatHappened }}","badge":"{{ dsx.variable.isAi ? 'Agent' : '' }}","badge-role":"info"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"SettingsRow","attrs":{"icon":"xmark.circle","title":"Checked again: not fixed yet","subtitle":"Do the steps below in order, then check again.","visible-if":"dsx.variable.stillWrong","transition":"fade"},"children":[],"text":"","reactive":true,"nid":3}],"text":"\n    \n    \n  ","reactive":true,"nid":1},{"tag":"Panel","attrs":{"class":"diagnosis-checks","title":"Checks","visible-if":"dsx.variable.checkRows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.checkRows","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}","value":"{{ dsx.this.value }}","tone":"{{ dsx.this.tone }}"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n    \n  ","reactive":true,"nid":4},{"tag":"Panel","attrs":{"class":"diagnosis-fix","title":"Fix it","footer":"{{ dsx.variable.recheckOn ? dsx.variable.checkFooter : '' }}","visible-if":"dsx.variable.guideSteps.length > 0"},"children":[{"tag":"Guide","attrs":{"steps":"{{ dsx.variable.guideSteps }}","aria-label":"Fix it","on:action":"dsx.action.guideAct()"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n    \n  ","reactive":true,"nid":6},{"tag":"ListGroup","attrs":{"class":"diagnosis-details","visible-if":"dsx.variable.has && dsx.variable.hasDetails"},"children":[{"tag":"accordion","attrs":{"title":"Details","open":"false"},"children":[{"tag":"CodeBlock","attrs":{"language":"text","value":"{{ dsx.variable.raw }}","visible-if":"dsx.variable.raw != ''"},"children":[],"text":"","reactive":true,"nid":10},{"tag":"CopyRow","attrs":{"label":"Build ID","value":"{{ dsx.variable.buildId }}","visible-if":"dsx.variable.buildId != ''"},"children":[],"text":"","reactive":true,"nid":11},{"tag":"CopyRow","attrs":{"label":"Problem code","value":"{{ dsx.variable.d.code }}"},"children":[],"text":"","reactive":true,"nid":12}],"text":"\n      \n      \n      \n    ","reactive":true,"nid":9}],"text":"\n    \n  ","reactive":true,"nid":8}],"text":"\n  \n\n  \n  \n\n  \n\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.EmailButton":{"name":"EmailButton","scheme":"platform","head":{"attributes":[{"as":"label","default":"''"},{"as":"href","default":"''"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"linkIcon","body":"\n      const href = String(dsx.attribute.href)\n      const external = /^(https?:\\/\\/|\\/\\/|mailto:)/i.test(href) &amp;&amp; !/^(https:)?\\/\\/console\\.despia\\.com(?::443)?(?:[/?#]|$)/i.test(href)\n      return external ? 'arrow.up.right' : 'chevron.right'\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"email-button"},"children":[{"tag":"button","attrs":{"variant":"prominent","icon":"{{ dsx.variable.linkIcon }}","label":"{{ dsx.attribute.label.trim() || 'Open' }}","href":"{{ dsx.attribute.href }}"},"children":[],"text":"","reactive":true,"nid":1}],"text":"\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.ExtensionCard":{"name":"ExtensionCard","scheme":"platform","head":{"attributes":[{"as":"state","default":"''"},{"as":"browser","default":"'Chrome'"},{"as":"badge-src","default":"''"},{"as":"badge-dark-src","default":"''"},{"as":"copied","default":"false"},{"as":"project-id","default":"''"},{"as":"highlight","default":"false"},{"as":"quiet","default":"false"}],"apis":[],"expects":[],"events":[{"as":"add","payload":[]},{"as":"copy","payload":[]},{"as":"hand","payload":[]}],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"Card","attrs":{"class":"extension-card extension-card-{{ dsx.attribute.state }} {{ dsx.attribute.highlight ? 'extension-card-highlight' : '' }}","visible-if":"dsx.attribute.state == 'add' || dsx.attribute.state == 'connected' || dsx.attribute.state == 'other' || dsx.attribute.state == 'phone'","__css":"c34"},"children":[{"tag":"hstack","attrs":{"visible-if":"dsx.attribute.state == 'connected'","__steers":"1","__css":"c59"},"children":[{"tag":"image","attrs":{"icon":"checkmark.circle.fill","aria-label":"Connected","__inkAuthored":"true","__fontSize":"22px","__css":"c68"},"children":[],"text":"","reactive":false,"nid":2},{"tag":"text","attrs":{"value":"The Despia extension is connected","__css":"c69"},"children":[],"text":"","reactive":false,"nid":3}],"text":"\n    \n    \n  ","reactive":true,"nid":1},{"tag":"stack","attrs":{"visible-if":"dsx.attribute.state == 'add' || dsx.attribute.state == 'other' || dsx.attribute.state == 'phone'","__css":"c70"},"children":[{"tag":"text","attrs":{"type":"headline","value":"The Despia extension","role":"heading"},"children":[],"text":"","reactive":false,"nid":5},{"tag":"text","attrs":{"value":"It does the store work for you, in your browser.","__css":"c7"},"children":[],"text":"","reactive":false,"nid":6}],"text":"\n    \n    \n  ","reactive":true,"nid":4},{"tag":"text","attrs":{"visible-if":"dsx.attribute.state == 'add'","value":"Add it once. Connecting each store then takes about a minute, and this page goes on by itself.","__css":"c71"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"text","attrs":{"visible-if":"dsx.attribute.state == 'other'","value":"About 1 minute with the extension, 30 minutes by hand. Works in Chrome, Arc, Edge and Brave.","__css":"c71"},"children":[],"text":"","reactive":true,"nid":8},{"tag":"text","attrs":{"visible-if":"dsx.attribute.state == 'other'","value":"Agent can walk you through it.","__css":"c72"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"text","attrs":{"visible-if":"dsx.attribute.state == 'phone'","value":"It runs in Chrome on a computer. Open this page there to connect in about a minute.","__css":"c71"},"children":[],"text":"","reactive":true,"nid":10},{"tag":"ExtensionHandoff","attrs":{"project-id":"{{ dsx.attribute.projectId }}","visible-if":"dsx.attribute.state == 'phone'"},"children":[],"text":"","reactive":true,"nid":11},{"tag":"stack","attrs":{"class":"extension-card-actions","visible-if":"dsx.attribute.state == 'add' || dsx.attribute.state == 'other' || dsx.attribute.state == 'phone'","__flexDirection":"row","__steers":"1","__css":"c73"},"children":[{"tag":"image","attrs":{"class":"cws-badge cws-badge-light","src":"{{ dsx.attribute.badgeSrc }}","aria-label":"Available in the Chrome Web Store","role":"button","visible-if":"dsx.attribute.state == 'add' && dsx.attribute.badgeSrc != ''","on:tap":"dsx.event('add')","__css":"c74"},"children":[],"text":"","reactive":true,"nid":13},{"tag":"image","attrs":{"class":"cws-badge cws-badge-dark","src":"{{ dsx.attribute.badgeDarkSrc == '' ? dsx.attribute.badgeSrc : dsx.attribute.badgeDarkSrc }}","aria-label":"Available in the Chrome Web Store","role":"button","visible-if":"dsx.attribute.state == 'add' && dsx.attribute.badgeSrc != ''","on:tap":"dsx.event('add')","__css":"c74"},"children":[],"text":"","reactive":true,"nid":14},{"tag":"button","attrs":{"variant":"{{ dsx.attribute.quiet ? 'bordered' : 'prominent' }}","class":"button-external","icon":"arrow.up.right","label":"Add Extension","visible-if":"dsx.attribute.state == 'add' && dsx.attribute.badgeSrc == ''","on:tap":"dsx.event('add')","__row":"1"},"children":[],"text":"","reactive":true,"nid":15},{"tag":"button","attrs":{"variant":"prominent","icon":"{{ dsx.attribute.copied ? 'checkmark' : 'doc.on.doc' }}","label":"{{ dsx.attribute.copied ? 'Link Copied' : 'Copy Link' }}","visible-if":"dsx.attribute.state == 'other' || dsx.attribute.state == 'phone'","on:tap":"dsx.event('copy')"},"children":[],"text":"","reactive":true,"nid":16},{"tag":"button","attrs":{"variant":"bordered","label":"By Hand","on:tap":"dsx.event('hand')"},"children":[],"text":"","reactive":true,"nid":17}],"text":"\n    \n    \n    \n    \n    \n    \n    \n    \n  ","reactive":true,"nid":12}],"text":"\n  \n\n  \n  \n\n  \n  \n\n  \n  \n  \n  \n  \n\n  \n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.ExtensionHandoff":{"name":"ExtensionHandoff","scheme":"platform","head":{"attributes":[{"as":"project-id","default":"''"},{"as":"target","default":"'store-setup/extension'"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"handoff","body":"return null","computed":false},{"as":"copied","body":"return false","computed":false},{"as":"mailed","body":"return null","computed":false},{"as":"notice","body":"return ''","computed":false},{"as":"goHost","body":"\n      const h = dsx.variable.handoff\n      return h == null ? 'console.despia.com/go' : String(h.goUrl).replace(/^https?:\\/\\//, '')\n    ","computed":true},{"as":"codeLine","body":"\n      const h = dsx.variable.handoff\n      return h == null ? '' : 'Or open ' + dsx.variable.goHost + ' on your computer and enter this code:'\n    ","computed":true},{"as":"codeSpoken","body":"\n      const h = dsx.variable.handoff\n      return h == null ? '' : 'Code ' + h.code.split('').join(' ')\n    ","computed":true},{"as":"emailLabel","body":"\n      if (dsx.action.email.pending) { return 'Sending…' }\n      return dsx.variable.mailed != null &amp;&amp; dsx.variable.mailed.sent ? 'Email Sent' : 'Email Link'\n    ","computed":true},{"as":"sentLine","body":"\n      const m = dsx.variable.mailed\n      if (dsx.variable.notice != '') { return dsx.variable.notice }\n      if (m == null) { return '' }\n      if (m.sent) { return 'Sent to ' + m.to + '. Open it on your computer.' }\n      if (m.why == 'test_environment') { return 'This test console only emails team addresses. Copy the link instead.' }\n      return 'Email is paused right now. Copy the link instead.'\n    ","computed":true}],"formulas":[],"actions":[{"as":"make","inputs":{},"body":"\n      if (dsx.attribute.projectId == '') { return }\n      const r = await dsx.module.convertdata.handoffCreate({ projectId: dsx.attribute.projectId, target: dsx.attribute.target })\n      if (r.ok) { dsx.variable.handoff = r.data }\n    "},{"as":"tick","inputs":{},"body":"\n      const h = dsx.variable.handoff\n      if (h != null &amp;&amp; Date.parse(h.expiresAt) - Date.now() &gt; 60000) { return }\n      await dsx.action.make()\n    "},{"as":"watchCode","inputs":{},"body":"setInterval(() =&gt; { dsx.action.tick() }, 60000, 'handoff-refresh')"},{"as":"unwatchCode","inputs":{},"body":"clearInterval('handoff-refresh')"},{"as":"email","inputs":{},"body":"\n      const r = await dsx.module.convertdata.handoffEmail({ projectId: dsx.attribute.projectId, target: dsx.attribute.target })\n      dsx.variable.notice = r.ok ? '' : messageOf(r)\n      if (r.ok) { dsx.variable.mailed = r.data }\n    "},{"as":"copy","inputs":{},"body":"\n      const h = dsx.variable.handoff\n      if (h == null) { return }\n      const r = await dsx.module.clipboard.write({ text: h.link })\n      if (r.ok) { dsx.variable.copied = true }\n    "}],"watches":[{"value":"dsx.attribute.projectId","handler":"dsx.action.make()","immediate":true}],"scripts":["\n      function messageOf(r) {\n        if (r == null) { return 'Despia did not answer. Copy the link instead.' }\n        if (r.error != null &amp;&amp; typeof r.error == 'object' &amp;&amp; r.error.message) { return r.error.message }\n        if (r.message) { return r.message }\n        return 'Despia did not answer. Copy the link instead.'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"extension-handoff","on:appear":"dsx.action.watchCode()","on:disappear":"dsx.action.unwatchCode()","__css":"c34"},"children":[{"tag":"hstack","attrs":{"__steers":"1","__css":"c59"},"children":[{"tag":"image","attrs":{"icon":"laptopcomputer","aria-label":"","aria-hidden":"true","__inkAuthored":"true","__fontSize":"28px","__css":"c75"},"children":[],"text":"","reactive":false,"nid":2},{"tag":"text","attrs":{"type":"headline","value":"Finish on your computer","role":"heading","__css":"c69"},"children":[],"text":"","reactive":false,"nid":3}],"text":"\n    \n    \n  ","reactive":false,"nid":1},{"tag":"text","attrs":{"value":"The Despia extension runs in Chrome on a Mac or PC. It does the store setup in about a minute.","__css":"c71"},"children":[],"text":"","reactive":false,"nid":4},{"tag":"stack","attrs":{"class":"extension-handoff-actions","__flexDirection":"row","__steers":"1","__css":"c73"},"children":[{"tag":"button","attrs":{"variant":"prominent","icon":"{{ dsx.variable.mailed != null && dsx.variable.mailed.sent ? 'checkmark' : 'envelope' }}","label":"{{ dsx.variable.emailLabel }}","disabled-if":"dsx.action.email.pending || (dsx.variable.mailed != null && dsx.variable.mailed.sent)","on:tap":"dsx.action.email()"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"button","attrs":{"variant":"bordered","icon":"{{ dsx.variable.copied ? 'checkmark' : 'doc.on.doc' }}","label":"{{ dsx.variable.copied ? 'Link Copied' : 'Copy Link' }}","disabled-if":"dsx.variable.handoff == null","on:tap":"dsx.action.copy()"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n    \n    \n  ","reactive":true,"nid":5},{"tag":"text","attrs":{"value":"{{ dsx.variable.sentLine }}","visible-if":"dsx.variable.sentLine != ''","__css":"c7"},"children":[],"text":"","reactive":true,"nid":8},{"tag":"stack","attrs":{"visible-if":"dsx.variable.handoff != null","__css":"c76"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.variable.codeLine }}","__css":"c7"},"children":[],"text":"","reactive":true,"nid":10},{"tag":"text","attrs":{"class":"extension-handoff-token","value":"{{ dsx.variable.handoff == null ? '' : dsx.variable.handoff.display }}","aria-label":"{{ dsx.variable.codeSpoken }}","__css":"c77"},"children":[],"text":"","reactive":true,"nid":11}],"text":"\n    \n    \n  ","reactive":true,"nid":9}],"text":"\n  \n\n  \n\n  \n\n  \n\n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.ExtensionInstallSheet":{"name":"ExtensionInstallSheet","scheme":"platform","head":{"attributes":[{"as":"present","default":"false"}],"apis":[],"expects":[],"events":[{"as":"close","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"loading","body":"return true","computed":false},{"as":"download","body":"return { url: '/downloads/despia-extension-0.1.0.zip', file: 'despia-extension-0.1.0.zip', version: '0.1.0', sha256: '' }","computed":false},{"as":"checksum","body":"return dsx.variable.download.sha256 == '' ? '' : 'SHA-256 ' + dsx.variable.download.sha256","computed":true},{"as":"steps","body":"\n      return [\n        { title: 'Unzip the file', body: 'Open **' + dsx.variable.download.file + '** in your Downloads. It unzips into a folder. Keep that folder; Chrome loads the extension from it.' },\n        { title: 'Open the extensions page', body: 'In Chrome, type this into the address bar.\\n\\n```text\\nchrome://extensions\\n```' },\n        { title: 'Turn on Developer mode', body: 'The switch is at the top right of the extensions page.' },\n        { title: 'Load the extension', body: 'Click **Load unpacked**, choose the unzipped folder, then pin Despia from the puzzle piece in the toolbar so it is one click away.' }\n      ]\n    ","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      dsx.variable.loading = true\n      try {\n        const r = await dsx.module.convertdata.extensionInstall()\n        if (r.ok &amp;&amp; r.data.download != null) { dsx.variable.download = r.data.download }\n      } finally { dsx.variable.loading = false }\n    "},{"as":"get","inputs":{},"body":"await dsx.module.browser.open({ url: dsx.variable.download.url })"},{"as":"close","inputs":{},"body":"dsx.event('close')"}],"watches":[{"value":"dsx.attribute.present","handler":"dsx.action.load()","immediate":true}],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"sheet","attrs":{"detents":"content","present":"dsx.attribute.present","title":"Install Extension","close":"trailing","on:dismiss":"dsx.action.close()"},"children":[{"tag":"ListGroup","attrs":{"footer":"Chrome may show a notice for extensions installed this way. The Chrome Web Store version arrives soon and updates automatically."},"children":[{"tag":"SettingsRow","attrs":{"icon":"doc.zipper","title":"Despia Extension","subtitle":"Version {{ dsx.variable.download.version }}, ZIP"},"children":[{"tag":"button","attrs":{"variant":"bordered","control-size":"small","label":"Download","aria-label":"Download {{ dsx.variable.download.file }}","icon":"arrow.down.circle","on:tap":"dsx.action.get()"},"children":[],"text":"","reactive":true,"nid":4}],"text":"\n        \n      ","reactive":true,"nid":3}],"text":"\n      \n    ","reactive":true,"nid":2},{"tag":"Guide","attrs":{"steps":"{{ dsx.variable.steps }}","aria-label":"Install steps"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"stack","attrs":{"class":"extension-checksum","__css":"c78"},"children":[{"tag":"skeleton","attrs":{"visible-if":"dsx.variable.loading","__css":"c79"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"skeleton","attrs":{"visible-if":"dsx.variable.loading","__css":"c80"},"children":[],"text":"","reactive":true,"nid":8},{"tag":"text","attrs":{"visible-if":"!dsx.variable.loading && dsx.variable.checksum != ''","value":"{{ dsx.variable.checksum }}","__css":"c81"},"children":[],"text":"","reactive":true,"nid":9}],"text":"\n      \n      \n      \n    ","reactive":true,"nid":6}],"text":"\n    \n\n    \n\n    \n    \n  ","reactive":true,"nid":1}],"text":"\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.FeatureReview":{"name":"FeatureReview","scheme":"platform","head":{"attributes":[{"as":"project-id","default":"''"}],"apis":[],"expects":[],"events":[{"as":"changed","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"view","body":"return null","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"removeRows","body":"return []","computed":false},{"as":"checkRows","body":"return []","computed":false},{"as":"plan","body":"return null","computed":false},{"as":"done","body":"return null","computed":false},{"as":"loadedFor","body":"return ''","computed":false},{"as":"ready","body":"return dsx.variable.view != null","computed":true},{"as":"selected","body":"return dsx.variable.removeRows.concat(dsx.variable.checkRows).filter(r => r.selected).map(r => r.package)","computed":true},{"as":"keeping","body":"return dsx.variable.removeRows.concat(dsx.variable.checkRows).filter(r => !r.selected).map(r => r.package)","computed":true},{"as":"hasReview","body":"return dsx.variable.ready &amp;&amp; (dsx.variable.removeRows.length + dsx.variable.checkRows.length) &gt; 0","computed":true},{"as":"reviewLabel","body":"\n      if (dsx.action.makePlan.pending) { return 'Checking…' }\n      return 'Continue'\n    ","computed":true},{"as":"applyLabel","body":"\n      if (dsx.action.apply.pending) { return 'Removing…' }\n      return dsx.variable.plan == null || dsx.variable.plan.count == 0 ? 'Keep' : 'Remove'\n    ","computed":true},{"as":"removeHeader","body":"return 'Not detected (' + dsx.variable.removeRows.length + ')'","computed":true},{"as":"checkHeader","body":"return 'Your call (' + dsx.variable.checkRows.length + ')'","computed":true},{"as":"keepHeader","body":"return 'Used in your app (' + (dsx.variable.view == null ? 0 : dsx.variable.view.keep.length) + ')'","computed":true},{"as":"doneTitle","body":"\n      const d = dsx.variable.done\n      if (d == null) { return '' }\n      return d.removed.length == 0 ? 'Your features are reviewed' : d.removed.length + (d.removed.length == 1 ? ' feature removed' : ' features removed')\n    ","computed":true},{"as":"article","body":"\n      return 'App Review checks that an app only declares what it uses. A permission prompt, an entitlement or an SDK for a feature your app never calls can get a build rejected (Apple Guideline 2.3.1), and it makes the app larger.\\n\\n' +\n        'Despia V3 put the same features in every app. Review Features shows each one with what it adds and whether your web code calls it, so you can keep exactly what you use.\\n\\n' +\n        '**Not detected** means we did not find calls to it in the pages anyone can open. Pages behind a sign in are not read, so keep a feature if your app uses it there.\\n\\n' +\n        'Nothing here is final: Undo puts every removed feature back, with the same settings.'\n    ","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      if (dsx.attribute.projectId == '') { return }\n      dsx.variable.loadedFor = dsx.attribute.projectId\n      const r = await dsx.module.convertdata.features({ id: dsx.attribute.projectId, scan: true })\n      if (!r.ok) { dsx.variable.error = 'Despia did not answer. Check your connection and try again.'; return }\n      dsx.variable.error = ''\n      dsx.variable.removeRows = r.data.remove\n      dsx.variable.checkRows = r.data.check\n      dsx.variable.view = r.data\n    "},{"as":"makePlan","inputs":{},"body":"\n      const r = await dsx.module.convertdata.featuresPlan({ id: dsx.attribute.projectId, packages: dsx.variable.selected, keep: dsx.variable.keeping })\n      if (!r.ok) { dsx.variable.error = messageOf(r, 'The removal could not be checked. Try again.'); return }\n      dsx.variable.error = ''\n      dsx.variable.plan = r.data\n    "},{"as":"apply","inputs":{},"body":"\n      const r = await dsx.module.convertdata.featuresApply({ planId: dsx.variable.plan.planId })\n      if (!r.ok) { dsx.variable.plan = null; dsx.variable.error = messageOf(r, 'Nothing was removed. Try again.'); return }\n      dsx.variable.plan = null\n      dsx.variable.done = r.data\n      dsx.event('changed')\n      await dsx.action.load()\n    "},{"as":"undo","inputs":{},"body":"\n      const d = dsx.variable.done\n      if (d == null) { return }\n      const r = await dsx.module.convertdata.featuresRestore({ id: dsx.attribute.projectId, packages: d.removed })\n      if (!r.ok) { dsx.variable.error = messageOf(r, 'They could not be put back. Try again.'); return }\n      dsx.variable.done = null\n      dsx.module.toast.show({ title: 'Features restored', message: 'Your app has them again from the next build.' })\n      dsx.event('changed')\n      await dsx.action.load()\n    "}],"watches":[{"value":"dsx.attribute.projectId","handler":"dsx.action.load()","immediate":true}],"scripts":["\n      function messageOf(r, fallback) {\n        if (r != null &amp;&amp; r.error != null &amp;&amp; typeof r.error == 'object' &amp;&amp; r.error.message) { return r.error.message }\n        if (r != null &amp;&amp; typeof r.message == 'string' &amp;&amp; r.message != '') { return r.message }\n        return fallback\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"Callout","attrs":{"class":"page-notice","tone":"error","title":"The review did not load","message":"{{ dsx.variable.error }}","action":"Try Again","visible-if":"dsx.variable.error != ''","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"ListGroup","attrs":{"visible-if":"!dsx.variable.ready && dsx.variable.error == ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"doc.text.magnifyingglass","title":"Reading your web code","subtitle":"The pages anyone can open, one at a time. Nothing in your app changes."},"children":[{"tag":"spinner","attrs":{},"children":[],"text":"","reactive":false,"nid":4}],"text":"\n      \n    ","reactive":true,"nid":3}],"text":"\n    \n  ","reactive":true,"nid":2},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.done != null","footer":"Your next build leaves them out. Undo puts them all back with the same settings."},"children":[{"tag":"SettingsRow","attrs":{"icon":"checkmark.circle.fill","title":"{{ dsx.variable.doneTitle }}","tone":"success"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"SettingsRow","attrs":{"icon":"arrow.uturn.backward","title":"Undo","tone":"accent","tappable":"true","visible-if":"dsx.variable.done.removed.length > 0","on:tap":"dsx.action.undo()"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n    \n    \n  ","reactive":true,"nid":5},{"tag":"Explainer","attrs":{"visible-if":"dsx.variable.ready","title":"Apps should only declare what they use","message":"Every feature adds permissions and SDKs that App Review checks, so remove the ones your app never calls.","sheet-title":"Why Review Features","body":"{{ dsx.variable.article }}"},"children":[],"text":"","reactive":true,"nid":8},{"tag":"ListGroup","attrs":{"header":"Your web code","visible-if":"dsx.variable.ready"},"children":[{"tag":"SettingsRow","attrs":{"icon":"doc.text.magnifyingglass","title":"{{ dsx.variable.view.scanTitle }}","subtitle":"{{ dsx.variable.view.scanLine }}"},"children":[],"text":"","reactive":true,"nid":10}],"text":"\n    \n  ","reactive":true,"nid":9},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.hasReview","footer":"Nothing changes until you confirm. You can undo it."},"children":[{"tag":"SettingsRow","attrs":{"icon":"checklist","title":"{{ dsx.variable.reviewLabel }}","subtitle":"{{ dsx.variable.selected.length == 0 ? 'Keep all features.' : 'Review removal of ' + dsx.variable.selected.length + ' features.' }}","tone":"accent","tappable":"true","on:tap":"dsx.action.makePlan()"},"children":[],"text":"","reactive":true,"nid":12}],"text":"\n    \n  ","reactive":true,"nid":11},{"tag":"ListGroup","attrs":{"header":"{{ dsx.variable.removeHeader }}","footer":"We did not find calls to these in your public web code. Selected ones leave the app in one step; turn one off to keep it.","visible-if":"dsx.variable.ready && dsx.variable.removeRows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.removeRows","key":"package","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.detail }}"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.this.selected","aria-label":"Remove {{ dsx.this.name }}"},"children":[],"text":"","reactive":true,"nid":15}],"text":"\n      \n    ","reactive":true,"nid":14}],"text":"\n    \n  ","reactive":true,"nid":13},{"tag":"ListGroup","attrs":{"header":"{{ dsx.variable.checkHeader }}","footer":"Your web code cannot show whether these are used. They stay unless you turn them on for removal.","visible-if":"dsx.variable.ready && dsx.variable.checkRows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.checkRows","key":"package","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.detail }}"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.this.selected","aria-label":"Remove {{ dsx.this.name }}"},"children":[],"text":"","reactive":true,"nid":18}],"text":"\n      \n    ","reactive":true,"nid":17}],"text":"\n    \n  ","reactive":true,"nid":16},{"tag":"ListGroup","attrs":{"header":"{{ dsx.variable.keepHeader }}","visible-if":"dsx.variable.ready && dsx.variable.view.keep.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.view.keep","key":"package","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.detail }}"},"children":[],"text":"","reactive":true,"nid":20}],"text":"\n    \n  ","reactive":true,"nid":19},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.ready && !dsx.variable.hasReview && dsx.variable.done == null"},"children":[{"tag":"SettingsRow","attrs":{"icon":"checkmark.circle","title":"Every feature in this app is used or kept by you"},"children":[],"text":"","reactive":true,"nid":22}],"text":"\n    \n  ","reactive":true,"nid":21},{"tag":"sheet","attrs":{"detents":"content","present":"dsx.variable.plan != null","title":"Review Removal","action":"{{ dsx.variable.applyLabel }}","action-disabled":"{{ dsx.action.apply.pending }}","on:action":"dsx.action.apply()","on:dismiss":"dsx.variable.plan = null"},"children":[{"tag":"ListGroup","attrs":{"footer":"One change to your app, from its next build. Undo puts everything back."},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.plan.lines","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.detail }}","value":"{{ dsx.this.value }}"},"children":[],"text":"","reactive":true,"nid":25}],"text":"\n      \n    ","reactive":true,"nid":24}],"text":"\n    \n  ","reactive":true,"nid":23}],"text":"\n  \n\n  \n\n  \n\n  \n\n  \n\n  \n\n  \n  \n\n  \n\n  \n\n  \n\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.FileList":{"name":"FileList","scheme":"platform","head":{"attributes":[{"as":"setting","default":"''"},{"as":"title","default":"''"},{"as":"description","default":"''"},{"as":"footer","default":"''"},{"as":"files","default":"[]"},{"as":"addable","default":"true","type":"bool"},{"as":"busy","default":"false","type":"bool"},{"as":"playing","default":"''"}],"apis":[],"expects":[],"events":[{"as":"add","payload":["setting"]},{"as":"play","payload":["setting","ref"]}],"inputs":[],"tools":[],"variables":[{"as":"empty","body":"return !Array.isArray(dsx.attribute.files) || dsx.attribute.files.length == 0","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"ListGroup","attrs":{"header":"{{ dsx.attribute.title }}","footer":"{{ dsx.attribute.footer }}"},"children":[{"tag":"SettingsRow","attrs":{"icon":"tray","title":"No files yet","subtitle":"{{ dsx.attribute.description }}","visible-if":"dsx.variable.empty"},"children":[],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"repeat":"dsx.attribute.files","key":"ref","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}"},"children":[{"tag":"button","attrs":{"variant":"plain","icon":"{{ dsx.attribute.playing == dsx.this.ref ? 'stop.fill' : 'play.fill' }}","aria-label":"{{ dsx.attribute.playing == dsx.this.ref ? 'Stop' : 'Play' }} {{ dsx.this.title }}","visible-if":"dsx.this.audio","on:tap":"dsx.event('play', { setting: dsx.attribute.setting, ref: dsx.this.ref })"},"children":[],"text":"","reactive":true},{"tag":"menu","attrs":{"menu":"{{ dsx.this.menu }}"},"children":[{"tag":"button","attrs":{"variant":"plain","icon":"ellipsis.circle","aria-label":"Actions for {{ dsx.this.title }}"},"children":[],"text":"","reactive":true}],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true},{"tag":"SettingsRow","attrs":{"icon":"{{ dsx.attribute.busy ? 'hourglass' : 'plus' }}","title":"{{ dsx.attribute.busy ? 'Adding' : 'Add Files' }}","tone":"accent","tappable":"{{ !dsx.attribute.busy }}","visible-if":"dsx.attribute.addable","on:tap":"dsx.event('add', { setting: dsx.attribute.setting })"},"children":[],"text":"","reactive":true}],"text":"\n    \n    \n    \n  ","reactive":true}],"text":"\n  \n\n  \n","reactive":true},"reactive":true,"language":"1"},"platform.Go":{"name":"Go","scheme":"platform","head":{"attributes":[],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"readError","body":"return false","computed":false},{"as":"phase","body":"return 'loading'","computed":false},{"as":"signedIn","body":"return false","computed":false},{"as":"email","body":"return ''","computed":false},{"as":"entryText","body":"return ''","computed":false},{"as":"notice","body":"return ''","computed":false},{"as":"busy","body":"return dsx.action.go.pending || dsx.variable.phase == 'going'","computed":true},{"as":"continueLabel","body":"return dsx.variable.busy ? 'Opening…' : 'Continue'","computed":true},{"as":"subheading","body":"\n      if (dsx.variable.signedIn) { return 'Enter the code your phone shows. You are signed in as ' + dsx.variable.email + '.' }\n      return 'Enter the code your phone shows. You sign in next, with the same account.'\n    ","computed":true}],"formulas":[],"actions":[{"as":"start","inputs":{},"body":"\n      dsx.variable.readError = false\n      const kept = await dsx.module.convertdata.credential({ name: 'code', address: dsx.query.code == null ? '' : String(dsx.query.code) })\n      const fromAddress = kept.ok ? String(kept.data.value || '') : ''\n      const raw = fromAddress != '' ? fromAddress : dsx.variable.entryText\n      if (raw != '') { dsx.variable.entryText = raw }\n      await dsx.module.convertdata.scrubAddress()\n      const s = await dsx.module.convertdata.requireSession({ next: '/go' })\n      if (!s.ok) { dsx.variable.readError = true; return }\n      dsx.variable.signedIn = s.ok &amp;&amp; s.data.signedIn == true\n      dsx.variable.email = dsx.variable.signedIn ? s.data.email : ''\n      dsx.variable.phase = 'entry'\n      if (raw != '') {\n        dsx.variable.entryText = raw\n        if (dsx.variable.signedIn) { await dsx.action.go() }\n      }\n    "},{"as":"go","inputs":{},"body":"\n      const code = clean(dsx.variable.entryText)\n      if (code.length != 6) { dsx.variable.notice = 'Enter the 6 letters and numbers your phone shows, like K7Q-4M2.'; return }\n      if (!dsx.variable.signedIn) {\n        //  the sign in keeps the code out of the address and hands it back to this page\n        await dsx.module.convertdata.requireSession({ next: '/go?code=' + code })\n        dsx.module.route.reset({ path: '/login' })\n        return\n      }\n      dsx.variable.phase = 'going'\n      const r = await dsx.module.convertdata.handoffRedeem({ code: code })\n      if (!r.ok) {\n        dsx.variable.phase = 'entry'\n        if (codeOf(r) == 'signed_out') { dsx.variable.signedIn = false; await dsx.action.go(); return }\n        dsx.variable.notice = messageOf(r)\n        return\n      }\n      dsx.module.route.reset({ path: r.data.path })\n    "}],"watches":[{"value":"dsx.path","handler":"dsx.action.start()","immediate":true}],"scripts":["\n      function clean(text) {\n        return String(text || '').toUpperCase().replace(/[^A-Z0-9]/g, '')\n      }\n      function codeOf(r) {\n        if (r == null || r.error == null) { return '' }\n        return typeof r.error == 'string' ? r.error : String(r.error.code || '')\n      }\n      function messageOf(r) {\n        if (r == null) { return 'Despia did not answer. Try again in a moment.' }\n        if (r.error != null &amp;&amp; typeof r.error == 'object' &amp;&amp; r.error.message) { return r.error.message }\n        if (r.message) { return r.message }\n        return 'Despia did not answer. Try again in a moment.'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"AuthPage","attrs":{"footer":"A code works once, for 30 minutes, and only for the account that made it.","links":"{{ [{ label: 'Privacy Policy', href: '/privacy' }] }}"},"children":[{"tag":"Callout","attrs":{"tone":"error","title":"Your account did not load","message":"Despia did not answer. Check your connection and try again.","action":"Try Again","visible-if":"dsx.variable.readError","on:action":"dsx.action.start()"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"stack","attrs":{"class":"go-header","__steers":"1"},"children":[{"tag":"hstack","attrs":{"class":"go-marks","aria-hidden":"true","__steers":"1"},"children":[{"tag":"IconTile","attrs":{"icon":"iphone","tint":"#3A3A3C","name":"Your phone"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"image","attrs":{"class":"go-link","icon":"arrow.right"},"children":[],"text":"","reactive":false,"nid":6},{"tag":"IconTile","attrs":{"brand":"despia.logo.mono","tint":"#6D3BEF","name":"Despia"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n        \n        \n        \n      ","reactive":true,"nid":4},{"tag":"text","attrs":{"class":"go-title","value":"Continue on this computer","role":"heading"},"children":[],"text":"","reactive":false,"nid":8},{"tag":"text","attrs":{"class":"go-subtitle","value":"{{ dsx.variable.subheading }}","visible-if":"dsx.variable.phase != 'loading'"},"children":[],"text":"","reactive":true,"nid":9}],"text":"\n      \n      \n      \n    ","reactive":true,"nid":3},{"tag":"spinner","attrs":{"visible-if":"dsx.variable.phase == 'loading'"},"children":[],"text":"","reactive":true,"nid":10},{"tag":"stack","attrs":{"visible-if":"dsx.variable.phase != 'loading'"},"children":[{"tag":"ListGroup","attrs":{"header":"Code from your phone","footer":"{{ dsx.variable.notice }}","class":"{{ dsx.variable.notice == '' ? 'go-code' : 'go-code go-code-error' }}"},"children":[{"tag":"SettingsRow","attrs":{},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.entryText","placeholder":"K7Q-4M2","autocapitalize":"characters","autocorrect":"off","autocomplete":"one-time-code","aria-label":"Code from your phone","aria-invalid":"{{ dsx.variable.notice != '' }}","on:submit":"dsx.action.go()"},"children":[],"text":"","reactive":true,"nid":14}],"text":"","reactive":true,"nid":13}],"text":"\n        \n      ","reactive":true,"nid":12},{"tag":"stack","attrs":{"class":"go-actions","__steers":"1"},"children":[{"tag":"button","attrs":{"variant":"prominent","control-size":"large","label":"{{ dsx.variable.continueLabel }}","disabled-if":"dsx.variable.busy","on:tap":"dsx.action.go()"},"children":[],"text":"","reactive":true,"nid":16}],"text":"\n        \n      ","reactive":true,"nid":15}],"text":"\n      \n      \n    ","reactive":true,"nid":11}],"text":"\n    \n\n    \n\n    \n\n    \n  ","reactive":true,"nid":1}],"text":"\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.GroupChat":{"name":"GroupChat","scheme":"platform","head":{"attributes":[{"as":"conversation-id","default":"''"},{"as":"project-id","default":"''"},{"as":"prefill","default":"''"},{"as":"bar","default":"true"},{"as":"back","default":"false"}],"apis":[],"expects":[],"events":[{"as":"back","payload":[]},{"as":"started","payload":["id"]},{"as":"read","payload":["seq"]}],"inputs":[],"tools":[],"variables":[{"as":"chatId","body":"return ''","computed":false},{"as":"conversation","body":"return null","computed":false},{"as":"participants","body":"return []","computed":false},{"as":"messages","body":"return []","computed":false},{"as":"draft","body":"return ''","computed":false},{"as":"loaded","body":"return false","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"offers","body":"return {}","computed":false},{"as":"id","body":"return dsx.variable.chatId != '' ? dsx.variable.chatId : String(dsx.attribute.conversationId || '')","computed":true},{"as":"showBar","body":"return !(dsx.attribute.bar === false || dsx.attribute.bar === 'false')","computed":true},{"as":"showBack","body":"return dsx.attribute.back === true || dsx.attribute.back === 'true'","computed":true},{"as":"present","body":"return dsx.variable.participants.filter(p => p.active)","computed":true},{"as":"staffHere","body":"return dsx.variable.present.some(p => p.kind == 'staff')","computed":true},{"as":"waiting","body":"return dsx.variable.conversation != null &amp;&amp; dsx.variable.conversation.waitingForTeam === true","computed":true},{"as":"whoLine","body":"\n      const names = dsx.variable.present.map(p => p.kind == 'user' ? 'You' : p.name)\n      if (names.length == 0) { return 'You and Agent' }\n      return names.length == 1 ? names[0] : names.slice(0, -1).join(', ') + ' and ' + names[names.length - 1]\n    ","computed":true},{"as":"faces","body":"\n      return dsx.variable.present.filter(p => p.kind == 'staff').map(p => ({ name: p.name, initials: initialsOf(p.name) }))\n    ","computed":true},{"as":"rows","body":"\n      const out = []\n      const list = dsx.variable.messages\n      for (let i = 0; i &lt; list.length; i++) {\n        const m = list[i]\n        const prev = i == 0 ? null : list[i - 1]\n        //  a name is drawn once per run of messages by the same author\n        const head = prev == null || prev.author != m.author || prev.name != m.name\n        const row = { key: 'm' + m.seq, type: m.author, text: m.text, name: m.name, head: head, initials: initialsOf(m.name), when: timeOf(m.createdAt) }\n        if (m.ticket === true) {\n          //  the case's first post: the summary the person confirmed, drawn as its rows (the source ids stay for the team)\n          const lines = String(m.text).split('\\n')\n          row.type = 'ticket'\n          row.heading = lines[0]\n          row.facts = lines.slice(1).map((l, n) => {\n            const at = l.indexOf(': ')\n            return { id: 'f' + n, label: at &lt; 0 ? '' : l.slice(0, at), value: (at &lt; 0 ? l : l.slice(at + 2)).replace(/ \\[[^\\]]+\\]$/, '') }\n          })\n        }\n        if (m.offer != null) {\n          const state = dsx.variable.offers[String(m.offer.seq)] || ''\n          row.type = 'offer'\n          row.answer = state == '' || state == 'working' ? m.offer.answer : ''\n          row.wait = state == '' ? m.offer.wait : ''\n          row.busy = state == 'working' ? 'true' : 'false'\n          row.done = state == 'waiting' ? 'The team will double-check.' : ''\n          row.seq = m.offer.seq\n        }\n        out.push(row)\n      }\n      return out\n    ","computed":true},{"as":"title","body":"\n      const c = dsx.variable.conversation\n      return c != null &amp;&amp; c.subject ? c.subject : 'Agent and the Despia team'\n    ","computed":true},{"as":"empty","body":"return dsx.variable.loaded &amp;&amp; dsx.variable.messages.length == 0","computed":true},{"as":"mentionRows","body":"\n      return [{ id: 'agent', title: 'agent', kind: 'Agent answers', icon: 'agent.mark' }, { id: 'support', title: 'support', kind: 'A person from Despia', icon: 'person.2' }]\n    ","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      if (dsx.variable.draft == '' &amp;&amp; dsx.attribute.prefill != '') { dsx.variable.draft = String(dsx.attribute.prefill) }\n      if (dsx.variable.id == '') { dsx.variable.loaded = true; return }\n      const r = await dsx.module.convertdata.groupChatOpen({ id: dsx.variable.id })\n      dsx.variable.loaded = true\n      if (!r.ok) { dsx.variable.error = 'Despia did not answer. Check your connection and try again.'; return }\n      dsx.variable.error = ''\n      dsx.action.take({ view: r.data })\n      await dsx.module.convertdata.helpFollow({ id: dsx.variable.id })\n    "},{"as":"take","inputs":{"view":"dsx.this.view"},"body":"\n      dsx.variable.conversation = view.conversation\n      dsx.variable.participants = view.participants\n      dsx.variable.messages = view.messages\n      await dsx.action.seen()\n    "},{"as":"seen","inputs":{},"body":"\n      const list = dsx.variable.messages\n      if (dsx.variable.id == '' || list.length == 0) { return }\n      const last = list[list.length - 1].seq\n      const r = await dsx.module.convertdata.groupChatRead({ id: dsx.variable.id, seq: last })\n      if (r.ok) { dsx.event('read', { seq: r.data.seq }) }\n    "},{"as":"catchUp","inputs":{},"body":"\n      if (dsx.variable.id == '') { return }\n      const r = await dsx.module.convertdata.groupChatOpen({ id: dsx.variable.id })\n      if (r.ok) { dsx.action.take({ view: r.data }) }\n    "},{"as":"append","inputs":{"list":"dsx.this.list"},"body":"\n      const known = dsx.variable.messages.map(m => m.seq)\n      dsx.variable.messages = dsx.variable.messages.concat(list.filter(m => !known.includes(m.seq))).sort((a, b) => a.seq - b.seq)\n    "},{"as":"send","inputs":{"text":"dsx.this.text"},"body":"\n      const words = String(text || '').trim()\n      if (words == '') { return }\n      if (dsx.variable.id == '') { await dsx.action.start({ words: words }); return }\n      const r = await dsx.module.convertdata.groupChatSend({ id: dsx.variable.id, body: words })\n      if (!r.ok) { dsx.module.toast.show({ title: 'Not sent', message: r.message || 'Try again in a moment.' }); return }\n      dsx.variable.draft = ''\n      dsx.action.append({ list: r.data.messages })\n      await dsx.action.catchUp()\n    "},{"as":"start","inputs":{"words":"dsx.this.words"},"body":"\n      const r = await dsx.module.convertdata.groupChatStart({ body: words, projectId: dsx.attribute.projectId })\n      if (!r.ok) { dsx.module.toast.show({ title: 'Not sent', message: r.message || 'Try again in a moment.' }); return }\n      dsx.variable.draft = ''\n      dsx.variable.chatId = r.data.conversation.id\n      dsx.action.take({ view: r.data })\n      dsx.event('started', { id: r.data.conversation.id })\n      await dsx.module.convertdata.helpFollow({ id: dsx.variable.chatId })\n    "},{"as":"offer","inputs":{"seq":"dsx.this.seq","choice":"dsx.this.choice"},"body":"\n      dsx.variable.offers = { ...dsx.variable.offers, [String(seq)]: choice == 'answer' ? 'working' : 'waiting' }\n      const r = await dsx.module.convertdata.groupChatOffer({ id: dsx.variable.id, choice: choice })\n      if (!r.ok) { dsx.variable.offers = { ...dsx.variable.offers, [String(seq)]: 'answered' }; return }\n      if (choice == 'answer') { dsx.variable.offers = { ...dsx.variable.offers, [String(seq)]: 'answered' } }\n      dsx.action.append({ list: r.data.messages })\n    "},{"as":"team","inputs":{},"body":"\n      const r = await dsx.module.convertdata.groupChatTeam({ id: dsx.variable.id })\n      if (!r.ok) { dsx.module.toast.show({ title: 'The team was not asked', message: r.message || 'Try again in a moment.' }); return }\n      dsx.action.take({ view: r.data })\n    "}],"watches":[{"value":"dsx.module.convertdata.context.helpLive","handler":"dsx.action.catchUp()"},{"value":"dsx.attribute.conversationId","handler":"dsx.action.load()"},{"value":"dsx.attribute.prefill","handler":"dsx.action.load()"}],"scripts":["\n      function initialsOf(name) {\n        const words = String(name || '').replace(/ from Despia$/, '').trim().split(/\\s+/).filter(w => w != '')\n        if (words.length == 0) { return '?' }\n        return (words[0].charAt(0) + (words.length &gt; 1 ? words[words.length - 1].charAt(0) : '')).toUpperCase()\n      }\n      function timeOf(iso) {\n        if (iso == null || iso == '') { return '' }\n        return new Date(iso).toLocaleTimeString(undefined, { hour: 'numeric', minute: '2-digit' })\n      }\n    "],"globalScripts":[]},"root":{"tag":"vstack","attrs":{"class":"group-chat","on:appear":"dsx.action.load()"},"children":[{"tag":"hstack","attrs":{"class":"group-chat-bar","visible-if":"dsx.variable.showBar","__steers":"1"},"children":[{"tag":"button","attrs":{"icon":"chevron.left","variant":"plain","aria-label":"Back","visible-if":"dsx.variable.showBack","on:tap":"dsx.event('back')"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"image","attrs":{"class":"group-chat-bar-mark","icon":"agent.mark","aria-label":"Agent"},"children":[],"text":"","reactive":false,"nid":3},{"tag":"AvatarGroup","attrs":{"class":"group-chat-faces","items":"{{ dsx.variable.faces }}","max":"3","visible-if":"dsx.variable.faces.length > 0"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"stack","attrs":{"class":"group-chat-who","__css":"c6"},"children":[{"tag":"text","attrs":{"class":"group-chat-title","value":"{{ dsx.variable.title }}","role":"heading"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"text","attrs":{"class":"group-chat-quiet","value":"{{ dsx.variable.whoLine }}"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n      \n      \n    ","reactive":true,"nid":5}],"text":"\n    \n    \n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"Callout","attrs":{"class":"page-notice","tone":"error","title":"Your thread did not load","message":"{{ dsx.variable.error }}","action":"Try Again","visible-if":"dsx.variable.error != ''","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":8},{"tag":"ThreadPane","attrs":{"class":"group-chat-thread","label":"Group chat","count":"{{ dsx.variable.rows.length }}","visible-if":"dsx.variable.error == ''"},"children":[{"tag":"stack","attrs":{"class":"group-chat-hello","visible-if":"dsx.variable.empty"},"children":[{"tag":"text","attrs":{"class":"group-chat-strong","value":"Ask Agent, or bring in the team","role":"heading"},"children":[],"text":"","reactive":false,"nid":11},{"tag":"text","attrs":{"class":"group-chat-quiet","value":"Agent answers what it can confirm. Write @support and a person from Despia joins this chat."},"children":[],"text":"","reactive":false,"nid":12}],"text":"\n      \n      \n    ","reactive":true,"nid":10},{"tag":"stack","attrs":{"repeat":"dsx.variable.rows","key":"key","class":"group-chat-row group-chat-row-{{ dsx.this.type }}"},"children":[{"tag":"stack","attrs":{"class":"group-chat-you","visible-if":"dsx.this.type == 'user'"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.this.text }}"},"children":[],"text":"","reactive":true,"nid":15}],"text":"\n        \n      ","reactive":true,"nid":14},{"tag":"stack","attrs":{"class":"group-chat-agent","visible-if":"dsx.this.type == 'agent'"},"children":[{"tag":"hstack","attrs":{"class":"group-chat-name","visible-if":"dsx.this.head","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"group-chat-agent-mark","icon":"agent.mark","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":18},{"tag":"text","attrs":{"class":"group-chat-label","value":"Agent"},"children":[],"text":"","reactive":false,"nid":19}],"text":"\n          \n          \n        ","reactive":true,"nid":17},{"tag":"text","attrs":{"class":"group-chat-text","value":"{{ dsx.this.text }}"},"children":[],"text":"","reactive":true,"nid":20}],"text":"\n        \n        \n      ","reactive":true,"nid":16},{"tag":"hstack","attrs":{"class":"group-chat-staff","visible-if":"dsx.this.type == 'staff'","__steers":"1"},"children":[{"tag":"Avatar","attrs":{"class":"group-chat-face group-chat-face-{{ dsx.this.head ? 'on' : 'off' }}","initials":"{{ dsx.this.initials }}"},"children":[],"text":"","reactive":true,"nid":22},{"tag":"stack","attrs":{"class":"group-chat-staff-body"},"children":[{"tag":"text","attrs":{"class":"group-chat-label","value":"{{ dsx.this.name }}","visible-if":"dsx.this.head"},"children":[],"text":"","reactive":true,"nid":24},{"tag":"stack","attrs":{"class":"group-chat-staff-bubble"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.this.text }}"},"children":[],"text":"","reactive":true,"nid":26}],"text":"","reactive":true,"nid":25}],"text":"\n          \n          \n        ","reactive":true,"nid":23}],"text":"\n        \n        \n      ","reactive":true,"nid":21},{"tag":"stack","attrs":{"class":"group-chat-agent","visible-if":"dsx.this.type == 'ticket'"},"children":[{"tag":"hstack","attrs":{"class":"group-chat-name","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"group-chat-agent-mark","icon":"agent.mark","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":29},{"tag":"text","attrs":{"class":"group-chat-label","value":"Agent"},"children":[],"text":"","reactive":false,"nid":30}],"text":"\n          \n          \n        ","reactive":false,"nid":28},{"tag":"AgentCard","attrs":{"class":"group-chat-ticket","title":"{{ dsx.this.heading }}"},"children":[{"tag":"stack","attrs":{"class":"group-chat-facts"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.this.facts","key":"id","class":"group-chat-fact"},"children":[{"tag":"text","attrs":{"class":"group-chat-label","value":"{{ dsx.this.label }}","visible-if":"dsx.this.label != ''"},"children":[],"text":"","reactive":true,"nid":34},{"tag":"text","attrs":{"class":"group-chat-text","value":"{{ dsx.this.value }}"},"children":[],"text":"","reactive":true,"nid":35}],"text":"\n              \n              \n            ","reactive":true,"nid":33}],"text":"\n            \n          ","reactive":true,"nid":32}],"text":"\n          \n        ","reactive":true,"nid":31}],"text":"\n        \n        \n      ","reactive":true,"nid":27},{"tag":"text","attrs":{"class":"group-chat-system","value":"{{ dsx.this.text }}","visible-if":"dsx.this.type == 'system'"},"children":[],"text":"","reactive":true,"nid":36},{"tag":"hstack","attrs":{"class":"group-chat-name","visible-if":"dsx.this.type == 'offer' && dsx.this.head","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"group-chat-agent-mark","icon":"agent.mark","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":38},{"tag":"text","attrs":{"class":"group-chat-label","value":"Agent"},"children":[],"text":"","reactive":false,"nid":39}],"text":"\n        \n        \n      ","reactive":true,"nid":37},{"tag":"AgentCard","attrs":{"visible-if":"dsx.this.type == 'offer'","body":"{{ dsx.this.text }}","primary":"{{ dsx.this.answer }}","secondary":"{{ dsx.this.wait }}","busy":"{{ dsx.this.busy }}","on:primary":"dsx.action.offer({ seq: dsx.this.seq, choice: 'answer' })","on:secondary":"dsx.action.offer({ seq: dsx.this.seq, choice: 'wait' })"},"children":[{"tag":"TaskRow","attrs":{"title":"{{ dsx.this.done }}","status":"done","visible-if":"dsx.this.done != ''"},"children":[],"text":"","reactive":true,"nid":41}],"text":"\n        \n      ","reactive":true,"nid":40}],"text":"\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n\n      \n      \n      \n    ","reactive":true,"nid":13},{"tag":"stack","attrs":{"slot":"bottom","class":"group-chat-composer"},"children":[{"tag":"hstack","attrs":{"class":"group-chat-chips","visible-if":"dsx.variable.id != '' && !dsx.variable.staffHere && !dsx.variable.waiting","__steers":"1"},"children":[{"tag":"button","attrs":{"variant":"bordered","control-size":"small","icon":"person.2","label":"Ask Team","on:tap":"dsx.action.team()"},"children":[],"text":"","reactive":true,"nid":44}],"text":"\n        \n      ","reactive":true,"nid":43},{"tag":"PromptInput","attrs":{"value":"{{ dsx.variable.draft }}","shape":"card","min-lines":"1","attach":"false","placeholder":"Message Agent and the team","mentions":"{{ dsx.variable.mentionRows }}","busy":"{{ dsx.action.send.pending || dsx.action.start.pending ? 'true' : 'false' }}","aria-label":"Group chat","on:change":"dsx.variable.draft = dsx.this.text","on:submit":"dsx.action.send({ text: dsx.this.text })"},"children":[],"text":"","reactive":true,"nid":45}],"text":"\n      \n      \n    ","reactive":true,"nid":42}],"text":"\n    \n\n    \n\n    \n  ","reactive":true,"nid":9}],"text":"\n  \n\n  \n  \n\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.HelpSheet":{"name":"HelpSheet","scheme":"platform","head":{"attributes":[{"as":"present","default":"false"}],"apis":[],"expects":[],"events":[{"as":"close","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"face","body":"return 'list'","computed":false},{"as":"items","body":"return []","computed":false},{"as":"open","body":"return null","computed":false},{"as":"messages","body":"return []","computed":false},{"as":"draft","body":"return ''","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"staffTyping","body":"return 0","computed":false},{"as":"query","body":"return ''","computed":false},{"as":"results","body":"return []","computed":false},{"as":"suggested","body":"return []","computed":false},{"as":"news","body":"return []","computed":false},{"as":"spaces","body":"return []","computed":false},{"as":"article","body":"return null","computed":false},{"as":"issue","body":"return null","computed":false},{"as":"space","body":"return null","computed":false},{"as":"spaceItems","body":"return []","computed":false},{"as":"backTo","body":"return 'list'","computed":false},{"as":"reading","body":"return null","computed":false},{"as":"sheetTitle","body":"\n      if (dsx.variable.face == 'article') { return dsx.variable.article == null ? '' : dsx.variable.article.title }\n      if (dsx.variable.face == 'issue') { return dsx.variable.issue == null ? '' : dsx.variable.issue.title }\n      if (dsx.variable.face == 'space') { return dsx.variable.space == null ? '' : dsx.variable.space.title }\n      if (dsx.variable.face == 'new') { return 'New Conversation' }\n      if (dsx.variable.face == 'thread' &amp;&amp; dsx.variable.open != null) { return (dsx.variable.open.kind == 'ticket' ? 'Ticket #' : 'Conversation #') + dsx.variable.open.number }\n      return 'Help'\n    ","computed":true},{"as":"onList","body":"return dsx.variable.face == 'list'","computed":true},{"as":"onPane","body":"return dsx.variable.face == 'new' || dsx.variable.face == 'thread'","computed":true},{"as":"searching","body":"return dsx.variable.onList &amp;&amp; dsx.variable.query.trim() != ''","computed":true},{"as":"home","body":"return dsx.variable.onList &amp;&amp; !dsx.variable.searching","computed":true},{"as":"resultRows","body":"return dsx.variable.results.map(a =&gt; ({ id: a.id, title: a.title, subtitle: a.summary, icon: spaceIcon(a.space) }))","computed":true},{"as":"suggestedRows","body":"\n      return dsx.variable.suggested.map(i =&gt; ({\n        id: i.id, title: i.title, subtitle: (i.project == null ? '' : i.project.name + ' · ') + i.whatHappened,\n        icon: i.severity == 'critical' || i.severity == 'high' ? 'exclamationmark.triangle' : 'info.circle'\n      }))\n    ","computed":true},{"as":"newsRows","body":"return dsx.variable.news.map(n =&gt; ({ id: n.id, title: n.title, subtitle: n.body, icon: newsIcon(n.kind), more: n.more == true }))","computed":true},{"as":"spaceRows","body":"\n      //  the documentation is its own row (the docs site); a help space of the same name would be a second, empty door\n      return dsx.variable.spaces.filter(x =&gt; x.id != 'blog' &amp;&amp; x.id != 'docs').map(x =&gt; ({ id: x.id, title: x.title, subtitle: x.description, icon: x.icon }))\n    ","computed":true},{"as":"spaceArticleRows","body":"return dsx.variable.spaceItems.map(a =&gt; ({ id: a.id, title: a.title, subtitle: a.summary }))","computed":true},{"as":"issueSteps","body":"\n      return dsx.variable.issue == null ? [] : dsx.variable.issue.steps.map((x, n) =&gt; ({ id: 's' + n, title: (n + 1) + '. ' + x.title, subtitle: x.text == x.title ? '' : x.text }))\n    ","computed":true},{"as":"rows","body":"\n      return dsx.variable.items.map(c => ({\n        id: c.id, title: c.subject || ('Conversation #' + c.number),\n        subtitle: c.preview == c.subject ? '' : c.preview, value: status(c.status), count: c.unread &gt; 0 ? c.unread : ''\n      }))\n    ","computed":true},{"as":"thread","body":"\n      return dsx.variable.messages.map(m => ({\n        id: String(m.seq), text: m.text,\n        bubble: m.sender.kind != 'system', side: m.sender.kind == 'customer' ? 'right' : 'left',\n        system: m.sender.kind == 'system', agent: m.sender.kind == 'ai',\n        meta: m.sender.kind == 'customer' ? '' : (m.sender.kind == 'ai' ? 'Despia Agent' : (m.sender.kind == 'system' ? '' : m.sender.name + ' · Despia'))\n      }))\n    ","computed":true},{"as":"lastSeq","body":"return dsx.variable.messages.length == 0 ? 0 : dsx.variable.messages[dsx.variable.messages.length - 1].seq","computed":true},{"as":"composerMenu","body":"\n      if (dsx.variable.face != 'thread' || dsx.variable.open == null) { return [] }\n      const c = dsx.variable.open\n      return [\n        c.contextShared\n          ? { title: 'Stop Sharing Build Info', icon: 'eye.slash', action: 'convertdata.confirm', args: { ask: 'help-share', value: 'no' } }\n          : { title: 'Share Build Info', icon: 'eye', action: 'convertdata.confirm', args: { ask: 'help-share', value: 'yes' } },\n        c.status == 'resolved'\n          ? { title: 'Reopen', icon: 'arrow.uturn.backward', action: 'convertdata.confirm', args: { ask: 'help-status', value: 'open' } }\n          : { title: 'Mark as Resolved', icon: 'checkmark.circle', action: 'convertdata.confirm', args: { ask: 'help-status', value: 'resolved' } }\n      ]\n    ","computed":true},{"as":"sharingNote","body":"\n      if (dsx.variable.face != 'thread' || dsx.variable.open == null) { return '' }\n      return dsx.variable.open.contextShared ? '' : 'Support cannot see your build info in this conversation.'\n    ","computed":true},{"as":"newHint","body":"return dsx.variable.face == 'new' &amp;&amp; dsx.variable.messages.length == 0 ? 'Ask anything about your apps, builds or store submissions. A Despia engineer replies here, and by email if you are away.' : ''","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      const [r, h] = await Promise.all([dsx.module.convertdata.helpList(), dsx.module.convertdata.helpHome()])\n      if (h.ok) { dsx.variable.suggested = h.data.suggested; dsx.variable.news = h.data.announcements; dsx.variable.spaces = h.data.spaces }\n      if (!r.ok) { dsx.variable.error = r.message || 'Despia did not answer. Try again in a moment.'; return }\n      dsx.variable.error = ''\n      dsx.variable.items = r.data.items\n    "},{"as":"search","inputs":{},"body":"\n      if (dsx.variable.query.trim() == '') { dsx.variable.results = []; return }\n      const r = await dsx.module.convertdata.helpArticles({ q: dsx.variable.query })\n      if (r.ok) { dsx.variable.results = r.data.items }\n    "},{"as":"readArticle","inputs":{"space":"dsx.this.space","slug":"dsx.this.slug","back":"dsx.this.back"},"body":"\n      const r = await dsx.module.convertdata.helpArticle({ space: space, slug: slug })\n      if (!r.ok) { dsx.module.toast.show({ title: 'The article did not open', message: r.message || 'Try again in a moment.' }); return }\n      dsx.variable.article = r.data.article\n      dsx.variable.backTo = back || 'list'\n      dsx.variable.face = 'article'\n    "},{"as":"openResult","inputs":{"id":"dsx.this.id"},"body":"\n      const a = dsx.variable.results.concat(dsx.variable.spaceItems).find(x =&gt; x.id == id)\n      if (a != null) { await dsx.action.readArticle({ space: a.space, slug: a.slug, back: dsx.variable.face == 'space' ? 'space' : 'list' }) }\n    "},{"as":"openIssue","inputs":{"id":"dsx.this.id"},"body":"\n      dsx.variable.issue = dsx.variable.suggested.find(i =&gt; i.id == id) || null\n      if (dsx.variable.issue != null) { dsx.variable.face = 'issue' }\n    "},{"as":"openNews","inputs":{"id":"dsx.this.id"},"body":"\n      const n = dsx.variable.news.find(x =&gt; x.id == id)\n      if (n != null &amp;&amp; n.more) { dsx.variable.reading = n }\n    "},{"as":"openSpace","inputs":{"id":"dsx.this.id"},"body":"\n      const r = await dsx.module.convertdata.helpArticles({ space: id })\n      if (!r.ok) { dsx.module.toast.show({ title: 'This section did not open', message: r.message || 'Try again in a moment.' }); return }\n      dsx.variable.space = dsx.variable.spaces.find(x =&gt; x.id == id) || null\n      dsx.variable.spaceItems = r.data.items\n      dsx.variable.face = 'space'\n    "},{"as":"dismissIssue","inputs":{},"body":"\n      if (dsx.variable.issue == null) { return }\n      await dsx.module.convertdata.helpDismiss({ kind: 'suggestion', id: dsx.variable.issue.id })\n      dsx.variable.suggested = dsx.variable.suggested.filter(i =&gt; i.id != dsx.variable.issue.id)\n      dsx.variable.issue = null\n      dsx.variable.face = 'list'\n    "},{"as":"askAbout","inputs":{"about":"dsx.this.about"},"body":"\n      dsx.variable.open = null\n      dsx.variable.messages = []\n      dsx.variable.draft = about ? 'About \"' + about + '\": ' : ''\n      dsx.variable.face = 'new'\n    "},{"as":"openOne","inputs":{"id":"dsx.this.id"},"body":"\n      const r = await dsx.module.convertdata.helpOpen({ id: id })\n      if (!r.ok) { dsx.module.toast.show({ title: 'The conversation did not open', message: r.message || 'Try again in a moment.' }); return }\n      dsx.variable.open = r.data.conversation\n      dsx.variable.messages = r.data.messages\n      dsx.variable.face = 'thread'\n      await dsx.module.convertdata.helpRead({ id: id, seq: dsx.variable.lastSeq })\n      await dsx.module.convertdata.helpFollow({ id: id })\n    "},{"as":"presented","inputs":{},"body":"\n      if (dsx.attribute.present != true &amp;&amp; dsx.attribute.present != 'true') { return }\n      await dsx.action.load()\n    "},{"as":"startNew","inputs":{},"body":"\n      dsx.variable.open = null\n      dsx.variable.messages = []\n      dsx.variable.draft = ''\n      dsx.variable.face = 'new'\n    "},{"as":"send","inputs":{"text":"dsx.this.value"},"body":"\n      const body = String(text || dsx.variable.draft || '').trim()\n      if (body == '') { return }\n      if (dsx.variable.face == 'new') {\n        const r = await dsx.module.convertdata.helpStart({ body: body })\n        if (!r.ok) { dsx.variable.draft = body; dsx.variable.error = r.message || 'Despia did not answer.'; return }\n        dsx.variable.open = r.data.conversation\n        dsx.variable.messages = r.data.messages\n        dsx.variable.face = 'thread'\n        await dsx.module.convertdata.helpFollow({ id: r.data.conversation.id })\n        dsx.variable.draft = ''\n        dsx.variable.error = ''\n        return\n      }\n      const r = await dsx.module.convertdata.helpSend({ id: dsx.variable.open.id, body: body })\n      if (!r.ok) { dsx.variable.draft = body; dsx.variable.error = r.message || 'Despia did not answer.'; return }\n      dsx.variable.messages = dsx.variable.messages.filter(m => m.seq != r.data.message.seq).concat([r.data.message])\n      dsx.variable.draft = ''\n      dsx.variable.error = ''\n    "},{"as":"barTapped","inputs":{},"body":"\n      if (dsx.variable.face == 'article' &amp;&amp; dsx.variable.backTo == 'space') { dsx.variable.face = 'space'; return }\n      await dsx.module.convertdata.helpFollow({ id: '' })\n      dsx.variable.face = 'list'\n      dsx.variable.open = null\n      await dsx.action.load()\n    "},{"as":"dismissed","inputs":{},"body":"\n      await dsx.module.convertdata.helpFollow({ id: '' })\n      dsx.variable.face = 'list'\n      dsx.event('close')\n    "},{"as":"onConfirmed","inputs":{},"body":"\n      const k = dsx.module.convertdata.context.confirmed\n      if (k == null || dsx.variable.open == null) { return }\n      if (k.ask == 'help-share') {\n        const r = await dsx.module.convertdata.helpShare({ id: dsx.variable.open.id, share: k.value == 'yes' })\n        if (r.ok) { await dsx.action.openOne({ id: dsx.variable.open.id }) }\n        return\n      }\n      if (k.ask == 'help-status') {\n        const r = await dsx.module.convertdata.helpStatus({ id: dsx.variable.open.id, open: k.value == 'open' })\n        if (r.ok) { await dsx.action.openOne({ id: dsx.variable.open.id }) }\n      }\n    "},{"as":"onLive","inputs":{},"body":"\n      const f = dsx.module.convertdata.context.helpLive\n      if (f == null || dsx.variable.open == null || f.room != dsx.variable.open.id) { return }\n      if (f.type == 'resync') { await dsx.action.openOne({ id: dsx.variable.open.id }); return }\n      if (f.type == 'message') {\n        if (dsx.variable.messages.some(m => m.seq == f.message.seq)) { return }\n        if (f.message.seq != dsx.variable.lastSeq + 1) { await dsx.action.openOne({ id: dsx.variable.open.id }); return }\n        dsx.variable.messages = dsx.variable.messages.concat([f.message])\n        dsx.variable.staffTyping = 0\n        await dsx.module.convertdata.helpRead({ id: dsx.variable.open.id, seq: f.message.seq })\n        return\n      }\n      if (f.type == 'conversation') { dsx.variable.open = { ...dsx.variable.open, ...f.conversation }; return }\n      if (f.type == 'typing' &amp;&amp; f.side == 'agent') { dsx.variable.staffTyping = f.at }\n    "}],"watches":[{"value":"dsx.attribute.present","handler":"dsx.action.presented()","immediate":true},{"value":"dsx.module.convertdata.context.confirmed","handler":"dsx.action.onConfirmed()"},{"value":"dsx.module.convertdata.context.helpLive","handler":"dsx.action.onLive()"}],"scripts":["\n      function spaceIcon(s) { return s == 'troubleshooting' ? 'wrench.and.screwdriver' : (s == 'guides' ? 'list.number' : (s == 'changelog' ? 'clock.arrow.circlepath' : (s == 'blog' ? 'doc.text' : 'book'))) }\n      function newsIcon(k) { return k == 'feature' ? 'megaphone' : (k == 'maintenance' ? 'wrench.and.screwdriver' : (k == 'incident' ? 'exclamationmark.triangle' : 'megaphone')) }\n      function status(s) {\n        if (s == 'open') { return 'Open' }\n        if (s == 'pending') { return 'Replied' }\n        return 'Resolved'\n      }\n    "],"globalScripts":[]},"root":{"tag":"sheet","attrs":{"detents":"{{ dsx.screen.width < 600 ? 'full' : 'half' }}","present":"dsx.attribute.present","title":"{{ dsx.variable.sheetTitle }}","close":"trailing","back":"{{ dsx.variable.face != 'list' }}","on:back":"dsx.action.barTapped()","on:dismiss":"dsx.action.dismissed()"},"children":[{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.error != ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.error }}"},"children":[],"text":"","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1},{"tag":"searchbar","attrs":{"aria-label":"Search help","bind":"dsx.variable.query","placeholder":"Search help","visible-if":"dsx.variable.onList","on:submit":"dsx.action.search()","on:change":"dsx.action.search()"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"ListGroup","attrs":{"header":"Articles","visible-if":"dsx.variable.searching && dsx.variable.resultRows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.resultRows","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}","chevron":"true","tappable":"true","on:tap":"dsx.action.openResult()"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n    \n  ","reactive":true,"nid":4},{"tag":"ListGroup","attrs":{"footer":"{{ dsx.variable.resultRows.length == 0 ? 'No article matches yet. A Despia engineer can answer it.' : '' }}","visible-if":"dsx.variable.searching"},"children":[{"tag":"SettingsRow","attrs":{"icon":"bubble.left.and.text.bubble.right","title":"Ask Despia Support","tone":"accent","tappable":"true","on:tap":"dsx.action.askAbout({ about: dsx.variable.query })"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n    \n  ","reactive":true,"nid":6},{"tag":"ListGroup","attrs":{"header":"Suggested for you","footer":"From your apps' recent builds, signing and store submissions.","visible-if":"dsx.variable.home && dsx.variable.suggestedRows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.suggestedRows","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}","chevron":"true","tappable":"true","on:tap":"dsx.action.openIssue()"},"children":[],"text":"","reactive":true,"nid":9}],"text":"\n    \n  ","reactive":true,"nid":8},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.home"},"children":[{"tag":"SettingsRow","attrs":{"icon":"square.and.pencil","title":"New Conversation","tone":"accent","tappable":"true","on:tap":"dsx.action.startNew()"},"children":[],"text":"","reactive":true,"nid":11}],"text":"\n    \n  ","reactive":true,"nid":10},{"tag":"ListGroup","attrs":{"header":"What's new","visible-if":"dsx.variable.home && dsx.variable.newsRows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.newsRows","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}","chevron":"{{ dsx.this.more }}","tappable":"{{ dsx.this.more }}","on:tap":"dsx.action.openNews()"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n    \n  ","reactive":true,"nid":12},{"tag":"ListGroup","attrs":{"header":"Your conversations","visible-if":"dsx.variable.home && dsx.variable.rows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.rows","key":"id","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}","value":"{{ dsx.this.value }}","count":"{{ dsx.this.count }}","chevron":"true","tappable":"true","on:tap":"dsx.action.openOne()"},"children":[],"text":"","reactive":true,"nid":15}],"text":"\n    \n  ","reactive":true,"nid":14},{"tag":"ListGroup","attrs":{"header":"Browse","visible-if":"dsx.variable.home"},"children":[{"tag":"SettingsRow","attrs":{"icon":"book.closed","title":"Documentation","subtitle":"Guides, components and services","tappable":"true","value-icon":"arrow.up.right","on:tap":"dsx.module.browser.open({ url: 'https://docs.despia.com' })"},"children":[],"text":"","reactive":true,"nid":17},{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.spaceRows","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}","chevron":"true","tappable":"true","on:tap":"dsx.action.openSpace()"},"children":[],"text":"","reactive":true,"nid":18}],"text":"\n    \n    \n  ","reactive":true,"nid":16},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.face == 'space'"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.spaceArticleRows","key":"id","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}","chevron":"true","tappable":"true","on:tap":"dsx.action.openResult()"},"children":[],"text":"","reactive":true,"nid":20}],"text":"\n    \n  ","reactive":true,"nid":19},{"tag":"EmptyState","attrs":{"visible-if":"dsx.variable.face == 'space' && dsx.variable.spaceArticleRows.length == 0","icon":"book","title":"Nothing here yet","message":"New articles appear here as soon as they are published."},"children":[],"text":"","reactive":true,"nid":21},{"tag":"vstack","attrs":{"class":"help-article","visible-if":"dsx.variable.face == 'article' && dsx.variable.article != null","__steers":"1"},"children":[{"tag":"markdown","attrs":{"value":"{{ dsx.variable.article == null ? '' : dsx.variable.article.body }}","copyCode":"true","externalLinks":"true"},"children":[],"text":"","reactive":true,"nid":23}],"text":"\n    \n  ","reactive":true,"nid":22},{"tag":"ListGroup","attrs":{"header":"Still stuck?","visible-if":"dsx.variable.face == 'article'"},"children":[{"tag":"SettingsRow","attrs":{"icon":"bubble.left.and.text.bubble.right","title":"Ask Despia Support","tone":"accent","tappable":"true","on:tap":"dsx.action.askAbout({ about: dsx.variable.article == null ? '' : dsx.variable.article.title })"},"children":[],"text":"","reactive":true,"nid":25}],"text":"\n    \n  ","reactive":true,"nid":24},{"tag":"ListGroup","attrs":{"header":"{{ dsx.variable.issue == null || dsx.variable.issue.project == null ? '' : dsx.variable.issue.project.name }}","footer":"{{ dsx.variable.issue == null ? '' : dsx.variable.issue.why }}","visible-if":"dsx.variable.face == 'issue' && dsx.variable.issue != null"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.issue == null ? '' : dsx.variable.issue.whatHappened }}"},"children":[],"text":"","reactive":true,"nid":27}],"text":"\n    \n  ","reactive":true,"nid":26},{"tag":"Callout","attrs":{"class":"page-notice","tone":"info","title":"On our side","message":"Despia caused this, not your project. We are fixing it.","visible-if":"dsx.variable.face == 'issue' && dsx.variable.issue != null && dsx.variable.issue.ours"},"children":[],"text":"","reactive":true,"nid":28},{"tag":"ListGroup","attrs":{"header":"How to fix it","visible-if":"dsx.variable.face == 'issue' && dsx.variable.issueSteps.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.issueSteps","key":"id","icon":"arrow.right.circle","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}"},"children":[],"text":"","reactive":true,"nid":30}],"text":"\n    \n  ","reactive":true,"nid":29},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.face == 'issue' && dsx.variable.issue != null"},"children":[{"tag":"SettingsRow","attrs":{"icon":"book","title":"Read the Article","chevron":"true","tappable":"true","visible-if":"dsx.variable.issue != null && dsx.variable.issue.article != null","on:tap":"dsx.action.readArticle({ space: dsx.variable.issue.article.space, slug: dsx.variable.issue.article.slug, back: 'list' })"},"children":[],"text":"","reactive":true,"nid":32},{"tag":"SettingsRow","attrs":{"icon":"bubble.left.and.text.bubble.right","title":"Ask Despia Support","tone":"accent","tappable":"true","on:tap":"dsx.action.askAbout({ about: dsx.variable.issue == null ? '' : dsx.variable.issue.title })"},"children":[],"text":"","reactive":true,"nid":33},{"tag":"SettingsRow","attrs":{"icon":"eye.slash","title":"Dismiss","subtitle":"Hide this suggestion","tappable":"true","on:tap":"dsx.action.dismissIssue()"},"children":[],"text":"","reactive":true,"nid":34}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":31},{"tag":"ThreadPane","attrs":{"visible-if":"dsx.variable.onPane","label":"{{ dsx.variable.sheetTitle }}"},"children":[{"tag":"EmptyState","attrs":{"class":"help-new","icon":"bubble.left.and.text.bubble.right","title":"How can we help?","message":"{{ dsx.variable.newHint }}","visible-if":"dsx.variable.newHint != ''"},"children":[],"text":"","reactive":true,"nid":36},{"tag":"vstack","attrs":{"repeat":"dsx.variable.thread","key":"id"},"children":[{"tag":"hstack","attrs":{"visible-if":"dsx.this.meta != ''","__steers":"1","__css":"c84"},"children":[{"tag":"image","attrs":{"icon":"agent.mark","aria-hidden":"true","visible-if":"dsx.this.agent","__css":"c85"},"children":[],"text":"","reactive":true,"nid":39},{"tag":"text","attrs":{"type":"footnote","value":"{{ dsx.this.meta }}"},"children":[],"text":"","reactive":true,"nid":40}],"text":"\n        \n        \n      ","reactive":true,"nid":38},{"tag":"chat-bubble","attrs":{"side":"{{ dsx.this.side }}","visible-if":"dsx.this.bubble"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.this.text }}"},"children":[],"text":"","reactive":true,"nid":42}],"text":"","reactive":true,"nid":41},{"tag":"text","attrs":{"type":"footnote","value":"{{ dsx.this.text }}","visible-if":"dsx.this.system"},"children":[],"text":"","reactive":true,"nid":43}],"text":"\n      \n      \n      \n    ","reactive":true,"nid":37},{"tag":"text","attrs":{"type":"footnote","value":"Despia is typing…","visible-if":"dsx.variable.staffTyping > 0"},"children":[],"text":"","reactive":true,"nid":44},{"tag":"text","attrs":{"type":"footnote","value":"{{ dsx.variable.sharingNote }}","visible-if":"dsx.variable.sharingNote != ''"},"children":[],"text":"","reactive":true,"nid":45},{"tag":"PromptInput","attrs":{"slot":"bottom","value":"{{ dsx.variable.draft }}","placeholder":"Message","attach":"false","menu":"{{ dsx.variable.composerMenu }}","enter-sends":"true","max-lines":"8","on:change":"dsx.variable.draft = dsx.this.value","on:submit":"dsx.action.send()"},"children":[],"text":"","reactive":true,"nid":46}],"text":"\n    \n    \n    \n    \n    \n  ","reactive":true,"nid":35},{"tag":"AnnouncementSheet","attrs":{"present":"{{ dsx.variable.reading != null }}","announcement":"{{ dsx.variable.reading }}","on:close":"dsx.variable.reading = null"},"children":[],"text":"","reactive":true,"nid":47}],"text":"\n  \n\n  \n\n  \n\n  \n  \n\n  \n\n  \n  \n\n  \n\n  \n\n  \n  \n\n  \n  \n\n  \n  \n  \n  \n\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.IconEditor":{"name":"IconEditor","scheme":"platform","head":{"attributes":[{"as":"present","default":"false"},{"as":"project-id","default":"''"},{"as":"app-name","default":"''"},{"as":"app-icon","default":"''"},{"as":"start-mark","default":"''"}],"apis":[],"expects":[],"events":[{"as":"close","payload":[]},{"as":"saved","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"tab","body":"return 'site'","computed":false},{"as":"mark","body":"return null","computed":false},{"as":"picks","body":"return { site: null, upload: null, letter: null, generated: null }","computed":false},{"as":"pickColours","body":"return {}","computed":false},{"as":"lastTab","body":"return 'site'","computed":false},{"as":"started","body":"return false","computed":false},{"as":"readError","body":"return false","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"candidates","body":"return []","computed":false},{"as":"sourcesLoaded","body":"return false","computed":false},{"as":"sourcePlaceholders","body":"return [{ id: 1 }, { id: 2 }, { id: 3 }]","computed":false},{"as":"siteOn","body":"return true","computed":false},{"as":"brandColor","body":"return ''","computed":false},{"as":"fixChoices","body":"return []","computed":false},{"as":"uploadError","body":"return ''","computed":false},{"as":"letters","body":"return ''","computed":false},{"as":"typeface","body":"return 'inter-tight'","computed":false},{"as":"cut","body":"return 'none'","computed":false},{"as":"letterError","body":"return ''","computed":false},{"as":"generated","body":"return []","computed":false},{"as":"generatedLoaded","body":"return false","computed":false},{"as":"roundsLeft","body":"return null","computed":false},{"as":"generateError","body":"return ''","computed":false},{"as":"generatorOn","body":"return true","computed":false},{"as":"prompt","body":"return ''","computed":false},{"as":"described","body":"return ''","computed":false},{"as":"inspiration","body":"return []","computed":false},{"as":"inspirationError","body":"return ''","computed":false},{"as":"generatedPick","body":"return ''","computed":false},{"as":"rights","body":"return false","computed":false},{"as":"fillKind","body":"return 'solid'","computed":false},{"as":"colour","body":"return '#1f6f5c'","computed":false},{"as":"fromColour","body":"return '#1f6f5c'","computed":false},{"as":"toColour","body":"return '#0b3d33'","computed":false},{"as":"angle","body":"return 135","computed":false},{"as":"size","body":"return 60","computed":false},{"as":"offsetX","body":"return 0","computed":false},{"as":"offsetY","body":"return 0","computed":false},{"as":"optical","body":"return true","computed":false},{"as":"positionOpen","body":"return false","computed":false},{"as":"previews","body":"return { ios: '', androidCircle: '', androidSquircle: '', monochrome: '', home: '' }","computed":false},{"as":"warnings","body":"return []","computed":false},{"as":"tabs","body":"\n      const all = [{ id: 'site', label: 'Your Site' }, { id: 'upload', label: 'Upload' }, { id: 'letter', label: 'Letter' }, { id: 'generated', label: 'Agent' }]\n      return all.filter((t) =&gt; (t.id != 'generated' || dsx.variable.generatorOn) &amp;&amp; (t.id != 'site' || dsx.variable.siteOn))\n    ","computed":true},{"as":"fillKinds","body":"return [{ id: 'solid', label: 'Solid' }, { id: 'linear', label: 'Gradient' }]","computed":true},{"as":"typefaces","body":"return [{ id: 'inter-tight', label: 'Inter Tight' }, { id: 'geist', label: 'Geist' }]","computed":true},{"as":"cuts","body":"\n      return [{ id: 'none', label: 'None' }, { id: 'diagonal', label: 'Diagonal' }, { id: 'notch', label: 'Notch' }, { id: 'underline', label: 'Underline' }]\n    ","computed":true},{"as":"swatches","body":"\n      const base = ['#ffffff', '#111827', '#2563eb', '#7c3aed', '#db2777', '#ea580c', '#16a34a']\n      const brand = dsx.variable.brandColor\n      return (brand != '' ? [brand].concat(base.filter((c) =&gt; c != brand)) : base).join(',')\n    ","computed":true},{"as":"design","body":"\n      if (dsx.variable.mark == null) { return null }\n      const background = dsx.variable.fillKind == 'linear'\n        ? { kind: 'linear', from: dsx.variable.fromColour, to: dsx.variable.toColour, angle: Math.round(dsx.variable.angle) }\n        : { kind: 'solid', color: dsx.variable.colour }\n      return { version: 1, mark: dsx.variable.mark, background: background, scale: Math.round(dsx.variable.size) / 100,\n        offset: { x: Math.round(dsx.variable.offsetX) / 100, y: Math.round(dsx.variable.offsetY) / 100 }, opticalCentre: dsx.variable.optical }\n    ","computed":true},{"as":"shown","body":"\n      const p = dsx.variable.previews\n      const icon = dsx.attribute.appIcon\n      return { ios: p.ios || icon, androidCircle: p.androidCircle || icon, androidSquircle: p.androidSquircle || icon, monochrome: p.monochrome, home: p.home || icon }\n    ","computed":true},{"as":"markFooter","body":"\n      const ways = (dsx.variable.siteOn ? ['take it from your site'] : []).concat(['upload an image', \"use your app's letters\"])\n        .concat(dsx.variable.generatorOn ? ['describe one to Agent'] : [])\n      const line = ways.slice(0, -1).join(', ') + ', or ' + ways.at(-1) + '.'\n      return line.charAt(0).toUpperCase() + line.slice(1)\n    ","computed":true},{"as":"standIn","body":"return dsx.variable.previews.ios == ''","computed":true},{"as":"maskRows","body":"\n      const p = dsx.variable.shown\n      return [{ id: 'circle', image: p.androidCircle, caption: 'Circle', label: 'On Android, circle' },\n        { id: 'squircle', image: p.androidSquircle, caption: 'Squircle', label: 'On Android, squircle' },\n        { id: 'themed', image: p.monochrome, caption: 'Themed', label: 'Themed icon' }]\n    ","computed":true},{"as":"markRef","body":"return dsx.variable.mark == null ? '' : dsx.variable.mark.ref","computed":true},{"as":"candidateTiles","body":"\n      return dsx.variable.candidates.map((c) =&gt; ({ ...c, id: c.ref, selected: c.ref == dsx.variable.markRef, name: c.label + (c.size != '' ? ', ' + c.size : '') }))\n    ","computed":true},{"as":"generatedTiles","body":"\n      return dsx.variable.generated.map((g, i) =&gt; ({ ...g, id: g.ref, selected: g.ref == dsx.variable.generatedPick, name: 'New icon ' + (i + 1) }))\n    ","computed":true},{"as":"fixRows","body":"\n      return dsx.variable.fixChoices.map((c) =&gt; ({ ...c, selected: c.ref == dsx.variable.markRef }))\n    ","computed":true},{"as":"sizeLine","body":"return Math.round(dsx.variable.size) + '%'","computed":true},{"as":"xLine","body":"return signedPercent(dsx.variable.offsetX)","computed":true},{"as":"yLine","body":"return signedPercent(dsx.variable.offsetY)","computed":true},{"as":"angleLine","body":"return Math.round(dsx.variable.angle) + '°'","computed":true},{"as":"moved","body":"\n      return Math.round(dsx.variable.size) != 60 || Math.round(dsx.variable.offsetX) != 0 || Math.round(dsx.variable.offsetY) != 0 || !dsx.variable.optical\n    ","computed":true},{"as":"roundsLine","body":"\n      const n = dsx.variable.roundsLeft\n      if (n == null) { return '' }\n      return n == 0 ? 'No rounds left for now' : (n == 1 ? '1 round left' : n + ' rounds left')\n    ","computed":true},{"as":"agentFooter","body":"\n      return (dsx.variable.roundsLine == '' ? '' : dsx.variable.roundsLine + '. ') + 'New icons never contain words or letters. For letters, use Letter.'\n    ","computed":true},{"as":"promptHint","body":"return dsx.variable.described == '' ? 'A fox in a forest, flat and bold' : 'A change, like make it bolder'","computed":true},{"as":"inspirationRows","body":"\n      return dsx.variable.inspiration.map((x, i) =&gt; ({ ...x, title: 'Image ' + (i + 1) }))\n    ","computed":true},{"as":"generateLabel","body":"return dsx.action.generate.pending ? 'Generating…' : 'Generate'","computed":true},{"as":"canGenerate","body":"\n      return dsx.variable.prompt.trim() != '' &amp;&amp; !dsx.action.generate.pending &amp;&amp; dsx.variable.roundsLeft != 0\n        &amp;&amp; (dsx.variable.inspiration.length == 0 || dsx.variable.rights)\n    ","computed":true},{"as":"uploadLabel","body":"\n      if (dsx.action.upload.pending) { return 'Fixing…' }\n      return dsx.variable.fixRows.length &gt; 0 ? 'Choose Image' : 'Choose Image'\n    ","computed":true},{"as":"saveLabel","body":"return dsx.action.save.pending ? 'Saving…' : 'Save'","computed":true},{"as":"appLabel","body":"return dsx.attribute.appName == '' ? 'Your App' : dsx.attribute.appName","computed":true}],"formulas":[],"actions":[{"as":"start","inputs":{},"body":"\n      if (!dsx.attribute.present) { dsx.variable.started = false }\n      if (dsx.attribute.present &amp;&amp; (!dsx.variable.started || dsx.variable.readError) &amp;&amp; dsx.attribute.projectId != '') {\n        dsx.variable.started = true\n        dsx.variable.rights = false\n        dsx.variable.inspiration = []\n        //  the saved design, the site's marks and the generated icons are asked for at once: one round trip, not three\n        dsx.variable.readError = false\n        dsx.variable.generatedLoaded = false\n        const [saved] = await Promise.all([dsx.module.convertdata.iconDesign({ id: dsx.attribute.projectId }), dsx.action.loadSources(), dsx.action.loadGenerated()])\n        if (!saved.ok) { dsx.variable.readError = true; return }\n        if (dsx.variable.readError) { return }\n        //  opened from the Agent on one of the icons it just made: that icon, on the brand colour, ready to adjust and save\n        const start = dsx.attribute.startMark\n        if (start != '' &amp;&amp; dsx.variable.generatorOn &amp;&amp; dsx.variable.generated.some((g) =&gt; g.ref == start)) {\n          if (dsx.variable.brandColor != '') { dsx.action.setColours({ hex: dsx.variable.brandColor }) }\n          dsx.variable.tab = 'generated'\n          await dsx.action.pickGenerated({ ref: start })\n        } else if (saved.ok) {\n          dsx.variable.picks = { site: null, upload: null, letter: null, generated: null }\n          dsx.variable.pickColours = {}\n          dsx.variable.previews = { ios: '', androidCircle: '', androidSquircle: '', monochrome: '', home: '' }\n          dsx.variable.warnings = []\n          if (saved.data.design != null) {\n            dsx.action.apply({ design: saved.data.design })\n          } else {\n            dsx.action.resetPosition()\n            dsx.variable.fillKind = 'solid'\n            dsx.variable.letters = ''\n            dsx.variable.typeface = 'inter-tight'\n            dsx.variable.cut = 'none'\n            dsx.action.setColours({ hex: dsx.variable.brandColor != '' ? dsx.variable.brandColor : '#1f6f5c' })\n            if (dsx.variable.candidates.length &gt; 0) {\n              dsx.variable.tab = 'site'\n              dsx.action.pickSourced({ ref: dsx.variable.candidates[0].ref })\n            } else {\n              dsx.variable.tab = 'letter'\n              await dsx.action.makeLetters()\n            }\n          }\n          dsx.variable.error = ''\n        } else { dsx.variable.error = saved.message || 'The saved icon did not load.' }\n      }\n    "},{"as":"apply","inputs":{"design":"dsx.this.design"},"body":"\n      dsx.variable.mark = design.mark\n      if (design.background.kind == 'linear') {\n        dsx.variable.fillKind = 'linear'\n        dsx.variable.fromColour = design.background.from\n        dsx.variable.toColour = design.background.to\n        dsx.variable.angle = design.background.angle\n      } else {\n        dsx.variable.fillKind = 'solid'\n        dsx.variable.colour = design.background.color\n      }\n      dsx.variable.size = Math.round(design.scale * 100)\n      dsx.variable.offsetX = Math.round(design.offset.x * 100)\n      dsx.variable.offsetY = Math.round(design.offset.y * 100)\n      dsx.variable.optical = design.opticalCentre\n      const kinds = { sourced: 'site', upload: 'upload', fixed: 'upload', monogram: 'letter', generated: 'generated' }\n      const kind = kinds[design.mark.kind] || 'site'\n      const off = (kind == 'generated' &amp;&amp; !dsx.variable.generatorOn) || (kind == 'site' &amp;&amp; !dsx.variable.siteOn)\n      dsx.variable.lastTab = off ? (dsx.variable.siteOn ? 'site' : 'upload') : kind\n      dsx.variable.pickColours = {}\n      dsx.variable.tab = dsx.variable.lastTab\n      dsx.variable.picks = { ...dsx.variable.picks, [dsx.variable.tab]: design.mark }\n      if (design.mark.kind == 'monogram' &amp;&amp; design.mark.monogram != null) {\n        dsx.variable.letters = design.mark.monogram.letters\n        dsx.variable.typeface = design.mark.monogram.typeface\n        dsx.variable.cut = design.mark.monogram.cut\n      }\n    "},{"as":"setColours","inputs":{"hex":"dsx.this.hex"},"body":"\n      dsx.variable.colour = hex\n      dsx.variable.fromColour = hex\n    "},{"as":"loadSources","inputs":{},"body":"\n      const r = await dsx.module.convertdata.iconSources({ id: dsx.attribute.projectId })\n      dsx.variable.sourcesLoaded = true\n      if (!r.ok) { dsx.variable.readError = true; return }\n      dsx.variable.siteOn = r.data.site != false\n      dsx.variable.candidates = r.data.candidates\n      dsx.variable.brandColor = r.data.brandColor\n    "},{"as":"loadGenerated","inputs":{},"body":"\n      if (dsx.variable.generatedLoaded) { return }\n      const r = await dsx.module.convertdata.iconGenerated({ id: dsx.attribute.projectId })\n      dsx.variable.generatedLoaded = true\n      if (r.ok &amp;&amp; r.data.enabled == false) { dsx.variable.generatorOn = false; return }\n      if (!r.ok) { dsx.variable.readError = true; return }\n      dsx.variable.generated = r.data.icons\n      dsx.variable.roundsLeft = r.data.roundsLeft\n    "},{"as":"tabChanged","inputs":{},"body":"\n      const tab = dsx.variable.tab\n      const left = dsx.variable.lastTab\n      if (dsx.variable.picks[left] != null) { dsx.variable.pickColours = { ...dsx.variable.pickColours, [left]: dsx.variable.colour } }\n      dsx.variable.lastTab = tab\n      if (tab == 'generated') { await dsx.action.loadGenerated() }\n      const back = dsx.variable.picks[tab]\n      if (back != null) {\n        dsx.variable.mark = back\n        const was = dsx.variable.pickColours[tab]\n        if (was != null &amp;&amp; was != '') { dsx.action.setColours({ hex: was }) }\n        return\n      }\n      if (tab == 'letter') { await dsx.action.makeLetters() }\n      if (tab == 'site' &amp;&amp; dsx.variable.candidates.length &gt; 0) { dsx.action.pickSourced({ ref: dsx.variable.candidates[0].ref }) }\n    "},{"as":"choose","inputs":{"tab":"dsx.this.tab","mark":"dsx.this.mark","colour":"dsx.this.colour"},"body":"\n      if (colour != null &amp;&amp; colour != '') { dsx.action.setColours({ hex: colour }) }\n      dsx.variable.mark = mark\n      dsx.variable.picks = { ...dsx.variable.picks, [tab]: mark }\n    "},{"as":"pickSourced","inputs":{"ref":"dsx.this.ref"},"body":"\n      dsx.action.choose({ tab: 'site', mark: { kind: 'sourced', ref: ref }, colour: dsx.variable.brandColor })\n    "},{"as":"pickGenerated","inputs":{"ref":"dsx.this.ref"},"body":"\n      dsx.variable.generatedPick = ref\n      const r = await dsx.module.convertdata.iconFixGenerated({ id: dsx.attribute.projectId, ref: ref })\n      if (dsx.variable.generatedPick != ref) { return }\n      if (!r.ok) { dsx.variable.generateError = r.message || 'That icon could not be used. Pick another one.'; return }\n      const faithful = r.data.choices.find((c) =&gt; c.id == 'faithful')\n      const first = faithful != null ? faithful : r.data.choices[0]\n      if (first == null) { return }\n      dsx.variable.generateError = ''\n      dsx.action.choose({ tab: 'generated', mark: { kind: 'generated', ref: first.ref }, colour: first.background != null &amp;&amp; first.background != '' ? first.background : dsx.variable.brandColor })\n    "},{"as":"pickFixed","inputs":{"ref":"dsx.this.ref"},"body":"\n      const choice = dsx.variable.fixChoices.find((c) =&gt; c.ref == ref)\n      const ground = choice != null &amp;&amp; choice.background != null ? choice.background : ''\n      dsx.action.choose({ tab: 'upload', mark: { kind: choice != null &amp;&amp; choice.background == '' ? 'upload' : 'fixed', ref: ref }, colour: ground })\n    "},{"as":"upload","inputs":{},"body":"\n      if (!dsx.variable.rights) { return }\n      const r = await dsx.module.files.open({ types: ['image/png', 'image/svg+xml', 'image/jpeg'], multiple: false })\n      if (!r.ok || r.data.cancelled || r.data.items.length == 0) { return }\n      const picked = r.data.items[0]\n      const read = await dsx.module.files.read({ path: picked.path, encoding: 'base64' })\n      await dsx.module.files.delete({ path: picked.path })\n      if (!read.ok) { dsx.variable.uploadError = 'That file could not be read.'; return }\n      const name = String(picked.name || '').toLowerCase()\n      const type = picked.type ? String(picked.type) : (name.endsWith('.svg') ? 'image/svg+xml' : (name.endsWith('.png') ? 'image/png' : 'image/jpeg'))\n      const out = await dsx.module.convertdata.iconFix({ id: dsx.attribute.projectId, type: type, base64: read.data.data, rights: true })\n      if (!out.ok) { dsx.variable.uploadError = out.message || 'That image could not be used.'; return }\n      dsx.variable.uploadError = ''\n      dsx.variable.fixChoices = out.data.choices\n      // Faithful first: a repair of a small or blurry image can be a rough trace, so Improved is only ever the second choice\n      const faithful = out.data.choices.find((c) =&gt; c.id == 'faithful')\n      const first = faithful != null ? faithful : out.data.choices[0]\n      if (first != null) { dsx.action.pickFixed({ ref: first.ref }) }\n    "},{"as":"makeLetters","inputs":{},"body":"\n      if (dsx.variable.letters == '') {\n        const words = dsx.variable.appLabel.split(' ').filter((w) =&gt; w != '')\n        dsx.variable.letters = words.length &gt; 1 ? (words[0].slice(0, 1) + words[1].slice(0, 1)).toUpperCase() : words[0].slice(0, 1).toUpperCase()\n      }\n      const colour = dsx.variable.colour\n      const r = await dsx.module.convertdata.iconMonogram({ id: dsx.attribute.projectId, letters: dsx.variable.letters, typeface: dsx.variable.typeface, cut: dsx.variable.cut,\n        background: dsx.variable.brandColor != '' ? dsx.variable.brandColor : colour })\n      if (!r.ok) { dsx.variable.letterError = r.message || 'Those letters could not be drawn.'; return }\n      dsx.variable.letterError = ''\n      // A swatch picked while the letters were being drawn wins over the service's background, including the brand default.\n      dsx.action.choose({ tab: 'letter', mark: { kind: 'monogram', ref: r.data.ref, monogram: { letters: r.data.letters, typeface: dsx.variable.typeface, cut: dsx.variable.cut } }, colour: dsx.variable.colour == colour ? r.data.background : '' })\n    "},{"as":"lettersChanged","inputs":{},"body":"\n      if (dsx.variable.letters.trim() == '') { return }\n      await dsx.action.makeLetters()\n    "},{"as":"generate","inputs":{},"body":"\n      const said = dsx.variable.prompt.trim()\n      if (said == '') { return }\n      const prompt = (dsx.variable.described == '' ? said : dsx.variable.described + '. Change: ' + said).slice(-600)\n      const r = await dsx.module.convertdata.iconGenerate({ id: dsx.attribute.projectId, prompt: prompt, rights: dsx.variable.rights,\n        inspiration: dsx.variable.inspiration.map((x) =&gt; ({ type: x.type, base64: x.base64 })) })\n      if (r.ok &amp;&amp; r.data.enabled == false) { dsx.variable.generatorOn = false; dsx.variable.tab = 'site'; return }\n      if (!r.ok) { dsx.variable.generateError = r.message; return }\n      dsx.variable.generateError = ''\n      dsx.variable.described = prompt\n      dsx.variable.prompt = ''\n      dsx.variable.generated = r.data.icons\n      dsx.variable.roundsLeft = r.data.roundsLeft\n      if (r.data.icons.length &gt; 0) { await dsx.action.pickGenerated({ ref: r.data.icons[0].ref }) }\n    "},{"as":"startOver","inputs":{},"body":"\n      dsx.variable.described = ''\n      dsx.variable.prompt = ''\n    "},{"as":"addInspiration","inputs":{},"body":"\n      const room = 3 - dsx.variable.inspiration.length\n      if (room &lt;= 0 || !dsx.variable.rights) { return }\n      const r = await dsx.module.files.open({ types: ['image/png', 'image/jpeg'], multiple: true })\n      if (!r.ok || r.data.cancelled) { return }\n      const added = []\n      for (const picked of r.data.items.slice(0, room)) {\n        const read = await dsx.module.files.read({ path: picked.path, encoding: 'base64' })\n        await dsx.module.files.delete({ path: picked.path })\n        if (!read.ok) { dsx.variable.inspirationError = 'That file could not be read.'; continue }\n        const type = picked.type ? String(picked.type) : (String(picked.name || '').toLowerCase().endsWith('.png') ? 'image/png' : 'image/jpeg')\n        added.push({ id: picked.path, type: type, base64: read.data.data, image: 'data:' + type + ';base64,' + read.data.data })\n      }\n      if (added.length &gt; 0) { dsx.variable.inspirationError = '' }\n      dsx.variable.inspiration = dsx.variable.inspiration.concat(added)\n    "},{"as":"removeInspiration","inputs":{"id":"dsx.this.id"},"body":"\n      dsx.variable.inspiration = dsx.variable.inspiration.filter((x) =&gt; x.id != id)\n    "},{"as":"preview","inputs":{},"body":"\n      const design = dsx.variable.design\n      if (design != null) {\n        const r = await dsx.module.convertdata.iconPreview({ id: dsx.attribute.projectId, design: design })\n        if (r.ok &amp;&amp; !r.data.superseded &amp;&amp; r.data.previews != null &amp;&amp; JSON.stringify(design) == JSON.stringify(dsx.variable.design)) {\n          const was = dsx.variable.previews\n          const p = r.data.previews\n          dsx.variable.previews = { ios: p.ios || was.ios, androidCircle: p.androidCircle || was.androidCircle,\n            androidSquircle: p.androidSquircle || was.androidSquircle, monochrome: p.monochrome || was.monochrome, home: p.home || was.home }\n          dsx.variable.warnings = r.data.warnings\n        }\n      }\n    "},{"as":"resetPosition","inputs":{},"body":"\n      dsx.variable.size = 60\n      dsx.variable.offsetX = 0\n      dsx.variable.offsetY = 0\n      dsx.variable.optical = true\n    "},{"as":"save","inputs":{},"body":"\n      if (dsx.variable.design == null) { return }\n      const r = await dsx.module.convertdata.saveIconDesign({ id: dsx.attribute.projectId, design: dsx.variable.design })\n      if (!r.ok) { dsx.variable.error = r.message || 'The icon was not saved.'; return }\n      dsx.variable.error = ''\n      dsx.action.apply({ design: r.data.design || dsx.variable.design })\n      dsx.event('saved', { iconUrl: r.data.iconUrl })\n      dsx.module.toast.show({ title: 'Icon Saved', message: 'The next build uses it.' })\n    "},{"as":"cancel","inputs":{},"body":"\n      dsx.variable.started = false\n      dsx.event('close')\n    "}],"watches":[{"value":"dsx.attribute.present","handler":"dsx.action.start()","immediate":true},{"value":"dsx.variable.design","handler":"dsx.action.preview()"},{"value":"dsx.variable.tab","handler":"dsx.action.tabChanged()"}],"scripts":["\n      function signedPercent(v) {\n        const n = Math.round(v)\n        return n &gt; 0 ? '+' + n + '%' : n + '%'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"sheet","attrs":{"detents":"full","present":"dsx.attribute.present","title":"Edit Icon","close":"trailing","action":"{{ dsx.variable.saveLabel }}","action-disabled":"{{ dsx.variable.design == null || dsx.action.save.pending }}","on:action":"dsx.action.save()","on:dismiss":"dsx.action.cancel()"},"children":[{"tag":"stack","attrs":{"class":"icon-editor"},"children":[{"tag":"stack","attrs":{"class":"icon-editor-previews icon-editor-stand-in-{{ dsx.variable.standIn }}","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"icon-editor-hero-plate"},"children":[{"tag":"image","attrs":{"class":"icon-editor-hero","src":"{{ dsx.variable.shown.ios }}","aria-label":"On iPhone","priority":"high"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n          \n        ","reactive":true,"nid":4},{"tag":"stack","attrs":{"class":"icon-editor-variants","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"icon-editor-masks","__row":"1"},"children":[{"tag":"stack","attrs":{"class":"icon-editor-mask icon-editor-mask-{{ dsx.this.id }}","repeat":"dsx.variable.maskRows","key":"id","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"icon-editor-mask-plate","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"icon-editor-mask-image","src":"{{ dsx.this.image }}","aria-label":"{{ dsx.this.label }}","priority":"high"},"children":[],"text":"","reactive":true,"nid":10}],"text":"\n                \n              ","reactive":true,"nid":9},{"tag":"text","attrs":{"class":"icon-editor-caption","value":"{{ dsx.this.caption }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":11}],"text":"\n              \n              \n            ","reactive":true,"nid":8}],"text":"\n            \n          ","reactive":true,"nid":7},{"tag":"stack","attrs":{"class":"icon-editor-home","aria-label":"On the home screen","__row":"1","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"icon-editor-home-app","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"icon-editor-home-plate"},"children":[{"tag":"image","attrs":{"class":"icon-editor-home-icon","src":"{{ dsx.variable.shown.home }}","aria-label":"{{ dsx.variable.appLabel }}","priority":"high"},"children":[],"text":"","reactive":true,"nid":15}],"text":"\n                \n              ","reactive":true,"nid":14},{"tag":"text","attrs":{"class":"icon-editor-home-name","value":"{{ dsx.variable.appLabel }}"},"children":[],"text":"","reactive":true,"nid":16}],"text":"\n              \n              \n            ","reactive":true,"nid":13}],"text":"\n            \n          ","reactive":true,"nid":12}],"text":"\n          \n          \n        ","reactive":true,"nid":6}],"text":"\n        \n        \n      ","reactive":true,"nid":3},{"tag":"stack","attrs":{"class":"icon-editor-controls"},"children":[{"tag":"Callout","attrs":{"tone":"error","title":"The icon editor did not load","message":"Despia did not answer. Check your connection and try again.","action":"Try Again","visible-if":"dsx.variable.readError","on:action":"dsx.action.start()"},"children":[],"text":"","reactive":true,"nid":18},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.error != ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.error }}"},"children":[],"text":"","reactive":true,"nid":20}],"text":"\n          \n        ","reactive":true,"nid":19},{"tag":"ListGroup","attrs":{"header":"Mark","footer":"{{ dsx.variable.markFooter }}"},"children":[{"tag":"SettingsRow","attrs":{"class":"icon-editor-fill"},"children":[{"tag":"segmented","attrs":{"class":"icon-editor-tabs","bind":"dsx.variable.tab","options-key":"dsx.variable.tabs","aria-label":"Where the mark comes from"},"children":[],"text":"","reactive":true,"nid":23}],"text":"\n            \n          ","reactive":true,"nid":22}],"text":"\n          \n        ","reactive":true,"nid":21},{"tag":"stack","attrs":{"class":"icon-editor-section","visible-if":"dsx.variable.tab == 'site'"},"children":[{"tag":"stack","attrs":{"class":"icon-editor-tiles icon-editor-source-tiles","visible-if":"dsx.variable.sourcesLoaded && dsx.variable.candidateTiles.length > 0"},"children":[{"tag":"pressable","attrs":{"class":"icon-editor-tile","repeat":"dsx.variable.candidateTiles","key":"id","aria-label":"{{ dsx.this.name }}","aria-selected":"{{ dsx.this.selected }}","on:tap":"dsx.action.pickSourced()","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"icon-editor-tile-image","src":"{{ dsx.this.image }}"},"children":[],"text":"","reactive":true,"nid":27},{"tag":"image","attrs":{"class":"icon-editor-tile-mark","icon":"{{ dsx.this.selected ? 'checkmark.circle.fill' : 'circle' }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":28}],"text":"\n              \n              \n            ","reactive":true,"nid":26}],"text":"\n            \n          ","reactive":true,"nid":25},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.sourcesLoaded && dsx.variable.candidateTiles.length == 0"},"children":[{"tag":"SettingsRow","attrs":{"icon":"globe","title":"No icon found on your site","subtitle":"Upload one, or start from your app's letters."},"children":[],"text":"","reactive":true,"nid":30}],"text":"\n            \n          ","reactive":true,"nid":29},{"tag":"stack","attrs":{"class":"icon-editor-tiles icon-editor-source-tiles","visible-if":"!dsx.variable.sourcesLoaded","aria-label":"Looking at your site","aria-busy":"true"},"children":[{"tag":"stack","attrs":{"class":"icon-editor-tile","repeat":"dsx.variable.sourcePlaceholders","key":"id","aria-hidden":"true","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"icon-editor-tile-image icon-editor-placeholder"},"children":[],"text":"","reactive":false,"nid":33},{"tag":"stack","attrs":{"class":"icon-editor-placeholder-mark icon-editor-placeholder"},"children":[],"text":"","reactive":false,"nid":34}],"text":"\n              \n              \n            ","reactive":true,"nid":32}],"text":"\n            \n          ","reactive":true,"nid":31}],"text":"\n          \n          \n          \n        ","reactive":true,"nid":24},{"tag":"stack","attrs":{"class":"icon-editor-section","visible-if":"dsx.variable.tab == 'upload'"},"children":[{"tag":"ListGroup","attrs":{"footer":"PNG, SVG or JPEG. A square image of at least 1024 pixels looks best.","link":"How Despia uses AI","on:link":"dsx.module.route.push({ path: '/ai-terms' })"},"children":[{"tag":"SettingsRow","attrs":{"icon":"{{ dsx.variable.rights ? 'checkmark.circle.fill' : 'circle' }}","icon-style":"plain","title":"I own this image or have the rights to use it, and it may be used to create my app's icon.","tappable":"true","on:tap":"dsx.variable.rights = !dsx.variable.rights"},"children":[],"text":"","reactive":true,"nid":37}],"text":"\n            \n          ","reactive":true,"nid":36},{"tag":"stack","attrs":{"class":"icon-editor-actions","__steers":"1"},"children":[{"tag":"button","attrs":{"variant":"bordered","control-size":"large","icon":"square.and.arrow.up","label":"{{ dsx.variable.uploadLabel }}","disabled-if":"dsx.action.upload.pending || !dsx.variable.rights","on:tap":"dsx.action.upload()"},"children":[],"text":"","reactive":true,"nid":39}],"text":"\n            \n          ","reactive":true,"nid":38},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.uploadError != ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.uploadError }}"},"children":[],"text":"","reactive":true,"nid":41}],"text":"\n            \n          ","reactive":true,"nid":40},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.fixRows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.fixRows","key":"id","image":"{{ dsx.this.image }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}","checked":"{{ dsx.this.selected }}","tappable":"true","on:tap":"dsx.action.pickFixed()"},"children":[],"text":"","reactive":true,"nid":43}],"text":"\n            \n          ","reactive":true,"nid":42}],"text":"\n          \n          \n          \n          \n          \n        ","reactive":true,"nid":35},{"tag":"stack","attrs":{"class":"icon-editor-section","visible-if":"dsx.variable.tab == 'letter'"},"children":[{"tag":"ListGroup","attrs":{},"children":[{"tag":"SettingsRow","attrs":{"title":"Letters"},"children":[{"tag":"textfield","attrs":{"class":"icon-editor-letters","bind":"dsx.variable.letters","placeholder":"AB","autocapitalize":"characters","aria-label":"Letters","on:change":"dsx.action.lettersChanged()"},"children":[],"text":"","reactive":true,"nid":47}],"text":"\n              \n            ","reactive":true,"nid":46},{"tag":"SettingsRow","attrs":{"title":"Typeface"},"children":[{"tag":"picker","attrs":{"bind":"dsx.variable.typeface","options-key":"dsx.variable.typefaces","aria-label":"Typeface","on:change":"dsx.action.makeLetters()"},"children":[],"text":"","reactive":true,"nid":49}],"text":"\n              \n            ","reactive":true,"nid":48},{"tag":"SettingsRow","attrs":{"title":"Cut"},"children":[{"tag":"picker","attrs":{"bind":"dsx.variable.cut","options-key":"dsx.variable.cuts","aria-label":"Cut","on:change":"dsx.action.makeLetters()"},"children":[],"text":"","reactive":true,"nid":51}],"text":"\n              \n            ","reactive":true,"nid":50},{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.letterError }}","visible-if":"dsx.variable.letterError != ''"},"children":[],"text":"","reactive":true,"nid":52}],"text":"\n            \n            \n            \n            \n          ","reactive":true,"nid":45}],"text":"\n          \n        ","reactive":true,"nid":44},{"tag":"stack","attrs":{"class":"icon-editor-section","visible-if":"dsx.variable.generatorOn && dsx.variable.tab == 'generated'"},"children":[{"tag":"ListGroup","attrs":{"header":"Describe Your Icon","footer":"{{ dsx.variable.agentFooter }}","link":"How Despia uses AI","on:link":"dsx.module.route.push({ path: '/ai-terms' })"},"children":[{"tag":"SettingsRow","attrs":{"icon":"agent.mark","title":"{{ dsx.variable.described }}","subtitle":"Type a change below, or start over.","visible-if":"dsx.variable.described != ''"},"children":[],"text":"","reactive":true,"nid":55},{"tag":"SettingsRow","attrs":{"class":"icon-editor-fill","icon":"pencil"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.prompt","placeholder":"{{ dsx.variable.promptHint }}","aria-label":"Describe your icon","on:submit":"dsx.action.generate()"},"children":[],"text":"","reactive":true,"nid":57}],"text":"\n              \n            ","reactive":true,"nid":56},{"tag":"SettingsRow","attrs":{"icon":"photo","title":"Add Image","value":"{{ dsx.variable.inspiration.length > 0 ? dsx.variable.inspiration.length + ' of 3' : '' }}","chevron":"true","tappable":"true","disabled":"{{ dsx.action.addInspiration.pending || !dsx.variable.rights || dsx.variable.inspiration.length >= 3 }}","on:tap":"dsx.action.addInspiration()"},"children":[],"text":"","reactive":true,"nid":58},{"tag":"SettingsRow","attrs":{"icon":"{{ dsx.variable.rights ? 'checkmark.circle.fill' : 'circle' }}","icon-style":"plain","title":"I own this image or have the rights to use it, and it may be used to create my app's icon.","tappable":"true","on:tap":"dsx.variable.rights = !dsx.variable.rights"},"children":[],"text":"","reactive":true,"nid":59}],"text":"\n            \n            \n            \n            \n          ","reactive":true,"nid":54},{"tag":"ListGroup","attrs":{"header":"Inspiration","footer":"Up to three images. Agent takes colours, mood and shapes from them.","visible-if":"dsx.variable.inspirationRows.length > 0 || dsx.variable.inspirationError != ''"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.inspirationRows","key":"id","image":"{{ dsx.this.image }}","title":"{{ dsx.this.title }}","value":"Remove","tappable":"true","on:tap":"dsx.action.removeInspiration({ id: dsx.this.id })"},"children":[],"text":"","reactive":true,"nid":61},{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.inspirationError }}","visible-if":"dsx.variable.inspirationError != ''"},"children":[],"text":"","reactive":true,"nid":62}],"text":"\n            \n            \n          ","reactive":true,"nid":60},{"tag":"Callout","attrs":{"tone":"info","message":"{{ dsx.variable.generateError }}","visible-if":"dsx.variable.generateError != ''"},"children":[],"text":"","reactive":true,"nid":63},{"tag":"stack","attrs":{"class":"icon-editor-generate","__steers":"1"},"children":[{"tag":"button","attrs":{"variant":"prominent","control-size":"large","icon":"agent.mark","label":"{{ dsx.variable.generateLabel }}","disabled-if":"!dsx.variable.canGenerate","on:tap":"dsx.action.generate()"},"children":[],"text":"","reactive":true,"nid":65},{"tag":"button","attrs":{"variant":"bordered","control-size":"large","label":"Start Over","visible-if":"dsx.variable.described != ''","on:tap":"dsx.action.startOver()"},"children":[],"text":"","reactive":true,"nid":66}],"text":"\n            \n            \n          ","reactive":true,"nid":64},{"tag":"stack","attrs":{"class":"icon-editor-tiles","visible-if":"dsx.variable.generatedTiles.length > 0"},"children":[{"tag":"pressable","attrs":{"class":"icon-editor-tile","repeat":"dsx.variable.generatedTiles","key":"id","aria-label":"{{ dsx.this.name }}","aria-selected":"{{ dsx.this.selected }}","on:tap":"dsx.action.pickGenerated()","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"icon-editor-tile-image icon-editor-tile-picture","src":"{{ dsx.this.image }}"},"children":[],"text":"","reactive":true,"nid":69},{"tag":"image","attrs":{"class":"icon-editor-tile-mark","icon":"{{ dsx.this.selected ? 'checkmark.circle.fill' : 'circle' }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":70}],"text":"\n              \n              \n            ","reactive":true,"nid":68}],"text":"\n            \n          ","reactive":true,"nid":67}],"text":"\n          \n          \n          \n          \n          \n          \n          \n        ","reactive":true,"nid":53},{"tag":"ListGroup","attrs":{"header":"Background"},"children":[{"tag":"SettingsRow","attrs":{"class":"icon-editor-fill"},"children":[{"tag":"segmented","attrs":{"class":"icon-editor-tabs","bind":"dsx.variable.fillKind","options-key":"dsx.variable.fillKinds","aria-label":"Background"},"children":[],"text":"","reactive":true,"nid":73}],"text":"\n            \n          ","reactive":true,"nid":72},{"tag":"SettingsRow","attrs":{"class":"icon-editor-fill","visible-if":"dsx.variable.fillKind == 'solid'"},"children":[{"tag":"colorpicker","attrs":{"label":"Colour","bind":"dsx.variable.colour","swatches":"{{ dsx.variable.swatches }}","alpha":"false"},"children":[],"text":"","reactive":true,"nid":75}],"text":"\n            \n          ","reactive":true,"nid":74},{"tag":"SettingsRow","attrs":{"class":"icon-editor-fill","visible-if":"dsx.variable.fillKind == 'linear'"},"children":[{"tag":"colorpicker","attrs":{"label":"From","bind":"dsx.variable.fromColour","swatches":"{{ dsx.variable.swatches }}","alpha":"false"},"children":[],"text":"","reactive":true,"nid":77}],"text":"\n            \n          ","reactive":true,"nid":76},{"tag":"SettingsRow","attrs":{"class":"icon-editor-fill","visible-if":"dsx.variable.fillKind == 'linear'"},"children":[{"tag":"colorpicker","attrs":{"label":"To","bind":"dsx.variable.toColour","swatches":"{{ dsx.variable.swatches }}","alpha":"false"},"children":[],"text":"","reactive":true,"nid":79}],"text":"\n            \n          ","reactive":true,"nid":78},{"tag":"SettingsRow","attrs":{"class":"icon-editor-slider-row","title":"Angle","value":"{{ dsx.variable.angleLine }}","visible-if":"dsx.variable.fillKind == 'linear'"},"children":[{"tag":"slider","attrs":{"class":"icon-editor-slider","bind":"dsx.variable.angle","min":"0","max":"360","aria-label":"Angle"},"children":[],"text":"","reactive":true,"nid":81}],"text":"\n            \n          ","reactive":true,"nid":80}],"text":"\n          \n          \n          \n          \n          \n        ","reactive":true,"nid":71},{"tag":"ListGroup","attrs":{"header":"Size and position"},"children":[{"tag":"SettingsRow","attrs":{"class":"icon-editor-slider-row","title":"Size","value":"{{ dsx.variable.sizeLine }}"},"children":[{"tag":"slider","attrs":{"class":"icon-editor-slider","bind":"dsx.variable.size","min":"30","max":"90","aria-label":"Size"},"children":[],"text":"","reactive":true,"nid":84}],"text":"\n            \n          ","reactive":true,"nid":83},{"tag":"SettingsRow","attrs":{"title":"Optical Centre","subtitle":"Balances the mark by eye, not by its box."},"children":[{"tag":"toggle","attrs":{"bind":"dsx.variable.optical","aria-label":"Optical Centre"},"children":[],"text":"","reactive":true,"nid":86}],"text":"\n            \n          ","reactive":true,"nid":85},{"tag":"SettingsRow","attrs":{"title":"Move by Hand","chevron":"true","tappable":"true","on:tap":"dsx.variable.positionOpen = !dsx.variable.positionOpen"},"children":[],"text":"","reactive":true,"nid":87},{"tag":"SettingsRow","attrs":{"class":"icon-editor-slider-row","title":"Left and Right","value":"{{ dsx.variable.xLine }}","visible-if":"dsx.variable.positionOpen"},"children":[{"tag":"slider","attrs":{"class":"icon-editor-slider","bind":"dsx.variable.offsetX","min":"-20","max":"20","aria-label":"Left and Right"},"children":[],"text":"","reactive":true,"nid":89}],"text":"\n            \n          ","reactive":true,"nid":88},{"tag":"SettingsRow","attrs":{"class":"icon-editor-slider-row","title":"Up and Down","value":"{{ dsx.variable.yLine }}","visible-if":"dsx.variable.positionOpen"},"children":[{"tag":"slider","attrs":{"class":"icon-editor-slider","bind":"dsx.variable.offsetY","min":"-20","max":"20","aria-label":"Up and Down"},"children":[],"text":"","reactive":true,"nid":91}],"text":"\n            \n          ","reactive":true,"nid":90}],"text":"\n          \n          \n          \n          \n          \n        ","reactive":true,"nid":82},{"tag":"stack","attrs":{"class":"icon-editor-actions","__steers":"1"},"children":[{"tag":"button","attrs":{"variant":"bordered","control-size":"large","label":"Reset","disabled-if":"!dsx.variable.moved","on:tap":"dsx.action.resetPosition()"},"children":[],"text":"","reactive":true,"nid":93}],"text":"\n          \n        ","reactive":true,"nid":92},{"tag":"stack","attrs":{"class":"icon-editor-section","visible-if":"dsx.variable.warnings.length > 0"},"children":[{"tag":"Callout","attrs":{"repeat":"dsx.variable.warnings","key":"id","tone":"info","message":"{{ dsx.this.message }}"},"children":[],"text":"","reactive":true,"nid":95}],"text":"\n          \n        ","reactive":true,"nid":94}],"text":"\n        \n        \n\n        \n        \n\n        \n\n        \n\n        \n\n        \n        \n\n        \n        \n\n        \n        \n        \n\n        \n        \n      ","reactive":true,"nid":17}],"text":"\n      \n      \n\n      \n    ","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1}],"text":"\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.InviteInbox":{"name":"InviteInbox","scheme":"platform","head":{"attributes":[{"as":"items","default":"null"}],"apis":[],"expects":[],"events":[{"as":"answered","payload":["accepted"]}],"inputs":[],"tools":[],"variables":[{"as":"own","body":"return []","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"list","body":"return Array.isArray(dsx.attribute.items) ? dsx.attribute.items : dsx.variable.own","computed":true},{"as":"rows","body":"\n      return dsx.variable.list.map(i => ({\n        id: i.id, workspace: i.workspace || 'A workspace',\n        title: 'You’re invited to ' + (i.workspace || 'a workspace'),\n        subtitle: (i.invitedBy ? i.invitedBy + ' invited you as ' : 'Invited as ') + i.roleLabel + ' · expires ' + until(i.expires),\n        busy: dsx.action.answer.pending\n      }))\n    ","computed":true}],"formulas":[],"actions":[{"as":"boot","inputs":{},"body":"\n      if (Array.isArray(dsx.attribute.items)) { return }\n      await dsx.action.load()\n    "},{"as":"load","inputs":{},"body":"\n      const r = await dsx.module.convertdata.myInvites()\n      if (!r.ok) { return }\n      dsx.variable.own = r.data.items\n    "},{"as":"answer","inputs":{"id":"dsx.this.id","answer":"'accept'"},"body":"\n      const r = await dsx.module.convertdata.answerInvite({ id: id, answer: answer })\n      if (!r.ok) { dsx.variable.error = r.message || 'Despia did not answer. Try again in a moment.'; return }\n      dsx.variable.error = ''\n      const row = dsx.variable.list.find(x => x.id == id)\n      dsx.module.toast.show({ title: answer == 'accept' ? 'You joined ' + (row == null ? 'the workspace' : row.workspace) : 'Invitation declined',\n        message: answer == 'accept' ? 'It is now the workspace you are looking at.' : 'Nobody is notified; the inviter sees it as declined.' })\n      if (!Array.isArray(dsx.attribute.items)) { await dsx.action.load() }\n      dsx.event('answered', { accepted: answer == 'accept' })\n    "}],"watches":[],"scripts":["\n      function until(ms) {\n        if (!ms) { return 'soon' }\n        const days = Math.round((ms - Date.now()) / 86400000)\n        if (days &lt;= 0) { return 'today' }\n        return days == 1 ? 'tomorrow' : 'in ' + days + ' days'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{"on:appear":"dsx.action.boot()"},"children":[{"tag":"ListGroup","attrs":{"header":"Invitations for you","visible-if":"dsx.variable.rows.length > 0","transition":"fade"},"children":[{"tag":"Card","attrs":{"repeat":"dsx.variable.rows","key":"id","__css":"c86"},"children":[{"tag":"hstack","attrs":{"__steers":"1","__css":"c87"},"children":[{"tag":"IconTile","attrs":{"icon":"envelope.badge","name":"{{ dsx.this.workspace }}"},"children":[],"text":"","reactive":true},{"tag":"vstack","attrs":{"__css":"c88"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.this.title }}","__css":"c30"},"children":[],"text":"","reactive":true},{"tag":"text","attrs":{"value":"{{ dsx.this.subtitle }}","__css":"c89"},"children":[],"text":"","reactive":true}],"text":"\n          \n          \n        ","reactive":true}],"text":"\n        \n        \n      ","reactive":true},{"tag":"hstack","attrs":{"__css":"c90"},"children":[{"tag":"button","attrs":{"icon":"checkmark","variant":"prominent","control-size":"small","label":"Accept","aria-label":"Accept the invitation to {{ dsx.this.workspace }}","disabled-if":"dsx.this.busy","on:tap":"dsx.action.answer({ id: dsx.this.id, answer: 'accept' })"},"children":[],"text":"","reactive":true},{"tag":"button","attrs":{"icon":"xmark","variant":"bordered","control-size":"small","label":"Decline","aria-label":"Decline the invitation to {{ dsx.this.workspace }}","disabled-if":"dsx.this.busy","on:tap":"dsx.action.answer({ id: dsx.this.id, answer: 'decline' })"},"children":[],"text":"","reactive":true}],"text":"\n        \n        \n      ","reactive":true}],"text":"\n      \n      \n    ","reactive":true},{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.error }}","visible-if":"dsx.variable.error != ''"},"children":[],"text":"","reactive":true}],"text":"\n    \n    \n  ","reactive":true}],"text":"\n  \n\n  \n  \n","reactive":true},"reactive":true,"language":"1"},"platform.LegalPage":{"name":"LegalPage","scheme":"platform","head":{"attributes":[{"as":"title","default":"''"},{"as":"updated","default":"''"},{"as":"text","default":"''"},{"as":"cookies","default":"false"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"withCookies","body":"return dsx.attribute.cookies === true || dsx.attribute.cookies === 'true'","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"legal-page","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"legal-column"},"children":[{"tag":"stack","attrs":{"class":"legal-brand","role":"img","aria-label":"Despia"},"children":[{"tag":"image","attrs":{"class":"legal-logo legal-logo-light","src":"/brand/despia-logo.svg","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":3},{"tag":"image","attrs":{"class":"legal-logo legal-logo-dark","src":"/brand/despia-logo-dark.svg","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":4}],"text":"\n      \n      \n    ","reactive":false,"nid":2},{"tag":"text","attrs":{"class":"legal-title","role":"heading","aria-level":"1","value":"{{ dsx.attribute.title }}"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"text","attrs":{"class":"legal-updated","value":"{{ dsx.attribute.updated }}"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"markdown","attrs":{"class":"legal-body","bind":"dsx.attribute.text","externalLinks":"true"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"hstack","attrs":{"class":"legal-cookies","visible-if":"dsx.variable.withCookies"},"children":[{"tag":"button","attrs":{"variant":"bordered","icon":"hand.raised","label":"Cookie Settings","on:tap":"dsx.module.consent.ask({ preferences: true })"},"children":[],"text":"","reactive":true,"nid":9}],"text":"\n      \n    ","reactive":true,"nid":8}],"text":"\n    \n    \n    \n    \n    \n  ","reactive":true,"nid":1}],"text":"\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.MigrateDetail":{"name":"MigrateDetail","scheme":"platform","head":{"attributes":[{"as":"present","default":"false"},{"as":"project","default":"null"},{"as":"busy","default":"false"},{"as":"open","default":"false"}],"apis":[],"expects":[],"events":[{"as":"close","payload":[]},{"as":"request","payload":[]},{"as":"cancel","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"p","body":"return dsx.attribute.project || { id: '', name: '', iconUrl: '', platformText: '', plan: '', lastBuild: '', updated: '', status: 'not_requested', statusLabel: '', holdReason: '', due: '', canMigrate: true, workspace: '' }","computed":true},{"as":"canRequest","body":"return !dsx.attribute.open &amp;&amp; dsx.variable.p.canMigrate &amp;&amp; dsx.variable.p.status == 'not_requested'","computed":true},{"as":"canCancel","body":"return dsx.variable.p.status == 'requested' || dsx.variable.p.status == 'approved' || dsx.variable.p.status == 'held'","computed":true},{"as":"ownerOnly","body":"return !dsx.variable.p.canMigrate &amp;&amp; dsx.variable.p.status == 'not_requested'","computed":true},{"as":"held","body":"return dsx.variable.p.status == 'held'","computed":true},{"as":"role","body":"\n      const s = dsx.variable.p.status\n      return s == 'moved' ? 'success' : (s == 'held' ? 'danger' : (s == 'not_requested' ? '' : (s == 'approved' ? 'accent' : 'info')))\n    ","computed":true},{"as":"footer","body":"\n      const s = dsx.variable.p.status\n      if (s == 'requested') { return 'We approve requests within 48 hours or less.' }\n      if (s == 'approved') { return 'Approved. It moves next; this page shows it once it has.' }\n      if (s == 'moved') { return 'This app is in Despia V4.' }\n      if (s == 'held') { return 'We release it once the reason above is sorted. Or cancel the request and ask again.' }\n      if (dsx.variable.ownerOnly) { return 'Only the owner or an admin of the V3 workspace can ask to move it.' }\n      if (dsx.attribute.open) { return 'You already have a request open. It covers the apps in it.' }\n      return 'Your V3 app keeps running until it moves.'\n    ","computed":true},{"as":"requestLabel","body":"return dsx.attribute.busy ? 'Requesting…' : 'Request migration'","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"sheet","attrs":{"detents":"content","present":"dsx.attribute.present","title":"{{ dsx.variable.p.name }}","close":"trailing","on:dismiss":"dsx.event('close')"},"children":[{"tag":"ListGroup","attrs":{},"children":[{"tag":"SettingsRow","attrs":{"title":"{{ dsx.variable.p.name }}","subtitle":"Despia V3"},"children":[{"tag":"MigrateIcon","attrs":{"slot":"leading","src":"{{ dsx.variable.p.iconUrl }}","name":"{{ dsx.variable.p.name }}"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"chip","attrs":{"label":"{{ dsx.variable.p.statusLabel }}","role":"{{ dsx.variable.role }}"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n        \n        \n      ","reactive":true,"nid":3}],"text":"\n      \n    ","reactive":true,"nid":2},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.held"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.circle","title":"Why it is on hold","subtitle":"{{ dsx.variable.p.holdReason }}"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n      \n    ","reactive":true,"nid":6},{"tag":"ListGroup","attrs":{"footer":"{{ dsx.variable.footer }}"},"children":[{"tag":"SettingsRow","attrs":{"icon":"apps.iphone","title":"Platforms","value":"{{ dsx.variable.p.platformText }}"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"SettingsRow","attrs":{"icon":"creditcard","title":"Plan","value":"{{ dsx.variable.p.plan }}"},"children":[],"text":"","reactive":true,"nid":10},{"tag":"SettingsRow","attrs":{"icon":"hammer","title":"Last build","value":"{{ dsx.variable.p.lastBuild }}"},"children":[],"text":"","reactive":true,"nid":11},{"tag":"SettingsRow","attrs":{"icon":"clock","title":"Last updated","value":"{{ dsx.variable.p.updated }}","visible-if":"dsx.variable.p.updated != ''"},"children":[],"text":"","reactive":true,"nid":12},{"tag":"SettingsRow","attrs":{"icon":"building.2","title":"V3 workspace","value":"{{ dsx.variable.p.workspace }}","visible-if":"dsx.variable.p.workspace != ''"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n      \n      \n      \n      \n      \n    ","reactive":true,"nid":8},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.canRequest || dsx.variable.canCancel"},"children":[{"tag":"SettingsRow","attrs":{"icon":"arrow.right.circle","title":"{{ dsx.variable.requestLabel }}","tone":"accent","tappable":"{{ dsx.attribute.busy ? 'false' : 'true' }}","visible-if":"dsx.variable.canRequest","on:tap":"dsx.event('request')"},"children":[],"text":"","reactive":true,"nid":15},{"tag":"SettingsRow","attrs":{"icon":"xmark.circle","title":"Cancel request","tone":"accent","tappable":"{{ dsx.attribute.busy ? 'false' : 'true' }}","visible-if":"dsx.variable.canCancel","on:tap":"dsx.event('cancel')"},"children":[],"text":"","reactive":true,"nid":16}],"text":"\n      \n      \n    ","reactive":true,"nid":14}],"text":"\n    \n    \n    \n    \n  ","reactive":true,"nid":1}],"text":"\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.MigrateIcon":{"name":"MigrateIcon","scheme":"platform","head":{"attributes":[{"as":"src","default":"null"},{"as":"name","default":"''"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"failedFor","body":"return ''","computed":false},{"as":"url","body":"\n      const s = dsx.attribute.src\n      const u = typeof s == 'string' ? s : (s != null &amp;&amp; typeof s == 'object' &amp;&amp; typeof s.url == 'string' ? s.url : '')\n      return u.startsWith('https://') &amp;&amp; !/\\s/.test(u) ? u : ''\n    ","computed":true},{"as":"show","body":"return dsx.variable.url != '' &amp;&amp; dsx.variable.failedFor != dsx.variable.url","computed":true}],"formulas":[],"actions":[{"as":"failed","inputs":{},"body":"dsx.variable.failedFor = dsx.variable.url"}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"__display":"inline-flex","__css":"c92"},"children":[{"tag":"IconTile","attrs":{"name":"{{ dsx.attribute.name }}"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"image","attrs":{"visible-if":"dsx.variable.show","src":"{{ dsx.variable.url }}","aria-hidden":"true","on:error":"dsx.action.failed()","__css":"c93"},"children":[],"text":"","reactive":true,"nid":2}],"text":"\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.MigrationPreview":{"name":"MigrationPreview","scheme":"platform","head":{"attributes":[{"as":"project-id"}],"apis":[],"expects":[],"events":[{"as":"migrated","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"result","body":"return null","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"loaded","body":"return false","computed":false},{"as":"drop","body":"return []","computed":false},{"as":"confirming","body":"return false","computed":false},{"as":"migrateError","body":"return ''","computed":false},{"as":"settingsQuery","body":"return ''","computed":false},{"as":"differencesOnly","body":"return false","computed":false},{"as":"settingsOpen","body":"return false","computed":false},{"as":"hasResult","body":"return dsx.variable.result != null","computed":true},{"as":"scanLine","body":"\n      if (dsx.variable.result == null) { return '' }\n      if (!dsx.variable.result.scanned) { return 'Your public web code has not been scanned yet, so no package is suggested for removal.' }\n      return 'We read the public web code at ' + dsx.variable.result.source + '. Pages behind a sign in are not visible to us. Tap a package to leave it out or bring it back.'\n    ","computed":true},{"as":"packageRows","body":"\n      if (dsx.variable.result == null) { return [] }\n      return dsx.variable.result.packages.map(p => ({\n        package: p.package,\n        title: p.title,\n        group: p.base ? 'Always included' : (p.origin == 'v3-default' ? 'Despia V3 defaults' : 'Set up in your Despia V3 app'),\n        line: usageLine(p),\n        base: p.base,\n        state: p.base ? 'Included' : (dsx.variable.drop.includes(p.package) ? 'Left out' : 'Kept'),\n        stateRole: dsx.variable.drop.includes(p.package) ? '' : 'success',\n        name: p.name,\n        icon: p.categoryIcon\n      }))\n    ","computed":true},{"as":"configuredRows","body":"return dsx.variable.packageRows.filter(r => r.group == 'Set up in your Despia V3 app')","computed":true},{"as":"defaultRows","body":"return dsx.variable.packageRows.filter(r => r.group == 'Despia V3 defaults')","computed":true},{"as":"settingRows","body":"return dsx.variable.tableRows.map((r, i) => ({ id: String(i), title: r.setting, detail: r.origin, value: r.value == 'true' ? 'On' : (r.value == 'false' ? 'Off' : r.value) }))","computed":true},{"as":"migrateButtons","body":"return [{ title: 'Convert', action: 'convertdata.confirm', args: { ask: 'migrate' } }, { title: 'Cancel', role: 'cancel' }]","computed":true},{"as":"tableRows","body":"\n      if (dsx.variable.result == null) { return [] }\n      const q = dsx.variable.settingsQuery.trim().toLowerCase()\n      return dsx.variable.result.settings\n        .filter(r => !dsx.variable.differencesOnly || r.origin != 'Carried over')\n        .filter(r => q == '' || (r.setting + ' ' + r.key + ' ' + r.package + ' ' + r.value).toLowerCase().includes(q))\n        .map(r => ({ setting: r.setting, key: r.key, value: r.value, package: r.package == '' ? '-' : r.package, origin: r.origin }))\n    ","computed":true},{"as":"moveBackOpen","body":"\n      const r = dsx.module.convertdata.context.rollout\n      return r == null || r.areas == null || r.areas['move-back-v3'] == null || r.areas['move-back-v3'].open == true\n    ","computed":true},{"as":"confirmBody","body":"\n      if (dsx.variable.result == null) { return '' }\n      const kept = dsx.variable.result.packages.length - dsx.variable.drop.length\n      let line = 'Your app moves to V4 with ' + kept + (kept == 1 ? ' package' : ' packages')\n      if (dsx.variable.drop.length > 0) { line = line + ', leaving out ' + dsx.variable.drop.length }\n      return line + (dsx.variable.moveBackOpen ? '. You can undo it later.' : '.')\n    ","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      const r = await dsx.module.convertdata.migrationPreview({ id: dsx.attribute.projectId })\n      dsx.variable.loaded = true\n      if (!r.ok) { dsx.variable.error = 'Despia did not answer. Check your connection and try again.'; return }\n      dsx.variable.error = ''\n      dsx.variable.drop = r.data.packages.filter(p => p.advice == 'remove').map(p => p.package)\n      dsx.variable.result = r.data\n    "},{"as":"toggle","inputs":{"pkg":"dsx.this.package","base":"dsx.this.base"},"body":"\n      if (base) { return }\n      if (dsx.variable.drop.includes(pkg)) { dsx.variable.drop = dsx.variable.drop.filter(p => p != pkg) }\n      else { dsx.variable.drop = dsx.variable.drop.concat([pkg]) }\n    "},{"as":"onConfirmed","inputs":{},"body":"\n      const k = dsx.module.convertdata.context.confirmed\n      if (k == null || k.ask != 'migrate' || !dsx.variable.confirming) { return }\n      await dsx.action.migrate()\n    "},{"as":"migrate","inputs":{},"body":"\n      const r = await dsx.module.convertdata.migrate({ id: dsx.attribute.projectId, drop: dsx.variable.drop })\n      dsx.variable.confirming = false\n      if (!r.ok) { dsx.variable.migrateError = messageOf(r); return }\n      dsx.variable.migrateError = ''\n      dsx.event('migrated')\n    "}],"watches":[{"value":"dsx.module.convertdata.context.confirmed","handler":"dsx.action.onConfirmed()"}],"scripts":["\n      function messageOf(r) {\n        if (r == null) { return 'Despia did not answer. Try again in a moment.' }\n        if (r.error != null &amp;&amp; typeof r.error == 'object' &amp;&amp; r.error.message) { return r.error.message }\n        if (r.message) { return r.message }\n        return 'Despia did not answer. Try again in a moment.'\n      }\n      function usageLine(p) {\n        if (p.usage == 'seen') { return 'Used in ' + String(p.evidence).split(':')[0] }\n        if (p.usage == 'not-seen' &amp;&amp; p.advice == 'remove') { return 'Not found in your code. Suggested: leave out' }\n        if (p.usage == 'not-seen') { return 'Not found in your code, but configured' }\n        return p.origin == 'configured' ? 'Configured' : 'Included'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{"on:appear":"dsx.action.load()"},"children":[{"tag":"Callout","attrs":{"class":"page-notice","tone":"error","title":"The migration preview did not load","message":"{{ dsx.variable.error }}","action":"Try Again","visible-if":"dsx.variable.error != ''","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"ListGroup","attrs":{"header":"Set up in your Despia V3 app","footer":"{{ dsx.variable.scanLine }}","visible-if":"dsx.variable.configuredRows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.configuredRows","key":"package","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.line }}","tappable":"true","on:tap":"dsx.action.toggle()"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.this.state }}","role":"{{ dsx.this.stateRole }}"},"children":[],"text":"","reactive":true,"nid":4}],"text":"\n      \n    ","reactive":true,"nid":3}],"text":"\n    \n  ","reactive":true,"nid":2},{"tag":"ListGroup","attrs":{"header":"Despia V3 defaults","footer":"Leave out what your app never calls: Apple rejects apps that ship unused code.","visible-if":"dsx.variable.defaultRows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.defaultRows","key":"package","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.line }}","tappable":"true","on:tap":"dsx.action.toggle()"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.this.state }}","role":"{{ dsx.this.stateRole }}"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n      \n    ","reactive":true,"nid":6}],"text":"\n    \n  ","reactive":true,"nid":5},{"tag":"sheet","attrs":{"detents":"large","present":"dsx.variable.settingsOpen","title":"Settings","on:dismiss":"dsx.variable.settingsOpen = false"},"children":[{"tag":"searchbar","attrs":{"aria-label":"Search settings","bind":"dsx.variable.settingsQuery","placeholder":"Search settings"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"ListGroup","attrs":{"footer":"{{ dsx.variable.hasResult ? dsx.variable.result.mapped + ' settings carry over; the rest are listed with the reason.' : '' }}"},"children":[{"tag":"SettingsRow","attrs":{"title":"Only What Changes"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.variable.differencesOnly","aria-label":"Only what changes"},"children":[],"text":"","reactive":true,"nid":12}],"text":"","reactive":true,"nid":11},{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.settingRows","key":"id","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.detail }}","value":"{{ dsx.this.value }}"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n      \n      \n    ","reactive":true,"nid":10}],"text":"\n    \n    \n  ","reactive":true,"nid":8},{"tag":"ListGroup","attrs":{"footer":"{{ dsx.variable.confirmBody }}","visible-if":"dsx.variable.hasResult"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.migrateError }}","visible-if":"dsx.variable.migrateError != ''"},"children":[],"text":"","reactive":true,"nid":15},{"tag":"SettingsRow","attrs":{"icon":"slider.horizontal.3","title":"Settings That Carry Over","value":"{{ dsx.variable.result.mapped }}","chevron":"true","tappable":"true","on:tap":"dsx.variable.settingsOpen = true"},"children":[],"text":"","reactive":true,"nid":16},{"tag":"SettingsRow","attrs":{"icon":"arrow.triangle.2.circlepath","title":"Convert to V4","tone":"accent","tappable":"true","on:tap":"dsx.variable.confirming = true"},"children":[],"text":"","reactive":true,"nid":17}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":14},{"tag":"alert","attrs":{"present":"dsx.variable.confirming","title":"Convert this app to V4?","message":"{{ dsx.variable.confirmBody }}","buttons":"dsx.variable.migrateButtons","on:dismiss":"dsx.variable.confirming = false"},"children":[],"text":"","reactive":true,"nid":18}],"text":"\n  \n\n  \n\n  \n  \n\n  \n  \n\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.NativeStrings":{"name":"NativeStrings","scheme":"platform","head":{"attributes":[{"as":"project-id"},{"as":"languages-revision","default":"0"}],"apis":[],"expects":[],"events":[{"as":"changed","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"reviewOpen","body":"return false","computed":false},{"as":"reviewTag","body":"return ''","computed":false},{"as":"planTag","body":"return ''","computed":false},{"as":"view","body":"return null","computed":false},{"as":"loadedProjectId","body":"return ''","computed":false},{"as":"fields","body":"return []","computed":false},{"as":"original","body":"return '[]'","computed":false},{"as":"tag","body":"return ''","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"skipped","body":"return ''","computed":false},{"as":"plan","body":"return null","computed":false},{"as":"plannedPatch","body":"return null","computed":false},{"as":"readOnly","body":"return dsx.variable.view == null || dsx.variable.view.readOnly","computed":true},{"as":"options","body":"\n      if (dsx.variable.view == null) { return [] }\n      return dsx.variable.view.options.map(o => ({ tag: o.tag, title: o.name }))\n    ","computed":true},{"as":"missingCount","body":"return dsx.variable.fields.filter(f => !f.values[dsx.variable.tag]).length","computed":true},{"as":"missingLocales","body":"\n      if (dsx.variable.view == null) { return [] }\n      return dsx.variable.view.options.filter(o => dsx.variable.fields.some(f => f.editable &amp;&amp; !f.values[o.tag])).map(o => o.tag)\n    ","computed":true},{"as":"languageRows","body":"\n      const before = JSON.parse(dsx.variable.original)\n      return dsx.variable.options.map(o => {\n        const missing = dsx.variable.fields.some(f => !f.values[o.tag])\n        const draft = dsx.variable.fields.some(f => (f.values[o.tag] || '') != ((before.find(b => b.id == f.id) || { values: {} }).values[o.tag] || ''))\n        return { id: o.tag, title: o.title, status: draft ? 'Draft' : missing ? 'Not translated' : 'Looks right' }\n      })\n    ","computed":true},{"as":"needsReview","body":"return dsx.variable.languageRows.some(r => r.status != 'Looks right')","computed":true},{"as":"reviewName","body":"return (dsx.variable.options.find(o => o.tag == dsx.variable.reviewTag) || { title: 'Translate and Review' }).title","computed":true},{"as":"reviewComplete","body":"return dsx.variable.reviewTag != '' &amp;&amp; dsx.variable.fields.every(f => f.values[dsx.variable.reviewTag] &amp;&amp; f.values[dsx.variable.reviewTag].trim() != '')","computed":true},{"as":"patch","body":"\n      const before = JSON.parse(dsx.variable.original)\n      const patch = { strings: [] }\n      for (const f of dsx.variable.fields) {\n        const old = before.find(x => x.id == f.id)\n        const values = {}\n        for (const tag of Object.keys(f.values)) {\n          const value = f.values[tag] == '' || f.values[tag] == null ? null : f.values[tag]\n          const previous = old.values[tag] == '' || old.values[tag] == null ? null : old.values[tag]\n          if (tag != dsx.variable.view.primary &amp;&amp; dsx.variable.view.languages.includes(tag) &amp;&amp; value != previous) { values[tag] = value }\n        }\n        if (Object.keys(values).length == 0 || !f.editable) { continue }\n        if (f.id == 'appName') { patch.appName = values }\n        else { patch.strings.push({ package: f.package, configKey: f.configKey, values: values }) }\n      }\n      return patch\n    ","computed":true},{"as":"dirty","body":"return dsx.variable.patch.appName != null || dsx.variable.patch.strings.length &gt; 0","computed":true},{"as":"groups","body":"\n      const keys = []\n      for (const f of dsx.variable.fields) { if (!keys.includes(f.groupKey)) { keys.push(f.groupKey) } }\n      return keys.map(key => ({ id: key, title: dsx.variable.fields.find(f => f.groupKey == key).group, fields: dsx.variable.fields.filter(f => f.groupKey == key) }))\n    ","computed":true},{"as":"planChanges","body":"\n      if (dsx.variable.plannedPatch == null || dsx.variable.view == null) { return [] }\n      const p = dsx.variable.plannedPatch\n      const changes = p.appName == null ? [] : [{ label: 'App name', values: p.appName }]\n      const prompts = p.strings.map(s => {\n        const f = dsx.variable.fields.find(x => x.package == s.package &amp;&amp; x.configKey == s.configKey)\n        return { label: f.group + ' · ' + f.label, values: s.values }\n      })\n      return [...changes, ...prompts].flatMap(f => Object.keys(f.values).map(tag => {\n        const lang = dsx.variable.view.options.find(o => o.tag == tag)\n        return { id: f.label + ':' + tag, title: f.label + ' · ' + (lang == null ? 'Other language' : lang.name) }\n      }))\n    ","computed":true},{"as":"planOpen","body":"return dsx.variable.plan != null","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{"keepDraft":"false"},"body":"\n      const r = await dsx.module.convertdata.nativeStrings({ id: dsx.attribute.projectId })\n      if (!r.ok) { dsx.variable.error = messageOf(r); return }\n      const prior = dsx.variable.fields\n      const before = JSON.parse(dsx.variable.original)\n      const draft = keepDraft &amp;&amp; dsx.variable.dirty &amp;&amp; !r.data.readOnly ? dsx.variable.patch : null\n      const fresh = r.data.fields.map(f => ({ ...f, values: { ...f.values }, suggested: {} }))\n      const baseline = JSON.stringify(fresh)\n      const conflict = draft != null &amp;&amp; fresh.some(f => {\n        const values = f.id == 'appName' ? draft.appName || {} : (draft.strings.find(s => s.package == f.package &amp;&amp; s.configKey == f.configKey) || { values: {} }).values\n        const old = before.find(x => x.id == f.id)\n        return Object.keys(values).some(tag => r.data.languages.includes(tag) &amp;&amp; tag != r.data.primary &amp;&amp; old != null &amp;&amp; (old.source != f.source || (old.values[tag] != f.values[tag] &amp;&amp; values[tag] != f.values[tag])))\n      })\n      const fields = draft == null ? fresh : fresh.map(f => {\n        const values = f.id == 'appName' ? draft.appName || {} : (draft.strings.find(s => s.package == f.package &amp;&amp; s.configKey == f.configKey) || { values: {} }).values\n        const old = prior.find(x => x.id == f.id)\n        const next = { ...f, values: { ...f.values }, suggested: {} }\n        for (const tag of Object.keys(values)) {\n          if (!f.editable || tag == r.data.primary || !r.data.languages.includes(tag)) { continue }\n          if (old != null &amp;&amp; old.suggested[tag] == values[tag] &amp;&amp; values[tag] != f.values[tag]) { next.suggested[tag] = values[tag] }\n          next.values[tag] = values[tag]\n        }\n        return next\n      })\n      if (dsx.variable.view != null &amp;&amp; dsx.variable.view.revision != r.data.revision) { dsx.variable.plan = null; dsx.variable.plannedPatch = null }\n      dsx.variable.view = { ...r.data, revision: conflict ? dsx.variable.view.revision : r.data.revision }\n      dsx.variable.fields = fields\n      dsx.variable.original = baseline\n      dsx.variable.loadedProjectId = dsx.attribute.projectId\n      if (!r.data.options.find(o => o.tag == dsx.variable.tag)) { dsx.variable.tag = r.data.options.length &gt; 0 ? r.data.options[0].tag : '' }\n      dsx.variable.error = conflict ? 'Native texts changed while you were editing. Reload to review them before saving.' : ''\n    "},{"as":"projectChanged","inputs":{},"body":"\n      if (dsx.variable.loadedProjectId == dsx.attribute.projectId) { return }\n      await dsx.action.load()\n    "},{"as":"syncLanguages","inputs":{},"body":"await dsx.action.load({ keepDraft: true })"},{"as":"edited","inputs":{"fields":"dsx.this.fields"},"body":"\n      dsx.variable.fields = dsx.variable.fields.map(f => fields.find(x => x.id == f.id) || f)\n    "},{"as":"translate","inputs":{},"body":"\n      if (dsx.variable.readOnly || dsx.variable.missingLocales.length == 0) { return }\n      const locales = dsx.variable.reviewOpen ? [dsx.variable.reviewTag] : dsx.variable.missingLocales\n      const revision = dsx.variable.view.revision\n      const r = await dsx.module.convertdata.nativeStringsLocalize({ id: dsx.attribute.projectId, locales: locales })\n      if (!r.ok) { dsx.variable.error = messageOf(r); return }\n      if (dsx.variable.readOnly || dsx.variable.view.revision != revision) { dsx.variable.error = 'Native texts changed. Reload and translate again.'; return }\n      const p = r.data.proposals\n      dsx.variable.fields = dsx.variable.fields.map(f => {\n        const values = f.id == 'appName' ? p.appName : (p.strings.find(s => s.package == f.package &amp;&amp; s.configKey == f.configKey) || { values: {} }).values\n        const next = { ...f, values: { ...f.values }, suggested: { ...f.suggested } }\n        if (!f.editable) { return next }\n        for (const tag of Object.keys(values || {})) {\n          if (locales.includes(tag) &amp;&amp; !next.values[tag]) { next.values[tag] = values[tag]; next.suggested[tag] = values[tag] }\n        }\n        return next\n      })\n      dsx.variable.skipped = r.data.skipped.map(s => (s.name || (dsx.variable.options.find(o => o.tag == s.locale) || { title: 'Other language' }).title) + ': ' + s.reason).join(' · ')\n      dsx.variable.error = ''\n    "},{"as":"openReview","inputs":{},"body":"dsx.variable.reviewTag = ''; dsx.variable.reviewOpen = true"},{"as":"chooseLanguage","inputs":{"tag":"dsx.this.id"},"body":"dsx.variable.reviewTag = tag; dsx.variable.error = ''; dsx.variable.skipped = ''"},{"as":"preview","inputs":{},"body":"\n      if (dsx.variable.readOnly) { return }\n      if (dsx.variable.reviewOpen &amp;&amp; dsx.variable.reviewComplete &amp;&amp; dsx.variable.languageRows.find(r => r.id == dsx.variable.reviewTag).status == 'Looks right') {\n        const next = dsx.variable.languageRows.find(r => r.status != 'Looks right')\n        dsx.variable.reviewTag = next == null ? '' : next.id\n        return\n      }\n      if (!dsx.variable.dirty) { return }\n      const tag = dsx.variable.reviewOpen ? dsx.variable.reviewTag : ''\n      if (tag != '' &amp;&amp; !dsx.variable.reviewComplete) { return }\n      const all = dsx.variable.patch\n      const patch = tag == '' ? all : { strings: all.strings.filter(s => Object.keys(s.values).includes(tag)).map(s => ({ ...s, values: { [tag]: s.values[tag] } })) }\n      if (tag != '' &amp;&amp; all.appName != null &amp;&amp; Object.keys(all.appName).includes(tag)) { patch.appName = { [tag]: all.appName[tag] } }\n      dsx.variable.planTag = tag\n      const r = await dsx.module.convertdata.nativeStringsSet({ id: dsx.attribute.projectId, patch: patch, expectedRevision: dsx.variable.view.revision, dryRun: true })\n      if (!r.ok) { dsx.variable.error = messageOf(r); return }\n      dsx.variable.plannedPatch = patch\n      dsx.variable.plan = r.data\n    "},{"as":"advanceReview","inputs":{},"body":"\n      if (!dsx.variable.reviewOpen) { return }\n      const next = dsx.variable.languageRows.find(r => r.status != 'Looks right' &amp;&amp; r.id != dsx.variable.planTag)\n      dsx.variable.reviewTag = next == null ? '' : next.id\n    "},{"as":"restoreReview","inputs":{},"body":"dsx.variable.reviewTag = dsx.variable.planTag"},{"as":"commit","inputs":{},"body":"\n      if (dsx.variable.readOnly || dsx.variable.plan == null || !dsx.variable.plan.changed) { return }\n      const previous = dsx.variable.view.revision\n      const r = await dsx.module.convertdata.nativeStringsSet({ id: dsx.attribute.projectId, patch: dsx.variable.plannedPatch, expectedRevision: previous, dryRun: false })\n      if (!r.ok) { dsx.variable.plan = null; dsx.variable.error = messageOf(r); return }\n      dsx.variable.plan = null\n      await dsx.action.load({ keepDraft: dsx.variable.reviewOpen })\n      dsx.action.advanceReview()\n      dsx.event('changed')\n      const t = await dsx.module.toast.show({ title: 'Native texts saved', message: 'Applies with the next build', length: 'long', action: { label: 'Undo', id: 'undo' } })\n      if (t.ok &amp;&amp; t.data != null &amp;&amp; t.data.result == 'action') {\n        const undo = await dsx.module.convertdata.revert({ id: dsx.attribute.projectId, toSeq: previous, revision: r.data.revision })\n        if (!undo.ok || !undo.data.done) { dsx.variable.error = undo.ok ? undo.data.problem.message : messageOf(undo); return }\n        await dsx.action.load({ keepDraft: dsx.variable.reviewOpen })\n        dsx.action.restoreReview()\n        dsx.event('changed')\n      }\n    "}],"watches":[{"value":"dsx.attribute.languagesRevision","handler":"dsx.action.syncLanguages()"},{"value":"dsx.attribute.projectId","handler":"dsx.action.projectChanged()","immediate":true}],"scripts":["\n      function messageOf(r) { return r.message || (r.error != null &amp;&amp; typeof r.error == 'object' ? r.error.message : '') || 'Could not load native texts. Try again.' }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"ListGroup","attrs":{"header":"Native texts","footer":"Applies with the next build"},"children":[{"tag":"SettingsRow","attrs":{"title":"App name and permission prompts","subtitle":"Translations of the native texts your packages declare."},"children":[],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"icon":"text.bubble","title":"{{ dsx.variable.needsReview ? 'Translate and Review' : 'Review Translations' }}","tone":"accent","tappable":"true","visible-if":"dsx.variable.view != null","on:tap":"dsx.action.openReview()"},"children":[],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Reading native texts…","visible-if":"dsx.variable.view == null && dsx.variable.error == ''"},"children":[],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"{{ dsx.variable.error }}","visible-if":"dsx.variable.error != ''"},"children":[],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Try Again","icon":"arrow.clockwise","tappable":"true","visible-if":"dsx.variable.error != ''","on:tap":"dsx.action.load()"},"children":[],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Language","visible-if":"dsx.variable.options.length > 0"},"children":[{"tag":"picker","attrs":{"aria-label":"Native text language","bind":"dsx.variable.tag","options-key":"dsx.variable.options","value-field":"tag","label-field":"title"},"children":[],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Translation status","visible-if":"dsx.variable.options.length > 0"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.variable.missingCount == 0 ? 'All translated' : dsx.variable.missingCount + ' not translated' }}","role":"{{ dsx.variable.missingCount == 0 ? 'success' : 'warning' }}"},"children":[],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Add another language to translate native texts","visible-if":"dsx.variable.view != null && dsx.variable.options.length == 0"},"children":[],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Change languages where your files live","subtitle":"{{ dsx.variable.view == null ? '' : dsx.variable.view.readOnlyReason }}","visible-if":"dsx.variable.view != null && dsx.variable.readOnly"},"children":[],"text":"","reactive":true}],"text":"\n    \n    \n    \n    \n    \n    \n    \n    \n    \n  ","reactive":true},{"tag":"NativeStringsGroup","attrs":{"repeat":"dsx.variable.groups","key":"id","group":"{{ dsx.this }}","tag":"{{ dsx.variable.tag }}","source-name":"{{ dsx.variable.view == null ? '' : dsx.variable.view.sourceName }}","read-only":"{{ dsx.variable.readOnly }}","visible-if":"dsx.variable.tag != ''","on:edit":"dsx.action.edited()"},"children":[],"text":"","reactive":true},{"tag":"ListGroup","attrs":{"footer":"{{ dsx.variable.skipped }}","visible-if":"!dsx.variable.readOnly && dsx.variable.tag != ''"},"children":[{"tag":"SettingsRow","attrs":{"title":"Review translations","subtitle":"Agent suggests missing native texts in every declared language. Review the suggestions before saving."},"children":[{"tag":"button","attrs":{"label":"Save","variant":"prominent","disabled":"{{ !dsx.variable.dirty || dsx.action.preview.pending }}","on:tap":"dsx.action.preview()"},"children":[],"text":"","reactive":true},{"tag":"button","attrs":{"label":"Translate","icon":"agent.mark","variant":"bordered","disabled":"{{ dsx.action.translate.pending || dsx.variable.missingLocales.length == 0 }}","on:tap":"dsx.action.translate()"},"children":[],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true}],"text":"\n    \n  ","reactive":true},{"tag":"sheet","attrs":{"present":"dsx.variable.reviewOpen","title":"{{ dsx.variable.reviewName }}","detents":"full","close":"leading"},"children":[{"tag":"vstack","attrs":{},"children":[{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.reviewTag == ''","header":"Languages","footer":"Review each translation against the source. Applies with the next build."},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.languageRows","key":"id","title":"{{ dsx.this.title }}","tappable":"true","on:tap":"dsx.action.chooseLanguage()"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.this.status }}","role":"{{ { 'Not translated': 'warning', 'Draft': 'info', 'Looks right': 'success' }[dsx.this.status] }}"},"children":[],"text":"","reactive":true}],"text":"\n          \n        ","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Add another language to translate native texts","visible-if":"dsx.variable.languageRows.length == 0"},"children":[],"text":"","reactive":true}],"text":"\n        \n        \n      ","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.readOnly","footer":"{{ dsx.variable.view == null ? '' : dsx.variable.view.readOnlyReason }}"},"children":[{"tag":"SettingsRow","attrs":{"title":"Change languages where your files live"},"children":[],"text":"","reactive":true}],"text":"\n        \n      ","reactive":true},{"tag":"NativeStringsGroup","attrs":{"repeat":"dsx.variable.groups","key":"id","group":"{{ dsx.this }}","tag":"{{ dsx.variable.reviewTag }}","source-name":"{{ dsx.variable.view == null ? '' : dsx.variable.view.sourceName }}","read-only":"{{ dsx.variable.readOnly }}","review":"true","visible-if":"dsx.variable.reviewTag != ''","on:edit":"dsx.action.edited()"},"children":[],"text":"","reactive":true},{"tag":"text","attrs":{"type":"footnote","value":"{{ dsx.variable.error }}","visible-if":"dsx.variable.error != ''"},"children":[],"text":"","reactive":true},{"tag":"text","attrs":{"type":"footnote","value":"{{ dsx.variable.skipped }}","visible-if":"dsx.variable.skipped != ''"},"children":[],"text":"","reactive":true},{"tag":"AgentCard","attrs":{"visible-if":"dsx.variable.reviewTag != ''","title":"Review this language","body":"{{ dsx.variable.missingLocales.includes(dsx.variable.reviewTag) ? 'Check each text, or let Agent translate the ones still missing.' : 'Check each text, then confirm it reads well.' }}","primary":"{{ dsx.variable.readOnly ? '' : 'Looks Right' }}","primary-disabled":"{{ !dsx.variable.reviewComplete || dsx.action.commit.pending }}","busy":"{{ dsx.action.preview.pending }}","secondary":"{{ dsx.variable.readOnly || !dsx.variable.missingLocales.includes(dsx.variable.reviewTag) || dsx.action.translate.pending ? '' : 'Translate' }}","on:primary":"dsx.action.preview()","on:secondary":"dsx.action.translate()"},"children":[],"text":"","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.reviewTag != ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"globe","title":"All Languages","tappable":"true","on:tap":"dsx.variable.reviewTag = ''"},"children":[],"text":"","reactive":true}],"text":"\n        \n      ","reactive":true}],"text":"\n      \n      \n      \n      \n      \n      \n      \n    ","reactive":true}],"text":"\n    \n  ","reactive":true},{"tag":"sheet","attrs":{"present":"dsx.variable.planOpen","title":"Save native texts","detents":"content","close":"leading","action":"{{ dsx.action.commit.pending ? 'Saving…' : 'Save' }}","on:action":"dsx.action.commit()","on:dismiss":"dsx.variable.plan = null"},"children":[{"tag":"vstack","attrs":{},"children":[{"tag":"Callout","attrs":{"tone":"info","message":"{{ dsx.variable.plan == null ? '' : dsx.variable.plan.line }}"},"children":[],"text":"","reactive":true},{"tag":"ListGroup","attrs":{"footer":"Applies with the next build"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.planChanges","key":"id","title":"{{ dsx.this.title }}"},"children":[],"text":"","reactive":true}],"text":"\n        \n      ","reactive":true}],"text":"\n      \n      \n    ","reactive":true}],"text":"\n    \n  ","reactive":true}],"text":"\n  \n  \n  \n  \n  \n  \n","reactive":true},"reactive":true,"language":"1"},"platform.NativeStringsGroup":{"name":"NativeStringsGroup","scheme":"platform","head":{"attributes":[{"as":"group"},{"as":"review","default":"false"},{"as":"tag"},{"as":"read-only"},{"as":"source-name"}],"apis":[],"expects":[],"events":[{"as":"edit","payload":["fields"]}],"inputs":[],"tools":[],"variables":[{"as":"rows","body":"return dsx.attribute.group.fields.map(f => ({ id: f.id, kind: 'input', value: f.values[dsx.attribute.tag] || '', field: JSON.parse(JSON.stringify(f)) }))","computed":false}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      dsx.variable.rows = dsx.attribute.group.fields.map(f => ({ id: f.id, kind: 'input', value: f.values[dsx.attribute.tag] || '', field: JSON.parse(JSON.stringify(f)) }))\n    "},{"as":"edited","inputs":{"id":"dsx.this.field.id"},"body":"\n      const input = dsx.variable.rows.find(r => r.kind == 'input' &amp;&amp; r.field.id == id)\n      const field = { ...input.field, values: { ...input.field.values, [dsx.attribute.tag]: input.value }, suggested: { ...input.field.suggested, [dsx.attribute.tag]: null } }\n      dsx.variable.rows = dsx.variable.rows.map(r => r.field.id == id ? { ...r, field: field } : r)\n      dsx.event('edit', { fields: dsx.variable.rows.filter(r => r.kind == 'input').map(r => r.field) })\n    "}],"watches":[{"value":"dsx.attribute.tag","handler":"dsx.action.load()"},{"value":"dsx.attribute.group","handler":"dsx.action.load()","immediate":true}],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"on:appear":"dsx.action.load()"},"children":[{"tag":"ListGroup","attrs":{"header":"{{ dsx.attribute.group.id == 'appName' ? '' : dsx.attribute.group.title }}"},"children":[{"tag":"pressable","attrs":{"repeat":"dsx.variable.rows","key":"id","role":"group"},"children":[{"tag":"vstack","attrs":{},"children":[{"tag":"text","attrs":{"value":"{{ dsx.this.field.label }}"},"children":[],"text":"","reactive":true},{"tag":"text","attrs":{"type":"footnote","value":"{{ dsx.this.field.description || '' }}","visible-if":"dsx.this.field.description"},"children":[],"text":"","reactive":true},{"tag":"hstack","attrs":{"visible-if":"dsx.this.field.id != 'appName' || !dsx.this.field.values[dsx.attribute.tag] || dsx.this.field.suggested[dsx.attribute.tag] != null"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.this.field.platformLabel || '' }}","visible-if":"dsx.this.field.id != 'appName'"},"children":[],"text":"","reactive":true},{"tag":"chip","attrs":{"label":"Not translated","role":"warning","visible-if":"!dsx.this.field.values[dsx.attribute.tag]"},"children":[],"text":"","reactive":true},{"tag":"chip","attrs":{"label":"Suggested","role":"info","visible-if":"dsx.this.field.suggested[dsx.attribute.tag] != null && dsx.this.field.suggested[dsx.attribute.tag] == dsx.this.field.values[dsx.attribute.tag]"},"children":[],"text":"","reactive":true}],"text":"\n          \n          \n          \n        ","reactive":true},{"tag":"text","attrs":{"type":"footnote","value":"{{ dsx.attribute.sourceName.split(' (')[0] + ': ' + (dsx.this.field.source || 'Not set') }}","visible-if":"dsx.attribute.review"},"children":[],"text":"","reactive":true},{"tag":"textfield","attrs":{"aria-label":"{{ dsx.this.field.label }}","bind":"dsx.this.value","placeholder":"{{ dsx.this.field.source }}","visible-if":"dsx.this.field.id == 'appName' && !dsx.attribute.readOnly && dsx.this.field.editable","on:change":"dsx.action.edited()"},"children":[],"text":"","reactive":true},{"tag":"textarea","attrs":{"aria-label":"{{ dsx.this.field.label }}","bind":"dsx.this.value","placeholder":"{{ dsx.this.field.source }}","min-lines":"2","visible-if":"dsx.this.field.id != 'appName' && !dsx.attribute.readOnly && dsx.this.field.editable","on:change":"dsx.action.edited()"},"children":[],"text":"","reactive":true},{"tag":"text","attrs":{"type":"callout","value":"{{ dsx.this.field.values[dsx.attribute.tag] || dsx.this.field.source }}","visible-if":"dsx.attribute.readOnly || !dsx.this.field.editable"},"children":[],"text":"","reactive":true},{"tag":"text","attrs":{"type":"footnote","value":"{{ dsx.attribute.sourceName.split(' (')[0] + ': ' + (dsx.this.field.source || 'Not set') }}","visible-if":"!dsx.attribute.review"},"children":[],"text":"","reactive":true}],"text":"\n        \n        \n        \n        \n        \n        \n        \n        \n      ","reactive":true}],"text":"\n      \n    ","reactive":true}],"text":"\n    \n  ","reactive":true}],"text":"\n  \n  \n","reactive":true},"reactive":true,"language":"1"},"platform.NotFound":{"name":"NotFound","scheme":"platform","head":{"attributes":[],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[{"as":"home","inputs":{},"body":"dsx.module.route.reset({ path: '/apps' })"},{"as":"help","inputs":{},"body":"dsx.module.route.reset({ path: '/help' })"}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"NavBar","attrs":{"title":"Page not found","large":"true"},"children":[],"text":"","reactive":true},{"tag":"EmptyState","attrs":{"icon":"questionmark.circle","title":"Nothing at This Address","message":"The page may have moved, or the link may be mistyped."},"children":[],"text":"","reactive":true},{"tag":"hstack","attrs":{"__css":"c96"},"children":[{"tag":"button","attrs":{"variant":"prominent","label":"Go Home","on:tap":"dsx.action.home()"},"children":[],"text":"","reactive":true},{"tag":"button","attrs":{"variant":"bordered","label":"Help","on:tap":"dsx.action.help()"},"children":[],"text":"","reactive":true}],"text":"\n    \n    \n  ","reactive":true}],"text":"\n  \n\n  \n\n  \n  \n  \n","reactive":true},"reactive":true,"language":"1"},"platform.OAuthHeader":{"name":"OAuthHeader","scheme":"platform","head":{"attributes":[{"as":"brand"},{"as":"icon"},{"as":"tint"},{"as":"name"},{"as":"title"},{"as":"subtitle"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"oauth-header","__steers":"1"},"children":[{"tag":"hstack","attrs":{"class":"oauth-header-marks","aria-hidden":"true","__steers":"1"},"children":[{"tag":"IconTile","attrs":{"brand":"{{ dsx.attribute.brand }}","icon":"{{ dsx.attribute.icon }}","tint":"{{ dsx.attribute.icon ? '#5F6368' : (dsx.attribute.tint || '') }}","name":"{{ dsx.attribute.name }}"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"image","attrs":{"class":"oauth-header-link","icon":"arrow.left.arrow.right"},"children":[],"text":"","reactive":false,"nid":3},{"tag":"IconTile","attrs":{"brand":"despia.logo.mono","tint":"#6D3BEF","name":"Despia"},"children":[],"text":"","reactive":true,"nid":4}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"text","attrs":{"class":"oauth-header-title","value":"{{ dsx.attribute.title }}","role":"heading"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"text","attrs":{"class":"oauth-header-subtitle","visible-if":"dsx.attribute.subtitle","value":"{{ dsx.attribute.subtitle }}"},"children":[],"text":"","reactive":true,"nid":6}],"text":"\n  \n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.PackageCatalog":{"name":"PackageCatalog","scheme":"platform","head":{"attributes":[{"as":"present","default":"false"},{"as":"installed","default":"[]"},{"as":"project-id"}],"apis":[],"expects":[],"events":[{"as":"close","payload":[]},{"as":"changed","payload":[]}],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"sheet","attrs":{"detents":"full","present":"dsx.attribute.present","title":"Add packages","on:dismiss":"dsx.event('close')"},"children":[{"tag":"PackageExplorer","attrs":{"project-id":"{{ dsx.attribute.projectId }}","installed":"{{ dsx.attribute.installed }}","on:changed":"dsx.event('changed')"},"children":[],"text":"","reactive":true}],"text":"\n    \n  ","reactive":true}],"text":"\n  \n\n  \n","reactive":true},"reactive":true,"language":"1"},"platform.PackageConfig":{"name":"PackageConfig","scheme":"platform","head":{"attributes":[{"as":"project-id"},{"as":"package","default":"''"}],"apis":[],"expects":[],"events":[{"as":"dirty","payload":["dirty"]}],"inputs":[],"tools":[],"variables":[{"as":"sections","body":"return []","computed":false},{"as":"original","body":"return '[]'","computed":false},{"as":"hasSettings","body":"return false","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"files","body":"return []","computed":false},{"as":"hosts","body":"return []","computed":false},{"as":"host","body":"return ''","computed":false},{"as":"hostKnown","body":"return false","computed":false},{"as":"copied","body":"return ''","computed":false},{"as":"fileSettings","body":"return []","computed":false},{"as":"playing","body":"return ''","computed":false},{"as":"playSrc","body":"return ''","computed":false},{"as":"renaming","body":"return null","computed":false},{"as":"renameText","body":"return ''","computed":false},{"as":"isDirty","body":"return JSON.stringify(dsx.variable.sections) != dsx.variable.original","computed":true},{"as":"appliesLine","body":"\n      const before = JSON.parse(dsx.variable.original)\n      const when = []\n      for (let i = 0; i &lt; dsx.variable.sections.length; i++) {\n        const sec = dsx.variable.sections[i]\n        const was = before[i] == null ? null : before[i]\n        for (let j = 0; j &lt; sec.fields.length; j++) {\n          const f = sec.fields[j]\n          const old = was == null || was.fields[j] == null ? null : was.fields[j].value\n          if (JSON.stringify(f.value) != JSON.stringify(old) &amp;&amp; !when.includes(f.applies.footer)) { when.push(f.applies.footer) }\n        }\n      }\n      if (when.length == 0) { return '' }\n      if (when.length == 1) { return 'Changes apply ' + when[0] + '.' }\n      return 'Changes apply ' + when.slice(0, when.length - 1).join(', ') + ' or ' + when[when.length - 1] + ', as each setting says.'\n    ","computed":true},{"as":"translationLinks","body":"\n      return dsx.variable.sections.flatMap(sec => sec.fields.filter(f => f.localeBucket != null).map(f => ({ id: f.key, title: f.label, subtitle: 'Translated in ' + f.translations + (f.translations == 1 ? ' language' : ' languages') + '. Edit on Languages.' })))\n    ","computed":true},{"as":"compact","body":"return dsx.screen.width &lt; 760","computed":true},{"as":"serverFields","body":"return dsx.variable.sections.flatMap(sec => sec.fields.filter(f => f.control == 'server'))","computed":true},{"as":"stored","body":"return dsx.variable.serverFields.filter(f => f.set).map(f => f.env).join(', ')","computed":true},{"as":"hostRow","body":"return dsx.variable.hosts.find(h => h.id == dsx.variable.host) ?? null","computed":true},{"as":"hostFooter","body":"\n      const h = dsx.variable.hostRow\n      if (h == null) { return 'Choose where your server runs to open its environment variables.' }\n      if (h.id == 'self') { return 'Set each variable in the environment of the process that runs your server (its .env file or service settings), then restart it.' }\n      return 'Add each variable above in ' + h.title + ' under its environment variables, then redeploy the server.'\n    ","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      if (dsx.attribute.package == '') { return }\n      const r = await dsx.module.convertdata.packageConfig({ id: dsx.attribute.projectId, package: dsx.attribute.package })\n      if (!r.ok) { dsx.variable.error = messageOf(r); return }\n      dsx.variable.error = ''\n      dsx.variable.hasSettings = r.data.hasSettings\n      dsx.variable.sections = r.data.sections\n      dsx.variable.original = JSON.stringify(r.data.sections)\n      dsx.variable.files = r.data.files ?? []\n      dsx.variable.fileSettings = r.data.fileSettings ?? []\n      dsx.variable.hosts = r.data.hosts ?? []\n      dsx.variable.host = r.data.host ?? ''\n      dsx.variable.hostKnown = (r.data.host ?? '') != ''\n    "},{"as":"revert","inputs":{},"body":"\n      dsx.variable.sections = JSON.parse(dsx.variable.original)\n    "},{"as":"save","inputs":{},"body":"\n      const values = {}\n      for (const sec of dsx.variable.sections) {\n        for (const f of sec.fields) {\n          if (f.control == 'server' || !f.editable) { continue }\n          if (f.localeBucket != null) { values[f.key] = { ...f.localeBucket, default: f.value } }\n          else if (f.control == 'list') { values[f.key] = String(f.value).split('\\n').map(x => x.trim()).filter(x => x != '') }\n          else if (f.control == 'number') { values[f.key] = Number(f.value) }\n          else { values[f.key] = f.value }\n        }\n      }\n      const r = await dsx.module.convertdata.savePackageConfig({ id: dsx.attribute.projectId, package: dsx.attribute.package, values: values })\n      if (!r.ok) { dsx.variable.error = messageOf(r); return }\n      dsx.variable.error = ''\n      const message = dsx.variable.appliesLine\n      dsx.variable.original = JSON.stringify(dsx.variable.sections)\n      dsx.module.toast.show({ title: 'Settings saved', message: message })\n    "},{"as":"copyEnv","inputs":{"env":"dsx.this.env"},"body":"\n      const r = await dsx.module.clipboard.write({ text: env })\n      if (r.ok) { dsx.variable.copied = env }\n    "},{"as":"upload","inputs":{"path":"dsx.this.path","label":"dsx.this.label"},"body":"\n      const r = await dsx.module.files.open({ types: ['.plist', 'application/x-plist', 'application/xml', 'text/xml', 'application/octet-stream'], multiple: false })\n      if (!r.ok || r.data.cancelled || r.data.items.length == 0) { return }\n      const picked = r.data.items[0]\n      const read = await dsx.module.files.read({ path: picked.path, encoding: 'base64' })\n      await dsx.module.files.delete({ path: picked.path })\n      if (!read.ok) { dsx.variable.error = 'That file could not be read.'; return }\n      const out = await dsx.module.convertdata.packageFile({ id: dsx.attribute.projectId, package: dsx.attribute.package, path: path, base64: read.data.data })\n      if (!out.ok) { dsx.variable.error = messageOf(out); return }\n      dsx.variable.error = ''\n      dsx.variable.files = dsx.variable.files.map(f => f.path == path ? { ...f, added: true } : f)\n      dsx.module.toast.show({ title: label + ' added', message: 'It goes into the app at the next build.' })\n    "},{"as":"pickFiles","inputs":{"key":"dsx.this.key","replace":"dsx.this.replace"},"body":"\n      const setting = dsx.variable.fileSettings.find(f => f.key == key)\n      if (setting == null) { return }\n      const r = await dsx.module.files.open({ types: setting.types, multiple: setting.multiple &amp;&amp; (replace ?? '') == '' })\n      if (!r.ok || r.data.cancelled || r.data.items.length == 0) { return }\n      const picked = []\n      for (const chosen of r.data.items) {\n        const read = await dsx.module.files.read({ path: chosen.path, encoding: 'base64' })\n        await dsx.module.files.delete({ path: chosen.path })\n        if (read.ok) { picked.push({ name: chosen.name, base64: read.data.data }) }\n      }\n      await dsx.action.uploadFiles({ key: key, picked: picked, replace: replace ?? '' })\n    "},{"as":"uploadFiles","inputs":{"key":"dsx.this.key","picked":"dsx.this.picked","replace":"dsx.this.replace"},"body":"\n      const out = await dsx.module.convertdata.addSettingFiles({ id: dsx.attribute.projectId, package: dsx.attribute.package, key: key, files: picked, replace: replace })\n      if (!out.ok) { dsx.module.toast.show({ title: 'Not added', message: messageOf(out) }); return }\n      dsx.variable.fileSettings = dsx.variable.fileSettings.map(f => f.key == key ? out.data.setting : f)\n      dsx.module.toast.show({ title: out.data.added == 1 ? '1 file added' : out.data.added + ' files added', message: 'It goes into the app at the next build.' })\n    "},{"as":"play","inputs":{"key":"dsx.this.key","ref":"dsx.this.ref"},"body":"\n      if (dsx.variable.playing == ref) { dsx.variable.playing = ''; dsx.variable.playSrc = ''; return }\n      const setting = dsx.variable.fileSettings.find(f => f.key == key)\n      const row = setting == null ? null : setting.rows.find(x => x.ref == ref)\n      if (row == null) { return }\n      const out = await dsx.module.convertdata.settingFileSource({ id: dsx.attribute.projectId, sha256: row.sha256, mime: row.mime })\n      if (!out.ok) { dsx.module.toast.show({ title: 'Cannot play it', message: messageOf(out) }); return }\n      dsx.variable.playing = ref\n      dsx.variable.playSrc = out.data.src\n    "},{"as":"saveRename","inputs":{},"body":"\n      const r = dsx.variable.renaming\n      if (r == null) { return }\n      const out = await dsx.module.convertdata.renameSettingFile({ id: dsx.attribute.projectId, package: dsx.attribute.package, key: r.key, ref: r.ref, name: dsx.variable.renameText })\n      if (!out.ok) { dsx.module.toast.show({ title: 'Not renamed', message: messageOf(out) }); return }\n      dsx.variable.fileSettings = dsx.variable.fileSettings.map(f => f.key == r.key ? out.data.setting : f)\n      dsx.variable.renaming = null\n    "},{"as":"stopPlay","inputs":{},"body":"\n      dsx.variable.playing = ''\n      dsx.variable.playSrc = ''\n    "},{"as":"onConfirmed","inputs":{},"body":"\n      const k = dsx.module.convertdata.context.confirmed\n      if (k == null || typeof k.ask != 'string' || !k.ask.startsWith('files-')) { return }\n      const verb = k.ask.slice(k.ask.lastIndexOf('-') + 1)\n      const key = k.ask.slice(6, k.ask.lastIndexOf('-'))\n      if (verb == 'copy') {\n        const c = await dsx.module.clipboard.write({ text: k.value })\n        if (c.ok) { dsx.module.toast.show({ title: 'Push name copied', message: k.value }) }\n        return\n      }\n      if (verb == 'replace') { await dsx.action.pickFiles({ key: key, replace: k.value }); return }\n      if (verb == 'rename') {\n        const setting = dsx.variable.fileSettings.find(f => f.key == key)\n        const row = setting == null ? null : setting.rows.find(x => x.ref == k.value)\n        if (row == null) { return }\n        dsx.variable.renameText = row.pushName\n        dsx.variable.renaming = { key: key, ref: row.ref, title: row.title }\n        return\n      }\n      if (dsx.variable.playing == k.value) { await dsx.action.stopPlay() }\n      let out = null\n      if (verb == 'remove') { out = await dsx.module.convertdata.removeSettingFile({ id: dsx.attribute.projectId, package: dsx.attribute.package, key: key, ref: k.value }) }\n      else { out = await dsx.module.convertdata.moveSettingFile({ id: dsx.attribute.projectId, package: dsx.attribute.package, key: key, ref: k.value, by: verb }) }\n      if (!out.ok) { dsx.module.toast.show({ title: verb == 'remove' ? 'Not removed' : 'Not moved', message: messageOf(out) }); return }\n      dsx.variable.fileSettings = dsx.variable.fileSettings.map(f => f.key == key ? out.data.setting : f)\n      if (verb == 'remove') { dsx.module.toast.show({ title: 'File removed', message: 'The next build leaves it out.' }) }\n    "}],"watches":[{"value":"dsx.variable.isDirty","handler":"dsx.event('dirty', { dirty: dsx.variable.isDirty })"},{"value":"dsx.attribute.package","handler":"dsx.action.load()"},{"value":"dsx.module.convertdata.context.confirmed","handler":"dsx.action.onConfirmed()"}],"scripts":["\n      function messageOf(r) {\n        if (r == null) { return 'Despia did not answer. Try again in a moment.' }\n        if (r.error != null &amp;&amp; typeof r.error == 'object' &amp;&amp; r.error.message) { return r.error.message }\n        if (r.message) { return r.message }\n        return 'Despia did not answer. Try again in a moment.'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{"on:appear":"dsx.action.load()"},"children":[{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.error != ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.error }}"},"children":[],"text":"","reactive":true}],"text":"\n    \n  ","reactive":true},{"tag":"Callout","attrs":{"tone":"warning","title":"Move these to your server","message":"Despia no longer keeps package secrets. Set {{ dsx.variable.stored }} where your server runs; the copy Despia still holds will be removed.","visible-if":"dsx.variable.stored != ''"},"children":[],"text":"","reactive":true},{"tag":"ListGroup","attrs":{"repeat":"dsx.variable.sections","key":"title","header":"{{ dsx.this.title }}"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.fields","key":"key","title":"{{ dsx.this.label }}","subtitle":"{{ dsx.this.description }}"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.this.value","placeholder":"{{ dsx.this.placeholder }}","aria-label":"{{ dsx.this.label }}","visible-if":"dsx.this.editable && dsx.this.control == 'text'"},"children":[],"text":"","reactive":true},{"tag":"textfield","attrs":{"bind":"dsx.this.value","keyboard":"number","placeholder":"{{ dsx.this.placeholder }}","aria-label":"{{ dsx.this.label }}","visible-if":"dsx.this.editable && dsx.this.control == 'number'"},"children":[],"text":"","reactive":true},{"tag":"textarea","attrs":{"bind":"dsx.this.value","placeholder":"{{ dsx.this.control == 'list' ? 'One per line' : dsx.this.placeholder }}","aria-label":"{{ dsx.this.label }}","visible-if":"dsx.this.editable && (dsx.this.control == 'multiline' || dsx.this.control == 'list')"},"children":[],"text":"","reactive":true},{"tag":"toggle","attrs":{"bind":"dsx.this.value","aria-label":"{{ dsx.this.label }}","visible-if":"dsx.this.editable && dsx.this.control == 'toggle'"},"children":[],"text":"","reactive":true},{"tag":"colorpicker","attrs":{"bind":"dsx.this.value","aria-label":"{{ dsx.this.label }}","visible-if":"dsx.this.editable && dsx.this.control == 'color'"},"children":[],"text":"","reactive":true},{"tag":"picker","attrs":{"bind":"dsx.this.value","options":"{{ dsx.this.options }}","aria-label":"{{ dsx.this.label }}","visible-if":"dsx.this.editable && dsx.this.control == 'picker'"},"children":[],"text":"","reactive":true},{"tag":"chip","attrs":{"label":"{{ dsx.variable.compact ? dsx.this.applies.short : dsx.this.applies.label }}","aria-label":"{{ dsx.this.applies.label }}","role":"{{ dsx.this.applies.role }}","visible-if":"dsx.this.control != 'server'"},"children":[],"text":"","reactive":true},{"tag":"text","attrs":{"type":"callout","value":"Set this where your server runs, as {{ dsx.this.env }}","visible-if":"dsx.this.control == 'server'"},"children":[],"text":"","reactive":true},{"tag":"button","attrs":{"icon":"{{ dsx.variable.copied == dsx.this.env ? 'checkmark' : 'doc.on.doc' }}","label":"{{ dsx.variable.copied == dsx.this.env ? 'Copied' : 'Copy Name' }}","aria-label":"Copy {{ dsx.this.env }}","visible-if":"dsx.this.control == 'server' && dsx.this.env != ''","on:tap":"dsx.action.copyEnv()"},"children":[],"text":"","reactive":true},{"tag":"text","attrs":{"type":"callout","value":"{{ dsx.this.value }}","visible-if":"!dsx.this.editable && dsx.this.control != 'server'"},"children":[],"text":"","reactive":true}],"text":"\n      \n      \n      \n      \n      \n      \n\n      \n      \n      \n      \n    ","reactive":true}],"text":"\n    \n  ","reactive":true},{"tag":"FileList","attrs":{"repeat":"dsx.variable.fileSettings","key":"key","setting":"{{ dsx.this.key }}","title":"{{ dsx.this.title }}","description":"{{ dsx.this.description }}","footer":"{{ dsx.this.footer }}","files":"{{ dsx.this.rows }}","addable":"{{ dsx.this.canAdd }}","busy":"{{ dsx.action.uploadFiles.pending }}","playing":"{{ dsx.variable.playing }}","on:add":"dsx.action.pickFiles({ key: dsx.this.setting })","on:play":"dsx.action.play({ key: dsx.this.setting, ref: dsx.this.ref })"},"children":[],"text":"","reactive":true},{"tag":"sheet","attrs":{"detents":"content","present":"dsx.variable.renaming != null","title":"Rename","close":"leading","action":"Save","action-disabled":"{{ dsx.variable.renameText.trim() == '' }}","on:action":"dsx.action.saveRename()","on:dismiss":"dsx.variable.renaming = null"},"children":[{"tag":"ListGroup","attrs":{"header":"{{ dsx.variable.renaming == null ? '' : dsx.variable.renaming.title }}","footer":"The name a push payload sends. Letters, digits and underscores: Order Ready becomes order_ready."},"children":[{"tag":"SettingsRow","attrs":{"title":"Push name"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.renameText","aria-label":"Push name","on:submit":"dsx.action.saveRename()"},"children":[],"text":"","reactive":true}],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true}],"text":"\n    \n  ","reactive":true},{"tag":"audio","attrs":{"src":"{{ dsx.variable.playSrc }}","autoplay":"true","visible-if":"dsx.variable.playSrc != ''","on:ended":"dsx.action.stopPlay()","on:error":"dsx.action.stopPlay()"},"children":[],"text":"","reactive":true},{"tag":"ListGroup","attrs":{"header":"Where your server runs","footer":"{{ dsx.variable.hostFooter }}","visible-if":"dsx.variable.serverFields.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"icon":"server.rack","title":"Host","visible-if":"!dsx.variable.hostKnown"},"children":[{"tag":"picker","attrs":{"aria-label":"Host","bind":"dsx.variable.host","options-key":"dsx.variable.hosts","value-field":"id","label-field":"title"},"children":[],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"SettingsRow","attrs":{"icon":"arrow.up.right","title":"Open {{ dsx.variable.hostRow == null ? '' : dsx.variable.hostRow.title }}","tone":"accent","tappable":"true","visible-if":"dsx.variable.hostRow != null && dsx.variable.hostRow.url != ''","on:tap":"dsx.module.browser.open({ url: dsx.variable.hostRow.url })"},"children":[],"text":"","reactive":true}],"text":"\n    \n    \n  ","reactive":true},{"tag":"ListGroup","attrs":{"header":"Files","visible-if":"dsx.variable.files.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.files","key":"path","icon":"doc","title":"{{ dsx.this.label }}","subtitle":"{{ dsx.this.description }}"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.this.added ? 'Added' : 'Not added' }}","role":"{{ dsx.this.added ? 'success' : 'warning' }}"},"children":[],"text":"","reactive":true},{"tag":"button","attrs":{"icon":"square.and.arrow.up","label":"{{ dsx.this.added ? 'Replace' : 'Upload' }}","aria-label":"Upload {{ dsx.this.label }}","on:tap":"dsx.action.upload()"},"children":[],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true}],"text":"\n    \n  ","reactive":true},{"tag":"ListGroup","attrs":{"header":"Native text translations","visible-if":"dsx.variable.translationLinks.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.translationLinks","key":"id","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}","icon":"globe","chevron":"true","tappable":"true","on:tap":"dsx.module.route.push({ path: '/apps/' + dsx.attribute.projectId + '/languages' })"},"children":[],"text":"","reactive":true}],"text":"\n    \n  ","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.isDirty","footer":"{{ dsx.variable.appliesLine }}"},"children":[{"tag":"SettingsRow","attrs":{"icon":"square.and.arrow.down","title":"Save Changes","tone":"accent","tappable":"true","on:tap":"dsx.action.save()"},"children":[],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"icon":"arrow.uturn.backward","title":"Revert","tappable":"true","on:tap":"dsx.action.revert()"},"children":[],"text":"","reactive":true}],"text":"\n    \n    \n  ","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"!dsx.action.load.pending && !dsx.variable.hasSettings && dsx.variable.fileSettings.length == 0 && dsx.variable.error == ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"slider.horizontal.3","title":"Nothing to configure","subtitle":"This package works without settings."},"children":[],"text":"","reactive":true}],"text":"\n    \n  ","reactive":true}],"text":"\n  \n\n  \n\n  \n\n  \n\n  \n  \n  \n\n  \n\n  \n\n  \n\n  \n\n  \n","reactive":true},"reactive":true,"language":"1"},"platform.PackageDestination":{"name":"PackageDestination","scheme":"platform","head":{"attributes":[],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"projectSnapshot","body":"\n      const workspace = dsx.module.convertdata.context.workspace\n      const chrome = dsx.module.convertdata.context.chrome\n      return chrome != null &amp;&amp; chrome.projectsFor == workspace &amp;&amp; Array.isArray(chrome.projects)\n        ? { workspace: workspace, items: chrome.projects.filter(x => x.stage != 'v3') }\n        : { workspace: null, items: [] }\n    ","computed":false},{"as":"target","body":"\n      const items = dsx.variable.projectSnapshot.items\n      const selected = dsx.module.convertdata.context.packageWorkspace == dsx.module.convertdata.context.workspace ? dsx.module.convertdata.context.packageProjectId : ''\n      return items.some(p => p.id == selected) ? selected : (items.length &gt; 0 ? items[0].id : '')\n    ","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"loadRequest","body":"return 0","computed":false},{"as":"pickOpen","body":"return false","computed":false},{"as":"loadedWorkspace","body":"return dsx.variable.projectSnapshot.workspace","computed":true},{"as":"projects","body":"return dsx.variable.loadedWorkspace == dsx.module.convertdata.context.workspace ? dsx.variable.projectSnapshot.items : []","computed":true},{"as":"choices","body":"\n      return dsx.variable.projects.map(p => ({ ...p, checked: p.id == dsx.variable.target ? 'true' : 'false' }))\n    ","computed":true},{"as":"reading","body":"return dsx.variable.error == '' &amp;&amp; (dsx.variable.loadedWorkspace == null || dsx.variable.loadedWorkspace != dsx.module.convertdata.context.workspace)","computed":true},{"as":"current","body":"return dsx.variable.projects.find(p => p.id == dsx.variable.target) || null","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      const request = dsx.variable.loadRequest + 1\n      dsx.variable.loadRequest = request\n      const workspace = dsx.module.convertdata.context.workspace\n      const r = await dsx.module.convertdata.projects({ workspace: workspace })\n      if (request != dsx.variable.loadRequest || workspace != dsx.module.convertdata.context.workspace) { return }\n      if (!r.ok) { dsx.variable.error = 'Despia did not answer. Check your connection and try again.'; return }\n      dsx.variable.projectSnapshot = { workspace: workspace, items: r.data.items.filter(x => x.stage != 'v3') }\n      const selected = dsx.module.convertdata.context.packageWorkspace == dsx.module.convertdata.context.workspace ? dsx.module.convertdata.context.packageProjectId : ''\n      dsx.variable.target = dsx.variable.projects.some(p => p.id == selected) ? selected : (dsx.variable.projects.length &gt; 0 ? dsx.variable.projects[0].id : '')\n      await dsx.action.select()\n    "},{"as":"choose","inputs":{"id":"dsx.this.id"},"body":"\n      dsx.variable.pickOpen = false\n      dsx.variable.target = id\n      await dsx.action.select()\n    "},{"as":"select","inputs":{},"body":"\n      if (dsx.variable.loadedWorkspace != dsx.module.convertdata.context.workspace) { return }\n      const pick = dsx.variable.projects.find(p => p.id == dsx.variable.target)\n      const r = await dsx.module.convertdata.selectPackageProject({ id: pick == null ? '' : pick.id, name: pick == null ? '' : pick.name })\n      dsx.variable.error = r.ok ? '' : 'Despia did not answer. Check your connection and try again.'\n    "}],"watches":[{"value":"dsx.module.convertdata.context.workspace","handler":"dsx.action.load()"}],"scripts":["\n      function messageOf(r) {\n        if (r.error != null &amp;&amp; r.error.message) { return r.error.message }\n        return r.message || 'The app package list did not load. Try again.'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{"on:appear":"dsx.action.load()"},"children":[{"tag":"ListGroup","attrs":{"header":"Packages for","visible-if":"dsx.variable.current != null || dsx.variable.reading"},"children":[{"tag":"AppRow","attrs":{"app":"{{ dsx.variable.current }}","chevron":"true","visible-if":"dsx.variable.current != null","on:tap":"dsx.variable.pickOpen = true"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"SettingsRow","attrs":{"title":" ","subtitle":" ","chevron":"true","aria-hidden":"true","visible-if":"dsx.variable.current == null"},"children":[{"tag":"skeleton","attrs":{"slot":"leading","__css":"c97"},"children":[],"text":"","reactive":false,"nid":4}],"text":"\n      \n    ","reactive":true,"nid":3}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"sheet","attrs":{"detents":"content","present":"dsx.variable.pickOpen","title":"Which App?","close":"leading","on:dismiss":"dsx.variable.pickOpen = false"},"children":[{"tag":"ListGroup","attrs":{},"children":[{"tag":"AppRow","attrs":{"repeat":"dsx.variable.choices","key":"id","app":"{{ dsx.this }}","checked":"{{ dsx.this.checked }}","on:tap":"dsx.action.choose()"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n      \n    ","reactive":true,"nid":6}],"text":"\n    \n  ","reactive":true,"nid":5},{"tag":"Callout","attrs":{"class":"page-notice","tone":"error","title":"Packages did not load","message":"{{ dsx.variable.error }}","action":"Try Again","visible-if":"dsx.variable.error != ''","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":8}],"text":"\n  \n  \n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.PackageDetail":{"name":"PackageDetail","scheme":"platform","head":{"attributes":[{"as":"entry"},{"as":"project-id","default":"''"},{"as":"installed","default":"[]"},{"as":"selected-project-id","default":"''"},{"as":"selected-project-name","default":"''"},{"as":"installed-version","default":"''"}],"apis":[],"expects":[],"events":[{"as":"changed","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"doneProjectId","body":"return ''","computed":false},{"as":"donePackage","body":"return ''","computed":false},{"as":"sheet","body":"return ''","computed":false},{"as":"providerChoice","body":"return ''","computed":false},{"as":"metadata","body":"return null","computed":false},{"as":"providerSnapshot","body":"return null","computed":false},{"as":"history","body":"return []","computed":false},{"as":"historyPackage","body":"return ''","computed":false},{"as":"historyError","body":"return ''","computed":false},{"as":"historyLoaded","body":"return dsx.attribute.entry != null &amp;&amp; dsx.variable.historyPackage == dsx.attribute.entry.package","computed":true},{"as":"changelog","body":"return dsx.variable.historyLoaded ? dsx.variable.history : []","computed":true},{"as":"showChangelog","body":"return dsx.variable.changelog.length > 1 || (dsx.variable.changelog.length == 1 &amp;&amp; (dsx.variable.changelog[0].channel != 'checkpoint' || dsx.variable.changelog[0].notes != ''))","computed":true},{"as":"has","body":"return dsx.attribute.entry != null","computed":true},{"as":"providerEntry","body":"return dsx.variable.has &amp;&amp; dsx.variable.metadata != null &amp;&amp; dsx.variable.metadata.package == dsx.attribute.entry.package ? { ...dsx.attribute.entry, ...dsx.variable.metadata.options } : dsx.attribute.entry","computed":true},{"as":"offered","body":"return dsx.attribute.entry.published == true || (dsx.variable.hasProviders &amp;&amp; dsx.variable.providerEntry.providers.some(p => p.status == 'available' &amp;&amp; p.published == true))","computed":true},{"as":"featureLabels","body":"return dsx.variable.providerEntry != null &amp;&amp; dsx.variable.providerEntry.featureLabels != null ? dsx.variable.providerEntry.featureLabels : ({})","computed":true},{"as":"hasProviders","body":"return dsx.variable.providerEntry != null &amp;&amp; Array.isArray(dsx.variable.providerEntry.providers)","computed":true},{"as":"inUse","body":"return dsx.variable.providerSnapshot != null &amp;&amp; dsx.variable.has &amp;&amp; dsx.variable.providerSnapshot.package == dsx.attribute.entry.package &amp;&amp; dsx.variable.providerSnapshot.projectId == dsx.variable.effectiveProjectId ? dsx.variable.providerSnapshot.path : ''","computed":true},{"as":"effectiveProjectId","body":"return dsx.attribute.projectId || dsx.attribute.selectedProjectId","computed":true},{"as":"added","body":"return dsx.attribute.entry != null &amp;&amp; (dsx.attribute.installed.includes(dsx.attribute.entry.package) || (dsx.variable.donePackage == dsx.attribute.entry.package &amp;&amp; dsx.variable.doneProjectId == dsx.variable.effectiveProjectId))","computed":true},{"as":"addedLabel","body":"return dsx.attribute.projectId != '' ? 'Added' : 'Added to ' + dsx.attribute.selectedProjectName","computed":true},{"as":"aboutTitle","body":"return dsx.attribute.entry == null ? '' : 'About ' + dsx.attribute.entry.title","computed":true},{"as":"subtitle","body":"return dsx.attribute.entry == null ? '' : (dsx.attribute.entry.umbrella != null ? dsx.attribute.entry.umbrella.title : dsx.attribute.entry.summary)","computed":true},{"as":"maker","body":"return dsx.attribute.entry == null || dsx.attribute.entry.vendor == '' ? 'Despia' : dsx.attribute.entry.vendor","computed":true},{"as":"makerMark","body":"return dsx.attribute.entry == null || dsx.attribute.entry.vendorMark == '' ? 'building.2' : dsx.attribute.entry.vendorMark","computed":true},{"as":"caption","body":"\n      if (dsx.attribute.entry == null) { return '' }\n      return [dsx.attribute.entry.vendor != '' ? dsx.attribute.entry.vendor : 'Despia', dsx.attribute.entry.category].join(' · ')\n    ","computed":true},{"as":"targets","body":"return dsx.attribute.entry == null ? [] : dsx.attribute.entry.targets","computed":true},{"as":"settings","body":"return dsx.attribute.entry == null ? [] : dsx.attribute.entry.settings","computed":true},{"as":"latestVersion","body":"return dsx.attribute.entry == null ? '' : (dsx.attribute.entry.version || (dsx.variable.releases.length > 0 ? dsx.variable.releases[0].version : ''))","computed":true},{"as":"installedVersion","body":"return dsx.attribute.installedVersion || ''","computed":true},{"as":"releases","body":"return dsx.attribute.entry == null ? [] : dsx.attribute.entry.releases","computed":true},{"as":"canConfigure","body":"return dsx.variable.added &amp;&amp; dsx.variable.effectiveProjectId != '' &amp;&amp; dsx.variable.settings.length &gt; 0","computed":true},{"as":"cliOn","body":"return dsx.attribute.cliAvailable == true || dsx.attribute.cliAvailable == 'true' || dsx.module.convertdata.context.cliAvailable == true","computed":true}],"formulas":[],"actions":[{"as":"loadHistory","inputs":{},"body":"\n      dsx.variable.historyError = ''\n      if (dsx.attribute.entry == null) { return }\n      const pkg = dsx.attribute.entry.package\n      const r = await dsx.module.convertdata.packageHistory({ package: pkg })\n      if (dsx.attribute.entry == null || dsx.attribute.entry.package != pkg) { return }\n      if (!r.ok) { dsx.variable.historyError = 'The changelog did not load.'; return }\n      dsx.variable.history = r.data.versions\n      dsx.variable.historyPackage = pkg\n      dsx.variable.metadata = { package: pkg, options: Array.isArray(r.data.providers) ? { providers: r.data.providers, features: r.data.features || [], featureLabels: r.data.featureLabels || null } : {} }\n      await dsx.action.loadProvider()\n    "},{"as":"loadProvider","inputs":{},"body":"\n      const id = dsx.variable.effectiveProjectId\n      if (!dsx.variable.hasProviders || id == '') { return }\n      const pkg = dsx.attribute.entry.package\n      const r = await dsx.module.convertdata.packageProvider({ id: id, package: pkg })\n      if (!r.ok || id != dsx.variable.effectiveProjectId || dsx.attribute.entry == null || pkg != dsx.attribute.entry.package) { return }\n      dsx.variable.providerSnapshot = { projectId: id, package: pkg, path: r.data.provider == null ? '' : r.data.provider.path }\n    "},{"as":"addProvider","inputs":{"path":"dsx.this.path"},"body":"\n      dsx.variable.providerChoice = path\n      dsx.variable.sheet = 'add'\n    "},{"as":"openVendor","inputs":{},"body":"await dsx.module.browser.open({ url: dsx.attribute.entry.vendorUrl })"},{"as":"added","inputs":{"projectId":"dsx.this.projectId","package":"dsx.this.package","provider":"dsx.this.provider"},"body":"\n      dsx.variable.doneProjectId = projectId || dsx.variable.effectiveProjectId\n      dsx.variable.donePackage = package || dsx.attribute.entry.package\n      if (provider) { dsx.variable.providerSnapshot = { projectId: dsx.variable.doneProjectId, package: dsx.variable.donePackage, path: provider } }\n      dsx.event('changed')\n    "},{"as":"closeSheet","inputs":{},"body":"dsx.variable.sheet = ''; dsx.variable.providerChoice = ''"}],"watches":[{"value":"dsx.attribute.entry","handler":"dsx.action.loadHistory()","immediate":true},{"value":"dsx.variable.effectiveProjectId","handler":"dsx.action.loadProvider()"}],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"ProductHeader","attrs":{"visible-if":"dsx.variable.has","title":"{{ dsx.attribute.entry.title }}","subtitle":"{{ dsx.variable.subtitle }}","caption":"{{ dsx.variable.caption }}","image":"{{ dsx.attribute.entry.image }}","image-dark":"{{ dsx.attribute.entry.imageDark }}","brand":"{{ dsx.attribute.entry.brand }}","icon":"{{ dsx.attribute.entry.symbol }}","tint":"{{ dsx.attribute.entry.tint }}","__style_reactive":"--dsx-icon-tile-dark-background:{{ dsx.attribute.entry.tintDark }};--dsx-icon-tile-dark-color:{{ dsx.attribute.entry.inkDark }}"},"children":[{"tag":"button","attrs":{"visible-if":"!dsx.variable.added && dsx.attribute.entry.published == true","variant":"prominent","icon":"plus","label":"Add","aria-label":"Add {{ dsx.attribute.entry.title }}","on:tap":"dsx.variable.sheet = 'add'"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"chip","attrs":{"visible-if":"!dsx.variable.offered","label":"Coming soon"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"chip","attrs":{"visible-if":"dsx.variable.added","label":"{{ dsx.variable.addedLabel }}","role":"success"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"button","attrs":{"visible-if":"dsx.variable.canConfigure","variant":"bordered","icon":"slider.horizontal.3","label":"Configure","aria-label":"Configure {{ dsx.attribute.entry.title }}","on:tap":"dsx.variable.sheet = 'configure'"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"button","attrs":{"visible-if":"dsx.attribute.entry.vendorUrl != ''","variant":"bordered","icon":"arrow.up.right","label":"Website","aria-label":"{{ dsx.attribute.entry.vendor }} website","on:tap":"dsx.action.openVendor()"},"children":[],"text":"","reactive":true,"nid":6}],"text":"\n    \n    \n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"PackageProviders","attrs":{"visible-if":"dsx.variable.hasProviders","providers":"{{ dsx.variable.providerEntry.providers }}","features":"{{ dsx.variable.providerEntry.features || [] }}","labels":"{{ dsx.variable.featureLabels }}","in-use":"{{ dsx.variable.inUse }}","title":"{{ dsx.attribute.entry.title }}","on:add":"dsx.action.addProvider()"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"grid","attrs":{"columns":"adaptive","minimum":"420","scroll":"false","visible-if":"dsx.variable.has"},"children":[{"tag":"ListGroup","attrs":{"header":"About","visible-if":"dsx.variable.has"},"children":[{"tag":"ReadMore","attrs":{"title":"{{ dsx.variable.aboutTitle }}","value":"{{ dsx.attribute.entry.description }}"},"children":[],"text":"","reactive":true,"nid":10}],"text":"\n      \n    ","reactive":true,"nid":9},{"tag":"ListGroup","attrs":{"header":"At a glance","visible-if":"dsx.variable.has"},"children":[{"tag":"SettingsRow","attrs":{"icon":"checkmark.circle","title":"{{ dsx.attribute.entry.worksOn }}"},"children":[],"text":"","reactive":true,"nid":12},{"tag":"SettingsRow","attrs":{"icon":"shippingbox","title":"Adds to your app","subtitle":"{{ dsx.attribute.entry.counts }}"},"children":[],"text":"","reactive":true,"nid":13},{"tag":"SettingsRow","attrs":{"icon":"{{ dsx.variable.makerMark }}","title":"Made by","value":"{{ dsx.variable.maker }}"},"children":[],"text":"","reactive":true,"nid":14},{"tag":"SettingsRow","attrs":{"icon":"tag","title":"Version","value":"{{ dsx.attribute.entry.version }}","visible-if":"dsx.attribute.entry.version != ''"},"children":[],"text":"","reactive":true,"nid":15},{"tag":"SettingsRow","attrs":{"icon":"square.grid.2x2","title":"Category","value":"{{ dsx.attribute.entry.category }}"},"children":[],"text":"","reactive":true,"nid":16}],"text":"\n      \n      \n      \n      \n      \n    ","reactive":true,"nid":11}],"text":"\n    \n\n    \n  ","reactive":true,"nid":8},{"tag":"grid","attrs":{"bind":"dsx.variable.targets","key":"id","columns":"adaptive","minimum":"420","scroll":"false"},"children":[{"tag":"stack","attrs":{},"children":[{"tag":"ListGroup","attrs":{"header":"{{ dsx.this.platform }}"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.stacks","key":"id","icon":"{{ dsx.this.mark }}","title":"{{ dsx.this.language }}","subtitle":"{{ dsx.this.line }}"},"children":[{"tag":"image","attrs":{"visible-if":"dsx.this.platformMark != ''","icon":"{{ dsx.this.platformMark }}","aria-label":"{{ dsx.this.os != '' ? dsx.this.os : dsx.this.language }}"},"children":[],"text":"","reactive":true,"nid":21}],"text":"\n          \n        ","reactive":true,"nid":20},{"tag":"SettingsRow","attrs":{"visible-if":"!dsx.this.available","icon":"{{ dsx.this.platformMark }}","title":"{{ dsx.this.line }}","subtitle":"{{ dsx.this.reason }}","badge":"Not available","badge-role":"warning"},"children":[],"text":"","reactive":true,"nid":22},{"tag":"SettingsRow","attrs":{"visible-if":"dsx.this.available && dsx.this.reason != ''","icon":"exclamationmark.circle","title":"Some actions are not available","subtitle":"{{ dsx.this.reason }}"},"children":[],"text":"","reactive":true,"nid":23},{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.libraries","key":"id","icon":"{{ dsx.this.mark }}","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.ecosystem }}","code":"{{ dsx.this.coordinate }}","value":"{{ dsx.this.version }}"},"children":[{"tag":"CopyButton","attrs":{"value":"{{ dsx.this.coordinate }}","label":"Copy"},"children":[],"text":"","reactive":true,"nid":25}],"text":"\n          \n        ","reactive":true,"nid":24}],"text":"\n        \n        \n        \n        \n      ","reactive":true,"nid":19},{"tag":"ListGroup","attrs":{"header":"{{ dsx.this.platform }} Permissions","visible-if":"dsx.this.available && dsx.this.permissions.length > 0","footer":"{{ dsx.this.id == 'ios' ? 'Asks: iOS shows the person a prompt with the purpose string the first time the app uses it.' : 'Asks: Android shows the person a prompt the first time the app uses it.' }}"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.permissions","key":"id","icon":"{{ dsx.this.symbol }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.line }}","code":"{{ dsx.this.key }}","badge":"{{ dsx.this.ask }}","badge-role":"info"},"children":[],"text":"","reactive":true,"nid":27}],"text":"\n        \n      ","reactive":true,"nid":26},{"tag":"ListGroup","attrs":{"header":"{{ dsx.this.platform }} Capabilities","visible-if":"dsx.this.available && dsx.this.capabilities.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.capabilities","key":"id","icon":"{{ dsx.this.symbol }}","title":"{{ dsx.this.title }}","code":"{{ dsx.this.key }}"},"children":[],"text":"","reactive":true,"nid":29}],"text":"\n        \n      ","reactive":true,"nid":28}],"text":"\n      \n      \n      \n    ","reactive":true,"nid":18}],"text":"\n    \n  ","reactive":true,"nid":17},{"tag":"ListGroup","attrs":{"header":"You will set","footer":"Set these in the project once the package is added.","visible-if":"dsx.variable.settings.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.settings","key":"id","icon":"{{ dsx.this.secret ? 'key.fill' : 'slider.horizontal.3' }}","title":"{{ dsx.this.label }}","subtitle":"{{ dsx.this.description }}","badge":"{{ dsx.this.secret ? 'Secret' : '' }}"},"children":[],"text":"","reactive":true,"nid":31}],"text":"\n    \n  ","reactive":true,"nid":30},{"tag":"PackageDocs","attrs":{"visible-if":"dsx.variable.has && dsx.attribute.entry.docs != ''","entry":"{{ dsx.attribute.entry }}"},"children":[],"text":"","reactive":true,"nid":32},{"tag":"ListGroup","attrs":{"header":"Changelog","visible-if":"dsx.variable.showChangelog || (dsx.variable.has && !dsx.variable.historyLoaded && dsx.variable.historyError == '')"},"children":[{"tag":"SettingsRow","attrs":{"title":"Loading changelog…","visible-if":"!dsx.variable.historyLoaded"},"children":[],"text":"","reactive":true,"nid":34},{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.changelog","key":"version","icon":"clock","title":"{{ dsx.this.version }}","subtitle":"{{ dsx.this.notes }}","value":"{{ dsx.this.current ? 'Current' : '' }}","badge":"{{ dsx.this.breaking ? 'Breaking' : '' }}","badge-role":"warning"},"children":[],"text":"","reactive":true,"nid":35}],"text":"\n    \n    \n  ","reactive":true,"nid":33},{"tag":"Callout","attrs":{"title":"Changelog","message":"{{ dsx.variable.historyError }}","action":"Retry","visible-if":"dsx.variable.historyError != ''","on:action":"dsx.action.loadHistory()"},"children":[],"text":"","reactive":true,"nid":36},{"tag":"ListGroup","attrs":{"header":"Versions","footer":"{{ dsx.variable.cliOn ? 'Read only. Roll back with the Despia CLI.' : 'Read only.' }}","visible-if":"dsx.variable.releases.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"icon":"tag","title":"Latest version","value":"{{ dsx.variable.latestVersion }}","visible-if":"dsx.variable.latestVersion != ''"},"children":[],"text":"","reactive":true,"nid":38},{"tag":"SettingsRow","attrs":{"visible-if":"dsx.variable.installedVersion != ''","icon":"checkmark.circle","title":"In this app","value":"{{ dsx.variable.installedVersion }}"},"children":[],"text":"","reactive":true,"nid":39},{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.releases","key":"id","icon":"clock","title":"{{ dsx.this.version }}","subtitle":"{{ dsx.this.line }}","badge":"{{ dsx.this.latest ? 'Latest' : '' }}"},"children":[],"text":"","reactive":true,"nid":40}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":37},{"tag":"AddPackageSheet","attrs":{"present":"{{ dsx.variable.sheet != '' }}","entry":"{{ dsx.attribute.entry }}","provider":"{{ dsx.variable.providerChoice }}","project-id":"{{ dsx.variable.sheet == 'configure' ? dsx.variable.effectiveProjectId : dsx.attribute.projectId }}","mode":"{{ dsx.variable.sheet }}","on:close":"dsx.action.closeSheet()","on:added":"dsx.action.added()"},"children":[],"text":"","reactive":true,"nid":41}],"text":"\n  \n\n  \n\n  \n\n  \n  \n  \n  \n\n  \n\n  \n  \n\n  \n  \n\n  \n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.PackageDocs":{"name":"PackageDocs","scheme":"platform","head":{"attributes":[{"as":"entry"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"view","body":"return null","computed":false},{"as":"docsSiteLive","body":"return false","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"path","body":"return dsx.attribute.entry == null ? '' : (dsx.attribute.entry.docs || '')","computed":true},{"as":"sections","body":"return dsx.variable.view == null ? [] : dsx.variable.view.sections","computed":true},{"as":"shown","body":"return dsx.variable.sections.length &gt; 0","computed":true},{"as":"docsUrl","body":"return dsx.variable.view == null || !dsx.variable.docsSiteLive ? '' : dsx.variable.view.docsUrl","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      if (dsx.variable.path == '') { return }\n      const r = await dsx.module.convertdata.packageDocs({ path: dsx.variable.path, version: dsx.attribute.entry.docsVersion })\n      if (!r.ok) {\n        if (r.error == 'not_found') { dsx.variable.view = null; dsx.variable.error = ''; return }\n        dsx.variable.error = 'Despia did not answer. Check your connection and try again.'\n        return\n      }\n      dsx.variable.error = ''\n      dsx.variable.view = r.data.view\n    "},{"as":"openDocs","inputs":{},"body":"dsx.module.route.push({ path: dsx.variable.docsUrl })"}],"watches":[{"value":"dsx.variable.path","handler":"dsx.action.load()"}],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"on:appear":"dsx.action.load()"},"children":[{"tag":"Callout","attrs":{"class":"page-notice","tone":"error","title":"The documentation did not load","message":"{{ dsx.variable.error }}","action":"Try Again","visible-if":"dsx.variable.error != ''","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"ListGroup","attrs":{"header":"Documentation","visible-if":"dsx.variable.shown && dsx.variable.docsUrl != ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"book","title":"Open in docs","subtitle":"This page on docs.despia.com","value-icon":"arrow.up.right","tappable":"true","on:tap":"dsx.action.openDocs()"},"children":[],"text":"","reactive":true,"nid":3}],"text":"\n    \n  ","reactive":true,"nid":2},{"tag":"ListGroup","attrs":{"repeat":"dsx.variable.sections","key":"id","header":"{{ dsx.this.title }}"},"children":[{"tag":"markdown","attrs":{"value":"{{ dsx.this.markdown }}","copyCode":"true","externalLinks":"true"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n    \n  ","reactive":true,"nid":4}],"text":"\n  \n\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.PackageExplorer":{"name":"PackageExplorer","scheme":"platform","head":{"attributes":[{"as":"project-id","default":"''"},{"as":"installed","default":"[]"},{"as":"selected-project-id","default":"''"},{"as":"selected-project-name","default":"''"},{"as":"view","default":"'grid'"}],"apis":[],"expects":[],"events":[{"as":"changed","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"query","body":"return ''","computed":false},{"as":"category","body":"return 'All'","computed":false},{"as":"categories","body":"return 'All'","computed":false},{"as":"items","body":"return []","computed":false},{"as":"total","body":"return 0","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"loaded","body":"return false","computed":false},{"as":"open","body":"return null","computed":false},{"as":"adding","body":"return null","computed":false},{"as":"sheetMode","body":"return 'add'","computed":false},{"as":"inProject","body":"return dsx.attribute.projectId != ''","computed":true},{"as":"effectiveProjectId","body":"return dsx.attribute.projectId || dsx.attribute.selectedProjectId","computed":true},{"as":"view","body":"return dsx.attribute.view == 'list' ? 'list' : 'grid'","computed":true},{"as":"compact","body":"return dsx.screen.width &lt; 760","computed":true},{"as":"cards","body":"\n      return dsx.variable.items.map(p => {\n        const added = dsx.attribute.installed.includes(p.package)\n        return { ...p, entry: p, added: added,\n          status: added ? (dsx.variable.inProject ? 'Added' : 'Added to ' + dsx.attribute.selectedProjectName) : (p.published != true ? 'Coming soon' : (p.vendor != '' ? p.vendor : 'Despia')),\n          statusIcon: added ? 'checkmark.circle.fill' : p.vendorMark,\n          action: added ? 'Configure' : 'Add',\n          actionIcon: added ? 'slider.horizontal.3' : 'plus',\n          rowLine: p.summary }\n      })\n    ","computed":true},{"as":"sections","body":"\n      const group = c => c.umbrella != null ? 'umbrella:' + c.umbrella.path : c.category\n      const names = dsx.variable.cards.map(c => group(c)).filter((x, i, all) => all.indexOf(x) == i)\n      return names.map(n => {\n        const rows = dsx.variable.cards.filter(c => group(c) == n)\n        return { id: n, title: rows[0].umbrella != null ? rows[0].umbrella.title : rows[0].category, rows: rows }\n      })\n    ","computed":true},{"as":"placeholder","body":"return dsx.variable.total &gt; 0 ? 'Search ' + dsx.variable.total + ' packages' : 'Search packages'","computed":true},{"as":"noMatch","body":"return dsx.variable.loaded &amp;&amp; dsx.variable.error == '' &amp;&amp; dsx.variable.items.length == 0","computed":true}],"formulas":[],"actions":[{"as":"search","inputs":{},"body":"\n      const r = await dsx.module.convertdata.catalog({ query: dsx.variable.query, category: dsx.variable.category })\n      dsx.variable.loaded = true\n      if (!r.ok) { dsx.variable.error = 'Despia did not answer. Check your connection and try again.'; return }\n      dsx.variable.error = ''\n      dsx.variable.items = r.data.items\n      dsx.variable.total = r.data.total\n      dsx.variable.categories = ['All'].concat(r.data.categories).join(',')\n    "},{"as":"clear","inputs":{},"body":"\n      dsx.variable.query = ''\n      dsx.variable.category = 'All'\n      await dsx.action.search()\n    "},{"as":"show","inputs":{"entry":"dsx.this.entry"},"body":"\n      if (dsx.variable.inProject) { dsx.variable.open = entry; return }\n      dsx.module.route.push({ path: '/explore/' + encodeURIComponent(entry.id), column: 'detail' })\n    "},{"as":"cardAction","inputs":{"entry":"dsx.this.entry"},"body":"\n      if (entry.published != true &amp;&amp; !dsx.attribute.installed.includes(entry.package)) { return }\n      dsx.variable.sheetMode = dsx.attribute.installed.includes(entry.package) ? 'configure' : 'add'\n      dsx.variable.adding = entry\n    "},{"as":"cardAdded","inputs":{},"body":"\n      dsx.event('changed')\n    "},{"as":"detailChanged","inputs":{},"body":"\n      dsx.variable.open = null\n      dsx.event('changed')\n    "}],"watches":[],"scripts":["\n      function messageOf(r) {\n        if (r == null) { return 'Despia did not answer. Try again in a moment.' }\n        if (r.error != null &amp;&amp; typeof r.error == 'object' &amp;&amp; r.error.message) { return r.error.message }\n        if (r.message) { return r.message }\n        return 'Despia did not answer. Try again in a moment.'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"package-explorer","on:appear":"dsx.action.search()"},"children":[{"tag":"searchbar","attrs":{"aria-label":"Search packages","bind":"dsx.variable.query","placeholder":"{{ dsx.variable.placeholder }}","on:change":"dsx.action.search()","on:submit":"dsx.action.search()","on:clear":"dsx.action.search()"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"scopebar","attrs":{"label":"Category","bind":"dsx.variable.category","options":"{{ dsx.variable.categories }}","visible-if":"!dsx.variable.compact","on:change":"dsx.action.search()"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.compact"},"children":[{"tag":"SettingsRow","attrs":{"icon":"line.3.horizontal.decrease.circle","title":"Category"},"children":[{"tag":"picker","attrs":{"aria-label":"Category","bind":"dsx.variable.category","options":"{{ dsx.variable.categories }}","on:change":"dsx.action.search()"},"children":[],"text":"","reactive":true,"nid":5}],"text":"","reactive":true,"nid":4}],"text":"\n    \n  ","reactive":true,"nid":3},{"tag":"Callout","attrs":{"class":"page-notice","tone":"error","title":"Packages did not load","message":"{{ dsx.variable.error }}","action":"Try Again","visible-if":"dsx.variable.error != ''","on:action":"dsx.action.search()"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"EmptyState","attrs":{"visible-if":"dsx.variable.noMatch","icon":"magnifyingglass","title":"No packages match this search or category.","action":"Clear","on:action":"dsx.action.clear()"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"node","attrs":{"tag":"{{ dsx.variable.noMatch ? '' : 'stack' }}"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.variable.sections","key":"id","visible-if":"dsx.variable.view == 'grid' && !dsx.variable.noMatch"},"children":[{"tag":"ListGroup","attrs":{"header":"{{ dsx.this.title }}"},"children":[],"text":"","reactive":true,"nid":10},{"tag":"grid","attrs":{"class":"package-grid","bind":"dsx.this.rows","key":"id","columns":"adaptive","minimum":"300","scroll":"false","__steers":"1"},"children":[{"tag":"ItemCard","attrs":{"title":"{{ dsx.this.title }}","image":"{{ dsx.this.image }}","image-dark":"{{ dsx.this.imageDark }}","brand":"{{ dsx.this.brand }}","icon":"{{ dsx.this.symbol }}","tint":"{{ dsx.this.tint }}","status-icon":"{{ dsx.this.statusIcon }}","status":"{{ dsx.this.status }}","on:tap":"dsx.action.show()","__style_reactive":"--dsx-icon-tile-dark-background:{{ dsx.this.tintDark }};--dsx-icon-tile-dark-color:{{ dsx.this.inkDark }}"},"children":[{"tag":"text","attrs":{"class":"package-description","value":"{{ dsx.this.summary }}"},"children":[],"text":"","reactive":true,"nid":13},{"tag":"button","attrs":{"visible-if":"dsx.this.added || dsx.this.published == true","slot":"actions","variant":"bordered","icon":"{{ dsx.this.actionIcon }}","control-size":"small","label":"{{ dsx.this.action }}","aria-label":"{{ dsx.this.action }} {{ dsx.this.title }}","on:tap":"dsx.action.cardAction()"},"children":[],"text":"","reactive":true,"nid":14}],"text":"\n        \n        \n      ","reactive":true,"nid":12}],"text":"\n      \n    ","reactive":true,"nid":11}],"text":"\n    \n    \n  ","reactive":true,"nid":9},{"tag":"ListGroup","attrs":{"repeat":"dsx.variable.sections","key":"id","header":"{{ dsx.this.title }}","visible-if":"dsx.variable.view == 'list' && !dsx.variable.noMatch"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.rows","key":"id","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.rowLine }}","badge":"{{ dsx.this.published == true ? '' : 'Coming soon' }}","checked":"{{ dsx.this.added }}","chevron":"true","tappable":"true","on:tap":"dsx.action.show()"},"children":[{"tag":"IconTile","attrs":{"slot":"leading","src":"{{ dsx.this.image }}","src-dark":"{{ dsx.this.imageDark }}","brand":"{{ dsx.this.brand }}","icon":"{{ dsx.this.symbol }}","tint":"{{ dsx.this.tint }}","name":"{{ dsx.this.title }}","__style_reactive":"--dsx-icon-tile-dark-background:{{ dsx.this.tintDark }};--dsx-icon-tile-dark-color:{{ dsx.this.inkDark }}"},"children":[],"text":"","reactive":true,"nid":17}],"text":"\n      \n    ","reactive":true,"nid":16}],"text":"\n    \n  ","reactive":true,"nid":15}],"text":"\n  \n  \n\n  \n  \n  ","reactive":true,"nid":8},{"tag":"sheet","attrs":{"detents":"full","present":"dsx.variable.open != null","title":"{{ dsx.variable.open.title }}","on:dismiss":"dsx.variable.open = null"},"children":[{"tag":"PackageDetail","attrs":{"entry":"{{ dsx.variable.open }}","project-id":"{{ dsx.attribute.projectId }}","installed":"{{ dsx.attribute.installed }}","selected-project-id":"{{ dsx.attribute.selectedProjectId }}","selected-project-name":"{{ dsx.attribute.selectedProjectName }}","on:changed":"dsx.action.detailChanged()"},"children":[],"text":"","reactive":true,"nid":19}],"text":"\n    \n  ","reactive":true,"nid":18},{"tag":"AddPackageSheet","attrs":{"present":"{{ dsx.variable.adding != null }}","entry":"{{ dsx.variable.adding }}","project-id":"{{ dsx.variable.sheetMode == 'configure' ? dsx.variable.effectiveProjectId : dsx.attribute.projectId }}","mode":"{{ dsx.variable.sheetMode }}","on:close":"dsx.variable.adding = null","on:added":"dsx.action.cardAdded()"},"children":[],"text":"","reactive":true,"nid":20}],"text":"\n  \n\n  \n  \n\n  \n\n\n  \n  \n\n  \n  \n\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.PackageProviders":{"name":"PackageProviders","scheme":"platform","head":{"attributes":[{"as":"providers","default":"[]"},{"as":"features","default":"[]"},{"as":"labels","default":"{}"},{"as":"in-use","default":"''"},{"as":"title","default":"''"}],"apis":[],"expects":[],"events":[{"as":"add","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"providers","body":"\n      return dsx.attribute.providers.map(p => ({ ...p, brand: p.brand || '', image: p.image || '', available: p.status == 'available' &amp;&amp; p.published == true,\n        includes: 'Adding this provider includes ' + dsx.attribute.title + '.',\n        badge: p.status == 'coming_soon' || p.published != true ? 'Coming soon' : (p.maturity == 'alpha' ? 'Alpha' : 'Verified'),\n        inUse: dsx.attribute.inUse != '' &amp;&amp; p.path == dsx.attribute.inUse }))\n    ","computed":true},{"as":"available","body":"return dsx.variable.providers.filter(p => p.available)","computed":true},{"as":"described","body":"return dsx.variable.available.filter(p => p.serves != null &amp;&amp; Object.keys(p.serves).length &gt; 0)","computed":true},{"as":"compact","body":"return dsx.screen.width &lt; 760","computed":true},{"as":"columns","body":"return ['Feature'].concat(dsx.variable.described.map(p => p.vendor.replace(/,/g, ' '))).join(',')","computed":true},{"as":"fields","body":"return ['feature'].concat(dsx.variable.described.map((p, i) => 'p' + i)).join(',')","computed":true},{"as":"rows","body":"\n      return dsx.attribute.features.map(f => {\n        const row = { feature: dsx.attribute.labels[f] || f }\n        let i = 0\n        for (const p of dsx.variable.described) { row['p' + i] = platforms(p, f); i = i + 1 }\n        return row\n      })\n    ","computed":true},{"as":"lists","body":"\n      return dsx.variable.described.map(p => ({ ...p, rows: dsx.attribute.features.map(f => ({ feature: dsx.attribute.labels[f] || f, platforms: platforms(p, f) })) }))\n    ","computed":true}],"formulas":[],"actions":[{"as":"add","inputs":{"path":"dsx.this.path"},"body":"\n      if (!dsx.variable.available.some(p => p.path == path &amp;&amp; !p.inUse)) { return }\n      dsx.event('add', { path: path })\n    "}],"watches":[],"scripts":["\n      function platforms(provider, feature) {\n        const lanes = provider.serves == null ? [] : provider.serves[feature]\n        const names = { ios: 'iOS', swift: 'iOS', android: 'Android', kotlin: 'Android', web: 'Web', macos: 'macOS', windows: 'Windows', linux: 'Linux', desktop: 'Desktop' }\n        return Array.isArray(lanes) &amp;&amp; lanes.length &gt; 0 ? lanes.map(l => names[l] || l).join(', ') : 'Not supported'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"ListGroup","attrs":{"header":"Providers"},"children":[],"text":"","reactive":true},{"tag":"grid","attrs":{"columns":"adaptive","minimum":"300","scroll":"false","bind":"dsx.variable.providers","key":"path"},"children":[{"tag":"Card","attrs":{},"children":[{"tag":"hstack","attrs":{},"children":[{"tag":"image","attrs":{"class":"dsx-settings-row-glyph","visible-if":"dsx.this.brand != ''","icon":"{{ dsx.this.brand }}","aria-label":"{{ dsx.this.vendor }} logo"},"children":[],"text":"","reactive":true},{"tag":"image","attrs":{"class":"dsx-settings-row-image","visible-if":"dsx.this.brand == '' && dsx.this.image != ''","src":"{{ dsx.this.image }}","aria-label":"{{ dsx.this.vendor }} logo"},"children":[],"text":"","reactive":true},{"tag":"text","attrs":{"type":"headline","role":"heading","value":"{{ dsx.this.vendor }}"},"children":[],"text":"","reactive":true}],"text":"\n        \n        \n        \n      ","reactive":true},{"tag":"hstack","attrs":{},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.this.badge }}"},"children":[],"text":"","reactive":true},{"tag":"chip","attrs":{"visible-if":"dsx.this.inUse","label":"In use","role":"success"},"children":[],"text":"","reactive":true}],"text":"\n        \n        \n      ","reactive":true},{"tag":"text","attrs":{"visible-if":"dsx.this.title != dsx.this.vendor","value":"{{ dsx.this.title }}"},"children":[],"text":"","reactive":true},{"tag":"text","attrs":{"value":"{{ dsx.this.includes }}"},"children":[],"text":"","reactive":true},{"tag":"button","attrs":{"variant":"bordered","icon":"plus","label":"Add","aria-label":"Add {{ dsx.this.vendor }}","disabled-if":"!dsx.this.available || dsx.this.inUse","on:tap":"dsx.action.add()"},"children":[],"text":"","reactive":true}],"text":"\n      \n      \n      \n      \n      \n    ","reactive":true}],"text":"\n    \n  ","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.providers.length == 0"},"children":[{"tag":"SettingsRow","attrs":{"title":"No providers yet"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.providers.length > 0 && dsx.variable.available.length == 0"},"children":[{"tag":"SettingsRow","attrs":{"title":"Providers are coming soon"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"ListGroup","attrs":{"header":"Features","visible-if":"dsx.variable.described.length > 0 && dsx.attribute.features.length > 0 && !dsx.variable.compact"},"children":[{"tag":"table","attrs":{"aria-label":"Provider features","columns":"{{ dsx.variable.columns }}","fields":"{{ dsx.variable.fields }}","bind":"dsx.variable.rows"},"children":[],"text":"","reactive":true}],"text":"\n    \n  ","reactive":true},{"tag":"ListGroup","attrs":{"repeat":"dsx.variable.lists","key":"path","header":"{{ dsx.this.vendor + ' features' }}","visible-if":"dsx.variable.compact && dsx.attribute.features.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.rows","key":"feature","title":"{{ dsx.this.feature }}","subtitle":"{{ dsx.this.platforms }}"},"children":[],"text":"","reactive":true}],"text":"\n    \n  ","reactive":true}],"text":"\n  \n\n  \n  \n  \n  \n\n  \n  \n","reactive":true},"reactive":true,"language":"1"},"platform.PlayContentSheet":{"name":"PlayContentSheet","scheme":"platform","head":{"attributes":[{"as":"present","default":"false"},{"as":"project-id","default":"''"},{"as":"submit","default":"false"}],"apis":[],"expects":[],"events":[{"as":"close","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"loadingRows","body":"return Array.from({ length: 31 }, (_, id) => ({ id }))","computed":false},{"as":"view","body":"return null","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"needsStore","body":"return false","computed":false},{"as":"privacyUrl","body":"return ''","computed":false},{"as":"restricted","body":"return false","computed":false},{"as":"instructions","body":"return ''","computed":false},{"as":"ads","body":"return false","computed":false},{"as":"adId","body":"return false","computed":false},{"as":"email","body":"return ''","computed":false},{"as":"iarcCategory","body":"return 'All other app types'","computed":false},{"as":"iarc","body":"return []","computed":false},{"as":"ages","body":"return []","computed":false},{"as":"appeals","body":"return false","computed":false},{"as":"news","body":"return false","computed":false},{"as":"government","body":"return false","computed":false},{"as":"financial","body":"return false","computed":false},{"as":"health","body":"return false","computed":false},{"as":"kind","body":"return 'App'","computed":false},{"as":"category","body":"return ''","computed":false},{"as":"checked","body":"return false","computed":false},{"as":"notice","body":"return ''","computed":false},{"as":"need","body":"return ''","computed":false},{"as":"link","body":"return ''","computed":false},{"as":"installOpen","body":"return false","computed":false},{"as":"loaded","body":"return dsx.variable.view != null","computed":true},{"as":"iarcOptions","body":"return iarcCategories().map(c => c.label).join(',')","computed":true},{"as":"categoryOptions","body":"\n      if (dsx.variable.view == null) { return [] }\n      const list = dsx.variable.kind == 'Game' ? dsx.variable.view.options.gameCategories : dsx.variable.view.options.appCategories\n      return [{ id: '', label: 'Choose…' }].concat(list.map(c => ({ id: c, label: c })))\n    ","computed":true},{"as":"under13","body":"return dsx.variable.ages.some(a => a.on &amp;&amp; (a.id == '0-5' || a.id == '6-8' || a.id == '9-12'))","computed":true},{"as":"answers","body":"\n      const answers = {}\n      for (const q of dsx.variable.iarc) { answers[q.key] = q.on == true }\n      return {\n        privacyPolicyUrl: dsx.variable.privacyUrl.trim(),\n        appAccess: dsx.variable.restricted ? { restricted: true, instructions: dsx.variable.instructions.trim() } : { restricted: false },\n        ads: dsx.variable.ads, advertisingId: dsx.variable.adId,\n        contentRating: { email: dsx.variable.email.trim(), category: iarcId(dsx.variable.iarcCategory), answers },\n        targetAudience: { ages: dsx.variable.ages.filter(a => a.on).map(a => a.id), appealsToChildren: dsx.variable.appeals },\n        news: dsx.variable.news, government: dsx.variable.government, financialFeatures: dsx.variable.financial, health: dsx.variable.health,\n        category: { type: dsx.variable.kind == 'Game' ? 'game' : 'app', category: dsx.variable.category },\n        countries: 'all'\n      }\n    ","computed":true},{"as":"complete","body":"\n      return dsx.variable.privacyUrl.trim().startsWith('https://') &amp;&amp; dsx.variable.email.includes('@') &amp;&amp; dsx.variable.ages.some(a => a.on)\n        &amp;&amp; dsx.variable.category != '' &amp;&amp; (!dsx.variable.restricted || dsx.variable.instructions.trim() != '')\n    ","computed":true},{"as":"canFinish","body":"return dsx.variable.loaded &amp;&amp; dsx.variable.complete &amp;&amp; dsx.variable.checked","computed":true},{"as":"finishLabel","body":"\n      if (dsx.action.finish.pending) { return 'Saving…' }\n      return dsx.attribute.submit ? 'Submit review' : 'Finish setup'\n    ","computed":true},{"as":"finishFooter","body":"\n      if (!dsx.variable.loaded) { return '' }\n      if (!dsx.variable.complete) { return 'Every item above needs an answer: the privacy policy link (https), the rating email, at least one age group and the category.' }\n      if (!dsx.variable.checked) { return 'Check the answers above first.' }\n      if (dsx.variable.restricted || dsx.variable.under13) { return 'Your answers are saved for Play Console. App access with a sign-in and audiences under 13 still need a few answers in Play Console itself; the extension stops there and shows what to fill.' }\n      return dsx.attribute.submit ? 'The Despia extension fills every page in your Play Console tab, rolls out your release and sends it for review once you press Run there.' : 'The Despia extension fills every page in your Play Console tab once you press Run there.'\n    ","computed":true},{"as":"stateFooter","body":"\n      if (dsx.variable.view == null) { return '' }\n      const v = dsx.variable.view\n      if (v.state == 'filled') { return v.filled.submittedAt != null ? 'Filled in Play Console and sent for review. Fill in again after you change an answer.' : 'Filled in Play Console. Fill in again after you change an answer.' }\n      return v.confirmed != null ? 'Your confirmed answers. ' + v.note : 'Suggested from your app. ' + v.note\n    ","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      if (!dsx.attribute.present || dsx.attribute.projectId == '') { return }\n      dsx.variable.checked = false\n      dsx.variable.notice = ''\n      dsx.variable.need = ''\n      dsx.variable.needsStore = false\n      const r = await dsx.module.convertdata.playContent({ id: dsx.attribute.projectId })\n      if (!r.ok) { dsx.variable.view = null; dsx.variable.error = messageOf(r); dsx.variable.needsStore = r.error == 'store_not_connected'; return }\n      dsx.variable.error = ''\n      const v = r.data\n      dsx.variable.view = v\n      const pick = (g) => v.confirmed != null &amp;&amp; v.confirmed.answers[g] !== undefined ? v.confirmed.answers[g] : (v.suggested == null ? null : v.suggested.answers[g])\n      dsx.variable.privacyUrl = pick('privacyPolicyUrl') || ''\n      const access = pick('appAccess')\n      dsx.variable.restricted = access != null &amp;&amp; access.restricted == true\n      dsx.variable.instructions = access != null &amp;&amp; access.restricted ? access.instructions : ''\n      dsx.variable.ads = pick('ads') == true\n      dsx.variable.adId = pick('advertisingId') == true\n      const rating = pick('contentRating')\n      dsx.variable.email = rating == null ? '' : rating.email\n      dsx.variable.iarcCategory = iarcLabel(rating == null ? 'other' : rating.category)\n      dsx.variable.iarc = v.options.iarcQuestions.map(k => ({ key: k, title: iarcTitle(k), on: rating != null &amp;&amp; rating.answers[k] == true }))\n      const audience = pick('targetAudience')\n      dsx.variable.ages = v.options.ageGroups.map(a => ({ id: a, label: ageWords(a), on: audience != null &amp;&amp; audience.ages.includes(a) }))\n      dsx.variable.appeals = audience != null &amp;&amp; audience.appealsToChildren == true\n      dsx.variable.news = pick('news') == true\n      dsx.variable.government = pick('government') == true\n      dsx.variable.financial = pick('financialFeatures') == true\n      dsx.variable.health = pick('health') == true\n      const c = pick('category')\n      dsx.variable.kind = c != null &amp;&amp; c.type == 'game' ? 'Game' : 'App'\n      dsx.variable.category = c == null ? '' : c.category\n    "},{"as":"connectGoogle","inputs":{},"body":"\n      if (!dsx.variable.needsStore) { return }\n      dsx.event('close')\n      const p = '/apps/' + dsx.attribute.projectId\n      dsx.module.route.push({ path: p + '/store-setup?connect=google&return=' + encodeURIComponent(p) })\n    "},{"as":"finish","inputs":{},"body":"\n      if (!dsx.variable.canFinish) { return }\n      const s = await dsx.module.convertdata.savePlayContent({ id: dsx.attribute.projectId, answers: dsx.variable.answers })\n      if (!s.ok) { dsx.variable.error = messageOf(s); return }\n      dsx.variable.view = s.data\n      const f = await dsx.module.convertdata.fillPlayContent({ id: dsx.attribute.projectId, submit: dsx.attribute.submit == true })\n      if (!f.ok) { dsx.variable.error = messageOf(f); return }\n      dsx.variable.error = ''\n      if (f.data.state == 'not_installed') { dsx.variable.need = 'install'; dsx.variable.notice = 'Your answers are saved. Install the Despia Chrome extension, then try again.'; return }\n      if (f.data.state == 'not_connected') { dsx.variable.need = 'connect'; dsx.variable.link = f.data.link; dsx.variable.notice = 'Your answers are saved. Connect the Despia extension to your account, then try again.'; return }\n      if (f.data.playConsole) { await dsx.module.browser.open({ url: f.data.playConsole }) }\n      dsx.variable.need = ''\n      dsx.variable.notice = f.data.notice ? f.data.notice : 'The Despia extension shows your answers. Press Run there: it fills each page in Play Console.'\n    "},{"as":"fix","inputs":{},"body":"\n      if (dsx.variable.need == 'connect' &amp;&amp; dsx.variable.link != '') { await dsx.module.browser.open({ url: dsx.variable.link }); return }\n      const i = await dsx.module.convertdata.extensionInstall()\n      if (i.ok &amp;&amp; i.data.store === true &amp;&amp; i.data.installUrl != '') { await dsx.module.browser.open({ url: i.data.installUrl }) } else { dsx.variable.installOpen = true }\n    "}],"watches":[{"value":"dsx.attribute.present","handler":"dsx.action.load()","immediate":true}],"scripts":["\n      //  IARC's first question, in Play Console's words; the ids are the API's\n      function iarcCategories() {\n        return [\n          { id: 'reference', label: 'Reference, news or educational' }, { id: 'social', label: 'Social networking, forums or user content' },\n          { id: 'aggregator', label: 'Content aggregator, store or streaming' }, { id: 'entertainment', label: 'Entertainment' }, { id: 'other', label: 'All other app types' },\n        ]\n      }\n      function iarcId(label) { const c = iarcCategories().find(x => x.label == label); return c == null ? 'other' : c.id }\n      function iarcLabel(id) { const c = iarcCategories().find(x => x.id == id); return c == null ? 'All other app types' : c.label }\n      function iarcTitle(key) {\n        const t = {\n          violence: 'Violence', fear: 'Content that could scare children', sexuality: 'Sexual content or nudity', gambling: 'Gambling',\n          language: 'Offensive language', controlledSubstances: 'Drugs, alcohol or tobacco', crudeHumor: 'Crude humor',\n          userInteraction: 'People can talk to or share with each other', sharesLocation: 'Shares where a person is with others',\n          digitalPurchases: 'Sells digital goods', unrestrictedInternet: 'Open access to the web',\n        }\n        return t[key] == null ? key : t[key]\n      }\n      function ageWords(id) {\n        const t = { '0-5': '5 and under', '6-8': '6 to 8', '9-12': '9 to 12', '13-15': '13 to 15', '16-17': '16 to 17', '18+': '18 and over' }\n        return t[id] == null ? id : t[id]\n      }\n      function messageOf(r) {\n        if (r == null) { return 'Despia did not answer. Try again in a moment.' }\n        if (r.error != null &amp;&amp; typeof r.error == 'object' &amp;&amp; r.error.message) { return r.error.message }\n        if (r.message) { return r.message }\n        return 'Despia did not answer. Try again in a moment.'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"sheet","attrs":{"detents":"full","present":"dsx.attribute.present","title":"App Content","on:dismiss":"dsx.event('close')"},"children":[{"tag":"ListGroup","attrs":{"header":"Loading App Content…","visible-if":"!dsx.variable.loaded && dsx.variable.error == ''"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.loadingRows","key":"id"},"children":[{"tag":"skeleton","attrs":{"__css":"c98"},"children":[],"text":"","reactive":false}],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.error != ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.error }}"},"children":[],"text":"","reactive":true},{"tag":"button","attrs":{"label":"Connect","control-size":"large","visible-if":"dsx.variable.needsStore","on:tap":"dsx.action.connectGoogle()"},"children":[],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"Policy and access","footer":"{{ dsx.variable.stateFooter }}","visible-if":"dsx.variable.loaded"},"children":[{"tag":"SettingsRow","attrs":{"title":"Privacy policy"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.privacyUrl","keyboard":"url","placeholder":"https://","aria-label":"Privacy policy link"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"The app needs a sign-in"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.variable.restricted","aria-label":"The app needs a sign-in"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"How App Review signs in","visible-if":"dsx.variable.restricted"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.instructions","aria-label":"How App Review signs in"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"The app shows ads"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.variable.ads","aria-label":"The app shows ads"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Uses the advertising ID"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.variable.adId","aria-label":"Uses the advertising ID"},"children":[],"text":"","reactive":true}],"text":"","reactive":true}],"text":"\n      \n      \n      \n      \n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"Content rating","footer":"IARC sends the rating to this address. Turn on everything the app contains.","visible-if":"dsx.variable.loaded"},"children":[{"tag":"SettingsRow","attrs":{"title":"Email"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.email","keyboard":"email","aria-label":"Rating email"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Kind of app"},"children":[{"tag":"picker","attrs":{"aria-label":"Kind of app","bind":"dsx.variable.iarcCategory","options":"{{ dsx.variable.iarcOptions }}"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.iarc","key":"key","title":"{{ dsx.this.title }}"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.this.on","aria-label":"{{ dsx.this.title }}"},"children":[],"text":"","reactive":true}],"text":"","reactive":true}],"text":"\n      \n      \n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"Target audience","footer":"{{ dsx.variable.under13 ? 'Apps for children under 13 also answer the Families questions from Google in Play Console.' : 'The ages the app is made for.' }}","visible-if":"dsx.variable.loaded"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.ages","key":"id","title":"{{ dsx.this.label }}"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.this.on","aria-label":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Could appeal to children"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.variable.appeals","aria-label":"Could appeal to children"},"children":[],"text":"","reactive":true}],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"Declarations","visible-if":"dsx.variable.loaded"},"children":[{"tag":"SettingsRow","attrs":{"title":"A news app"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.variable.news","aria-label":"A news app"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Made by or for a government"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.variable.government","aria-label":"Made by or for a government"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Has financial features"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.variable.financial","aria-label":"Has financial features"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Has health features"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.variable.health","aria-label":"Has health features"},"children":[],"text":"","reactive":true}],"text":"","reactive":true}],"text":"\n      \n      \n      \n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"Store settings","footer":"Countries: every country and region Google Play offers.","visible-if":"dsx.variable.loaded"},"children":[{"tag":"SettingsRow","attrs":{"title":"App or game"},"children":[{"tag":"picker","attrs":{"aria-label":"App or game","bind":"dsx.variable.kind","options":"App,Game"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Category"},"children":[{"tag":"picker","attrs":{"aria-label":"Category","bind":"dsx.variable.category","options-key":"dsx.variable.categoryOptions","value-field":"id","label-field":"label"},"children":[],"text":"","reactive":true}],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.loaded"},"children":[{"tag":"SettingsRow","attrs":{"title":"I checked these answers"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.variable.checked","aria-label":"I checked these answers"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"icon":"info.circle","title":"{{ dsx.variable.notice }}","visible-if":"dsx.variable.notice != ''"},"children":[],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true},{"tag":"stack","attrs":{"visible-if":"dsx.variable.loaded","__steers":"1","__css":"c99"},"children":[{"tag":"button","attrs":{"variant":"prominent","control-size":"large","class":"button-external","icon":"arrow.up.right","label":"{{ dsx.variable.finishLabel }}","disabled-if":"!dsx.variable.canFinish","on:tap":"dsx.action.finish()"},"children":[],"text":"","reactive":true},{"tag":"button","attrs":{"control-size":"large","class":"button-external","icon":"arrow.up.right","label":"{{ dsx.variable.need == 'connect' ? 'Connect extension' : 'Install extension' }}","visible-if":"dsx.variable.need != ''","on:tap":"dsx.action.fix()"},"children":[],"text":"","reactive":true},{"tag":"text","attrs":{"type":"footnote","value":"{{ dsx.variable.finishFooter }}","__css":"c100"},"children":[],"text":"","reactive":true}],"text":"\n      \n      \n      \n    ","reactive":true}],"text":"\n    \n    \n\n    \n\n    \n\n    \n\n    \n\n    \n\n    \n\n    \n\n    \n  ","reactive":true},{"tag":"ExtensionInstallSheet","attrs":{"present":"{{ dsx.variable.installOpen }}","on:close":"dsx.variable.installOpen = false"},"children":[],"text":"","reactive":true}],"text":"\n  \n\n  \n  \n","reactive":true},"reactive":true,"language":"1"},"platform.ProjectConnections":{"name":"ProjectConnections","scheme":"platform","head":{"attributes":[{"as":"project-id"},{"as":"hosting-enabled","default":"false"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"backup","body":"return null","computed":false},{"as":"conns","body":"return []","computed":false},{"as":"rows","body":"return []","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"notice","body":"return ''","computed":false},{"as":"connecting","body":"return false","computed":false},{"as":"reason","body":"return ''","computed":false},{"as":"picking","body":"return false","computed":false},{"as":"repos","body":"return []","computed":false},{"as":"reposLoaded","body":"return false","computed":false},{"as":"canCreate","body":"return false","computed":false},{"as":"createUrl","body":"return ''","computed":false},{"as":"account","body":"return ''","computed":false},{"as":"chosenRepo","body":"return ''","computed":false},{"as":"newName","body":"return ''","computed":false},{"as":"branch","body":"return 'despia-backup'","computed":false},{"as":"importOn","body":"return false","computed":false},{"as":"importFlag","body":"return false","computed":false},{"as":"history","body":"return false","computed":false},{"as":"ghChoice","body":"return ''","computed":false},{"as":"linkProblem","body":"return null","computed":false},{"as":"targetFor","body":"return ''","computed":false},{"as":"asking","body":"return ''","computed":false},{"as":"customOpen","body":"\n      const r = dsx.module.convertdata.context.rollout\n      return r == null || r.areas == null || r.areas['custom-packages'] == null || r.areas['custom-packages'].open == true\n    ","computed":true},{"as":"hostingOn","body":"return dsx.attribute.hostingEnabled == true || dsx.attribute.hostingEnabled == 'true' || dsx.module.convertdata.context.hostingConnections == true","computed":true},{"as":"busy","body":"return dsx.action.run.pending || dsx.action.link.pending","computed":true},{"as":"loaded","body":"return dsx.variable.backup != null","computed":true},{"as":"linked","body":"return dsx.variable.backup != null &amp;&amp; dsx.variable.backup.linked","computed":true},{"as":"githubs","body":"return dsx.variable.conns.filter(c => c.provider == 'github' &amp;&amp; c.status == 'connected')","computed":true},{"as":"hasGithub","body":"return dsx.variable.githubs.length &gt; 0","computed":true},{"as":"gh","body":"\n      if (dsx.variable.githubs.length == 0) { return null }\n      return dsx.variable.githubs.find(c => c.id == dsx.variable.ghChoice) || dsx.variable.githubs[0]\n    ","computed":true},{"as":"ghMenu","body":"return dsx.variable.githubs.map(c => ({ title: c.name, icon: dsx.variable.gh != null &amp;&amp; c.id == dsx.variable.gh.id ? 'checkmark' : 'building.2', action: 'convertdata.confirm', args: { ask: 'pc-gh', value: c.id } }))","computed":true},{"as":"needsRepoAccount","body":"return dsx.variable.githubs.length &gt; 1","computed":true},{"as":"panelActions","body":"\n      const b = dsx.variable.backup\n      if (b == null || !b.linked) { return [] }\n      return [{ id: 'run', label: dsx.variable.busy ? 'Backing up…' : 'Back Up Now', icon: 'arrow.triangle.2.circlepath' }]\n    ","computed":true},{"as":"backupMenu","body":"\n      return [\n        { title: 'Change Repository', icon: 'arrow.left.arrow.right', action: 'convertdata.confirm', args: { ask: 'pc-menu', value: 'change' } },\n        { title: dsx.variable.backup != null &amp;&amp; dsx.variable.backup.importOnPush ? 'Stop Importing from GitHub' : 'Import from GitHub', icon: 'square.and.arrow.down', action: 'convertdata.confirm', args: { ask: 'pc-menu', value: 'import' } },\n        { separator: true },\n        { title: 'Stop Backing Up', icon: 'link.badge.minus', role: 'destructive', action: 'convertdata.confirm', args: { ask: 'pc-menu', value: 'unlink' } }\n      ].filter(m => m.args == null || m.args.value != 'import' || dsx.variable.customOpen || (dsx.variable.backup != null &amp;&amp; dsx.variable.backup.importOnPush))\n    ","computed":true},{"as":"repoRows","body":"return dsx.variable.repos.map(r => ({ ...r, checked: r.full == dsx.variable.chosenRepo ? 'true' : 'false' }))","computed":true},{"as":"canSave","body":"return (dsx.variable.chosenRepo != '' || dsx.variable.newName.trim() != '') &amp;&amp; dsx.variable.branch.trim() != '' &amp;&amp; !dsx.variable.busy","computed":true},{"as":"saveLabel","body":"return dsx.variable.busy ? 'Linking…' : (dsx.variable.chosenRepo == '' &amp;&amp; dsx.variable.newName.trim() != '' ? 'Create Backup' : 'Back Up')","computed":true},{"as":"targetOptions","body":"\n      if (dsx.variable.targetFor == '') { return [] }\n      const row = dsx.variable.rows.find(r => r.id == dsx.variable.targetFor)\n      const allowed = row == null ? [] : row.allowed\n      return dsx.variable.conns.filter(c => allowed.includes(c.provider) &amp;&amp; c.status == 'connected').map(c => ({ id: c.id, icon: c.icon, title: c.provider_name, subtitle: c.name, checked: row != null &amp;&amp; row.connectionId == c.id ? 'true' : 'false' }))\n    ","computed":true},{"as":"targetOpen","body":"return dsx.variable.targetFor != ''","computed":true},{"as":"targetTitle","body":"return dsx.variable.targetFor == 'web' ? 'Web Target' : 'Server Target'","computed":true},{"as":"targetFooter","body":"return dsx.variable.targetFor == 'web' ? 'Where the app\\'s web build is hosted: Cloudflare Pages, Vercel or Netlify.' : 'Where the services run: one Worker on Cloudflare by default, or Vercel, Netlify or Supabase.'","computed":true},{"as":"noHosting","body":"return dsx.variable.conns.filter(c => c.provider != 'github' &amp;&amp; c.status == 'connected').length == 0","computed":true},{"as":"unlinkButtons","body":"return [{ title: 'Stop Backing Up', role: 'destructive', action: 'convertdata.confirm', args: { ask: 'pc-unlink' } }, { title: 'Cancel', role: 'cancel' }]","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      const id = dsx.attribute.projectId\n      if (id == '') { return }\n      const [b, c, t] = await Promise.all([dsx.module.convertdata.backup({ id: id }), dsx.module.convertdata.providerConnections(), dsx.module.convertdata.targets({ id: id })])\n      if (!b.ok || !c.ok || !t.ok) { dsx.variable.error = 'Despia did not answer. Check your connection and try again.'; return }\n      dsx.variable.error = ''\n      dsx.variable.backup = b.data\n      dsx.variable.importFlag = b.data.linked ? b.data.importOnPush : false\n      if (c.ok) { dsx.variable.conns = c.data.items }\n      if (t.ok) { dsx.variable.rows = t.data.rows }\n    "},{"as":"connectGithub","inputs":{},"body":"\n      dsx.variable.reason = ''\n      dsx.variable.connecting = true\n    "},{"as":"readReturn","inputs":{"connection":"dsx.query.connection","provider":"dsx.query.provider","reason":"dsx.query.reason"},"body":"\n      if (String(connection || '') != 'error' || String(provider || '') != 'github') { return }\n      dsx.variable.reason = String(reason || 'failed')\n      dsx.variable.connecting = true\n    "},{"as":"run","inputs":{"retry":"false"},"body":"\n      const r = await dsx.module.convertdata.backupRun({ id: dsx.attribute.projectId, retry: retry })\n      if (!r.ok) { dsx.variable.error = messageOf(r); return }\n      dsx.variable.backup = r.data.backup\n      dsx.variable.notice = r.data.pushed &gt; 0 ? r.data.pushed + (r.data.pushed == 1 ? ' revision backed up.' : ' revisions backed up.') : (r.data.backup.error != null ? '' : 'Already up to date.')\n    "},{"as":"checkAgain","inputs":{},"body":"\n      await dsx.action.run({ retry: true })\n    "},{"as":"panelAct","inputs":{},"body":"\n      await dsx.action.run({ retry: false })\n    "},{"as":"openPicker","inputs":{},"body":"\n      const gh = dsx.variable.gh\n      if (gh == null) { dsx.variable.reason = ''; dsx.variable.connecting = true; return }\n      dsx.variable.picking = true\n      dsx.variable.chosenRepo = ''\n      dsx.variable.newName = ''\n      dsx.variable.importOn = dsx.variable.backup != null &amp;&amp; dsx.variable.backup.linked ? dsx.variable.backup.importOnPush : false\n      const r = await dsx.module.convertdata.providerRepos({ id: gh.id })\n      dsx.variable.reposLoaded = true\n      if (!r.ok) { dsx.variable.linkProblem = { message: messageOf(r), diagnosis: null, createUrl: '' }; return }\n      dsx.variable.linkProblem = null\n      dsx.variable.repos = r.data.items\n      dsx.variable.canCreate = r.data.canCreate\n      dsx.variable.createUrl = r.data.createUrl\n      dsx.variable.account = r.data.account\n    "},{"as":"pickRepo","inputs":{"id":"dsx.this.id"},"body":"\n      dsx.variable.chosenRepo = dsx.variable.chosenRepo == id ? '' : id\n      dsx.variable.newName = ''\n    "},{"as":"link","inputs":{},"body":"\n      const gh = dsx.variable.gh\n      if (gh == null) { return }\n      const r = await dsx.module.convertdata.backupLink({ id: dsx.attribute.projectId, connectionId: gh.id, repo: dsx.variable.chosenRepo, create: dsx.variable.chosenRepo == '' ? dsx.variable.newName.trim() : '', branch: dsx.variable.branch.trim(), importOnPush: dsx.variable.importOn, history: dsx.variable.history })\n      if (!r.ok) { dsx.variable.linkProblem = { message: messageOf(r), diagnosis: null, createUrl: '' }; return }\n      if (!r.data.done) { dsx.variable.linkProblem = r.data.problem; return }\n      dsx.variable.linkProblem = null\n      dsx.variable.picking = false\n      dsx.variable.backup = r.data.backup\n      dsx.module.toast.show({ title: 'Backup is set up', message: 'The first revision is on its way.' })\n      await dsx.action.run({ retry: false })\n    "},{"as":"openCreateUrl","inputs":{},"body":"dsx.module.route.push({ path: dsx.variable.linkProblem != null &amp;&amp; dsx.variable.linkProblem.createUrl != '' ? dsx.variable.linkProblem.createUrl : dsx.variable.createUrl })"},{"as":"openInstall","inputs":{},"body":"dsx.module.route.push({ path: 'https://github.com/settings/installations' })"},{"as":"saveImport","inputs":{},"body":"\n      const b = dsx.variable.backup\n      if (b == null || !b.linked) { return }\n      const r = await dsx.module.convertdata.backupLink({ id: dsx.attribute.projectId, connectionId: b.connectionId, repo: b.repo, branch: b.branch, importOnPush: dsx.variable.importFlag })\n      if (!r.ok) { dsx.variable.error = messageOf(r); dsx.variable.importFlag = b.importOnPush; return }\n      if (!r.data.done) { dsx.variable.error = r.data.problem.message; dsx.variable.importFlag = b.importOnPush; return }\n      dsx.variable.backup = r.data.backup\n    "},{"as":"flipImport","inputs":{},"body":"\n      dsx.variable.importFlag = !dsx.variable.importFlag\n      await dsx.action.saveImport()\n    "},{"as":"unlink","inputs":{},"body":"\n      const r = await dsx.module.convertdata.backupUnlink({ id: dsx.attribute.projectId })\n      if (!r.ok) { dsx.variable.error = messageOf(r); return }\n      dsx.variable.asking = ''\n      dsx.module.toast.show({ title: 'Backup stopped', message: 'The repository was not touched.' })\n      await dsx.action.load()\n    "},{"as":"openTarget","inputs":{"id":"dsx.this.id"},"body":"dsx.variable.targetFor = id"},{"as":"setTarget","inputs":{"id":"dsx.this.id"},"body":"\n      const body = { id: dsx.attribute.projectId }\n      body[dsx.variable.targetFor] = id\n      const r = await dsx.module.convertdata.setTargets(body)\n      if (!r.ok) { dsx.variable.error = messageOf(r); return }\n      dsx.variable.rows = r.data.rows\n      dsx.variable.targetFor = ''\n    "},{"as":"clearTarget","inputs":{},"body":"\n      const body = { id: dsx.attribute.projectId }\n      body[dsx.variable.targetFor] = 'none'\n      const r = await dsx.module.convertdata.setTargets(body)\n      if (!r.ok) { dsx.variable.error = messageOf(r); return }\n      dsx.variable.rows = r.data.rows\n      dsx.variable.targetFor = ''\n    "},{"as":"onConfirmed","inputs":{},"body":"\n      const k = dsx.module.convertdata.context.confirmed\n      if (k == null) { return }\n      if (k.ask == 'pc-gh') { dsx.variable.ghChoice = k.value; return }\n      if (k.ask == 'pc-menu') {\n        if (k.value == 'change') { await dsx.action.openPicker(); return }\n        if (k.value == 'import') { await dsx.action.flipImport(); return }\n        if (k.value == 'unlink') { dsx.variable.asking = 'unlink' }\n        return\n      }\n      if (k.ask == 'pc-unlink' &amp;&amp; dsx.variable.asking == 'unlink') { await dsx.action.unlink() }\n    "}],"watches":[{"value":"dsx.attribute.projectId","handler":"dsx.action.load()","immediate":true},{"value":"dsx.module.convertdata.context.confirmed","handler":"dsx.action.onConfirmed()"},{"value":"dsx.path","handler":"dsx.action.readReturn()","immediate":true}],"scripts":["\n      function messageOf(r) {\n        if (r == null) { return 'Despia did not answer. Try again in a moment.' }\n        if (r.error != null &amp;&amp; typeof r.error == 'object' &amp;&amp; r.error.message) { return r.error.message }\n        if (r.message) { return r.message }\n        return 'Despia did not answer. Try again in a moment.'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{"on:appear":"dsx.action.load()"},"children":[{"tag":"Callout","attrs":{"class":"page-notice","tone":"error","title":"App connections did not load","message":"{{ dsx.variable.error }}","action":"Try Again","visible-if":"dsx.variable.error != ''","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"Callout","attrs":{"class":"page-notice","tone":"success","title":"{{ dsx.variable.notice }}","visible-if":"dsx.variable.notice != ''","transition":"fade"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"grid","attrs":{"columns":"{{ dsx.variable.hostingOn ? 'adaptive' : 1 }}","minimum":"360","scroll":"false","visible-if":"dsx.variable.loaded"},"children":[{"tag":"stack","attrs":{},"children":[{"tag":"Panel","attrs":{"title":"Backup","subtitle":"GitHub","footer":"Every revision becomes a commit in your repository.","visible-if":"!dsx.variable.linked"},"children":[{"tag":"SettingsRow","attrs":{"icon":"link","title":"Connect GitHub","chevron":"true","tappable":"true","visible-if":"!dsx.variable.hasGithub","on:tap":"dsx.action.connectGithub()"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"SettingsRow","attrs":{"icon":"folder.badge.plus","title":"Choose a Repository","chevron":"true","tappable":"true","visible-if":"dsx.variable.hasGithub","on:tap":"dsx.action.openPicker()"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"SettingsRow","attrs":{"icon":"building.2","title":"GitHub account","value":"{{ dsx.variable.gh == null ? '' : dsx.variable.gh.name }}","visible-if":"dsx.variable.needsRepoAccount"},"children":[{"tag":"menu","attrs":{"menu":"{{ dsx.variable.ghMenu }}"},"children":[{"tag":"button","attrs":{"icon":"chevron.up.chevron.down","aria-label":"Choose the GitHub account"},"children":[],"text":"","reactive":false,"nid":10}],"text":"","reactive":true,"nid":9}],"text":"\n          \n        ","reactive":true,"nid":8}],"text":"\n        \n        \n        \n        \n      ","reactive":true,"nid":5},{"tag":"Panel","attrs":{"title":"Backup","subtitle":"GitHub","footer":"Plain commits to this branch only; never forced.","actions":"{{ dsx.variable.panelActions }}","menu":"{{ dsx.variable.backupMenu }}","visible-if":"dsx.variable.linked","on:action":"dsx.action.panelAct()"},"children":[{"tag":"SettingsRow","attrs":{"icon":"github.logo","title":"{{ dsx.variable.backup.repo }}","subtitle":"Branch {{ dsx.variable.backup.branch }}","value-icon":"arrow.up.right","tappable":"true","on:tap":"dsx.module.route.push({ path: dsx.variable.backup.repoUrl })"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.variable.backup.stateLabel }}","role":"{{ dsx.variable.backup.role }}"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n          \n        ","reactive":true,"nid":12},{"tag":"SettingsRow","attrs":{"icon":"clock.arrow.circlepath","title":"Last backup","value":"{{ dsx.variable.backup.last }}"},"children":[],"text":"","reactive":true,"nid":14},{"tag":"SettingsRow","attrs":{"icon":"tray.full","title":"Waiting","value":"{{ dsx.variable.backup.queueLine }}"},"children":[],"text":"","reactive":true,"nid":15},{"tag":"SettingsRow","attrs":{"icon":"square.and.arrow.down","title":"Newer commits on GitHub","visible-if":"dsx.variable.backup.remoteAhead && !dsx.variable.backup.importOnPush && dsx.variable.customOpen"},"children":[{"tag":"button","attrs":{"variant":"bordered","label":"Import","on:tap":"dsx.action.flipImport()"},"children":[],"text":"","reactive":true,"nid":17}],"text":"","reactive":true,"nid":16},{"tag":"SettingsRow","attrs":{"icon":"arrow.clockwise","title":"Check Again","tone":"accent","tappable":"true","visible-if":"(dsx.variable.backup.state != 'active' || dsx.variable.backup.blocked > 0) && dsx.variable.backup.error == null","on:tap":"dsx.action.checkAgain()"},"children":[],"text":"","reactive":true,"nid":18}],"text":"\n        \n        \n        \n        \n        \n        \n      ","reactive":true,"nid":11},{"tag":"Diagnosis","attrs":{"diagnosis":"{{ dsx.variable.backup.error }}","project-id":"{{ dsx.attribute.projectId }}","busy":"{{ dsx.variable.busy }}","visible-if":"dsx.variable.linked && dsx.variable.backup.error != null","on:recheck":"dsx.action.checkAgain()"},"children":[],"text":"","reactive":true,"nid":19}],"text":"\n      \n      \n\n      \n      \n\n      \n    ","reactive":true,"nid":4},{"tag":"stack","attrs":{"visible-if":"dsx.variable.hostingOn"},"children":[{"tag":"Panel","attrs":{"title":"Deployment targets"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.rows","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","value":"{{ dsx.this.value }}","chevron":"true","tappable":"true","on:tap":"dsx.action.openTarget()"},"children":[],"text":"","reactive":true,"nid":22},{"tag":"SettingsRow","attrs":{"icon":"link","title":"{{ dsx.variable.noHosting ? 'Connect a Hosting Account' : 'All Connections' }}","chevron":"true","tappable":"true","on:tap":"dsx.module.route.push({ path: '/connections' })"},"children":[],"text":"","reactive":true,"nid":23}],"text":"\n        \n        \n      ","reactive":true,"nid":21}],"text":"\n      \n    ","reactive":true,"nid":20}],"text":"\n    \n\n    \n  ","reactive":true,"nid":3},{"tag":"sheet","attrs":{"detents":"large","present":"dsx.variable.picking","title":"Backup Repository","close":"leading","action":"{{ dsx.variable.canSave ? dsx.variable.saveLabel : '' }}","on:action":"dsx.action.link()","on:dismiss":"dsx.variable.picking = false"},"children":[{"tag":"Callout","attrs":{"tone":"warning","title":"{{ dsx.variable.linkProblem.diagnosis == null ? 'That did not work' : dsx.variable.linkProblem.diagnosis.title }}","message":"{{ dsx.variable.linkProblem.diagnosis == null ? dsx.variable.linkProblem.message : dsx.variable.linkProblem.diagnosis.whatHappened }}","visible-if":"dsx.variable.linkProblem != null"},"children":[],"text":"","reactive":true,"nid":25},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.linkProblem != null && (dsx.variable.linkProblem.createUrl != '' || dsx.variable.linkProblem.message != '')"},"children":[{"tag":"SettingsRow","attrs":{"icon":"arrow.up.right","title":"Create it on GitHub","tone":"accent","tappable":"true","visible-if":"dsx.variable.linkProblem.createUrl != ''","on:tap":"dsx.action.openCreateUrl()"},"children":[],"text":"","reactive":true,"nid":27}],"text":"\n      \n    ","reactive":true,"nid":26},{"tag":"ListGroup","attrs":{"header":"Repositories","footer":"Only the repositories you shared with the Despia app.","visible-if":"dsx.variable.reposLoaded"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.repoRows","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.detail }}","checked":"{{ dsx.this.checked }}","tappable":"true","on:tap":"dsx.action.pickRepo()"},"children":[],"text":"","reactive":true,"nid":29},{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.circle","title":"No repositories shared yet","subtitle":"Add one to the Despia app on GitHub.","visible-if":"dsx.variable.repos.length == 0"},"children":[],"text":"","reactive":true,"nid":30},{"tag":"SettingsRow","attrs":{"icon":"arrow.up.right","title":"Add a Repository on GitHub","tappable":"true","on:tap":"dsx.action.openInstall()"},"children":[],"text":"","reactive":true,"nid":31}],"text":"\n      \n      \n      \n    ","reactive":true,"nid":28},{"tag":"ListGroup","attrs":{"header":"Or create a new private repository","footer":"{{ dsx.variable.canCreate ? 'Created in ' + dsx.variable.account : 'Personal accounts create it on GitHub' }}","visible-if":"dsx.variable.reposLoaded"},"children":[{"tag":"SettingsRow","attrs":{"title":"Name","visible-if":"dsx.variable.canCreate"},"children":[{"tag":"textfield","attrs":{"placeholder":"my-app-backup","bind":"dsx.variable.newName","autocapitalize":"none","aria-label":"New repository name","on:input":"dsx.variable.chosenRepo = ''"},"children":[],"text":"","reactive":true,"nid":34}],"text":"","reactive":true,"nid":33},{"tag":"SettingsRow","attrs":{"icon":"arrow.up.right","title":"Create on GitHub","tone":"accent","tappable":"true","visible-if":"!dsx.variable.canCreate && dsx.variable.createUrl != ''","on:tap":"dsx.action.openCreateUrl()"},"children":[],"text":"","reactive":true,"nid":35}],"text":"\n      \n      \n    ","reactive":true,"nid":32},{"tag":"ListGroup","attrs":{"header":"Options","footer":"Only Despia writes to this branch."},"children":[{"tag":"SettingsRow","attrs":{"title":"Branch"},"children":[{"tag":"textfield","attrs":{"placeholder":"despia-backup","bind":"dsx.variable.branch","autocapitalize":"none","aria-label":"Branch"},"children":[],"text":"","reactive":true,"nid":38}],"text":"","reactive":true,"nid":37},{"tag":"SettingsRow","attrs":{"title":"Import from GitHub","subtitle":"Pushes to the branch become project revisions.","visible-if":"dsx.variable.customOpen"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.variable.importOn","aria-label":"Import from GitHub"},"children":[],"text":"","reactive":true,"nid":40}],"text":"","reactive":true,"nid":39},{"tag":"SettingsRow","attrs":{"title":"Include earlier revisions","subtitle":"Push up to the last 500 revisions, not only the current one."},"children":[{"tag":"toggle","attrs":{"bind":"dsx.variable.history","aria-label":"Include earlier revisions"},"children":[],"text":"","reactive":true,"nid":42}],"text":"","reactive":true,"nid":41}],"text":"\n      \n      \n      \n    ","reactive":true,"nid":36}],"text":"\n    \n    \n    \n    \n    \n  ","reactive":true,"nid":24},{"tag":"sheet","attrs":{"detents":"content","present":"dsx.variable.hostingOn && dsx.variable.targetOpen","title":"{{ dsx.variable.targetTitle }}","close":"leading","on:dismiss":"dsx.variable.targetFor = ''"},"children":[{"tag":"ListGroup","attrs":{"footer":"{{ dsx.variable.targetFooter }}"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.targetOptions","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}","checked":"{{ dsx.this.checked }}","tappable":"true","on:tap":"dsx.action.setTarget()"},"children":[],"text":"","reactive":true,"nid":45},{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.circle","title":"No connected account can host this","subtitle":"Connect one first.","visible-if":"dsx.variable.targetOptions.length == 0"},"children":[],"text":"","reactive":true,"nid":46}],"text":"\n      \n      \n    ","reactive":true,"nid":44},{"tag":"ListGroup","attrs":{},"children":[{"tag":"SettingsRow","attrs":{"icon":"link","title":"Connect an Account","tappable":"true","on:tap":"dsx.module.route.push({ path: '/connections' })"},"children":[],"text":"","reactive":true,"nid":48},{"tag":"SettingsRow","attrs":{"icon":"xmark.circle","title":"Clear","tone":"destructive","tappable":"true","on:tap":"dsx.action.clearTarget()"},"children":[],"text":"","reactive":true,"nid":49}],"text":"\n      \n      \n    ","reactive":true,"nid":47}],"text":"\n    \n    \n  ","reactive":true,"nid":43},{"tag":"ConnectProvider","attrs":{"present":"{{ dsx.variable.connecting }}","start":"github","hosting-enabled":"{{ dsx.variable.hostingOn }}","project-id":"{{ dsx.attribute.projectId }}","return-to":"{{ '/apps/' + dsx.attribute.projectId + '/connections' }}","reason":"{{ dsx.variable.reason }}","on:close":"dsx.variable.connecting = false","on:connected":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":50},{"tag":"alert","attrs":{"present":"dsx.variable.asking == 'unlink'","title":"Stop backing up?","message":"New revisions are no longer pushed. The repository and its history stay exactly as they are.","buttons":"dsx.variable.unlinkButtons","on:dismiss":"dsx.variable.asking = ''"},"children":[],"text":"","reactive":true,"nid":51}],"text":"\n  \n\n  \n\n  \n\n  \n  \n\n  \n  \n\n  \n  \n\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.ProjectIdentity":{"name":"ProjectIdentity","scheme":"platform","head":{"attributes":[{"as":"project-id"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"view","body":"return null","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"editing","body":"return ''","computed":false},{"as":"value","body":"return ''","computed":false},{"as":"checked","body":"return null","computed":false},{"as":"checkedFor","body":"return ''","computed":false},{"as":"doctor","body":"return null","computed":false},{"as":"useSeat","body":"return false","computed":false},{"as":"asking","body":"return false","computed":false},{"as":"unlocking","body":"return ''","computed":false},{"as":"loaded","body":"return dsx.variable.view != null","computed":true},{"as":"sides","body":"\n      if (dsx.variable.view == null) { return [] }\n      return [dsx.variable.view.ios, dsx.variable.view.android].filter(s => s != null).map(s => ({\n        platform: s.platform, header: s.platform == 'ios' ? 'iOS' : 'Android', label: s.platform == 'ios' ? 'Bundle ID' : 'Package name',\n        id: s.id || '', hasId: s.id != null &amp;&amp; s.id != '', message: s.message, chip: chipOf(s).label, role: chipOf(s).role,\n        licence: licenceLine(s.licence), canChange: s.canEdit, canUnlock: s.canUnlock, contactSupport: s.state == 'locked_final',\n        unlockTitle: 'Unlock ' + (s.platform == 'ios' ? 'Bundle ID' : 'Package Name'),\n        action: s.id == '' ? 'Set ID' : 'Change ID',\n        icon: s.platform == 'ios' ? 'apple.logo' : 'android.logo'\n      }))\n    ","computed":true},{"as":"history","body":"\n      if (dsx.variable.view == null) { return [] }\n      const rows = []\n      for (const s of [dsx.variable.view.ios, dsx.variable.view.android]) {\n        if (s == null) { continue }\n        for (const h of s.history) { rows.push({ id: s.platform + h.id, platform: s.platform, title: h.title, subtitle: h.detail, value: h.when, icon: s.platform == 'ios' ? 'apple.logo' : 'android.logo' }) }\n      }\n      return rows\n    ","computed":true},{"as":"iosSide","body":"return dsx.variable.sides.filter(x => x.platform == 'ios')[0]","computed":true},{"as":"androidSide","body":"return dsx.variable.sides.filter(x => x.platform == 'android')[0]","computed":true},{"as":"iosHistory","body":"return dsx.variable.history.filter(x => x.platform == 'ios')","computed":true},{"as":"androidHistory","body":"return dsx.variable.history.filter(x => x.platform == 'android')","computed":true},{"as":"side","body":"\n      if (dsx.variable.view == null || dsx.variable.editing == '') { return null }\n      return dsx.variable.editing == 'ios' ? dsx.variable.view.ios : dsx.variable.view.android\n    ","computed":true},{"as":"word","body":"return dsx.variable.editing == 'ios' ? 'Bundle ID' : 'Package Name'","computed":true},{"as":"isChange","body":"return dsx.variable.side != null &amp;&amp; dsx.variable.side.state == 'unlocked_once'","computed":true},{"as":"editFooter","body":"\n      if (dsx.variable.side == null) { return '' }\n      if (!dsx.variable.isChange) { return 'Free to change until your first ' + (dsx.variable.editing == 'ios' ? 'TestFlight' : 'Google Play') + ' upload.' }\n      return 'A new id is a new app in the store: people who installed the current one do not get its updates. It locks again with your next upload, and then only support can change it.'\n    ","computed":true},{"as":"checkRows","body":"return dsx.variable.checked == null ? [] : dsx.variable.checked.checks.map(c => ({ id: c.id, text: c.message }))","computed":true},{"as":"fresh","body":"return dsx.variable.checked != null &amp;&amp; dsx.variable.checkedFor == dsx.variable.value.trim()","computed":true},{"as":"canSave","body":"return dsx.variable.fresh &amp;&amp; !dsx.action.send.pending &amp;&amp; dsx.variable.value.trim() != ''","computed":true},{"as":"refused","body":"return dsx.variable.fresh &amp;&amp; dsx.variable.checked.checks.some(c => c.id == 'format_warning' &amp;&amp; /refuse/.test(c.message || ''))","computed":true},{"as":"checkHeader","body":"return dsx.variable.refused ? 'Not publishable' : 'Ready'","computed":true},{"as":"checkIcon","body":"return dsx.variable.refused ? 'exclamationmark.triangle.fill' : 'checkmark.circle.fill'","computed":true},{"as":"checkTone","body":"return dsx.variable.refused ? 'warning' : 'success'","computed":true},{"as":"saveLabel","body":"return dsx.action.commit.pending ? 'Saving…' : (dsx.variable.refused ? 'Save anyway' : (dsx.variable.isChange ? 'Change' : 'Save'))","computed":true},{"as":"confirmLabel","body":"return dsx.variable.fresh ? dsx.variable.saveLabel : (dsx.action.check.pending ? 'Checking…' : 'Check')","computed":true},{"as":"confirmDisabled","body":"return dsx.variable.fresh ? !dsx.variable.canSave : (dsx.action.check.pending || dsx.variable.value.trim() == '')","computed":true},{"as":"readyLine","body":"\n      if (dsx.variable.refused) { return 'Checked, but the stores will not accept it. Use your own id before you publish.' }\n      if (!dsx.variable.isChange) { return 'Free edit' }\n      return dsx.variable.useSeat ? 'Uses your unlock and one licence seat.' : 'Uses your unlock.'\n    ","computed":true},{"as":"editOpen","body":"return dsx.variable.editing != ''","computed":true},{"as":"unlockWord","body":"return dsx.variable.unlocking == 'ios' ? 'bundle ID' : 'package name'","computed":true},{"as":"unlockOpen","body":"return dsx.variable.unlocking != ''","computed":true},{"as":"unlockButtons","body":"return [{ title: 'Unlock', role: 'destructive', action: 'convertdata.confirm', args: { ask: 'unlock', value: dsx.variable.unlocking } }, { title: 'Cancel', role: 'cancel' }]","computed":true},{"as":"askButtons","body":"return [{ title: 'Change', role: 'destructive', action: 'convertdata.confirm', args: { ask: 'identity', value: dsx.variable.editing } }, { title: 'Cancel', role: 'cancel' }]","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      const r = await dsx.module.convertdata.identity({ id: dsx.attribute.projectId })\n      if (!r.ok) { dsx.variable.error = 'Despia did not answer. Check your connection and try again.'; return }\n      dsx.variable.error = ''\n      dsx.variable.view = r.data\n    "},{"as":"edit","inputs":{"platform":"dsx.this.platform"},"body":"\n      const s = platform == 'ios' ? dsx.variable.view.ios : dsx.variable.view.android\n      dsx.variable.value = s.id\n      dsx.variable.checked = null\n      dsx.variable.doctor = null\n      dsx.variable.useSeat = false\n      dsx.variable.editing = platform\n    "},{"as":"send","inputs":{"dryRun":"true","confirm":"''"},"body":"\n      const r = await dsx.module.convertdata.identityChange({ id: dsx.attribute.projectId, platform: dsx.variable.editing, value: dsx.variable.value.trim(), confirm: confirm, useSeat: dsx.variable.useSeat, dryRun: dryRun })\n      if (!r.ok) { dsx.variable.doctor = null; dsx.variable.error = r.message ? r.message : 'Despia did not answer.'; return null }\n      if (!r.data.done) { dsx.variable.checked = null; dsx.variable.doctor = r.data.problem.diagnosis; return null }\n      dsx.variable.doctor = null\n      return r.data\n    "},{"as":"confirm","inputs":{},"body":"\n      if (dsx.variable.fresh) { await dsx.action.save(); return }\n      await dsx.action.check()\n    "},{"as":"check","inputs":{},"body":"\n      const out = await dsx.action.send({ dryRun: true })\n      if (out == null) { return }\n      dsx.variable.checkedFor = dsx.variable.value.trim()\n      dsx.variable.checked = out\n    "},{"as":"save","inputs":{},"body":"\n      if (dsx.variable.isChange) { dsx.variable.asking = true; return }\n      await dsx.action.commit()\n    "},{"as":"commit","inputs":{},"body":"\n      const out = await dsx.action.send({ dryRun: false, confirm: dsx.variable.value.trim() })\n      if (out == null) { return }\n      const word = dsx.variable.word\n      dsx.variable.editing = ''\n      dsx.module.toast.show({ title: word + ' saved', message: out.reset.length &gt; 0 ? 'App Groups are checked again for the new id.' : 'The next build uses it.' })\n      await dsx.action.load()\n    "},{"as":"onConfirmed","inputs":{},"body":"\n      const k = dsx.module.convertdata.context.confirmed\n      if (k == null) { return }\n      if (k.ask == 'unlock' &amp;&amp; dsx.variable.unlocking != '') { await dsx.action.unlock(); return }\n      if (k.ask != 'identity' || dsx.variable.editing == '') { return }\n      dsx.variable.asking = false\n      await dsx.action.commit()\n    "},{"as":"askUnlock","inputs":{"platform":"dsx.this.platform"},"body":"\n      dsx.variable.unlocking = platform\n    "},{"as":"unlock","inputs":{},"body":"\n      const platform = dsx.variable.unlocking\n      dsx.variable.unlocking = ''\n      const r = await dsx.module.convertdata.identityUnlock({ id: dsx.attribute.projectId, platform: platform })\n      if (!r.ok) { dsx.variable.error = r.message ? r.message : 'Despia did not answer.'; return }\n      if (!r.data.done) { dsx.variable.error = r.data.problem.message; return }\n      dsx.module.toast.show({ title: (platform == 'ios' ? 'Bundle ID' : 'Package name') + ' unlocked', message: 'Change it now. Your next upload locks it again.' })\n      await dsx.action.load()\n    "},{"as":"contact","inputs":{},"body":"dsx.module.route.push({ path: 'mailto:support@despia.com?subject=Unlock%20my%20app%20id' })"},{"as":"retry","inputs":{"target":"dsx.this.target"},"body":"\n      if (target == 'unlock') { dsx.variable.unlocking = dsx.variable.editing; dsx.variable.editing = ''; return }\n      if (target == 'useSeat') { dsx.variable.useSeat = true }\n      await dsx.action.check()\n    "}],"watches":[{"value":"dsx.module.convertdata.context.confirmed","handler":"dsx.action.onConfirmed()"}],"scripts":["\n      function chipOf(s) {\n        if (s.state == 'editable') { return { label: 'Editable', role: 'success' } }\n        if (s.state == 'unlocked_once') { return { label: 'Unlocked', role: 'success' } }\n        return { label: 'Locked', role: 'info' }\n      }\n      function licenceLine(l) {\n        if (l.kind == 'v3compat') { return 'Covered by your Despia V3 licence' }\n        if (l.kind == 'seat') { return 'Covered by a licence seat' }\n        if (l.kind == 'entitlement') { return 'Covered by a Despia licence' }\n        return ''\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{"on:appear":"dsx.action.load()"},"children":[{"tag":"Explainer","attrs":{"title":"Bundle IDs lock after your first upload","sheet-title":"How identifiers work","body":"Your **bundle ID** (iOS) and **package name** (Android) are how the stores know your app. Your licence belongs to the app, not to its id.\n\n**Until your first upload** to TestFlight (iOS) or Google Play (Android) through Despia, change either one as often as you like.\n\n**Then it locks.** Each one locks on its own. You can **unlock each once** to change it; your next upload locks it again.\n\n**After that**, contact support: we can unlock it, or change it for you, when there is a good reason.\n\n**A new id is a new app** in the store, so people who installed the current app do not get its updates. To ship a different app, create a new project."},"children":[],"text":"","reactive":true,"nid":1},{"tag":"Callout","attrs":{"class":"page-notice","tone":"error","title":"App identifiers did not load","message":"{{ dsx.variable.error }}","action":"Try Again","visible-if":"dsx.variable.error != ''","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"ListGroup","attrs":{"visible-if":"!dsx.variable.loaded && dsx.variable.error == ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"tag","title":"Reading the identifiers…"},"children":[],"text":"","reactive":true,"nid":4}],"text":"\n    \n  ","reactive":true,"nid":3},{"tag":"grid","attrs":{"columns":"adaptive","minimum":"420","scroll":"false","visible-if":"dsx.variable.loaded"},"children":[{"tag":"PlatformSection","attrs":{"platform":"ios","status":"{{ dsx.variable.iosSide.chip }}","status-role":"{{ dsx.variable.iosSide.role }}"},"children":[{"tag":"stack","attrs":{},"children":[{"tag":"Panel","attrs":{"footer":"{{ dsx.variable.iosSide.message }}"},"children":[{"tag":"SettingsRow","attrs":{"title":"Bundle ID","subtitle":"{{ dsx.variable.iosSide.id }}","visible-if":"dsx.variable.iosSide.hasId"},"children":[{"tag":"CopyButton","attrs":{"value":"{{ dsx.variable.iosSide.id }}","label":"Copy Bundle ID"},"children":[],"text":"","reactive":true,"nid":10}],"text":"\n            \n          ","reactive":true,"nid":9},{"tag":"SettingsRow","attrs":{"title":"Bundle ID","value":"Not set","visible-if":"!dsx.variable.iosSide.hasId"},"children":[],"text":"","reactive":true,"nid":11},{"tag":"SettingsRow","attrs":{"icon":"checkmark.seal","title":"Licence","subtitle":"{{ dsx.variable.iosSide.licence }}","visible-if":"dsx.variable.iosSide.licence != ''"},"children":[],"text":"","reactive":true,"nid":12},{"tag":"SettingsRow","attrs":{"icon":"pencil","title":"{{ dsx.variable.iosSide.action }}","tone":"accent","tappable":"true","visible-if":"dsx.variable.iosSide.canChange","on:tap":"dsx.action.edit({ platform: 'ios' })"},"children":[],"text":"","reactive":true,"nid":13},{"tag":"SettingsRow","attrs":{"icon":"lock.open","title":"{{ dsx.variable.iosSide.unlockTitle }}","subtitle":"You can do this once.","tone":"accent","tappable":"true","visible-if":"dsx.variable.iosSide.canUnlock","on:tap":"dsx.action.askUnlock({ platform: 'ios' })"},"children":[],"text":"","reactive":true,"nid":14},{"tag":"SettingsRow","attrs":{"icon":"questionmark.bubble","title":"Contact Support","subtitle":"Only support can change it now.","tone":"accent","tappable":"true","visible-if":"dsx.variable.iosSide.contactSupport","value-icon":"arrow.up.right","on:tap":"dsx.action.contact()"},"children":[],"text":"","reactive":true,"nid":15}],"text":"\n          \n          \n          \n          \n          \n          \n        ","reactive":true,"nid":8},{"tag":"Panel","attrs":{"title":"History","visible-if":"dsx.variable.iosHistory.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.iosHistory","key":"id","icon":"clock","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}","value":"{{ dsx.this.value }}"},"children":[],"text":"","reactive":true,"nid":17}],"text":"\n          \n        ","reactive":true,"nid":16}],"text":"\n        \n        \n      ","reactive":true,"nid":7}],"text":"\n      \n    ","reactive":true,"nid":6},{"tag":"PlatformSection","attrs":{"platform":"android","status":"{{ dsx.variable.androidSide.chip }}","status-role":"{{ dsx.variable.androidSide.role }}"},"children":[{"tag":"stack","attrs":{},"children":[{"tag":"Panel","attrs":{"footer":"{{ dsx.variable.androidSide.message }}"},"children":[{"tag":"SettingsRow","attrs":{"title":"Package name","subtitle":"{{ dsx.variable.androidSide.id }}","visible-if":"dsx.variable.androidSide.hasId"},"children":[{"tag":"CopyButton","attrs":{"value":"{{ dsx.variable.androidSide.id }}","label":"Copy Package name"},"children":[],"text":"","reactive":true,"nid":22}],"text":"\n            \n          ","reactive":true,"nid":21},{"tag":"SettingsRow","attrs":{"title":"Package name","value":"Not set","visible-if":"!dsx.variable.androidSide.hasId"},"children":[],"text":"","reactive":true,"nid":23},{"tag":"SettingsRow","attrs":{"icon":"checkmark.seal","title":"Licence","subtitle":"{{ dsx.variable.androidSide.licence }}","visible-if":"dsx.variable.androidSide.licence != ''"},"children":[],"text":"","reactive":true,"nid":24},{"tag":"SettingsRow","attrs":{"icon":"pencil","title":"{{ dsx.variable.androidSide.action }}","tone":"accent","tappable":"true","visible-if":"dsx.variable.androidSide.canChange","on:tap":"dsx.action.edit({ platform: 'android' })"},"children":[],"text":"","reactive":true,"nid":25},{"tag":"SettingsRow","attrs":{"icon":"lock.open","title":"{{ dsx.variable.androidSide.unlockTitle }}","subtitle":"You can do this once.","tone":"accent","tappable":"true","visible-if":"dsx.variable.androidSide.canUnlock","on:tap":"dsx.action.askUnlock({ platform: 'android' })"},"children":[],"text":"","reactive":true,"nid":26},{"tag":"SettingsRow","attrs":{"icon":"questionmark.bubble","title":"Contact Support","subtitle":"Only support can change it now.","tone":"accent","tappable":"true","visible-if":"dsx.variable.androidSide.contactSupport","value-icon":"arrow.up.right","on:tap":"dsx.action.contact()"},"children":[],"text":"","reactive":true,"nid":27}],"text":"\n          \n          \n          \n          \n          \n          \n        ","reactive":true,"nid":20},{"tag":"Panel","attrs":{"title":"History","visible-if":"dsx.variable.androidHistory.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.androidHistory","key":"id","icon":"clock","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}","value":"{{ dsx.this.value }}"},"children":[],"text":"","reactive":true,"nid":29}],"text":"\n          \n        ","reactive":true,"nid":28}],"text":"\n        \n        \n      ","reactive":true,"nid":19}],"text":"\n      \n    ","reactive":true,"nid":18}],"text":"\n    \n    \n  ","reactive":true,"nid":5},{"tag":"sheet","attrs":{"detents":"content","present":"dsx.variable.editOpen","title":"{{ (dsx.variable.isChange ? 'Change ' : 'Edit ') + dsx.variable.word }}","action":"{{ dsx.variable.confirmLabel }}","action-disabled":"{{ dsx.variable.confirmDisabled }}","on:action":"dsx.action.confirm()","on:dismiss":"dsx.variable.editing = ''"},"children":[{"tag":"ListGroup","attrs":{"footer":"{{ dsx.variable.editFooter }}"},"children":[{"tag":"SettingsRow","attrs":{"title":"{{ dsx.variable.word }}"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.value","placeholder":"com.yourcompany.app","aria-label":"{{ dsx.variable.word }}","on:submit":"dsx.action.check()"},"children":[],"text":"","reactive":true,"nid":33}],"text":"","reactive":true,"nid":32}],"text":"\n      \n    ","reactive":true,"nid":31},{"tag":"ListGroup","attrs":{"header":"{{ dsx.variable.checkHeader }}","visible-if":"dsx.variable.fresh","transition":"fade"},"children":[{"tag":"SettingsRow","attrs":{"icon":"{{ dsx.variable.checkIcon }}","title":"{{ dsx.variable.value }}","subtitle":"{{ dsx.variable.readyLine }}","tone":"{{ dsx.variable.checkTone }}"},"children":[],"text":"","reactive":true,"nid":35},{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.checkRows","key":"id","icon":"exclamationmark.triangle","title":"{{ dsx.this.text }}"},"children":[],"text":"","reactive":true,"nid":36}],"text":"\n      \n      \n    ","reactive":true,"nid":34},{"tag":"Diagnosis","attrs":{"diagnosis":"{{ dsx.variable.doctor }}","project-id":"{{ dsx.attribute.projectId }}","recheck":"false","on:retry":"dsx.action.retry()"},"children":[],"text":"","reactive":true,"nid":37}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":30},{"tag":"alert","attrs":{"present":"dsx.variable.unlockOpen","title":"{{ 'Unlock the ' + dsx.variable.unlockWord + '?' }}","message":"You can do this once. Change it, and your next upload locks it for good: after that, only support can unlock it.","buttons":"dsx.variable.unlockButtons","on:dismiss":"dsx.variable.unlocking = ''"},"children":[],"text":"","reactive":true,"nid":38},{"tag":"alert","attrs":{"present":"dsx.variable.asking","title":"Change the app's identity?","message":"The store treats the new id as a new app. Type it to confirm.","confirm-text":"{{ dsx.variable.value.trim() }}","buttons":"dsx.variable.askButtons","on:dismiss":"dsx.variable.asking = false"},"children":[],"text":"","reactive":true,"nid":39}],"text":"\n  \n\n  \n\n  \n\n  \n\n  \n  \n\n  \n\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.ProjectLanguages":{"name":"ProjectLanguages","scheme":"platform","head":{"attributes":[{"as":"project-id"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"view","body":"return null","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"picking","body":"return ''","computed":false},{"as":"query","body":"return ''","computed":false},{"as":"plan","body":"return null","computed":false},{"as":"planTag","body":"return ''","computed":false},{"as":"sheetProblem","body":"return null","computed":false},{"as":"pageProblem","body":"return null","computed":false},{"as":"selected","body":"return ''","computed":false},{"as":"asking","body":"return ''","computed":false},{"as":"loaded","body":"return dsx.variable.view != null","computed":true},{"as":"readOnly","body":"return dsx.variable.loaded &amp;&amp; dsx.variable.view.readOnly","computed":true},{"as":"canEdit","body":"return dsx.variable.loaded &amp;&amp; !dsx.variable.view.readOnly","computed":true},{"as":"primary","body":"return dsx.variable.loaded ? dsx.variable.view.primary : null","computed":true},{"as":"others","body":"return dsx.variable.loaded ? dsx.variable.view.additional : []","computed":true},{"as":"othersSubtitle","body":"\n      const n = dsx.variable.others.length\n      if (n == 0) { return 'None yet' }\n      const done = dsx.variable.others.filter(r => r.complete).length\n      return (n == 1 ? '1 language' : n + ' languages') + ' · ' + (done == n ? 'all complete' : done + ' of ' + n + ' complete')\n    ","computed":true},{"as":"primaryActions","body":"return dsx.variable.canEdit ? [{ id: 'primary', label: 'Change', icon: 'pencil' }] : []","computed":true},{"as":"addActions","body":"return dsx.variable.canEdit ? [{ id: 'add', label: 'Add Language', icon: 'plus' }] : []","computed":true},{"as":"row","body":"return dsx.variable.others.find(r => r.id == dsx.variable.selected) || null","computed":true},{"as":"detailOpen","body":"return dsx.variable.selected != ''","computed":true},{"as":"missingCommand","body":"\n      const r = dsx.variable.row != null ? dsx.variable.row : dsx.variable.others.find(x => !x.complete)\n      return 'despia strings --missing ' + (r == null ? '<tag>' : r.tag)\n    ","computed":true},{"as":"pickerOpen","body":"return dsx.variable.picking != ''","computed":true},{"as":"pickerTitle","body":"return dsx.variable.picking == 'primary' ? 'Main Language' : 'Add a Language'","computed":true},{"as":"choices","body":"\n      if (!dsx.variable.loaded) { return [] }\n      const q = dsx.variable.query.trim().toLowerCase()\n      const mode = dsx.variable.picking\n      const primaryTag = dsx.variable.view.primary.tag\n      return dsx.variable.view.catalogue\n        .filter(c => q == '' || c.search.includes(q))\n        .map(c => ({ id: c.id, tag: c.tag, title: c.title, subtitle: c.gap != '' ? c.gap : c.stores,\n          checked: mode == 'primary' ? c.tag == primaryTag : c.declared, disabled: mode == 'primary' ? c.tag == primaryTag : c.declared }))\n    ","computed":true},{"as":"noChoices","body":"return dsx.variable.pickerOpen &amp;&amp; dsx.variable.plan == null &amp;&amp; dsx.variable.choices.length == 0","computed":true},{"as":"chosen","body":"\n      if (!dsx.variable.loaded || dsx.variable.planTag == '') { return null }\n      return dsx.variable.view.catalogue.find(c => c.tag == dsx.variable.planTag) || null\n    ","computed":true},{"as":"chosenTitle","body":"return dsx.variable.chosen == null ? dsx.variable.planTag : dsx.variable.chosen.title","computed":true},{"as":"chosenSubtitle","body":"\n      const c = dsx.variable.chosen\n      if (c == null) { return '' }\n      return c.gap != '' ? c.gap : c.stores\n    ","computed":true},{"as":"planFooter","body":"\n      if (dsx.variable.plan == null) { return '' }\n      if (!dsx.variable.plan.changed) { return 'Nothing to change.' }\n      return 'One change to your app\\'s files. You can undo it.'\n    ","computed":true},{"as":"confirmLabel","body":"\n      if (dsx.variable.plan == null || !dsx.variable.plan.changed) { return '' }\n      if (dsx.action.commit.pending) { return 'Saving…' }\n      return dsx.variable.picking == 'primary' ? 'Change' : 'Add'\n    ","computed":true},{"as":"removeTitle","body":"return dsx.variable.row == null ? '' : 'Remove ' + dsx.variable.row.name + '?'","computed":true},{"as":"removeMessage","body":"\n      const r = dsx.variable.row\n      if (r == null) { return '' }\n      return 'The app stops shipping ' + r.name + '.' + (r.table != '' ? ' ' + r.table + ' stays in your files, with its translations.' : '')\n    ","computed":true},{"as":"removeButtons","body":"return [{ title: 'Remove', role: 'destructive', action: 'convertdata.confirm', args: { ask: 'pl-remove' } }, { title: 'Cancel', role: 'cancel' }]","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      const id = dsx.attribute.projectId\n      if (id == '') { return }\n      const r = await dsx.module.convertdata.languages({ id: id })\n      if (!r.ok) { dsx.variable.error = 'Despia did not answer. Check your connection and try again.'; return }\n      dsx.variable.error = ''\n      dsx.variable.pageProblem = null\n      dsx.variable.view = r.data\n    "},{"as":"openPicker","inputs":{"mode":"dsx.this.id"},"body":"\n      dsx.variable.query = ''\n      dsx.variable.plan = null\n      dsx.variable.planTag = ''\n      dsx.variable.sheetProblem = null\n      dsx.variable.picking = mode\n    "},{"as":"closePicker","inputs":{},"body":"\n      dsx.variable.picking = ''\n      dsx.variable.plan = null\n      dsx.variable.planTag = ''\n      dsx.variable.sheetProblem = null\n    "},{"as":"send","inputs":{"tag":"''","mode":"'add'","dryRun":"true"},"body":"\n      const v = dsx.variable.view\n      const primary = mode == 'primary' ? tag : v.primary.tag\n      const rest = v.additional.map(r => r.tag).filter(t => t != primary &amp;&amp; t != tag)\n      const additional = mode == 'primary' ? rest : [...rest, tag]\n      return await dsx.action.put({ primary: primary, additional: additional, dryRun: dryRun })\n    "},{"as":"put","inputs":{"primary":"''","additional":"[]","dryRun":"true"},"body":"\n      const r = await dsx.module.convertdata.languagesSet({ id: dsx.attribute.projectId, primary: primary, additional: additional, expectedRevision: dsx.variable.view.revision, dryRun: dryRun })\n      if (!r.ok) { return { done: false, problem: { code: String(r.error || ''), message: messageOf(r), diagnosis: null } } }\n      return r.data\n    "},{"as":"choose","inputs":{"tag":"dsx.this.tag"},"body":"\n      const out = await dsx.action.send({ tag: tag, mode: dsx.variable.picking, dryRun: true })\n      if (!out.done) { dsx.variable.sheetProblem = out.problem; return }\n      dsx.variable.sheetProblem = null\n      dsx.variable.planTag = tag\n      dsx.variable.plan = out\n    "},{"as":"back","inputs":{},"body":"\n      dsx.variable.plan = null\n      dsx.variable.planTag = ''\n      dsx.variable.sheetProblem = null\n    "},{"as":"commit","inputs":{},"body":"\n      const tag = dsx.variable.planTag\n      const mode = dsx.variable.picking\n      if (tag == '' || dsx.variable.plan == null || !dsx.variable.plan.changed) { return }\n      const out = await dsx.action.send({ tag: tag, mode: mode, dryRun: false })\n      if (!out.done) { dsx.variable.plan = null; dsx.variable.sheetProblem = out.problem; return }\n      const name = dsx.variable.chosen == null ? tag : dsx.variable.chosen.name\n      dsx.action.closePicker()\n      await dsx.action.load()\n      dsx.action.offerUndo({ out: out, title: mode == 'primary' ? name + ' is the main language' : name + ' added', message: out.created.length &gt; 0 ? 'Created ' + out.created.join(', ') + '.' : 'Its table was already in your files.' })\n    "},{"as":"open","inputs":{"id":"dsx.this.id"},"body":"dsx.variable.selected = id"},{"as":"remove","inputs":{},"body":"\n      const r = dsx.variable.row\n      dsx.variable.asking = ''\n      if (r == null) { return }\n      const v = dsx.variable.view\n      const out = await dsx.action.put({ primary: v.primary.tag, additional: v.additional.map(x => x.tag).filter(t => t != r.tag), dryRun: false })\n      dsx.variable.selected = ''\n      if (!out.done) { dsx.variable.pageProblem = out.problem; return }\n      await dsx.action.load()\n      dsx.action.offerUndo({ out: out, title: r.name + ' removed', message: out.leftInPlace.length &gt; 0 ? out.leftInPlace.join(', ') + ' stays in your files.' : 'The app no longer ships it.' })\n    "},{"as":"offerUndo","inputs":{"out":"null","title":"''","message":"''"},"body":"\n      if (out == null || out.undo == null) { dsx.module.toast.show({ title: title, message: message }); return }\n      const t = await dsx.module.toast.show({ title: title, message: message, length: 'long', action: { label: 'Undo', id: 'undo' } })\n      if (t.ok &amp;&amp; t.data != null &amp;&amp; t.data.result == 'action') { await dsx.action.undo({ toSeq: out.undo.toSeq, revision: out.revision }) }\n    "},{"as":"undo","inputs":{"toSeq":"0","revision":"0"},"body":"\n      const r = await dsx.module.convertdata.revert({ id: dsx.attribute.projectId, toSeq: toSeq, revision: revision })\n      if (!r.ok) { dsx.variable.error = messageOf(r); return }\n      if (!r.data.done) { dsx.variable.pageProblem = r.data.problem; return }\n      await dsx.action.load()\n      dsx.module.toast.show({ title: 'Undone', message: 'The languages are back as they were.' })\n    "},{"as":"onConfirmed","inputs":{},"body":"\n      const k = dsx.module.convertdata.context.confirmed\n      if (k == null) { return }\n      if (k.ask == 'pl-remove' &amp;&amp; dsx.variable.asking == 'remove') { await dsx.action.remove() }\n    "}],"watches":[{"value":"dsx.attribute.projectId","handler":"dsx.action.load()","immediate":true},{"value":"dsx.module.convertdata.context.confirmed","handler":"dsx.action.onConfirmed()"}],"scripts":["\n      function messageOf(r) {\n        if (r == null) { return 'Despia did not answer. Try again in a moment.' }\n        if (r.error != null &amp;&amp; typeof r.error == 'object' &amp;&amp; r.error.message) { return r.error.message }\n        if (r.message) { return r.message }\n        return 'Despia did not answer. Try again in a moment.'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"project-languages"},"children":[{"tag":"Explainer","attrs":{"title":"Languages are part of your app's files","sheet-title":"How languages work","body":"Your app's **main language** is the one you write it in. Every other language is a translation of it.\n\nThe languages live in your project: **lang** and **locales** in dsx.config.json, and one **Strings.<tag>.json** table for each other language. Adding a language here creates its empty table; until a text is translated, the app shows it in the main language.\n\n**Your app's text translations are edited in the Strings tables**, by you, by an agent, or with the CLI: `despia locales` lists the languages and their coverage, and `despia strings --missing <tag>` lists what is left to translate.\n\n**Native text translations** — the home screen app name and texts declared by packages — can be edited below. Those changes apply with the next build.\n\n**Removing a language** stops the app shipping it. Its table stays in your files, with its translations.\n\nWith GitHub linked, every change here reaches your repository as a plain commit."},"children":[],"text":"","reactive":true,"nid":1},{"tag":"Callout","attrs":{"class":"page-notice","tone":"error","title":"Languages did not load","message":"{{ dsx.variable.error }}","action":"Try Again","visible-if":"dsx.variable.error != ''","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"ListGroup","attrs":{"visible-if":"!dsx.variable.loaded && dsx.variable.error == ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"globe","title":"Reading the languages…"},"children":[],"text":"","reactive":true,"nid":4}],"text":"\n    \n  ","reactive":true,"nid":3},{"tag":"Diagnosis","attrs":{"diagnosis":"{{ dsx.variable.pageProblem == null ? null : dsx.variable.pageProblem.diagnosis }}","project-id":"{{ dsx.attribute.projectId }}","on:recheck":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.pageProblem != null && dsx.variable.pageProblem.diagnosis == null"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.pageProblem.message }}"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n    \n  ","reactive":true,"nid":6},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.readOnly"},"children":[{"tag":"SettingsRow","attrs":{"icon":"lock","title":"Change languages where your files live","subtitle":"{{ dsx.variable.view.readOnlyReason }}"},"children":[],"text":"","reactive":true,"nid":9}],"text":"\n    \n  ","reactive":true,"nid":8},{"tag":"grid","attrs":{"columns":"adaptive","minimum":"420","scroll":"false","visible-if":"dsx.variable.loaded"},"children":[{"tag":"Panel","attrs":{"title":"Main language","subtitle":"The one you write the app in","actions":"{{ dsx.variable.primaryActions }}","on:action":"dsx.action.openPicker({ mode: 'primary' })","footer":"Every other language translates from this one."},"children":[{"tag":"SettingsRow","attrs":{"icon":"globe","title":"{{ dsx.variable.primary.title }}","subtitle":"{{ dsx.variable.primary.subtitle }}"},"children":[{"tag":"chip","attrs":{"label":"Main","role":"info"},"children":[],"text":"","reactive":false,"nid":13}],"text":"\n        \n      ","reactive":true,"nid":12},{"tag":"SettingsRow","attrs":{"icon":"info.circle","title":"{{ dsx.variable.primary.gap }}","visible-if":"dsx.variable.primary.gap != ''"},"children":[],"text":"","reactive":true,"nid":14}],"text":"\n      \n      \n    ","reactive":true,"nid":11},{"tag":"Panel","attrs":{"title":"Other languages","subtitle":"{{ dsx.variable.othersSubtitle }}","actions":"{{ dsx.variable.addActions }}","on:action":"dsx.action.openPicker({ mode: 'add' })","footer":"Untranslated text shows in the main language until it is translated."},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.others","key":"id","icon":"character.bubble","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.gap != '' ? dsx.this.subtitle + ' · ' + dsx.this.gap : dsx.this.subtitle }}","chevron":"true","tappable":"true","on:tap":"dsx.action.open()"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.this.status }}","role":"{{ dsx.this.role }}"},"children":[],"text":"","reactive":true,"nid":17}],"text":"\n        \n      ","reactive":true,"nid":16},{"tag":"SettingsRow","attrs":{"icon":"plus.circle","title":"Only the main language","subtitle":"Add a language to ship the app in it.","visible-if":"dsx.variable.others.length == 0"},"children":[],"text":"","reactive":true,"nid":18}],"text":"\n      \n      \n    ","reactive":true,"nid":15}],"text":"\n    \n    \n  ","reactive":true,"nid":10},{"tag":"ListGroup","attrs":{"header":"In your files, not declared","footer":"These tables are in your project, but the app does not ship their languages. Add a language to ship it.","visible-if":"dsx.variable.loaded && dsx.variable.view.undeclaredTables.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.view.undeclaredTables","key":"index","icon":"doc.text","title":"{{ dsx.this.value }}"},"children":[],"text":"","reactive":true,"nid":20}],"text":"\n    \n  ","reactive":true,"nid":19},{"tag":"ListGroup","attrs":{"header":"Translate","footer":"Translations are written in the Strings tables, by you, an agent or the CLI.","visible-if":"dsx.variable.loaded"},"children":[{"tag":"SettingsRow","attrs":{"title":"See every language and its coverage","subtitle":"despia locales"},"children":[{"tag":"CopyButton","attrs":{"value":"despia locales","label":"Copy See every language and its coverage"},"children":[],"text":"","reactive":true,"nid":23}],"text":"\n      \n    ","reactive":true,"nid":22},{"tag":"SettingsRow","attrs":{"title":"List what is left to translate","subtitle":"{{ dsx.variable.missingCommand }}"},"children":[{"tag":"CopyButton","attrs":{"value":"{{ dsx.variable.missingCommand }}","label":"Copy List what is left to translate"},"children":[],"text":"","reactive":true,"nid":25}],"text":"\n      \n    ","reactive":true,"nid":24}],"text":"\n    \n    \n  ","reactive":true,"nid":21},{"tag":"NativeStrings","attrs":{"project-id":"{{ dsx.attribute.projectId }}","languages-revision":"{{ dsx.variable.view == null ? 0 : dsx.variable.view.revision }}","on:changed":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":26},{"tag":"sheet","attrs":{"detents":"large","present":"dsx.variable.pickerOpen","title":"{{ dsx.variable.pickerTitle }}","close":"leading","action":"{{ dsx.variable.confirmLabel }}","on:action":"dsx.action.commit()","on:dismiss":"dsx.action.closePicker()"},"children":[{"tag":"searchbar","attrs":{"aria-label":"Search languages","bind":"dsx.variable.query","placeholder":"Search by name or code","visible-if":"dsx.variable.plan == null"},"children":[],"text":"","reactive":true,"nid":28},{"tag":"Diagnosis","attrs":{"diagnosis":"{{ dsx.variable.sheetProblem == null ? null : dsx.variable.sheetProblem.diagnosis }}","project-id":"{{ dsx.attribute.projectId }}","on:recheck":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":29},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.sheetProblem != null && dsx.variable.sheetProblem.diagnosis == null"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.sheetProblem.message }}"},"children":[],"text":"","reactive":true,"nid":31}],"text":"\n      \n    ","reactive":true,"nid":30},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.noChoices"},"children":[{"tag":"SettingsRow","attrs":{"icon":"magnifyingglass","title":"No language matches","subtitle":"Search by its English name, its own name, or a store code like pt-BR."},"children":[],"text":"","reactive":true,"nid":33}],"text":"\n      \n    ","reactive":true,"nid":32},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.plan == null && !dsx.variable.noChoices"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.choices","key":"id","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}","checked":"{{ dsx.this.checked }}","disabled":"{{ dsx.this.disabled }}","tappable":"{{ !dsx.this.disabled }}","on:tap":"dsx.action.choose()"},"children":[],"text":"","reactive":true,"nid":35}],"text":"\n      \n    ","reactive":true,"nid":34},{"tag":"ListGroup","attrs":{"header":"Ready","footer":"{{ dsx.variable.planFooter }}","visible-if":"dsx.variable.plan != null","transition":"fade"},"children":[{"tag":"SettingsRow","attrs":{"icon":"checkmark.circle.fill","tone":"success","title":"{{ dsx.variable.chosenTitle }}","subtitle":"{{ dsx.variable.chosenSubtitle }}"},"children":[],"text":"","reactive":true,"nid":37},{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.plan.files","key":"id","icon":"doc.text","title":"{{ dsx.this.title }}"},"children":[],"text":"","reactive":true,"nid":38}],"text":"\n      \n      \n    ","reactive":true,"nid":36},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.plan != null"},"children":[{"tag":"SettingsRow","attrs":{"icon":"arrow.uturn.backward","title":"Choose Another Language","tone":"accent","tappable":"true","on:tap":"dsx.action.back()"},"children":[],"text":"","reactive":true,"nid":40}],"text":"\n      \n    ","reactive":true,"nid":39}],"text":"\n    \n    \n    \n    \n    \n    \n    \n  ","reactive":true,"nid":27},{"tag":"sheet","attrs":{"detents":"content","present":"dsx.variable.detailOpen","title":"{{ dsx.variable.row == null ? '' : dsx.variable.row.name }}","close":"leading","on:dismiss":"dsx.variable.selected = ''"},"children":[{"tag":"ListGroup","attrs":{"footer":"{{ dsx.variable.row == null ? '' : dsx.variable.row.gap }}"},"children":[{"tag":"SettingsRow","attrs":{"icon":"character.bubble","title":"{{ dsx.variable.row.endonym }}","value":"{{ dsx.variable.row.tag }}"},"children":[],"text":"","reactive":true,"nid":43},{"tag":"SettingsRow","attrs":{"icon":"checkmark.seal","title":"Translated","value":"{{ dsx.variable.row.coverage }}"},"children":[],"text":"","reactive":true,"nid":44},{"tag":"SettingsRow","attrs":{"icon":"doc.text","title":"Table","value":"{{ dsx.variable.row.table != '' ? dsx.variable.row.table : 'None yet' }}"},"children":[],"text":"","reactive":true,"nid":45},{"tag":"SettingsRow","attrs":{"icon":"text.alignright","title":"Right to left","visible-if":"dsx.variable.row != null && dsx.variable.row.rtl"},"children":[],"text":"","reactive":true,"nid":46},{"tag":"SettingsRow","attrs":{"icon":"apple.logo","title":"App Store","value":"{{ dsx.variable.row.apple != '' ? dsx.variable.row.apple : 'Not listed' }}"},"children":[],"text":"","reactive":true,"nid":47},{"tag":"SettingsRow","attrs":{"icon":"android.logo","title":"Google Play","value":"{{ dsx.variable.row.play != '' ? dsx.variable.row.play : 'Not listed' }}"},"children":[],"text":"","reactive":true,"nid":48}],"text":"\n      \n      \n      \n      \n      \n      \n    ","reactive":true,"nid":42},{"tag":"ListGroup","attrs":{"header":"Left to translate","visible-if":"dsx.variable.row != null && !dsx.variable.row.complete"},"children":[{"tag":"SettingsRow","attrs":{"title":"List the missing texts","subtitle":"{{ dsx.variable.missingCommand }}"},"children":[{"tag":"CopyButton","attrs":{"value":"{{ dsx.variable.missingCommand }}","label":"Copy List the missing texts"},"children":[],"text":"","reactive":true,"nid":51}],"text":"\n        \n      ","reactive":true,"nid":50}],"text":"\n      \n    ","reactive":true,"nid":49},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.canEdit"},"children":[{"tag":"SettingsRow","attrs":{"icon":"trash","title":"Remove Language","tone":"destructive","tappable":"true","on:tap":"dsx.variable.asking = 'remove'"},"children":[],"text":"","reactive":true,"nid":53}],"text":"\n      \n    ","reactive":true,"nid":52}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":41},{"tag":"alert","attrs":{"present":"dsx.variable.asking == 'remove'","title":"{{ dsx.variable.removeTitle }}","message":"{{ dsx.variable.removeMessage }}","buttons":"dsx.variable.removeButtons","on:dismiss":"dsx.variable.asking = ''"},"children":[],"text":"","reactive":true,"nid":54}],"text":"\n  \n\n  \n\n  \n\n  \n\n  \n  \n\n  \n\n  \n\n  \n\n  \n\n  \n\n  \n  \n\n  \n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.ProjectPackages":{"name":"ProjectPackages","scheme":"platform","head":{"attributes":[{"as":"project-id"},{"as":"adding","default":"false"}],"apis":[],"expects":[],"events":[{"as":"closeCatalog","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"packages","body":"return []","computed":false},{"as":"leftOut","body":"return []","computed":false},{"as":"note","body":"return ''","computed":false},{"as":"reviewing","body":"return false","computed":false},{"as":"removing","body":"return null","computed":false},{"as":"asked","body":"return null","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"browsing","body":"return false","computed":false},{"as":"opened","body":"return null","computed":false},{"as":"baseOpen","body":"return false","computed":false},{"as":"depsOpen","body":"return false","computed":false},{"as":"depsFocus","body":"return ''","computed":false},{"as":"versionPackages","body":"return []","computed":false},{"as":"versionsLoaded","body":"return false","computed":false},{"as":"versionsError","body":"return ''","computed":false},{"as":"versionActions","body":"return false","computed":false},{"as":"versionAsk","body":"return null","computed":false},{"as":"versionPicked","body":"return null","computed":false},{"as":"updates","body":"return dsx.variable.versionPackages.filter(p => p.outdated == true)","computed":true},{"as":"updatesSummary","body":"return dsx.variable.updates.length + (dsx.variable.updates.length == 1 ? ' update, ' : ' updates, ') + dsx.variable.updates.filter(p => p.breaking == true).length + ' breaking'","computed":true},{"as":"versionButtons","body":"return [{ title: dsx.variable.versionAsk == null ? 'Update' : dsx.variable.versionAsk.label, action: 'convertdata.confirm', args: { ask: 'package-version' } }, { title: 'Cancel', role: 'cancel' }]","computed":true},{"as":"defaults","body":"return dsx.variable.packages.filter(p => p.origin == 'v3-default' &amp;&amp; !p.base &amp;&amp; (p.note == '' || p.advice != 'keep'))","computed":true},{"as":"defaultsTitle","body":"return dsx.variable.defaults.length == 1 ? '1 package came from V3 defaults' : dsx.variable.defaults.length + ' packages came from V3 defaults'","computed":true},{"as":"shown","body":"return dsx.variable.reviewing ? dsx.variable.defaults : dsx.variable.packages","computed":true},{"as":"rows","body":"\n      return dsx.variable.shown.map(p => ({\n        package: p.package, name: p.name, categoryIcon: p.categoryIcon,\n        group: p.base ? 'Always included' : 'In this app',\n        status: statusLine(p),\n        chip: chipOf(p),\n        entry: p\n      }))\n    ","computed":true},{"as":"cards","body":"return dsx.variable.rows.filter(r => !r.entry.base)","computed":true},{"as":"baseRows","body":"return dsx.variable.rows.filter(r => r.entry.base)","computed":true},{"as":"removeButtons","body":"return [{ title: 'Remove', role: 'destructive', action: 'convertdata.confirm', args: { ask: 'remove-package' } }, { title: 'Cancel', role: 'cancel' }]","computed":true},{"as":"removeTitle","body":"return dsx.variable.removing == null ? '' : 'Remove ' + dsx.variable.removing.name + '?'","computed":true},{"as":"installedPaths","body":"return dsx.variable.packages.map(p => p.package)","computed":true}],"formulas":[],"actions":[{"as":"loadVersions","inputs":{},"body":"\n      const r = await dsx.module.convertdata.packageUpdates({ id: dsx.attribute.projectId })\n      dsx.variable.versionsLoaded = true\n      if (!r.ok) { dsx.variable.versionsError = 'Package versions did not load. Try again.'; return }\n      dsx.variable.versionsError = ''\n      dsx.variable.versionPackages = r.data.packages\n      dsx.variable.versionActions = r.data.available\n    "},{"as":"askVersion","inputs":{"entry":"dsx.this.entry","op":"dsx.this.op"},"body":"\n      if (dsx.action.changeVersion.pending || !dsx.variable.versionActions) { return }\n      dsx.variable.versionAsk = { entry: entry, op: op, label: op == 'pin' ? 'Update' : 'Roll back' }\n      dsx.variable.versionPicked = dsx.variable.versionAsk\n    "},{"as":"changeVersion","inputs":{},"body":"\n      const picked = dsx.variable.versionPicked\n      if (picked == null) { return }\n      dsx.variable.versionPicked = null\n      dsx.variable.versionAsk = null\n      const r = await dsx.module.convertdata.packageVersionChange({ id: dsx.attribute.projectId, package: picked.entry.package, op: picked.op, version: picked.entry.latest })\n      if (!r.ok) { dsx.variable.versionsError = messageOf(r); return }\n      if (!r.data.available) { dsx.variable.versionActions = false; return }\n      await dsx.action.loadVersions()\n    "},{"as":"load","inputs":{},"body":"\n      await dsx.action.loadVersions()\n      const r = await dsx.module.convertdata.migrationPreview({ id: dsx.attribute.projectId })\n      if (!r.ok) { dsx.variable.error = 'Despia did not answer. Check your connection and try again.'; return }\n      dsx.variable.error = ''\n      dsx.variable.note = ''\n      dsx.variable.packages = r.data.packages\n      dsx.variable.leftOut = r.data.leftOut == null ? [] : r.data.leftOut\n    "},{"as":"addBack","inputs":{"entry":"dsx.this"},"body":"\n      if (entry == null) { return }\n      const plan = await dsx.module.convertdata.planPackage({ id: dsx.attribute.projectId, package: entry.package, installed: true })\n      if (!plan.ok) { dsx.variable.error = messageOf(plan); return }\n      const r = await dsx.module.convertdata.applyPlan({ planId: plan.data.planId })\n      if (!r.ok) { dsx.variable.error = messageOf(r); return }\n      dsx.variable.error = ''\n      dsx.module.toast.show({ title: entry.name + ' added back', message: 'It is in the app again from the next build.' })\n      await dsx.action.load()\n    "},{"as":"closeCatalog","inputs":{},"body":"\n      dsx.variable.browsing = false\n      dsx.event('closeCatalog')\n    "},{"as":"showDeps","inputs":{"focus":"dsx.this.focus"},"body":"\n      dsx.variable.depsFocus = focus\n      dsx.variable.opened = null\n      dsx.variable.depsOpen = true\n    "},{"as":"askRemove","inputs":{"entry":"dsx.this.entry"},"body":"\n      if (entry == null || entry.base) { return }\n      dsx.variable.opened = null\n      dsx.variable.removing = entry\n      dsx.variable.asked = entry\n    "},{"as":"onConfirmed","inputs":{},"body":"\n      const k = dsx.module.convertdata.context.confirmed\n      if (k == null) { return }\n      if (k.ask == 'package-version') { await dsx.action.changeVersion(); return }\n      if (k.ask == 'package-remove') { dsx.variable.removing = dsx.variable.packages.find(p => p.package == k.value) || null; dsx.variable.asked = dsx.variable.removing; return }\n      //  The alert's dismiss clears `removing` before this runs, so the package asked about is kept in `asked`.\n      if (k.ask != 'remove-package' || dsx.variable.asked == null) { return }\n      const picked = dsx.variable.asked\n      dsx.variable.asked = null\n      dsx.variable.removing = null\n      const plan = await dsx.module.convertdata.planPackage({ id: dsx.attribute.projectId, package: picked.package, installed: false })\n      if (!plan.ok) { dsx.variable.error = messageOf(plan); return }\n      const r = await dsx.module.convertdata.applyPlan({ planId: plan.data.planId })\n      if (!r.ok) { dsx.variable.error = messageOf(r); return }\n      dsx.variable.error = ''\n      dsx.module.toast.show({ title: picked.name + ' removed', message: 'It is left out of the app from the next build.' })\n      await dsx.action.load()\n    "}],"watches":[{"value":"dsx.module.convertdata.context.confirmed","handler":"dsx.action.onConfirmed()"}],"scripts":["\n      function messageOf(r) {\n        if (r == null) { return 'Despia did not answer. Try again in a moment.' }\n        if (r.error != null &amp;&amp; typeof r.error == 'object' &amp;&amp; r.error.message) { return r.error.message }\n        if (r.message) { return r.message }\n        return 'Despia did not answer. Try again in a moment.'\n      }\n      function chipOf(p) {\n        if (p.base) { return '' }\n        if (p.note != null &amp;&amp; p.note != '') { return p.advice == 'remove' ? 'Suggested: remove' : p.advice == 'check' ? 'Check' : '' }\n        return p.advice == 'remove' || (p.origin == 'v3-default' &amp;&amp; p.usage != 'seen') ? 'Suggested: remove' : ''\n      }\n      function statusLine(p) {\n        if (p.base) { return 'Part of every app' }\n        if (p.note != null &amp;&amp; p.note != '' &amp;&amp; p.usage != 'seen') { return p.note }\n        if (p.usage == 'seen') { return 'Used in ' + String(p.evidence).split(':')[0] }\n        if (p.usage == 'not-seen') { return 'Not found in your code' }\n        if (p.origin == 'configured') { return 'Configured' }\n        if (p.origin == 'v3-default') { return 'From V3 defaults' }\n        return 'Installed'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{"on:appear":"dsx.action.load()"},"children":[{"tag":"ListGroup","attrs":{"header":"Updates"},"children":[{"tag":"SettingsRow","attrs":{"title":"{{ dsx.variable.updatesSummary }}","visible-if":"dsx.variable.versionsLoaded && dsx.variable.versionsError == '' && dsx.variable.updates.length > 0"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"SettingsRow","attrs":{"visible-if":"!dsx.variable.versionsLoaded","title":"Loading updates"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"SettingsRow","attrs":{"visible-if":"dsx.variable.versionsLoaded && dsx.variable.versionsError == '' && dsx.variable.updates.length == 0","icon":"checkmark.circle","title":"No updates","subtitle":"Every package is at its current checkpoint."},"children":[],"text":"","reactive":true,"nid":4},{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.updates","key":"package","icon":"shippingbox","title":"{{ dsx.this.package }}","subtitle":"Installed {{ dsx.this.version }} · Latest {{ dsx.this.latest }}","badge":"{{ dsx.this.breaking ? 'Breaking' : '' }}","badge-role":"warning"},"children":[{"tag":"button","attrs":{"label":"Update","variant":"bordered","visible-if":"dsx.variable.versionActions","disabled":"{{ dsx.action.changeVersion.pending }}","on:tap":"dsx.action.askVersion({ entry: dsx.this, op: 'pin' })"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"button","attrs":{"label":"Roll back","variant":"bordered","visible-if":"dsx.variable.versionActions && dsx.this.history != null && dsx.this.history.length > 1","disabled":"{{ dsx.action.changeVersion.pending }}","on:tap":"dsx.action.askVersion({ entry: dsx.this, op: 'rollback' })"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n      \n      \n    ","reactive":true,"nid":5}],"text":"\n    \n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"Callout","attrs":{"tone":"error","title":"Updates did not load","message":"{{ dsx.variable.versionsError }}","action":"Retry","visible-if":"dsx.variable.versionsError != ''","on:action":"dsx.action.loadVersions()"},"children":[],"text":"","reactive":true,"nid":8},{"tag":"alert","attrs":{"present":"dsx.variable.versionAsk != null","title":"{{ dsx.variable.versionAsk == null ? '' : dsx.variable.versionAsk.label + ' ' + dsx.variable.versionAsk.entry.package + '?' }}","message":"The package version changes for your next build.","buttons":"dsx.variable.versionButtons","on:dismiss":"dsx.variable.versionAsk = null"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"Callout","attrs":{"class":"page-notice","tone":"error","title":"Packages did not load","message":"{{ dsx.variable.error }}","action":"Try Again","visible-if":"dsx.variable.error != ''","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":10},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.note != ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"info.circle","title":"{{ dsx.variable.note }}"},"children":[],"text":"","reactive":true,"nid":12}],"text":"\n    \n  ","reactive":true,"nid":11},{"tag":"ListGroup","attrs":{"footer":"Apple rejects apps that ship code they never call.","visible-if":"dsx.variable.defaults.length > 0 && !dsx.variable.reviewing"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.defaultsTitle }}","link":"Review","link-icon":"none","tappable":"true","on:tap":"dsx.variable.reviewing = true"},"children":[],"text":"","reactive":true,"nid":14}],"text":"\n    \n  ","reactive":true,"nid":13},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.reviewing"},"children":[{"tag":"SettingsRow","attrs":{"icon":"shippingbox","title":"Show All Packages","tone":"accent","tappable":"true","on:tap":"dsx.variable.reviewing = false"},"children":[],"text":"","reactive":true,"nid":16}],"text":"\n    \n  ","reactive":true,"nid":15},{"tag":"ListGroup","attrs":{"header":"In this app","visible-if":"dsx.variable.cards.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.cards","key":"package","icon":"{{ dsx.this.categoryIcon }}","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.status }}","chevron":"true","tappable":"true","on:tap":"dsx.variable.opened = dsx.this"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.this.chip }}","role":"warning","visible-if":"dsx.this.chip != ''"},"children":[],"text":"","reactive":true,"nid":19}],"text":"\n      \n    ","reactive":true,"nid":18},{"tag":"SettingsRow","attrs":{"icon":"checkmark.seal","title":"Always Included","value":"{{ dsx.variable.baseRows.length }}","chevron":"true","tappable":"true","visible-if":"dsx.variable.baseRows.length > 0","on:tap":"dsx.variable.baseOpen = true"},"children":[],"text":"","reactive":true,"nid":20}],"text":"\n    \n    \n  ","reactive":true,"nid":17},{"tag":"ListGroup","attrs":{"header":"Left out when converting","footer":"Your public web code never called these, so they were left out. Add one back if your app uses it behind a sign in.","visible-if":"dsx.variable.leftOut.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.leftOut","key":"package","icon":"{{ dsx.this.categoryIcon }}","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.note }}"},"children":[{"tag":"button","attrs":{"variant":"bordered","label":"Add","on:tap":"dsx.action.addBack()"},"children":[],"text":"","reactive":true,"nid":23}],"text":"","reactive":true,"nid":22}],"text":"\n    \n  ","reactive":true,"nid":21},{"tag":"ListGroup","attrs":{},"children":[{"tag":"SettingsRow","attrs":{"icon":"point.3.connected.trianglepath.dotted","title":"Dependencies","subtitle":"Why each package is in your app","chevron":"true","tappable":"true","on:tap":"dsx.action.showDeps({ focus: '' })"},"children":[],"text":"","reactive":true,"nid":25},{"tag":"SettingsRow","attrs":{"icon":"plus","title":"Add Packages","tone":"accent","tappable":"true","on:tap":"dsx.variable.browsing = true"},"children":[],"text":"","reactive":true,"nid":26}],"text":"\n    \n    \n  ","reactive":true,"nid":24},{"tag":"sheet","attrs":{"detents":"large","present":"dsx.variable.opened != null","title":"{{ dsx.variable.opened == null ? '' : dsx.variable.opened.name }}","on:dismiss":"dsx.variable.opened = null"},"children":[{"tag":"PackageConfig","attrs":{"project-id":"{{ dsx.attribute.projectId }}","package":"{{ dsx.variable.opened.package }}","visible-if":"dsx.variable.opened != null"},"children":[],"text":"","reactive":true,"nid":28},{"tag":"ListGroup","attrs":{"header":"What this adds","visible-if":"dsx.variable.opened != null && (dsx.variable.opened.entry.sdks.length > 0 || dsx.variable.opened.entry.permissions.length > 0)"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.opened.entry.sdks","key":"id","icon":"shippingbox","title":"{{ dsx.this.name }}"},"children":[],"text":"","reactive":true,"nid":30},{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.opened.entry.permissions","key":"id","icon":"hand.raised","title":"{{ dsx.this.name }}"},"children":[],"text":"","reactive":true,"nid":31}],"text":"\n      \n      \n    ","reactive":true,"nid":29},{"tag":"ListGroup","attrs":{"header":"Evidence","visible-if":"dsx.variable.opened != null && dsx.variable.opened.entry.evidence != ''"},"children":[{"tag":"CodeBlock","attrs":{"language":"js","value":"{{ dsx.variable.opened.entry.evidence }}"},"children":[],"text":"","reactive":true,"nid":33}],"text":"\n      \n    ","reactive":true,"nid":32},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.opened != null","footer":"Why this package is in your app, and what it brings with it."},"children":[{"tag":"SettingsRow","attrs":{"icon":"point.3.connected.trianglepath.dotted","title":"View dependency details","chevron":"true","tappable":"true","on:tap":"dsx.action.showDeps({ focus: dsx.variable.opened.package })"},"children":[],"text":"","reactive":true,"nid":35}],"text":"\n      \n    ","reactive":true,"nid":34},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.opened != null"},"children":[{"tag":"SettingsRow","attrs":{"icon":"minus.circle","title":"Remove from This App","tone":"destructive","tappable":"true","on:tap":"dsx.action.askRemove({ entry: dsx.variable.opened.entry })"},"children":[],"text":"","reactive":true,"nid":37}],"text":"\n      \n    ","reactive":true,"nid":36}],"text":"\n    \n    \n    \n    \n    \n  ","reactive":true,"nid":27},{"tag":"sheet","attrs":{"detents":"large","present":"dsx.variable.depsOpen","title":"Dependencies","on:dismiss":"dsx.variable.depsOpen = false"},"children":[{"tag":"DependencyView","attrs":{"project-id":"{{ dsx.attribute.projectId }}","focus-package":"{{ dsx.variable.depsFocus }}","visible-if":"dsx.variable.depsOpen"},"children":[],"text":"","reactive":true,"nid":39}],"text":"\n    \n  ","reactive":true,"nid":38},{"tag":"sheet","attrs":{"detents":"content","present":"dsx.variable.baseOpen","title":"Always Included","on:dismiss":"dsx.variable.baseOpen = false"},"children":[{"tag":"ListGroup","attrs":{"footer":"Every app needs these; they cannot be removed."},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.baseRows","key":"package","icon":"{{ dsx.this.categoryIcon }}","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.status }}"},"children":[],"text":"","reactive":true,"nid":42}],"text":"\n      \n    ","reactive":true,"nid":41}],"text":"\n    \n  ","reactive":true,"nid":40},{"tag":"PackageCatalog","attrs":{"present":"{{ dsx.attribute.adding || dsx.variable.browsing }}","installed":"{{ dsx.variable.installedPaths }}","project-id":"{{ dsx.attribute.projectId }}","on:close":"dsx.action.closeCatalog()","on:changed":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":43},{"tag":"alert","attrs":{"present":"dsx.variable.removing != null","title":"{{ dsx.variable.removeTitle }}","message":"It is dropped from your app at the next build.","buttons":"dsx.variable.removeButtons","on:dismiss":"dsx.variable.removing = null"},"children":[],"text":"","reactive":true,"nid":44}],"text":"\n  \n\n  \n  \n  \n\n  \n  \n\n  \n  \n\n  \n  \n\n  \n\n  \n\n  \n\n  \n\n  \n\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.ProjectReleases":{"name":"ProjectReleases","scheme":"platform","head":{"attributes":[{"as":"project-id","default":"''"},{"as":"choice","default":"'iOS'"},{"as":"setup-open","default":"false"}],"apis":[],"expects":[],"events":[{"as":"build","payload":[]},{"as":"submit","payload":[]},{"as":"entered","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"data","body":"return null","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"comparing","body":"return false","computed":false},{"as":"notesOpen","body":"return false","computed":false},{"as":"fromLabel","body":"return ''","computed":false},{"as":"toLabel","body":"return ''","computed":false},{"as":"diff","body":"return null","computed":false},{"as":"assisting","body":"return false","computed":false},{"as":"allChanges","body":"return false","computed":false},{"as":"platform","body":"return dsx.attribute.choice == 'Android' ? 'android' : 'ios'","computed":true},{"as":"rel","body":"return dsx.variable.data == null ? null : dsx.variable.data[dsx.variable.platform]","computed":true},{"as":"has","body":"return dsx.variable.rel != null","computed":true},{"as":"none","body":"return dsx.variable.error == '' &amp;&amp; dsx.variable.data != null &amp;&amp; !dsx.variable.has","computed":true},{"as":"banner","body":"\n      if (!dsx.variable.has) { return { tone: 'info', title: '', message: '', action: '' } }\n      const b = dsx.variable.rel.banner\n      if (dsx.attribute.setupOpen &amp;&amp; dsx.variable.rel.action.kind == 'build_upload') {\n        return { tone: b.tone, title: b.title, message: 'Finish Store Setup first. Then Build sends it to ' + (dsx.variable.platform == 'ios' ? 'TestFlight' : 'internal testing') + '.', action: '' }\n      }\n      return b\n    ","computed":true},{"as":"channels","body":"return dsx.variable.has ? dsx.variable.rel.channels : []","computed":true},{"as":"rows","body":"return dsx.variable.has ? dsx.variable.rel.rows : []","computed":true},{"as":"fewChanges","body":"return 5","computed":true},{"as":"shownRows","body":"return dsx.variable.allChanges ? dsx.variable.rows : dsx.variable.rows.slice(0, dsx.variable.fewChanges)","computed":true},{"as":"built","body":"return dsx.variable.has &amp;&amp; dsx.variable.rel.built","computed":true},{"as":"notYet","body":"return dsx.variable.has ? dsx.variable.rel.notYet : ''","computed":true},{"as":"channelRows","body":"\n      return dsx.variable.channels.filter(c => c.id != 'working' &amp;&amp; c.present).map(c => ({ id: c.id, icon: c.icon, title: c.title, buildPage: c.buildPage,\n        line: [c.version, c.detail].filter(x => x != '').join(' · '), chip: c.chip, role: c.role }))\n    ","computed":true},{"as":"reviewRows","body":"return dsx.variable.has ? dsx.variable.rel.reviewRows : []","computed":true},{"as":"compact","body":"return dsx.screen.width &lt; 760","computed":true},{"as":"settingRows","body":"return dsx.variable.has &amp;&amp; dsx.variable.rel.settingRows != null ? dsx.variable.rel.settingRows : []","computed":true},{"as":"settingsFooter","body":"return dsx.variable.has &amp;&amp; dsx.variable.rel.settingsUnknown ? 'The store build was made before Despia recorded settings, so its settings cannot be compared.' : 'What your users have now, what they get, and when.'","computed":true},{"as":"contentRows","body":"return dsx.variable.has &amp;&amp; dsx.variable.rel.content != null ? [dsx.variable.rel.content] : []","computed":true},{"as":"connected","body":"return dsx.variable.has &amp;&amp; dsx.variable.rel.connected","computed":true},{"as":"storeTitle","body":"return dsx.variable.platform == 'ios' ? 'App Store Connect' : 'Google Play Console'","computed":true},{"as":"storeLine","body":"\n      if (!dsx.variable.has) { return '' }\n      return dsx.variable.rel.storeError != '' ? dsx.variable.rel.storeError : dsx.variable.rel.checked\n    ","computed":true},{"as":"canAssist","body":"return dsx.variable.connected || dsx.variable.channels.some(c => c.id == 'production' &amp;&amp; c.present)","computed":true},{"as":"compareOptions","body":"return dsx.variable.has ? dsx.variable.rel.compare.map(c => c.label) : []","computed":true},{"as":"fromId","body":"\n      const c = dsx.variable.has ? dsx.variable.rel.compare.find(x => x.label == dsx.variable.fromLabel) : null\n      return c == null ? '' : c.id\n    ","computed":true},{"as":"toId","body":"\n      const c = dsx.variable.has ? dsx.variable.rel.compare.find(x => x.label == dsx.variable.toLabel) : null\n      return c == null ? '' : c.id\n    ","computed":true},{"as":"diffRows","body":"return dsx.variable.diff == null ? [] : dsx.variable.diff.rows","computed":true},{"as":"diffEmpty","body":"return dsx.variable.diff == null ? '' : dsx.variable.diff.empty","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      const r = await dsx.module.convertdata.releases({ id: dsx.attribute.projectId })\n      if (!r.ok) { dsx.variable.error = 'Despia did not answer. Check your connection and try again.'; return }\n      dsx.variable.error = ''\n      dsx.variable.data = r.data\n      dsx.action.resetCompare()\n    "},{"as":"checkNow","inputs":{},"body":"\n      const r = await dsx.module.convertdata.releases({ id: dsx.attribute.projectId, refresh: true })\n      if (!r.ok) { dsx.module.toast.show({ title: 'Could not check the stores', message: r.message ? r.message : 'Try again in a minute.' }); return }\n      dsx.variable.data = r.data\n      dsx.action.compare()\n    "},{"as":"resetCompare","inputs":{},"body":"\n      const rel = dsx.variable.rel\n      if (rel == null) { dsx.variable.diff = null; return }\n      const live = rel.compare.find(c => c.id == 'production')\n      const first = live != null ? live : rel.compare.find(c => c.id == 'build')\n      dsx.variable.fromLabel = first == null ? '' : first.label\n      dsx.variable.toLabel = rel.compare.length &gt; 0 ? rel.compare[0].label : ''\n      await dsx.action.compare()\n    "},{"as":"compare","inputs":{},"body":"\n      if (dsx.variable.fromId == '' || dsx.variable.toId == '') { dsx.variable.diff = null; return }\n      const r = await dsx.module.convertdata.releaseDiff({ id: dsx.attribute.projectId, platform: dsx.variable.platform, from: dsx.variable.fromId, to: dsx.variable.toId })\n      dsx.variable.diff = r.ok ? r.data : { from: '', to: '', rows: [], empty: r.message ? r.message : 'These two could not be compared.' }\n    "},{"as":"primary","inputs":{},"body":"\n      const kind = dsx.variable.has ? dsx.variable.rel.action.kind : ''\n      if (kind == 'build_upload') { dsx.event('build'); return }\n      if (kind == 'submit') { dsx.event('submit') }\n    "},{"as":"openChannel","inputs":{"page":"dsx.this.buildPage"},"body":"\n      if (page == '') { return }\n      dsx.module.route.push({ path: '/builds/' + (page.includes('.') ? page : dsx.attribute.projectId + '.' + page) })\n    "}],"watches":[{"value":"dsx.attribute.projectId","handler":"dsx.action.load()","immediate":true},{"value":"dsx.attribute.choice","handler":"dsx.action.resetCompare()"},{"value":"dsx.variable.fromLabel","handler":"dsx.action.compare()"},{"value":"dsx.variable.toLabel","handler":"dsx.action.compare()"}],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"release-sections","on:appear":"dsx.event('entered')"},"children":[{"tag":"ListGroup","attrs":{"visible-if":"dsx.action.load.pending && dsx.variable.data == null"},"children":[{"tag":"SettingsRow","attrs":{"icon":"clock","title":"Reading your builds and stores"},"children":[],"text":"","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1},{"tag":"Callout","attrs":{"class":"page-notice","tone":"error","title":"Releases did not load","message":"{{ dsx.variable.error }}","action":"Try Again","visible-if":"dsx.variable.error != ''","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"ListGroup","attrs":{"footer":"Releases show what each build and store carries once this app is on V4.","visible-if":"dsx.variable.none"},"children":[{"tag":"SettingsRow","attrs":{"icon":"square.stack","title":"No release information yet"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n    \n  ","reactive":true,"nid":4},{"tag":"Callout","attrs":{"class":"page-notice","tone":"{{ dsx.variable.banner.tone }}","title":"{{ dsx.variable.banner.title }}","message":"{{ dsx.variable.banner.message }}","action":"{{ dsx.variable.banner.action }}","visible-if":"dsx.variable.has","transition":"fade","on:action":"dsx.action.primary()"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"ListGroup","attrs":{"header":"Where your app is","visible-if":"dsx.variable.built"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.channelRows","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.line }}","chevron":"{{ dsx.this.buildPage != '' ? 'true' : 'false' }}","tappable":"{{ dsx.this.buildPage != '' ? 'true' : 'false' }}","on:tap":"dsx.action.openChannel()"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.this.chip }}","role":"{{ dsx.this.role }}"},"children":[],"text":"","reactive":true,"nid":9}],"text":"\n      \n    ","reactive":true,"nid":8},{"tag":"SettingsRow","attrs":{"icon":"circle.dashed","title":"{{ 'Not on ' + dsx.variable.notYet + ' yet' }}","visible-if":"dsx.variable.notYet != ''"},"children":[],"text":"","reactive":true,"nid":10}],"text":"\n    \n    \n  ","reactive":true,"nid":7},{"tag":"ListGroup","attrs":{"header":"Not in your app yet","visible-if":"dsx.variable.built && dsx.variable.rows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.shownRows","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}","badge":"{{ dsx.this.review ? 'Review notes' : '' }}","badge-role":"warning"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.this.furthest }}","role":"{{ dsx.this.furthestRole }}"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n      \n    ","reactive":true,"nid":12},{"tag":"SettingsRow","attrs":{"icon":"ellipsis.circle","title":"{{ dsx.variable.allChanges ? 'Show Fewer' : 'Show All ' + dsx.variable.rows.length }}","tone":"accent","tappable":"true","visible-if":"dsx.variable.rows.length > dsx.variable.fewChanges","on:tap":"dsx.variable.allChanges = !dsx.variable.allChanges"},"children":[],"text":"","reactive":true,"nid":14}],"text":"\n    \n    \n  ","reactive":true,"nid":11},{"tag":"ListGroup","attrs":{"header":"Settings","footer":"{{ dsx.variable.settingsFooter }}","visible-if":"dsx.variable.built && (dsx.variable.settingRows.length > 0 || dsx.variable.rel.settingsUnknown)"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.settingRows","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.variable.compact ? dsx.this.chipShort : dsx.this.chip }}","aria-label":"{{ dsx.this.chip }}","role":"{{ dsx.this.role }}"},"children":[],"text":"","reactive":true,"nid":17}],"text":"\n      \n    ","reactive":true,"nid":16}],"text":"\n    \n  ","reactive":true,"nid":15},{"tag":"ListGroup","attrs":{"header":"Ships over the air","footer":"No store update: your users get these the next time the app opens.","visible-if":"dsx.variable.built && dsx.variable.contentRows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.contentRows","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.this.chip }}","role":"success"},"children":[],"text":"","reactive":true,"nid":20}],"text":"\n      \n    ","reactive":true,"nid":19}],"text":"\n    \n  ","reactive":true,"nid":18},{"tag":"ListGroup","attrs":{"header":"More","visible-if":"dsx.variable.connected || dsx.variable.reviewRows.length > 0 || dsx.variable.built || dsx.variable.canAssist"},"children":[{"tag":"SettingsRow","attrs":{"icon":"{{ dsx.variable.platform == 'ios' ? 'appstore.logo' : 'google.play.logo' }}","title":"{{ dsx.variable.storeTitle }}","subtitle":"{{ dsx.variable.storeLine }}","visible-if":"dsx.variable.connected"},"children":[{"tag":"button","attrs":{"variant":"bordered","label":"{{ dsx.action.checkNow.pending ? 'Checking…' : 'Check Now' }}","disabled-if":"dsx.action.checkNow.pending","on:tap":"dsx.action.checkNow()"},"children":[],"text":"","reactive":true,"nid":23}],"text":"","reactive":true,"nid":22},{"tag":"SettingsRow","attrs":{"icon":"text.bubble","title":"Review Notes","value":"{{ dsx.variable.reviewRows.length }}","chevron":"true","tappable":"true","visible-if":"dsx.variable.reviewRows.length > 0","on:tap":"dsx.variable.notesOpen = true"},"children":[],"text":"","reactive":true,"nid":24},{"tag":"SettingsRow","attrs":{"icon":"arrow.left.arrow.right","title":"Compare","chevron":"true","tappable":"true","visible-if":"dsx.variable.built","on:tap":"dsx.variable.comparing = true"},"children":[],"text":"","reactive":true,"nid":25},{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.bubble","title":"I Got Rejected","chevron":"true","tappable":"true","visible-if":"dsx.variable.canAssist","on:tap":"dsx.variable.assisting = true"},"children":[],"text":"","reactive":true,"nid":26}],"text":"\n    \n    \n    \n    \n  ","reactive":true,"nid":21},{"tag":"sheet","attrs":{"detents":"content","present":"dsx.variable.notesOpen","title":"Review Notes","on:dismiss":"dsx.variable.notesOpen = false"},"children":[{"tag":"ListGroup","attrs":{"footer":"The reviewer sees these for the first time. Say where the app uses each one."},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.reviewRows","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.note }}"},"children":[],"text":"","reactive":true,"nid":29}],"text":"\n      \n    ","reactive":true,"nid":28}],"text":"\n    \n  ","reactive":true,"nid":27},{"tag":"sheet","attrs":{"detents":"content","present":"dsx.variable.comparing","title":"Compare","on:dismiss":"dsx.variable.comparing = false"},"children":[{"tag":"ListGroup","attrs":{"footer":"Any two places your app is: what one has that the other does not."},"children":[{"tag":"SettingsRow","attrs":{"title":"From"},"children":[{"tag":"picker","attrs":{"aria-label":"Compare from","bind":"dsx.variable.fromLabel","options":"{{ dsx.variable.compareOptions }}"},"children":[],"text":"","reactive":true,"nid":33}],"text":"","reactive":true,"nid":32},{"tag":"SettingsRow","attrs":{"title":"To"},"children":[{"tag":"picker","attrs":{"aria-label":"Compare to","bind":"dsx.variable.toLabel","options":"{{ dsx.variable.compareOptions }}"},"children":[],"text":"","reactive":true,"nid":35}],"text":"","reactive":true,"nid":34},{"tag":"SettingsRow","attrs":{"icon":"equal","title":"{{ dsx.variable.diffEmpty }}","visible-if":"dsx.variable.diffEmpty != ''"},"children":[],"text":"","reactive":true,"nid":36},{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.diffRows","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}"},"children":[],"text":"","reactive":true,"nid":37}],"text":"\n      \n      \n      \n      \n    ","reactive":true,"nid":31}],"text":"\n    \n  ","reactive":true,"nid":30},{"tag":"RejectionAssist","attrs":{"present":"{{ dsx.variable.assisting }}","project-id":"{{ dsx.attribute.projectId }}","platform":"{{ dsx.variable.platform }}","on:close":"dsx.variable.assisting = false"},"children":[],"text":"","reactive":true,"nid":38}],"text":"\n  \n\n  \n  \n  \n\n  \n\n  \n\n  \n  \n  \n  \n\n  \n  \n\n  \n\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.ProjectSecrets":{"name":"ProjectSecrets","scheme":"platform","head":{"attributes":[{"as":"project-id"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"view","body":"return null","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"editing","body":"return ''","computed":false},{"as":"value","body":"return ''","computed":false},{"as":"problem","body":"return ''","computed":false},{"as":"asking","body":"return ''","computed":false},{"as":"loaded","body":"return dsx.variable.view != null","computed":true},{"as":"rows","body":"return dsx.variable.view == null ? [] : [...dsx.variable.view.build, ...dsx.variable.view.server]","computed":true},{"as":"row","body":"return dsx.variable.rows.find(r => r.id == dsx.variable.editing) || null","computed":true},{"as":"empty","body":"return dsx.variable.loaded &amp;&amp; dsx.variable.view.count == 0","computed":true},{"as":"missingTitle","body":"\n      const n = dsx.variable.view == null ? 0 : dsx.variable.view.missing.length\n      return n == 1 ? '1 secret needs a value' : n + ' secrets need a value'\n    ","computed":true},{"as":"hasMissing","body":"return dsx.variable.loaded &amp;&amp; dsx.variable.view.missing.length &gt; 0","computed":true},{"as":"sheetOpen","body":"return dsx.variable.editing != ''","computed":true},{"as":"saving","body":"return dsx.action.save.pending","computed":true},{"as":"saveLabel","body":"\n      if (dsx.variable.value == '' || dsx.variable.row == null) { return '' }\n      if (dsx.variable.saving) { return 'Saving…' }\n      return dsx.variable.row.set ? 'Replace' : 'Save'\n    ","computed":true},{"as":"removeButtons","body":"return [{ title: 'Remove Value', role: 'destructive', action: 'convertdata.confirm', args: { ask: 'ps-remove' } }, { title: 'Cancel', role: 'cancel' }]","computed":true},{"as":"removeMessage","body":"\n      const r = dsx.variable.row\n      if (r == null) { return '' }\n      return r.scope == 'server' ? 'The value is deleted from your server. Anything using it stops working until a new one is set.' : 'The stored value is destroyed. The next build runs without it.'\n    ","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      const id = dsx.attribute.projectId\n      if (id == '') { return }\n      const r = await dsx.module.convertdata.secrets({ id: id })\n      if (!r.ok) { dsx.variable.error = 'Despia did not answer. Check your connection and try again.'; return }\n      dsx.variable.error = ''\n      dsx.variable.view = r.data\n    "},{"as":"open","inputs":{"id":"dsx.this.id"},"body":"\n      dsx.variable.value = ''\n      dsx.variable.problem = ''\n      dsx.variable.editing = id\n    "},{"as":"close","inputs":{},"body":"\n      dsx.variable.value = ''\n      dsx.variable.problem = ''\n      dsx.variable.editing = ''\n    "},{"as":"save","inputs":{},"body":"\n      const row = dsx.variable.row\n      if (row == null || dsx.variable.value == '') { return }\n      const r = await dsx.module.convertdata.setSecret({ id: dsx.attribute.projectId, name: row.name, value: dsx.variable.value })\n      dsx.variable.value = ''\n      if (!r.ok) { dsx.variable.problem = messageOf(r); return }\n      dsx.module.toast.show({ title: row.name + ' saved', message: row.scope == 'server' ? 'Stored on your server.' : 'Sealed for your builds.' })\n      dsx.variable.editing = ''\n      await dsx.action.load()\n    "},{"as":"remove","inputs":{},"body":"\n      const row = dsx.variable.row\n      if (row == null) { return }\n      const r = await dsx.module.convertdata.unsetSecret({ id: dsx.attribute.projectId, name: row.name })\n      dsx.variable.asking = ''\n      if (!r.ok) { dsx.variable.problem = messageOf(r); return }\n      dsx.variable.editing = ''\n      await dsx.action.load()\n    "},{"as":"onConfirmed","inputs":{},"body":"\n      const k = dsx.module.convertdata.context.confirmed\n      if (k == null) { return }\n      if (k.ask == 'ps-remove' &amp;&amp; dsx.variable.asking == 'remove') { await dsx.action.remove() }\n    "}],"watches":[{"value":"dsx.attribute.projectId","handler":"dsx.action.load()","immediate":true},{"value":"dsx.module.convertdata.context.confirmed","handler":"dsx.action.onConfirmed()"}],"scripts":["\n      function messageOf(r) {\n        if (r == null) { return 'Despia did not answer. Try again in a moment.' }\n        if (r.error != null &amp;&amp; typeof r.error == 'object' &amp;&amp; r.error.message) { return r.error.message }\n        if (r.message) { return r.message }\n        return 'Despia did not answer. Try again in a moment.'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{"on:appear":"dsx.action.load()"},"children":[{"tag":"Callout","attrs":{"class":"page-notice","tone":"error","title":"Secrets did not load","message":"{{ dsx.variable.error }}","action":"Try Again","visible-if":"dsx.variable.error != ''","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"Callout","attrs":{"class":"page-notice","tone":"warning","title":"{{ dsx.variable.missingTitle }}","message":"Builds and deploys stop until they are set.","visible-if":"dsx.variable.hasMissing","transition":"fade"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"Callout","attrs":{"class":"page-notice","tone":"danger","title":"{{ dsx.variable.view.problems[0] }}","visible-if":"dsx.variable.loaded && dsx.variable.view.problems.length > 0"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"ListGroup","attrs":{"footer":"Packages, services and templates declare the secrets they need. To add your own, declare its name with the command below, then set its value here.","visible-if":"dsx.variable.empty"},"children":[{"tag":"SettingsRow","attrs":{"icon":"key","title":"No secrets yet","subtitle":"Secret values, such as API keys and tokens, let your builds or server connect to services. No secrets are declared for this app. Saved values are never shown here."},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n    \n  ","reactive":true,"nid":4},{"tag":"grid","attrs":{"columns":"adaptive","minimum":"360","scroll":"false","visible-if":"dsx.variable.loaded && !dsx.variable.empty"},"children":[{"tag":"Panel","attrs":{"title":"Build","subtitle":"Sealed by Despia","footer":"Given only to your builds, never shown again.","visible-if":"dsx.variable.view.build.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.view.build","key":"id","icon":"key","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.subtitle }}","chevron":"true","tappable":"true","on:tap":"dsx.action.open()"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.this.status }}","role":"{{ dsx.this.role }}"},"children":[],"text":"","reactive":true,"nid":9}],"text":"\n        \n      ","reactive":true,"nid":8}],"text":"\n      \n    ","reactive":true,"nid":7},{"tag":"Panel","attrs":{"title":"Server","subtitle":"Stored on your server","footer":"Sent to your server target. Despia keeps no copy.","visible-if":"dsx.variable.view.server.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.view.server","key":"id","icon":"server.rack","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.subtitle }}","chevron":"true","tappable":"true","on:tap":"dsx.action.open()"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.this.status }}","role":"{{ dsx.this.role }}"},"children":[],"text":"","reactive":true,"nid":12}],"text":"\n        \n      ","reactive":true,"nid":11}],"text":"\n      \n    ","reactive":true,"nid":10}],"text":"\n    \n    \n  ","reactive":true,"nid":6},{"tag":"ListGroup","attrs":{"header":"Add a secret","footer":"A secret's name lives in your project's dsx.json, never its value.","visible-if":"dsx.variable.loaded"},"children":[{"tag":"SettingsRow","attrs":{"title":"Declare","subtitle":"despia secrets declare NAME --scope build"},"children":[{"tag":"CopyButton","attrs":{"value":"despia secrets declare NAME --scope build","label":"Copy Declare"},"children":[],"text":"","reactive":true,"nid":15}],"text":"\n      \n    ","reactive":true,"nid":14}],"text":"\n    \n  ","reactive":true,"nid":13},{"tag":"sheet","attrs":{"detents":"content","present":"dsx.variable.sheetOpen","title":"{{ dsx.variable.row == null ? '' : dsx.variable.row.name }}","close":"leading","action":"{{ dsx.variable.saveLabel }}","on:action":"dsx.action.save()","on:dismiss":"dsx.action.close()"},"children":[{"tag":"Callout","attrs":{"tone":"warning","title":"{{ dsx.variable.problem }}","visible-if":"dsx.variable.problem != ''"},"children":[],"text":"","reactive":true,"nid":17},{"tag":"ListGroup","attrs":{"footer":"{{ dsx.variable.row == null ? '' : dsx.variable.row.explain }}"},"children":[{"tag":"SettingsRow","attrs":{"icon":"{{ dsx.variable.row.icon }}","title":"Kept","value":"{{ dsx.variable.row.scopeLabel }}"},"children":[],"text":"","reactive":true,"nid":19},{"tag":"SettingsRow","attrs":{"icon":"checkmark.seal","title":"Status","value":"{{ dsx.variable.row.when != '' ? dsx.variable.row.when : dsx.variable.row.status }}"},"children":[],"text":"","reactive":true,"nid":20},{"tag":"SettingsRow","attrs":{"icon":"person.2","title":"{{ dsx.variable.row.declared }}","visible-if":"dsx.variable.row != null && dsx.variable.row.declared != ''"},"children":[],"text":"","reactive":true,"nid":21}],"text":"\n      \n      \n      \n    ","reactive":true,"nid":18},{"tag":"ListGroup","attrs":{"header":"{{ dsx.variable.row != null && dsx.variable.row.set ? 'Replace value' : 'Value' }}","footer":"Paste it once. It is never shown again, here or anywhere."},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.value","secure":"true","placeholder":"{{ dsx.variable.row != null && dsx.variable.row.set ? 'New value' : 'Value' }}","autocapitalize":"none","aria-label":"Secret value","on:submit":"dsx.action.save()"},"children":[],"text":"","reactive":true,"nid":23}],"text":"\n      \n    ","reactive":true,"nid":22},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.row != null && dsx.variable.row.set"},"children":[{"tag":"SettingsRow","attrs":{"icon":"trash","title":"Remove Value","tone":"destructive","tappable":"true","on:tap":"dsx.variable.asking = 'remove'"},"children":[],"text":"","reactive":true,"nid":25}],"text":"\n      \n    ","reactive":true,"nid":24}],"text":"\n    \n    \n    \n    \n  ","reactive":true,"nid":16},{"tag":"alert","attrs":{"present":"dsx.variable.asking == 'remove'","title":"Remove this value?","message":"{{ dsx.variable.removeMessage }}","buttons":"dsx.variable.removeButtons","on:dismiss":"dsx.variable.asking = ''"},"children":[],"text":"","reactive":true,"nid":26}],"text":"\n  \n\n  \n\n  \n  \n\n  \n\n  \n\n  \n\n  \n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.ProjectSigning":{"name":"ProjectSigning","scheme":"platform","head":{"attributes":[{"as":"project-id"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"view","body":"return null","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"doctor","body":"return null","computed":false},{"as":"asking","body":"return ''","computed":false},{"as":"target","body":"return null","computed":false},{"as":"backupUrl","body":"return ''","computed":false},{"as":"reauth","body":"return false","computed":false},{"as":"uploadKind","body":"return ''","computed":false},{"as":"file","body":"return null","computed":false},{"as":"fileData","body":"return ''","computed":false},{"as":"pem","body":"return ''","computed":false},{"as":"password","body":"return ''","computed":false},{"as":"alias","body":"return ''","computed":false},{"as":"keyPassword","body":"return ''","computed":false},{"as":"preview","body":"return null","computed":false},{"as":"uploadDoctor","body":"return null","computed":false},{"as":"stores","body":"return null","computed":false},{"as":"storeSetup","body":"return null","computed":false},{"as":"drawer","body":"return ''","computed":false},{"as":"loaded","body":"return dsx.variable.view != null","computed":true},{"as":"storeSetupLine","body":"return dsx.variable.storeSetup == null ? '' : dsx.variable.storeSetup.done + ' of ' + dsx.variable.storeSetup.total","computed":true},{"as":"android","body":"return dsx.variable.view == null ? null : dsx.variable.view.android","computed":true},{"as":"apple","body":"return dsx.variable.view == null ? null : dsx.variable.view.apple","computed":true},{"as":"ks","body":"return dsx.variable.android == null ? null : dsx.variable.android.keystore","computed":true},{"as":"hasKs","body":"return dsx.variable.ks != null","computed":true},{"as":"cert","body":"return dsx.variable.apple == null ? null : dsx.variable.apple.certificate","computed":true},{"as":"hasCert","body":"return dsx.variable.cert != null","computed":true},{"as":"ascKey","body":"return dsx.variable.apple == null ? null : dsx.variable.apple.key","computed":true},{"as":"ksLine","body":"\n      const k = dsx.variable.ks\n      if (k == null) { return '' }\n      return [k.sourceLabel, k.key, k.validUntil == '' ? '' : 'Valid until ' + k.validUntil].filter(x => x != '').join(' · ')\n    ","computed":true},{"as":"certLine","body":"\n      const k = dsx.variable.cert\n      if (k == null) { return '' }\n      return [k.sourceLabel, k.key, k.validUntil == '' ? '' : 'Valid until ' + k.validUntil].filter(x => x != '').join(' · ')\n    ","computed":true},{"as":"ksWarnings","body":"return dsx.variable.ks == null ? [] : dsx.variable.ks.warnings.map((w, i) => ({ id: String(i), text: w }))","computed":true},{"as":"androidRetired","body":"return dsx.variable.android == null ? [] : dsx.variable.android.retired.map(k => ({ id: k.id, kind: 'android', title: k.title, line: 'Removed ' + k.removed + ' · restore until ' + k.restoreUntil }))","computed":true},{"as":"appleRetired","body":"return dsx.variable.apple == null ? [] : dsx.variable.apple.retired.map(k => ({ id: k.id, kind: 'apple', title: k.title, line: 'Removed ' + k.removed + ' · restore until ' + k.restoreUntil }))","computed":true},{"as":"confirmWord","body":"\n      if (dsx.variable.view == null) { return '' }\n      const kind = dsx.variable.target == null ? 'android' : dsx.variable.target.kind\n      return kind == 'apple' ? dsx.variable.apple.confirmText : dsx.variable.android.confirmText\n    ","computed":true},{"as":"askTitle","body":"\n      const a = dsx.variable.asking\n      if (a == 'replace-create') { return 'Replace the upload key?' }\n      if (a == 'replace-upload') { return 'Replace the upload key?' }\n      if (a == 'remove') { return dsx.variable.target != null &amp;&amp; dsx.variable.target.kind == 'apple' ? 'Remove the certificate key?' : 'Remove the upload key?' }\n      if (a == 'restore') { return 'Restore this key?' }\n      if (a == 'apple-replace-create' || a == 'apple-replace-upload') { return 'Replace the certificate key?' }\n      return ''\n    ","computed":true},{"as":"askMessage","body":"\n      const a = dsx.variable.asking\n      if (a == 'remove' &amp;&amp; dsx.variable.target != null &amp;&amp; dsx.variable.target.kind == 'apple') { return 'Builds create a new certificate with your App Store Connect key. You can restore this key for 30 days.' }\n      if (a == 'remove') { return 'Release builds stop until a key is added. If the app is on Google Play, updates need the same key. You can restore it for 30 days.' }\n      if (a == 'restore') { return 'It becomes the key this app is signed with. The current one can be restored for 30 days.' }\n      if (a.startsWith('apple-')) { return 'The next build signs with the new key. The current one can be restored for 30 days.' }\n      return 'If this app is on Google Play, updates signed with a new key are refused until Google accepts it (Play App Signing, upload key reset). The current key can be restored for 30 days.'\n    ","computed":true},{"as":"askButtons","body":"\n      const label = dsx.variable.asking == 'remove' ? 'Remove' : (dsx.variable.asking == 'restore' ? 'Restore' : 'Replace')\n      return [{ title: label, role: dsx.variable.asking == 'restore' ? 'default' : 'destructive', action: 'convertdata.confirm', args: { ask: 'signing', value: dsx.variable.asking } }, { title: 'Cancel', role: 'cancel' }]\n    ","computed":true},{"as":"googleRow","body":"\n      if (dsx.variable.stores == null) { return null }\n      const rows = dsx.variable.stores.items.filter(r => r.kind == 'googleplay')\n      return rows.length == 0 ? null : rows[0]\n    ","computed":true},{"as":"googleLinked","body":"return dsx.variable.googleRow != null &amp;&amp; dsx.variable.googleRow.status != 'none'","computed":true},{"as":"iosReady","body":"return dsx.variable.ascKey != null","computed":true},{"as":"androidReady","body":"return dsx.variable.hasKs","computed":true},{"as":"iosStatus","body":"return dsx.variable.iosReady ? 'Ready' : 'Needs a store key'","computed":true},{"as":"iosRole","body":"return dsx.variable.iosReady ? 'success' : 'warning'","computed":true},{"as":"androidStatus","body":"\n      if (!dsx.variable.androidReady) { return 'Needs an upload key' }\n      return dsx.variable.googleLinked || dsx.variable.googleRow == null ? 'Ready' : 'Ready to build'\n    ","computed":true},{"as":"androidRole","body":"\n      if (!dsx.variable.androidReady) { return 'warning' }\n      return dsx.variable.googleLinked || dsx.variable.googleRow == null ? 'success' : 'info'\n    ","computed":true},{"as":"iosGuideLine","body":"return dsx.variable.iosReady ? 'Done' : '2 steps'","computed":true},{"as":"androidGuideLine","body":"return dsx.variable.androidReady &amp;&amp; (dsx.variable.googleLinked || dsx.variable.googleRow == null) ? 'Done' : '4 steps'","computed":true},{"as":"retiredRows","body":"return dsx.variable.appleRetired.concat(dsx.variable.androidRetired)","computed":true},{"as":"drawerTitle","body":"\n      const t = { ios: 'iOS Setup Guide', android: 'Android Setup Guide', replace: 'Already on Google Play?', retired: 'Removed Keys' }\n      return t[dsx.variable.drawer] || ''\n    ","computed":true},{"as":"adviceRows","body":"return dsx.variable.android == null ? [] : dsx.variable.android.advice.steps","computed":true},{"as":"iosSteps","body":"\n      return [\n        { title: 'Connect App Store Connect', body: 'Despia makes an App Store Connect key with the **App Manager** role through the Despia extension, or you add one by hand. Every app in the workspace shares it.', action: { label: 'Connect', id: 'connect-apple' } },\n        { title: 'Build', body: 'The first iOS build creates your distribution certificate and provisioning profile with that key. Nothing to export from Keychain.' }\n      ]\n    ","computed":true},{"as":"androidSteps","body":"\n      return [\n        { title: 'Create or upload an upload key', body: '**Create Upload Key** makes a strong key (RSA 4096, valid for 30 years). If the app is already on Google Play, upload the key it is signed with instead.' },\n        { title: 'Keep the backup', body: 'Download the backup zip and store it somewhere private. It holds the keystore, its passwords and the certificate Google Play asks for.' },\n        { title: 'Connect Google Play', body: 'Add a service account with release rights in the Play Console, once for the workspace.', action: { label: 'Connect', id: 'connect-google' } },\n        { title: 'Already live on Google Play?', body: 'Updates signed with a different key are refused. In Play Console open **Test and release**, then **App signing**, check that Play App Signing is on and choose **Request upload key reset**.', action: { label: 'Google Play', href: 'https://play.google.com/console/u/0/developers' } }\n      ]\n    ","computed":true},{"as":"uploading","body":"return dsx.variable.uploadKind != ''","computed":true},{"as":"uploadTitle","body":"return dsx.variable.uploadKind == 'apple' ? 'Upload Certificate' : 'Upload Keystore'","computed":true},{"as":"fileName","body":"return dsx.variable.file == null ? 'No file chosen' : dsx.variable.file.name","computed":true},{"as":"isPem","body":"return dsx.variable.file != null &amp;&amp; dsx.variable.file.name.toLowerCase().endsWith('.pem')","computed":true},{"as":"canCheck","body":"return dsx.variable.file != null &amp;&amp; !dsx.action.check.pending","computed":true},{"as":"saveLabel","body":"return dsx.action.save.pending ? 'Saving…' : 'Save'","computed":true},{"as":"checkLabel","body":"return dsx.action.check.pending ? 'Checking…' : 'Check'","computed":true},{"as":"uploadLabel","body":"return dsx.variable.preview != null ? dsx.variable.saveLabel : dsx.variable.checkLabel","computed":true},{"as":"uploadDisabled","body":"return dsx.variable.preview != null ? dsx.action.save.pending : !dsx.variable.canCheck","computed":true},{"as":"doctorOpen","body":"return dsx.variable.doctor != null","computed":true},{"as":"ksMenu","body":"\n      const go = (title, icon, value) => ({ title: title, icon: icon, action: 'convertdata.confirm', args: { ask: 'signing-menu', value: value } })\n      return [go('Download a Backup', 'arrow.down.circle', 'backup'), go('Create a New Key', 'key', 'new-android'), go('Upload a Different Key', 'square.and.arrow.up', 'upload-android'),\n        { separator: true }, { title: 'Remove Key', icon: 'trash', role: 'destructive', action: 'convertdata.confirm', args: { ask: 'signing-menu', value: 'remove-android' } }]\n    ","computed":true},{"as":"noKsActions","body":"return [{ id: 'create-android', label: dsx.action.create.pending ? 'Creating…' : 'Create Upload Key', icon: 'key.fill' }]","computed":true},{"as":"noKsMenu","body":"return [{ title: 'Upload Your Own', icon: 'square.and.arrow.up', action: 'convertdata.confirm', args: { ask: 'signing-menu', value: 'upload-android' } }]","computed":true},{"as":"certActions","body":"return dsx.variable.hasCert ? [] : [{ id: 'create-apple', label: 'Create Certificate Key', icon: 'key.fill' }]","computed":true},{"as":"manageActions","body":"return [{ id: 'credentials', label: 'Manage', icon: 'gearshape' }]","computed":true},{"as":"certMenu","body":"\n      const items = [{ title: 'Upload .p12 or Key', icon: 'square.and.arrow.up', action: 'convertdata.confirm', args: { ask: 'signing-menu', value: 'upload-apple' } }]\n      if (dsx.variable.hasCert) { items.push({ separator: true }); items.push({ title: 'Remove Certificate Key', icon: 'trash', role: 'destructive', action: 'convertdata.confirm', args: { ask: 'signing-menu', value: 'remove-apple' } }) }\n      return items\n    ","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      const r = await dsx.module.convertdata.signing({ id: dsx.attribute.projectId })\n      if (!r.ok) { dsx.variable.error = 'Despia did not answer. Check your connection and try again.'; return }\n      dsx.variable.error = ''\n      dsx.variable.view = r.data\n      await dsx.action.loadStores()\n      await dsx.action.loadStoreSetup()\n    "},{"as":"loadStoreSetup","inputs":{},"body":"\n      const r = await dsx.module.convertdata.storeSetup({ id: dsx.attribute.projectId })\n      if (!r.ok) { dsx.variable.error = 'Despia did not answer. Check your connection and try again.'; return }\n      dsx.variable.storeSetup = r.data\n    "},{"as":"loadStores","inputs":{},"body":"\n      const r = await dsx.module.convertdata.projectStores({ id: dsx.attribute.projectId })\n      if (!r.ok) { dsx.variable.error = 'Despia did not answer. Check your connection and try again.'; return }\n      dsx.variable.stores = r.data\n    "},{"as":"restore","inputs":{"kind":"dsx.this.kind","keyId":"dsx.this.id"},"body":"\n      dsx.variable.drawer = ''\n      dsx.action.ask({ what: 'restore', kind: kind, keyId: keyId })\n    "},{"as":"guideStep","inputs":{"id":"dsx.this.id"},"body":"\n      dsx.variable.drawer = ''\n      //  a store to connect: the one connect flow (Store Setup's chooser), back to Signing once connected\n      const p = '/apps/' + dsx.attribute.projectId\n      if (id == 'connect-apple' || id == 'connect-google') { dsx.module.route.push({ path: p + '/store-setup?connect=' + (id == 'connect-google' ? 'google' : 'apple') + '&return=' + encodeURIComponent(p + '/signing') }) }\n    "},{"as":"act","inputs":{"kind":"'android'","op":"''","args":"null"},"body":"\n      const r = await dsx.module.convertdata.signingChange({ id: dsx.attribute.projectId, kind: kind, op: op, ...(args == null ? {} : args) })\n      if (!r.ok) { dsx.variable.error = messageOf(r); return null }\n      if (!r.data.done) {\n        const p = r.data.problem\n        if (p.code == 'fresh_sign_in_required') { dsx.variable.reauth = true; return null }\n        if (p.diagnosis != null) { dsx.variable.doctor = p.diagnosis; return null }\n        dsx.variable.error = p.message\n        return null\n      }\n      return r.data\n    "},{"as":"create","inputs":{"kind":"'android'","replace":"false"},"body":"\n      const out = await dsx.action.act({ kind: kind, op: 'create', args: { replace: replace, confirm: replace ? dsx.variable.confirmWord : '' } })\n      if (out == null) { return }\n      dsx.variable.backupUrl = out.backupUrl\n      dsx.module.toast.show({ title: kind == 'apple' ? 'Certificate key created' : 'Upload key created', message: kind == 'apple' ? 'The next iOS build creates its certificate.' : 'Download the backup and keep it safe.' })\n      await dsx.action.load()\n    "},{"as":"ask","inputs":{"what":"''","kind":"'android'","keyId":"''"},"body":"\n      dsx.variable.target = { kind: kind, keyId: keyId }\n      dsx.variable.asking = what\n    "},{"as":"keyAction","inputs":{"id":"dsx.this.id"},"body":"\n      if (id == 'credentials') { dsx.module.route.push({ path: '/apps/' + dsx.attribute.projectId + '/store-setup' }); return }\n      if (id == 'backup') { await dsx.action.backup(); return }\n      if (id == 'new-android') { dsx.action.ask({ what: 'replace-create', kind: 'android' }); return }\n      if (id == 'create-android') { await dsx.action.create({ kind: 'android' }); return }\n      if (id == 'upload-android') { dsx.action.openUpload({ kind: 'android' }); return }\n      if (id == 'create-apple') { await dsx.action.create({ kind: 'apple' }); return }\n      if (id == 'upload-apple') { dsx.action.openUpload({ kind: 'apple' }) }\n    "},{"as":"onConfirmed","inputs":{},"body":"\n      const k = dsx.module.convertdata.context.confirmed\n      if (k != null &amp;&amp; k.ask == 'signing-menu') {\n        if (k.value == 'remove-android' || k.value == 'remove-apple') { dsx.action.ask({ what: 'remove', kind: k.value == 'remove-apple' ? 'apple' : 'android' }); return }\n        await dsx.action.keyAction({ id: k.value })\n        return\n      }\n      if (k == null || k.ask != 'signing') { return }\n      const what = k.value\n      const kind = dsx.variable.target == null ? 'android' : dsx.variable.target.kind\n      if (what == 'replace-create' || what == 'apple-replace-create') { await dsx.action.create({ kind: kind, replace: true }); dsx.variable.asking = ''; return }\n      if (what == 'replace-upload' || what == 'apple-replace-upload') { await dsx.action.save({ replace: true }); dsx.variable.asking = ''; return }\n      const out = await dsx.action.act({ kind: kind, op: what, args: { confirm: dsx.variable.confirmWord, keyId: dsx.variable.target.keyId } })\n      dsx.variable.asking = ''\n      if (out == null) { return }\n      dsx.module.toast.show({ title: what == 'remove' ? 'Key removed' : 'Key restored', message: what == 'remove' ? 'You can restore it for 30 days.' : 'Builds sign with it again.' })\n      await dsx.action.load()\n    "},{"as":"backup","inputs":{},"body":"\n      const out = await dsx.action.act({ kind: 'android', op: 'backup' })\n      if (out == null) { return }\n      dsx.variable.backupUrl = out.backupUrl\n      await dsx.action.download()\n    "},{"as":"download","inputs":{},"body":"\n      const url = dsx.variable.backupUrl\n      dsx.variable.backupUrl = ''\n      if (url == '') { dsx.module.toast.show({ title: 'Backup ready', message: 'Your browser saves the zip.' }); return }\n      dsx.module.route.push({ path: url })\n    "},{"as":"signInAgain","inputs":{},"body":"\n      dsx.variable.reauth = false\n      await dsx.module.convertdata.signOut()\n      dsx.module.route.reset({ path: '/login' })\n    "},{"as":"openUpload","inputs":{"kind":"'android'"},"body":"\n      dsx.variable.file = null\n      dsx.variable.fileData = ''\n      dsx.variable.pem = ''\n      dsx.variable.password = ''\n      dsx.variable.alias = ''\n      dsx.variable.keyPassword = ''\n      dsx.variable.preview = null\n      dsx.variable.uploadDoctor = null\n      dsx.variable.uploadKind = kind\n    "},{"as":"pickFile","inputs":{},"body":"\n      const types = dsx.variable.uploadKind == 'apple' ? ['.p12', '.pfx', '.pem'] : ['.jks', '.keystore', '.p12', '.pfx']\n      const r = await dsx.module.files.open({ types: types })\n      if (!r.ok || r.data.items.length == 0) { return }\n      const picked = r.data.items[0]\n      const pem = picked.name.toLowerCase().endsWith('.pem')\n      const read = await dsx.module.files.read({ path: picked.path, encoding: pem ? 'utf8' : 'base64' })\n      await dsx.module.files.delete({ path: picked.path })\n      if (!read.ok) { dsx.variable.error = 'The file could not be read.'; return }\n      dsx.variable.fileData = pem ? '' : String(read.data.data)\n      dsx.variable.pem = pem ? String(read.data.data) : ''\n      dsx.variable.file = picked\n      dsx.variable.preview = null\n      dsx.variable.uploadDoctor = null\n    "},{"as":"uploadArgs","inputs":{"dryRun":"false","replace":"false"},"body":"\n      return { file: dsx.variable.fileData, pem: dsx.variable.pem, password: dsx.variable.password, alias: dsx.variable.alias, keyPassword: dsx.variable.keyPassword,\n               dryRun: dryRun, replace: replace, confirm: replace ? dsx.variable.confirmWord : '' }\n    "},{"as":"confirmUpload","inputs":{},"body":"\n      if (dsx.variable.preview != null) { await dsx.action.save(); return }\n      await dsx.action.check()\n    "},{"as":"check","inputs":{},"body":"\n      const args = await dsx.action.uploadArgs({ dryRun: true })\n      const r = await dsx.module.convertdata.signingChange({ id: dsx.attribute.projectId, kind: dsx.variable.uploadKind, op: 'upload', ...args })\n      if (!r.ok) { dsx.variable.error = messageOf(r); return }\n      if (!r.data.done) { dsx.variable.uploadDoctor = r.data.problem.diagnosis; dsx.variable.preview = null; return }\n      dsx.variable.uploadDoctor = null\n      dsx.variable.preview = r.data.key\n    "},{"as":"save","inputs":{"replace":"false"},"body":"\n      const kind = dsx.variable.uploadKind\n      const args = await dsx.action.uploadArgs({ replace: replace })\n      const r = await dsx.module.convertdata.signingChange({ id: dsx.attribute.projectId, kind: kind, op: 'upload', ...args })\n      if (!r.ok) { dsx.variable.error = messageOf(r); return }\n      if (!r.data.done) {\n        const p = r.data.problem\n        if (p.code == 'keystore_exists' || p.code == 'certificate_exists') { dsx.action.ask({ what: kind == 'apple' ? 'apple-replace-upload' : 'replace-upload', kind: kind }); return }\n        dsx.variable.uploadDoctor = p.diagnosis\n        return\n      }\n      dsx.variable.uploadKind = ''\n      dsx.module.toast.show({ title: kind == 'apple' ? 'Certificate key saved' : 'Upload key saved', message: 'The next release build signs with it.' })\n      await dsx.action.load()\n    "},{"as":"doctorRetry","inputs":{},"body":"\n      dsx.variable.doctor = null\n    "}],"watches":[{"value":"dsx.module.convertdata.context.confirmed","handler":"dsx.action.onConfirmed()"}],"scripts":["\n      function messageOf(r) {\n        if (r == null) { return 'Despia did not answer. Try again in a moment.' }\n        if (r.message) { return r.message }\n        return 'Despia did not answer. Try again in a moment.'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{"on:appear":"dsx.action.load()"},"children":[{"tag":"Callout","attrs":{"class":"page-notice","tone":"error","title":"Signing keys did not load","message":"{{ dsx.variable.error }}","action":"Try Again","visible-if":"dsx.variable.error != ''","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"ListGroup","attrs":{"visible-if":"!dsx.variable.loaded && dsx.variable.error == ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"key","title":"Reading the keys…"},"children":[],"text":"","reactive":true,"nid":3}],"text":"\n    \n  ","reactive":true,"nid":2},{"tag":"ListGroup","attrs":{"header":"Backup","footer":"The zip holds the keystore, its passwords and the certificate Google Play asks for. Keep it private.","visible-if":"dsx.variable.backupUrl != ''","transition":"fade"},"children":[{"tag":"SettingsRow","attrs":{"icon":"arrow.down.circle","title":"Download a Backup","subtitle":"This link works once, for five minutes.","tone":"accent","tappable":"true","value-icon":"arrow.up.right","on:tap":"dsx.action.download()"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n    \n  ","reactive":true,"nid":4},{"tag":"ListGroup","attrs":{"header":"Sign in again","footer":"Downloading a key again needs a sign in from the last ten minutes.","visible-if":"dsx.variable.reauth","transition":"fade"},"children":[{"tag":"SettingsRow","attrs":{"icon":"person.badge.key","title":"Sign In Again","tone":"accent","tappable":"true","on:tap":"dsx.action.signInAgain()"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n    \n  ","reactive":true,"nid":6},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.loaded && dsx.variable.storeSetup != null"},"children":[{"tag":"SettingsRow","attrs":{"icon":"list.number","title":"Store Setup","value":"{{ dsx.variable.storeSetupLine }}","chevron":"true","tappable":"true","on:tap":"dsx.module.route.push({ path: '/apps/' + dsx.attribute.projectId + '/store-setup' })"},"children":[],"text":"","reactive":true,"nid":9}],"text":"\n    \n  ","reactive":true,"nid":8},{"tag":"grid","attrs":{"columns":"adaptive","minimum":"420","scroll":"false","visible-if":"dsx.variable.loaded"},"children":[{"tag":"PlatformSection","attrs":{"platform":"ios","status":"{{ dsx.variable.iosStatus }}","status-role":"{{ dsx.variable.iosRole }}","subtitle":"App Store Connect and the distribution certificate"},"children":[{"tag":"stack","attrs":{},"children":[{"tag":"Panel","attrs":{"title":"Store connection","subtitle":"Workspace · shared by every app","footer":"Builds use it to sign and to upload to App Store Connect.","actions":"{{ dsx.variable.manageActions }}","on:action":"dsx.action.keyAction()"},"children":[{"tag":"SettingsRow","attrs":{"icon":"appstore.logo","title":"{{ dsx.variable.ascKey == null ? 'No key linked' : dsx.variable.ascKey.label }}","subtitle":"{{ dsx.variable.ascKey == null ? 'Link an App Store Connect key to build for iOS.' : dsx.variable.ascKey.sourceLabel }}"},"children":[],"text":"","reactive":true,"nid":14},{"tag":"CopyRow","attrs":{"label":"Key ID","value":"{{ dsx.variable.ascKey.keyId }}","lines":"0","visible-if":"dsx.variable.ascKey != null && dsx.variable.ascKey.keyId != ''"},"children":[],"text":"","reactive":true,"nid":15},{"tag":"CopyRow","attrs":{"label":"Team ID","value":"{{ dsx.variable.ascKey.teamId }}","lines":"0","visible-if":"dsx.variable.ascKey != null && dsx.variable.ascKey.teamId != ''"},"children":[],"text":"","reactive":true,"nid":16},{"tag":"SettingsRow","attrs":{"icon":"list.number","title":"Setup Guide","value":"{{ dsx.variable.iosGuideLine }}","chevron":"true","tappable":"true","on:tap":"dsx.variable.drawer = 'ios'"},"children":[],"text":"","reactive":true,"nid":17}],"text":"\n          \n          \n          \n          \n        ","reactive":true,"nid":13},{"tag":"Panel","attrs":{"title":"Signing","subtitle":"This app","actions":"{{ dsx.variable.certActions }}","menu":"{{ dsx.variable.certMenu }}","menu-label":"{{ dsx.variable.hasCert ? 'Key Actions' : '' }}","on:action":"dsx.action.keyAction()"},"children":[{"tag":"SettingsRow","attrs":{"icon":"checkmark.seal","title":"{{ dsx.variable.hasCert ? dsx.variable.cert.title : 'Distribution certificate' }}","subtitle":"{{ dsx.variable.hasCert ? dsx.variable.certLine : 'Created by the build with your App Store Connect key.' }}"},"children":[],"text":"","reactive":true,"nid":19},{"tag":"CopyRow","attrs":{"label":"SHA-1","value":"{{ dsx.variable.cert.sha1 }}","lines":"0","visible-if":"dsx.variable.hasCert && dsx.variable.cert.sha1 != ''"},"children":[],"text":"","reactive":true,"nid":20},{"tag":"SettingsRow","attrs":{"icon":"person.2","title":"App Groups","chevron":"true","tappable":"true","on:tap":"dsx.module.route.push({ path: '/apps/' + dsx.attribute.projectId + '/app-groups' })"},"children":[],"text":"","reactive":true,"nid":21}],"text":"\n          \n          \n          \n        ","reactive":true,"nid":18}],"text":"\n        \n        \n      ","reactive":true,"nid":12}],"text":"\n      \n    ","reactive":true,"nid":11},{"tag":"PlatformSection","attrs":{"platform":"android","status":"{{ dsx.variable.androidStatus }}","status-role":"{{ dsx.variable.androidRole }}","subtitle":"Google Play and the upload key"},"children":[{"tag":"stack","attrs":{},"children":[{"tag":"Panel","attrs":{"title":"Store connection","subtitle":"Workspace · shared by every app","footer":"Despia uses it to upload releases to Google Play.","actions":"{{ dsx.variable.manageActions }}","on:action":"dsx.action.keyAction()"},"children":[{"tag":"SettingsRow","attrs":{"icon":"google.play.logo","title":"{{ dsx.variable.googleLinked ? dsx.variable.googleRow.name : 'No service account linked' }}","subtitle":"{{ dsx.variable.googleLinked ? dsx.variable.googleRow.detail : 'Link a Google Play service account to publish.' }}"},"children":[],"text":"","reactive":true,"nid":25},{"tag":"SettingsRow","attrs":{"icon":"list.number","title":"Setup Guide","value":"{{ dsx.variable.androidGuideLine }}","chevron":"true","tappable":"true","on:tap":"dsx.variable.drawer = 'android'"},"children":[],"text":"","reactive":true,"nid":26}],"text":"\n          \n          \n        ","reactive":true,"nid":24},{"tag":"Panel","attrs":{"title":"Signing","subtitle":"This app","footer":"Google Play checks this key on every update. Copy the fingerprints into Firebase, Google sign-in and App Links.","menu":"{{ dsx.variable.ksMenu }}","menu-label":"Key Actions","visible-if":"dsx.variable.hasKs","on:action":"dsx.action.keyAction()"},"children":[{"tag":"SettingsRow","attrs":{"icon":"key.fill","title":"{{ dsx.variable.ks.title }}","subtitle":"{{ dsx.variable.ksLine }}"},"children":[],"text":"","reactive":true,"nid":28},{"tag":"CopyRow","attrs":{"label":"SHA-1","value":"{{ dsx.variable.ks.sha1 }}","lines":"0"},"children":[],"text":"","reactive":true,"nid":29},{"tag":"CopyRow","attrs":{"label":"SHA-256","value":"{{ dsx.variable.ks.sha256 }}","lines":"0"},"children":[],"text":"","reactive":true,"nid":30},{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.ksWarnings","key":"id","icon":"exclamationmark.triangle","title":"{{ dsx.this.text }}"},"children":[],"text":"","reactive":true,"nid":31},{"tag":"SettingsRow","attrs":{"icon":"questionmark.circle","title":"Already on Google Play?","chevron":"true","tappable":"true","on:tap":"dsx.variable.drawer = 'replace'"},"children":[],"text":"","reactive":true,"nid":32}],"text":"\n          \n          \n          \n          \n          \n        ","reactive":true,"nid":27},{"tag":"Panel","attrs":{"title":"Signing","subtitle":"This app","footer":"Despia makes a strong key for you (RSA 4096, valid for 30 years), or you upload the one your app is already signed with.","actions":"{{ dsx.variable.noKsActions }}","menu":"{{ dsx.variable.noKsMenu }}","visible-if":"!dsx.variable.hasKs","on:action":"dsx.action.keyAction()"},"children":[{"tag":"SettingsRow","attrs":{"icon":"key","title":"No upload key yet","subtitle":"Release builds for Android need one."},"children":[],"text":"","reactive":true,"nid":34}],"text":"\n          \n        ","reactive":true,"nid":33}],"text":"\n        \n        \n        \n      ","reactive":true,"nid":23}],"text":"\n      \n    ","reactive":true,"nid":22}],"text":"\n    \n    \n  ","reactive":true,"nid":10},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.loaded && dsx.variable.retiredRows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"icon":"clock","title":"Removed Keys","value":"{{ dsx.variable.retiredRows.length }}","chevron":"true","tappable":"true","on:tap":"dsx.variable.drawer = 'retired'"},"children":[],"text":"","reactive":true,"nid":36}],"text":"\n    \n  ","reactive":true,"nid":35},{"tag":"sheet","attrs":{"detents":"content","present":"dsx.variable.drawer != ''","title":"{{ dsx.variable.drawerTitle }}","on:dismiss":"dsx.variable.drawer = ''"},"children":[{"tag":"Guide","attrs":{"visible-if":"dsx.variable.drawer == 'ios'","steps":"{{ dsx.variable.iosSteps }}","on:action":"dsx.action.guideStep()"},"children":[],"text":"","reactive":true,"nid":38},{"tag":"Guide","attrs":{"visible-if":"dsx.variable.drawer == 'android'","steps":"{{ dsx.variable.androidSteps }}","on:action":"dsx.action.guideStep()"},"children":[],"text":"","reactive":true,"nid":39},{"tag":"ListGroup","attrs":{"footer":"{{ dsx.variable.android.advice.message }}","visible-if":"dsx.variable.drawer == 'replace'"},"children":[{"tag":"Guide","attrs":{"steps":"{{ dsx.variable.adviceRows }}","aria-label":"Changing the upload key of an app on Google Play"},"children":[],"text":"","reactive":true,"nid":41}],"text":"\n      \n    ","reactive":true,"nid":40},{"tag":"ListGroup","attrs":{"footer":"A removed key is kept sealed for 30 days, then deleted for good.","visible-if":"dsx.variable.drawer == 'retired'"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.retiredRows","key":"id","icon":"clock","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.line }}"},"children":[{"tag":"button","attrs":{"variant":"bordered","label":"Restore","on:tap":"dsx.action.restore({ kind: dsx.this.kind, keyId: dsx.this.id })"},"children":[],"text":"","reactive":true,"nid":44}],"text":"","reactive":true,"nid":43}],"text":"\n      \n    ","reactive":true,"nid":42}],"text":"\n    \n    \n    \n    \n  ","reactive":true,"nid":37},{"tag":"sheet","attrs":{"detents":"content","present":"dsx.variable.uploading","title":"{{ dsx.variable.uploadTitle }}","action":"{{ dsx.variable.uploadLabel }}","action-disabled":"{{ dsx.variable.uploadDisabled }}","on:action":"dsx.action.confirmUpload()","on:dismiss":"dsx.variable.uploadKind = ''"},"children":[{"tag":"ListGroup","attrs":{"header":"File","footer":"{{ dsx.variable.uploadKind == 'apple' ? 'The .p12 you exported from Keychain Access with its private key, or the PEM private key.' : 'A .jks, .keystore or .p12 file. It is checked, then sealed: nobody reads it back.' }}"},"children":[{"tag":"SettingsRow","attrs":{"icon":"doc","title":"{{ dsx.variable.fileName }}"},"children":[{"tag":"button","attrs":{"variant":"bordered","label":"Choose File","on:tap":"dsx.action.pickFile()"},"children":[],"text":"","reactive":true,"nid":48}],"text":"","reactive":true,"nid":47}],"text":"\n      \n    ","reactive":true,"nid":46},{"tag":"ListGroup","attrs":{"header":"Passwords","visible-if":"!dsx.variable.isPem"},"children":[{"tag":"SettingsRow","attrs":{"title":"{{ dsx.variable.uploadKind == 'apple' ? 'Password' : 'Keystore password' }}"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.password","secure":"true","placeholder":"Required","aria-label":"Keystore password"},"children":[],"text":"","reactive":true,"nid":51}],"text":"","reactive":true,"nid":50},{"tag":"SettingsRow","attrs":{"title":"Key alias","visible-if":"dsx.variable.uploadKind == 'android'"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.alias","placeholder":"Only if it holds several keys","aria-label":"Key alias"},"children":[],"text":"","reactive":true,"nid":53}],"text":"","reactive":true,"nid":52},{"tag":"SettingsRow","attrs":{"title":"Key password","visible-if":"dsx.variable.uploadKind == 'android'"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.keyPassword","secure":"true","placeholder":"Same as the keystore","aria-label":"Key password"},"children":[],"text":"","reactive":true,"nid":55}],"text":"","reactive":true,"nid":54}],"text":"\n      \n      \n      \n    ","reactive":true,"nid":49},{"tag":"ListGroup","attrs":{"header":"This key","visible-if":"dsx.variable.preview != null","transition":"fade"},"children":[{"tag":"SettingsRow","attrs":{"icon":"checkmark.circle.fill","title":"{{ dsx.variable.preview.title }}","subtitle":"{{ dsx.variable.preview.key + (dsx.variable.preview.validUntil == '' ? '' : ' · Valid until ' + dsx.variable.preview.validUntil) }}","tone":"success"},"children":[],"text":"","reactive":true,"nid":57},{"tag":"CopyRow","attrs":{"label":"SHA-256","value":"{{ dsx.variable.preview.sha256 }}","lines":"0","visible-if":"dsx.variable.preview.sha256 != ''"},"children":[],"text":"","reactive":true,"nid":58}],"text":"\n      \n      \n    ","reactive":true,"nid":56},{"tag":"Diagnosis","attrs":{"diagnosis":"{{ dsx.variable.uploadDoctor }}","project-id":"{{ dsx.attribute.projectId }}","recheck":"false","on:upload":"dsx.action.pickFile()"},"children":[],"text":"","reactive":true,"nid":59}],"text":"\n    \n    \n    \n    \n  ","reactive":true,"nid":45},{"tag":"sheet","attrs":{"detents":"content","present":"dsx.variable.doctorOpen","title":"{{ dsx.variable.doctor == null ? '' : dsx.variable.doctor.title }}","on:dismiss":"dsx.variable.doctor = null"},"children":[{"tag":"Diagnosis","attrs":{"diagnosis":"{{ dsx.variable.doctor }}","project-id":"{{ dsx.attribute.projectId }}","recheck":"false","on:retry":"dsx.action.doctorRetry()"},"children":[],"text":"","reactive":true,"nid":61}],"text":"\n    \n  ","reactive":true,"nid":60},{"tag":"alert","attrs":{"present":"dsx.variable.asking != ''","title":"{{ dsx.variable.askTitle }}","message":"{{ dsx.variable.askMessage }}","confirm-text":"{{ dsx.variable.confirmWord }}","buttons":"dsx.variable.askButtons","on:dismiss":"dsx.variable.asking = ''"},"children":[],"text":"","reactive":true,"nid":62}],"text":"\n  \n\n  \n\n  \n\n  \n  \n\n  \n  \n\n  \n  \n  \n\n  \n\n  \n\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.ProjectsScreen":{"name":"ProjectsScreen","scheme":"platform","head":{"attributes":[],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"seen","body":"\n      const c = dsx.module.convertdata.context.chrome\n      return c != null &amp;&amp; c.projects != null &amp;&amp; c.projects.length &gt; 0 &amp;&amp; c.projectsFor == (dsx.module.convertdata.context.workspace || '') ? c : null\n    ","computed":false},{"as":"projects","body":"return dsx.variable.seen != null ? dsx.variable.seen.projects : []","computed":false},{"as":"placeholders","body":"return [{ id: 'loading-1' }, { id: 'loading-2' }, { id: 'loading-3' }]","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"legacyError","body":"return ''","computed":false},{"as":"query","body":"return ''","computed":false},{"as":"loaded","body":"return dsx.variable.seen != null","computed":false},{"as":"converting","body":"return null","computed":false},{"as":"viewPref","body":"return ''","computed":false,"persist":"device"},{"as":"sortPref","body":"return 'recent'","computed":false,"persist":"device"},{"as":"skills","body":"return false","computed":false},{"as":"invites","body":"return dsx.variable.seen != null ? (dsx.variable.seen.invites || []) : []","computed":false},{"as":"showSearch","body":"return dsx.variable.projects.length &gt; 8 || dsx.variable.query != ''","computed":true},{"as":"askOn","body":"\n      const r = dsx.module.convertdata.context.rollout\n      const a = r == null || r.areas == null ? null : r.areas['setup-copilot']\n      return a != null &amp;&amp; a.open === true &amp;&amp; String(dsx.module.convertdata.context.workspace || '') != '' &amp;&amp; dsx.module.convertdata.context.agentBackend !== false\n    ","computed":true},{"as":"askScope","body":"return 'workspace:' + String(dsx.module.convertdata.context.workspace || '')","computed":true},{"as":"askAway","body":"return dsx.module.convertdata.context.agentPanel == null || !dsx.module.convertdata.context.agentPanel.open","computed":true},{"as":"view","body":"\n      if (dsx.variable.viewPref == 'grid' || dsx.variable.viewPref == 'list') { return dsx.variable.viewPref }\n      //  cards at every size (owner 2026-10-08: \"Sometimes you want cards on phone too\"): the adaptive grid gives one\n      //  column on a phone, two on an iPad, three to four on a desktop; List stays one choice away in the menu\n      return 'grid'\n    ","computed":true},{"as":"tiles","body":"\n      const q = dsx.variable.query.trim().toLowerCase()\n      // A cached projects read can replay older rows after Save Icon published the new artwork.\n      const c = dsx.module.convertdata.context.chrome\n      const current = c != null &amp;&amp; c.projectsFor == (dsx.module.convertdata.context.workspace || '') ? (c.projects || []) : []\n      const shown = dsx.variable.projects\n        .filter(p => q == '' || (p.name + ' ' + (p.iosId || '') + ' ' + (p.androidId || '')).toLowerCase().includes(q))\n        .map(p => {\n          const latest = current.find(row => row.id == p.id)\n          return tile(latest == null ? p : { ...p, icon: latest.icon })\n        })\n      if (dsx.variable.sortPref == 'name') { return shown.toSorted((a, b) => a.name.localeCompare(b.name)) }\n      return shown.toSorted((a, b) => b.recency - a.recency)\n    ","computed":true},{"as":"migrationOn","body":"return dsx.module.convertdata.context.v3Migration != false","computed":true},{"as":"apps","body":"return dsx.variable.tiles.filter(t => !t.onV3 || !dsx.variable.migrationOn).concat(dsx.variable.migrationOn ? dsx.variable.tiles.filter(t => t.onV3) : [])","computed":true},{"as":"empty","body":"return dsx.variable.loaded &amp;&amp; dsx.variable.error == '' &amp;&amp; dsx.variable.legacyError == '' &amp;&amp; dsx.variable.projects.length == 0","computed":true},{"as":"emptyMessage","body":"\n      const native = dsx.module.convertdata.context.nativeSurfaces === true\n      if (!dsx.variable.cliOn) { return dsx.variable.mcpOn ? 'Start your first app with New App, or let your AI agent set it up.' : 'Start your first app with New App.' }\n      return native ? 'Start one here, or let your AI agent build it.' : 'Start a project from the CLI, or let your AI agent set it up.'\n    ","computed":true},{"as":"emptyLink","body":"return dsx.variable.cliOn ? 'Install Agent Skill' : (dsx.variable.mcpOn ? 'Connect AI Agent' : '')","computed":true},{"as":"noMatch","body":"return dsx.variable.projects.length &gt; 0 &amp;&amp; dsx.variable.tiles.length == 0","computed":true},{"as":"optionsMenu","body":"\n      const pick = (ask, value, title, icon, on) => ({ title: title, icon: on ? 'checkmark' : icon, action: 'convertdata.confirm', args: { ask: ask, value: value } })\n      const sort = [{ header: true, title: 'Sort By' }, pick('projects-sort', 'recent', 'Recently Built', 'clock', dsx.variable.sortPref != 'name'), pick('projects-sort', 'name', 'Name', 'textformat', dsx.variable.sortPref == 'name')]\n      return [{ header: true, title: 'View' }, pick('projects-view', 'grid', 'Grid', 'square.grid.2x2', dsx.variable.view == 'grid'), pick('projects-view', 'list', 'List', 'list.bullet', dsx.variable.view == 'list'), { separator: true }].concat(sort)\n    ","computed":true},{"as":"cliOn","body":"return dsx.attribute.cliAvailable == true || dsx.attribute.cliAvailable == 'true' || dsx.module.convertdata.context.cliAvailable == true","computed":true},{"as":"mcpOn","body":"return dsx.attribute.mcpAvailable == true || dsx.attribute.mcpAvailable == 'true' || dsx.module.convertdata.context.mcpAvailable == true","computed":true},{"as":"agentOn","body":"return dsx.variable.cliOn || dsx.variable.mcpOn","computed":true},{"as":"agentRow","body":"\n      return dsx.variable.cliOn\n        ? { title: 'Let your AI agent build and ship your apps', subtitle: 'Install the Despia skill for Claude Code, Codex, Cursor and more.', badge: '' }\n        : { title: 'Let your AI agent build and ship your apps', subtitle: 'Connect Claude Code, Codex, Cursor and more to Despia.', badge: 'Beta' }\n    ","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      //  One settled frame: the apps and the invitations land together, so neither pops in above the other. The cards come\n      //  from the list with their latest builds, so statuses and the recent sort are settled at once. An older API\n      //  omitting latestBuild still fills its unread cards in one later write.\n      const workspace = dsx.module.convertdata.context.workspace\n      const [r, inv] = await Promise.all([dsx.module.convertdata.projects({ workspace: workspace, shallow: true }), dsx.module.convertdata.myInvites()])\n      //  an answer for a workspace that is no longer the one on screen is dropped: the load the switch started draws the\n      //  page, so the list never shows one workspace's apps (or its \"No apps yet\") under another's name\n      if (workspace != dsx.module.convertdata.context.workspace) { return }\n      dsx.variable.invites = inv.ok ? inv.data.items : []\n      dsx.variable.loaded = true\n      if (!r.ok) { dsx.variable.error = 'Despia did not answer. Check your connection and try again.'; return }\n      if (!inv.ok) { dsx.variable.error = 'Despia did not answer. Check your connection and try again.'; return }\n      dsx.variable.legacyError = r.data.legacyError ? 'Despia V3 did not answer just now. Your V4 apps are all here.' : ''\n      dsx.variable.projects = r.data.items\n      if (r.data.items.some(p => p.buildsRead === false)) {\n        const full = await dsx.module.convertdata.projects({ workspace: workspace })\n        if (workspace != dsx.module.convertdata.context.workspace) { return }\n        if (!full.ok) { dsx.variable.error = 'Despia did not answer. Check your connection and try again.'; return }\n        dsx.variable.projects = full.data.items\n      }\n      dsx.variable.error = ''\n    "},{"as":"onConfirmed","inputs":{},"body":"\n      const k = dsx.module.convertdata.context.confirmed\n      if (k == null) { return }\n      if (k.ask == 'projects-sort') { dsx.variable.sortPref = k.value }\n      if (k.ask == 'projects-view') { dsx.variable.viewPref = k.value }\n    "},{"as":"open","inputs":{"id":"dsx.this.id"},"body":"dsx.module.route.push({ path: '/apps/' + id })"},{"as":"setUpWithAgent","inputs":{},"body":"\n      await dsx.module.convertdata.copilotQuestion({ id: dsx.variable.askScope, text: 'Which website should become your app?' })\n      await dsx.action.showAgent()\n    "},{"as":"showAgent","inputs":{},"body":"\n      await dsx.module.convertdata.agentShow({ scope: dsx.variable.askScope })\n    "},{"as":"startNew","inputs":{"from":"dsx.this.from"},"body":"dsx.module.route.push({ path: from == 'web' ? '/apps/new/web-view' : (from == 'import' ? '/apps/new/import' : '/apps/new') })"},{"as":"askConvert","inputs":{"id":"dsx.this.id","name":"dsx.this.name","icon":"dsx.this.icon","licensed":"dsx.this.licensed"},"body":"dsx.variable.converting = { id: id, name: name, icon: icon, licensed: licensed }"},{"as":"converted","inputs":{"id":"dsx.this.id"},"body":"\n      const to = id || dsx.variable.converting.id\n      dsx.module.toast.show({ title: dsx.variable.converting.name + ' moved to V4', message: 'Your web app is untouched.' })\n      dsx.variable.converting = null\n      dsx.module.route.push({ path: '/apps/' + to })\n    "},{"as":"review","inputs":{},"body":"\n      const id = dsx.variable.converting.id\n      dsx.variable.converting = null\n      dsx.module.route.push({ path: '/apps/' + id + '/packages' })\n    "}],"watches":[{"value":"dsx.module.convertdata.context.workspace","handler":"dsx.action.load()","immediate":true},{"value":"dsx.module.convertdata.context.confirmed","handler":"dsx.action.onConfirmed()"}],"scripts":["\n      function messageOf(r) {\n        if (r == null) { return 'Despia did not answer. Try again in a moment.' }\n        if (r.error != null &amp;&amp; typeof r.error == 'object' &amp;&amp; r.error.message) { return r.error.message }\n        if (r.message) { return r.message }\n        return 'Despia did not answer. Try again in a moment.'\n      }\n      function ago(ms) {\n        if (!ms) { return '' }\n        const minutes = Math.floor((Date.now() - ms) / 60000)\n        if (minutes &lt; 1) { return 'Just now' }\n        if (minutes &lt; 60) { return minutes + ' min ago' }\n        if (minutes &lt; 1440) { return Math.floor(minutes / 60) + ' h ago' }\n        if (minutes &lt; 10080) { return Math.floor(minutes / 1440) + (minutes &lt; 2880 ? ' day ago' : ' days ago') }\n        return new Date(ms).toLocaleDateString('en-US', { month: 'short', day: 'numeric' }).replace(/ /g, '\\u00a0')\n      }\n      function stateWord(b) {\n        if (b.kind == 'publish' &amp;&amp; b.status == 'completed') { return 'Submitted' }\n        const words = { completed: 'Built', failed: 'Failed', building: 'Building', queued: 'Queued', starting: 'Queued', publishing: 'Submitting', canceled: 'Canceled' }\n        return words[b.status] || 'Queued'\n      }\n      function stateRole(s) {\n        if (s == 'completed') { return 'success' }\n        if (s == 'failed') { return 'danger' }\n        return s == 'canceled' ? 'accent' : 'info'\n      }\n      // The identifiers: the bundle id and the package name, each on its own row only when they differ.\n      function ids(p) {\n        const ios = p.iosId || ''\n        const android = p.androidId || ''\n        if (ios == '' &amp;&amp; android == '') { return { details: [{ icon: 'exclamationmark.circle', text: 'No identifier yet' }], line: 'No identifier yet' } }\n        if (ios == android) { return { details: [{ icon: 'tag', text: ios }], line: ios } }\n        const rows = [{ icon: 'apple.logo', text: ios }, { icon: 'android.logo', text: android }].filter(r => r.text != '')\n        return { details: rows, line: rows.map(r => r.text).join(' · ') }\n      }\n      // A Despia V3 app's licence, a quiet word on its status line: which platforms carry a V3 licence over.\n      function licenceWord(l) {\n        if (l == null) { return '' }\n        if (l.ios &amp;&amp; l.android) { return 'Licensed' }\n        if (l.ios) { return 'Licensed for iOS' }\n        return l.android ? 'Licensed for Android' : 'Not licensed'\n      }\n      // Licensed on every operating system the app has, or named per system while only some are.\n      function licence(p) {\n        const on = p.licensedOn || []\n        if (on.length == 0) { return '' }\n        if (on.length &gt;= (p.platforms || []).length) { return 'Licensed' }\n        return (on.includes('ios') ? 'iOS' : 'Android') + ' licensed'\n      }\n      function tile(p) {\n        const b = p.lastBuild || null\n        const onV3 = p.stage == 'v3'\n        const id = ids(p)\n        const v3Word = onV3 ? licenceWord(p.v3Licensed) : ''\n        const word = onV3 &amp;&amp; v3Word != '' ? v3Word : licence(p)\n        //  the latest build is still being read: the card keeps its status line (so it does not grow when the answer lands)\n        //  and claims nothing about builds until it knows\n        if (!onV3 &amp;&amp; p.buildsRead === false) {\n          return {\n            id: p.id, name: p.name, icon: p.icon || '', onV3: false, licensed: null, details: id.details, idLine: id.line,\n            recency: p.createdAt || 0, statusIcon: 'ellipsis', statusLabel: '', statusRole: '', status: word, rowValue: word,\n            a11yStatus: word\n          }\n        }\n        return {\n          id: p.id, name: p.name, icon: p.icon || '', onV3: onV3, licensed: onV3 ? (p.v3Licensed || null) : null, details: id.details, idLine: id.line,\n          recency: b != null ? b.createdAt : (p.createdAt || 0),\n          statusIcon: onV3 ? 'clock.arrow.circlepath' : (b == null ? 'hammer' : (b.os == 'android' ? 'android.logo' : 'apple.logo')),\n          statusLabel: onV3 || b == null ? '' : stateWord(b),\n          statusRole: b == null ? '' : stateRole(b.status),\n          status: [onV3 ? (b == null ? 'Despia V3' : 'Despia V3 · last build ' + ago(b.createdAt)) : (b == null ? 'Not built yet' : ago(b.createdAt)), word].filter(t => t != '').join(' · '),\n          rowValue: onV3 ? word : (b == null ? 'Not built yet' : word),\n          a11yStatus: [onV3 ? 'On Despia V3' : (b == null ? 'Not built yet' : (b.os == 'android' ? 'Android' : 'iOS') + ' build ' + stateWord(b) + ', ' + ago(b.createdAt)), word].filter(t => t != '').join(', ')\n        }\n      }\n    "],"globalScripts":[]},"root":{"tag":"Shell","attrs":{"section":"projects"},"children":[{"tag":"NavBar","attrs":{"title":"Apps","large":"true","description":"Every app in this workspace."},"children":[{"tag":"button","attrs":{"slot":"trailing","icon":"plus","variant":"bordered","aria-label":"New app","on:tap":"dsx.action.startNew({ from: 'template' })","__css":"c101"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"menu","attrs":{"slot":"trailing","menu":"{{ dsx.variable.optionsMenu }}","visible-if":"dsx.variable.projects.length > 0 || !dsx.variable.loaded"},"children":[{"tag":"button","attrs":{"icon":"ellipsis.circle","aria-label":"View and sort","disabled-if":"!dsx.variable.loaded","__css":"c102"},"children":[],"text":"","reactive":false,"nid":4}],"text":"\n      \n    ","reactive":true,"nid":3},{"tag":"button","attrs":{"slot":"trailing","icon":"agent.mark","label":"Agent","aria-label":"Agent","shortcut":"cmd+j","visible-if":"dsx.screen.width >= 768 && dsx.module.convertdata.context.agentClosed !== true && dsx.module.convertdata.context.agentBackend !== false && (dsx.module.convertdata.context.agentPanel == null || dsx.module.convertdata.context.agentPanel.open !== true)","on:tap":"dsx.module.convertdata.agentShow({ scope: '' })"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"DashboardNotice","attrs":{},"children":[],"text":"","reactive":true,"nid":6},{"tag":"searchbar","attrs":{"class":"apps-search","aria-label":"Search apps","bind":"dsx.variable.query","placeholder":"Search apps","visible-if":"dsx.variable.showSearch"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"Callout","attrs":{"class":"page-notice","tone":"error","title":"Apps did not load","message":"{{ dsx.variable.error }}","action":"Try Again","visible-if":"dsx.variable.error != ''","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":8},{"tag":"Callout","attrs":{"class":"page-notice","tone":"error","title":"Despia V3 apps did not load","message":"{{ dsx.variable.legacyError }}","action":"Try Again","visible-if":"dsx.variable.error == '' && dsx.variable.legacyError != ''","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"stack","attrs":{"visible-if":"dsx.variable.empty","__steers":"1","__css":"c26"},"children":[{"tag":"EmptyState","attrs":{"icon":"square.grid.2x2","title":"No apps yet","message":"{{ dsx.variable.emptyMessage }}"},"children":[],"text":"","reactive":true,"nid":11},{"tag":"hstack","attrs":{"__css":"c103"},"children":[{"tag":"button","attrs":{"variant":"prominent","label":"New App","on:tap":"dsx.action.startNew({ from: 'template' })"},"children":[],"text":"","reactive":true,"nid":13},{"tag":"button","attrs":{"variant":"bordered","label":"Continue","visible-if":"dsx.variable.askOn","on:tap":"dsx.action.setUpWithAgent()"},"children":[],"text":"","reactive":true,"nid":14},{"tag":"button","attrs":{"variant":"bordered","label":"{{ dsx.variable.emptyLink }}","visible-if":"!dsx.variable.askOn && dsx.variable.emptyLink != ''","on:tap":"dsx.variable.skills = true"},"children":[],"text":"","reactive":true,"nid":15}],"text":"\n      \n      \n      \n    ","reactive":true,"nid":12}],"text":"\n    \n    \n  ","reactive":true,"nid":10},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.noMatch"},"children":[{"tag":"SettingsRow","attrs":{"icon":"magnifyingglass","title":"No results","subtitle":"No app matches this search."},"children":[],"text":"","reactive":true,"nid":17}],"text":"\n    \n  ","reactive":true,"nid":16},{"tag":"grid","attrs":{"class":"apps-placeholders","bind":"dsx.variable.placeholders","key":"id","columns":"adaptive","minimum":"360","scroll":"false","visible-if":"!dsx.variable.loaded && dsx.variable.error == '' && dsx.variable.view == 'grid'","aria-label":"Loading apps","aria-busy":"true","__css":"c95"},"children":[{"tag":"Card","attrs":{"aria-hidden":"true"},"children":[{"tag":"stack","attrs":{"__css":"c25"},"children":[{"tag":"skeleton","attrs":{"__css":"c104"},"children":[],"text":"","reactive":false,"nid":21},{"tag":"skeleton","attrs":{"__css":"c105"},"children":[],"text":"","reactive":false,"nid":22},{"tag":"skeleton","attrs":{"__css":"c106"},"children":[],"text":"","reactive":false,"nid":23},{"tag":"skeleton","attrs":{"__css":"c107"},"children":[],"text":"","reactive":false,"nid":24}],"text":"\n        \n        \n        \n        \n      ","reactive":false,"nid":20}],"text":"\n      \n    ","reactive":true,"nid":19}],"text":"\n    \n  ","reactive":true,"nid":18},{"tag":"ListGroup","attrs":{"visible-if":"!dsx.variable.loaded && dsx.variable.error == '' && dsx.variable.view == 'list'","aria-label":"Loading apps","aria-busy":"true"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"[0, 1, 2]","key":"index","aria-hidden":"true"},"children":[{"tag":"skeleton","attrs":{"slot":"leading","__css":"c104"},"children":[],"text":"","reactive":false,"nid":27},{"tag":"skeleton","attrs":{"__css":"c108"},"children":[],"text":"","reactive":false,"nid":28}],"text":"\n      \n      \n    ","reactive":true,"nid":26}],"text":"\n    \n  ","reactive":true,"nid":25},{"tag":"grid","attrs":{"bind":"dsx.variable.apps","key":"id","columns":"adaptive","minimum":"360","scroll":"false","visible-if":"dsx.variable.view == 'grid' && dsx.variable.apps.length > 0","__css":"c95"},"children":[{"tag":"ItemCard","attrs":{"class":"apps-card","title":"{{ dsx.this.name }}","image":"{{ dsx.this.icon }}","details":"{{ dsx.this.details }}","status-icon":"{{ dsx.this.statusIcon }}","status-label":"{{ dsx.this.statusLabel }}","status-role":"{{ dsx.this.statusRole }}","status":"{{ dsx.this.status }}","on:tap":"dsx.action.open()"},"children":[{"tag":"button","attrs":{"slot":"actions","visible-if":"dsx.this.onV3 === true && dsx.variable.migrationOn","variant":"bordered","control-size":"small","label":"Update App","aria-label":"Update {{ dsx.this.name }}","on:tap":"dsx.action.askConvert()"},"children":[],"text":"","reactive":true,"nid":31}],"text":"\n      \n    ","reactive":true,"nid":30}],"text":"\n    \n  ","reactive":true,"nid":29},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.view == 'list' && dsx.variable.apps.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.apps","key":"id","class":"{{ dsx.this.onV3 === true && dsx.variable.migrationOn ? 'apps-row-action' : '' }}","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.onV3 === true ? 'Despia V3' : dsx.this.idLine }}","value":"{{ dsx.this.rowValue }}","chevron":"{{ dsx.this.onV3 === true ? 'false' : 'true' }}","tappable":"true","on:tap":"dsx.action.open()"},"children":[{"tag":"IconTile","attrs":{"slot":"leading","src":"{{ dsx.this.icon }}","name":"{{ dsx.this.name }}"},"children":[],"text":"","reactive":true,"nid":34},{"tag":"chip","attrs":{"visible-if":"dsx.this.statusLabel != ''","label":"{{ dsx.this.statusLabel }}","role":"{{ dsx.this.statusRole }}"},"children":[],"text":"","reactive":true,"nid":35},{"tag":"button","attrs":{"visible-if":"dsx.this.onV3 === true && dsx.variable.migrationOn","variant":"bordered","control-size":"small","label":"Update App","aria-label":"Update {{ dsx.this.name }}","on:tap":"dsx.action.askConvert()"},"children":[],"text":"","reactive":true,"nid":36}],"text":"\n      \n      \n      \n    ","reactive":true,"nid":33}],"text":"\n    \n  ","reactive":true,"nid":32},{"tag":"InviteInbox","attrs":{"items":"{{ dsx.variable.invites }}","visible-if":"dsx.variable.invites.length > 0","on:answered":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":37},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.agentOn && dsx.variable.projects.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"icon":"despia.logo.mono","title":"{{ dsx.variable.agentRow.title }}","subtitle":"{{ dsx.variable.agentRow.subtitle }}","badge":"{{ dsx.variable.agentRow.badge }}","badge-role":"info","chevron":"true","tappable":"true","on:tap":"dsx.variable.skills = true"},"children":[],"text":"","reactive":true,"nid":39}],"text":"\n    \n  ","reactive":true,"nid":38},{"tag":"AgentSkillsSheet","attrs":{"visible-if":"dsx.variable.agentOn","present":"{{ dsx.variable.skills }}","cli-available":"{{ dsx.variable.cliOn }}","mcp-available":"{{ dsx.variable.mcpOn }}","on:close":"dsx.variable.skills = false"},"children":[],"text":"","reactive":true,"nid":40},{"tag":"ConvertSheet","attrs":{"present":"{{ dsx.variable.converting != null }}","project-id":"{{ dsx.variable.converting.id }}","name":"{{ dsx.variable.converting.name }}","icon":"{{ dsx.variable.converting.icon }}","licensed":"{{ dsx.variable.converting.licensed }}","on:close":"dsx.variable.converting = null","on:converted":"dsx.action.converted()","on:review":"dsx.action.review()"},"children":[],"text":"","reactive":true,"nid":41}],"text":"\n  \n\n  \n  \n\n\n  \n  \n\n  \n\n  \n\n  \n\n  \n  \n\n  \n\n  \n  \n  \n\n  \n  \n  \n\n  \n  \n\n  \n  \n  \n\n  \n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.PublishSheet":{"name":"PublishSheet","scheme":"platform","head":{"attributes":[{"as":"present","default":"false"},{"as":"project-id","default":"''"},{"as":"project","default":"null"},{"as":"stores","default":"[]"},{"as":"connections","default":"[]"},{"as":"builds","default":"[]"},{"as":"moved","default":"false"}],"apis":[],"expects":[],"events":[{"as":"close","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"store","body":"return 'iOS'","computed":false},{"as":"team","body":"return ''","computed":false},{"as":"version","body":"return ''","computed":false},{"as":"bump","body":"return 'Patch'","computed":false},{"as":"destination","body":"return 'TestFlight'","computed":false},{"as":"track","body":"return 'Internal'","computed":false},{"as":"output","body":"return 'AAB'","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"checks","body":"return []","computed":false},{"as":"ready","body":"return false","computed":false},{"as":"checking","body":"return false","computed":false},{"as":"checksLoaded","body":"return false","computed":false},{"as":"cost","body":"return { credits: 5, firstFree: false }","computed":false},{"as":"key","body":"return ''","computed":false},{"as":"pendingChecks","body":"return {}","computed":false},{"as":"activeCheck","body":"return ''","computed":false},{"as":"isIos","body":"return dsx.variable.store == 'iOS'","computed":true},{"as":"costFooter","body":"\n      const after = 'It usually takes 10 to 20 minutes, and you can leave the page.'\n      const c = dsx.variable.cost\n      if (c.firstFree) { return 'Your first build is free. ' + after }\n      if (c.credits == 0) { return 'Uses no credits. ' + after }\n      return 'Uses ' + c.credits + (c.credits == 1 ? ' credit' : ' credits') + '. A build that fails is refunded. ' + after\n    ","computed":true},{"as":"storeOpen","body":"\n      const r = dsx.module.convertdata.context.rollout\n      const served = (dsx.module.convertdata.context.openAreas || []).some(a => a.id == 'store-testing' &amp;&amp; a.open == true)\n      return served || r == null || r.areas == null || r.areas['store-testing'] == null || r.areas['store-testing'].open == true\n    ","computed":true},{"as":"publicOpen","body":"\n      const r = dsx.module.convertdata.context.rollout\n      const served = (dsx.module.convertdata.context.openAreas || []).some(a => a.id == 'store-review' &amp;&amp; a.open == true)\n      return served || r == null || r.areas == null || r.areas['store-review'] == null || r.areas['store-review'].open == true\n    ","computed":true},{"as":"kind","body":"return dsx.variable.isIos ? 'appstore' : 'googleplay'","computed":true},{"as":"accounts","body":"return dsx.attribute.connections.filter(c => c.kind == dsx.variable.kind)","computed":true},{"as":"accountNames","body":"return dsx.variable.accounts.map(c => c.name + ' · ' + c.detail).join(',')","computed":true},{"as":"identifiers","body":"\n      if (dsx.attribute.project == null) { return [] }\n      return (dsx.variable.isIos\n        ? [{ id: 'bundle', title: 'App Bundle ID', value: dsx.attribute.project.iosId }, { id: 'appid', title: 'App Store App ID', value: dsx.attribute.project.appleAppId }]\n        : [{ id: 'package', title: 'Package name', value: dsx.attribute.project.androidId }]).filter(x => x.value != null &amp;&amp; x.value != '')\n    ","computed":true},{"as":"firstUpdate","body":"\n      if (!(dsx.attribute.moved == true || dsx.attribute.moved == 'true')) { return false }\n      return !dsx.attribute.builds.some(b => b.os == (dsx.variable.isIos ? 'ios' : 'android') &amp;&amp; b.kind != 'publish' &amp;&amp; (b.profile || 'release') == 'release' &amp;&amp; b.status == 'completed')\n    ","computed":true},{"as":"trackOptions","body":"return dsx.variable.firstUpdate || !dsx.variable.publicOpen ? 'Internal,Build Only' : 'Internal,Closed,Open,Production,Build Only'","computed":true},{"as":"recent","body":"return dsx.attribute.builds.filter(b => dsx.variable.isIos ? b.os == 'ios' : b.os == 'android').slice(0, 3)","computed":true},{"as":"upload","body":"\n      if (!dsx.variable.storeOpen) { return '' }\n      if (dsx.variable.isIos) { return dsx.variable.destination == 'TestFlight' ? 'testflight' : '' }\n      return dsx.variable.track == 'Build Only' ? '' : dsx.variable.track.toLowerCase()\n    ","computed":true},{"as":"publishLabel","body":"\n      //  the destination is the row above; the button stays one word so the sheet title keeps its room\n      return 'Continue'\n    ","computed":true},{"as":"uploadFooter","body":"\n      if (!dsx.variable.storeOpen) { return 'Uploading to TestFlight and Google Play is coming soon. The signed build is kept for download.' }\n      if (dsx.variable.upload == '') { return 'The signed build is kept for download. Nothing is uploaded.' }\n      if (dsx.variable.firstUpdate &amp;&amp; !dsx.variable.isIos) { return 'The first update of a moved app goes to internal testing, so you can try it before anyone else gets it. Closed, Open and Production open once this build has completed.' }\n      return 'When the build finishes, Despia uploads it to ' + (dsx.variable.isIos ? 'TestFlight' : 'Google Play') + ' with your own ' + (dsx.variable.isIos ? 'App Store Connect key.' : 'service account.') + ' Nothing goes public yet: you submit it for review as a separate step.'\n    ","computed":true},{"as":"blocked","body":"return dsx.variable.accounts.length == 0","computed":true},{"as":"checkSettings","body":"\n      if (!dsx.attribute.present || dsx.attribute.projectId == '') { return '' }\n      return JSON.stringify({ id: dsx.attribute.projectId, platform: dsx.variable.isIos ? 'ios' : 'android', profile: 'release', dryRun: true, publish: dsx.variable.upload })\n    ","computed":true},{"as":"problems","body":"\n      return dsx.variable.checks.filter(c => c.diagnosis != null).map(c => ({ key: c.id, diagnosis: Object.assign({}, c.diagnosis, { checks: (c.diagnosis.checks || []).map(x => Object.assign({}, x, { label: checkTitle(x) })) }) }))\n    ","computed":true},{"as":"loadingChecks","body":"return !dsx.variable.checksLoaded &amp;&amp; dsx.variable.error == ''","computed":true},{"as":"checkRows","body":"\n      // Five build checks, plus five TestFlight or six Google Play upload checks.\n      if (dsx.variable.loadingChecks) {\n        const count = 5 + (dsx.variable.upload == '' ? 0 : (dsx.variable.isIos ? 5 : 6))\n        return Array.from({ length: count }, (_, id) => ({ id: 'loading-' + id, loading: true, title: '', icon: '', action: '', target: '' }))\n      }\n      return dsx.variable.checks.filter(c => c.diagnosis == null).map(c => ({ id: c.id, loading: false, title: checkTitle(c), icon: c.warn ? 'exclamationmark.triangle' : (c.ok ? 'checkmark.circle.fill' : 'xmark.circle'), action: c.action || '', target: c.target || '' }))\n    ","computed":true}],"formulas":[],"actions":[{"as":"open","inputs":{},"body":"\n      if (dsx.attribute.project == null) { return }\n      //  a project without its own version starts from its newest finished build's, so the field never suggests going back to 1.0.0\n      const built = (dsx.attribute.builds || []).find(b => b.status == 'completed' &amp;&amp; b.os == (dsx.variable.isIos ? 'ios' : 'android') &amp;&amp; b.version)\n      dsx.variable.version = dsx.attribute.project.version || (built ? String(built.version) : '')\n      if (dsx.variable.firstUpdate &amp;&amp; !['Internal', 'Build Only'].includes(dsx.variable.track)) { dsx.variable.track = 'Internal' }\n      const linked = dsx.attribute.stores.find(s => s.kind == dsx.variable.kind &amp;&amp; s.id != '')\n      dsx.variable.team = linked ? linked.name + ' · ' + linked.detail : (dsx.variable.accounts.length > 0 ? dsx.variable.accounts[0].name + ' · ' + dsx.variable.accounts[0].detail : '')\n    "},{"as":"settingsChanged","inputs":{},"body":"\n      if (dsx.variable.activeCheck == dsx.variable.checkSettings &amp;&amp; (dsx.variable.checking || dsx.variable.checksLoaded)) { return }\n      dsx.action.check()\n    "},{"as":"check","inputs":{},"body":"\n      const settings = dsx.variable.checkSettings\n      // Repeated watch notifications share the same pending request without clearing its result.\n      if (dsx.variable.activeCheck == settings &amp;&amp; dsx.variable.checking) { return }\n      dsx.variable.activeCheck = settings\n      dsx.variable.checksLoaded = false\n      dsx.variable.checks = []\n      dsx.variable.ready = false\n      dsx.variable.error = ''\n      dsx.variable.key = ''\n      dsx.variable.checking = settings != ''\n      if (settings == '') { return }\n      if (dsx.variable.pendingChecks[settings]) { return }\n      try {\n        dsx.variable.pendingChecks[settings] = true\n        const r = await dsx.module.convertdata.startBuild(JSON.parse(settings))\n        if (settings != dsx.variable.checkSettings) { return }\n        dsx.variable.checksLoaded = true\n        if (!r.ok) {\n          dsx.variable.error = r.message ? r.message : 'The build checks did not run. Try again.'\n          return\n        }\n        dsx.variable.checks = r.data.checks\n        dsx.variable.cost = { credits: r.data.credits == null ? 5 : r.data.credits, firstFree: r.data.firstFree === true }\n        dsx.variable.ready = r.data.ok\n        const request = JSON.parse(settings)\n        dsx.variable.key = request.id + '-' + request.platform + '-' + Date.now()\n      } catch (e) {\n        if (settings != dsx.variable.checkSettings) { return }\n        dsx.variable.checksLoaded = true\n        dsx.variable.error = 'The build checks did not run. Try again.'\n      } finally {\n        dsx.variable.pendingChecks[settings] = false\n        if (settings == dsx.variable.checkSettings) { dsx.variable.checking = false }\n      }\n    "},{"as":"fix","inputs":{"target":"dsx.this.target"},"body":"\n      if (target == '') { return }\n      dsx.event('close')\n      dsx.module.route.push({ path: target.startsWith('/') ? target : '/apps/' + dsx.attribute.projectId + '/' + target })\n    "},{"as":"leave","inputs":{"target":"dsx.this.target"},"body":"\n      dsx.event('close')\n      dsx.module.route.push({ path: '/apps/' + dsx.attribute.projectId + (target == 'icon' ? '/settings' : '/store-setup') })\n    "},{"as":"addAccount","inputs":{},"body":"\n      const id = dsx.attribute.projectId\n      dsx.event('close')\n      dsx.module.route.push({ path: '/apps/' + id + '/store-setup?connect=' + (dsx.variable.isIos ? 'apple' : 'google') + '&return=' + encodeURIComponent('/apps/' + id) })\n    "},{"as":"publish","inputs":{},"body":"\n      const r = await dsx.module.convertdata.startBuild({ id: dsx.attribute.projectId, platform: dsx.variable.isIos ? 'ios' : 'android', profile: 'release', key: dsx.variable.key, publish: dsx.variable.upload })\n      if (!r.ok) { dsx.variable.error = r.message ? r.message : 'The build did not start. Nothing was charged. Try again.'; return }\n      dsx.event('close')\n      dsx.module.route.push({ path: '/builds/' + r.data.buildId })\n    "}],"watches":[{"value":"dsx.attribute.present","handler":"dsx.action.open()","immediate":true},{"value":"dsx.variable.store","handler":"dsx.action.open()"},{"value":"dsx.variable.checkSettings","handler":"dsx.action.settingsChanged()","immediate":true}],"scripts":["\n      function checkTitle(check) {\n        const label = check.title || check.label || (check.id == 'upload_key' ? check.id : check.message) || check.id || ''\n        const names = { upload_key: 'Android upload key' }\n        return names[label] || label\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"sheet","attrs":{"detents":"full","present":"dsx.attribute.present","title":"Publish","on:dismiss":"dsx.event('close')"},"children":[{"tag":"segmented","attrs":{"bind":"dsx.variable.store","options":"iOS,Android","label":"Store"},"children":[],"text":"","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.error != ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.error }}"},"children":[],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"Store account","footer":"{{ dsx.variable.blocked ? 'Publishing needs an account for this store.' : 'The team you sign and publish the app under.' }}"},"children":[{"tag":"SettingsRow","attrs":{"title":"{{ dsx.variable.isIos ? 'Developer team' : 'Service account' }}","visible-if":"!dsx.variable.blocked"},"children":[{"tag":"picker","attrs":{"aria-label":"{{ dsx.variable.isIos ? 'Developer team' : 'Service account' }}","bind":"dsx.variable.team","options":"{{ dsx.variable.accountNames }}"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"icon":"{{ dsx.variable.isIos ? 'appstore.logo' : 'google.play.logo' }}","title":"Add Developer Account","tone":"accent","tappable":"true","on:tap":"dsx.action.addAccount()"},"children":[],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"Identifiers"},"children":[{"tag":"CopyRow","attrs":{"lines":"0","repeat":"dsx.variable.identifiers","key":"id","label":"{{ dsx.this.title }}","value":"{{ dsx.this.value }}"},"children":[],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"Upload","footer":"{{ dsx.variable.uploadFooter }}"},"children":[{"tag":"SettingsRow","attrs":{"title":"Destination","visible-if":"dsx.variable.isIos && dsx.variable.storeOpen"},"children":[{"tag":"picker","attrs":{"aria-label":"Destination","bind":"dsx.variable.destination","options":"TestFlight,Build Only"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Google Play track","visible-if":"!dsx.variable.isIos && dsx.variable.storeOpen"},"children":[{"tag":"picker","attrs":{"aria-label":"Google Play track","bind":"dsx.variable.track","options":"{{ dsx.variable.trackOptions }}"},"children":[],"text":"","reactive":true}],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"Build configuration","footer":"Use the x.x.x pattern. A version can only go up."},"children":[{"tag":"SettingsRow","attrs":{"title":"Version"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.version","placeholder":"1.0.0","aria-label":"Version"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Version bump"},"children":[{"tag":"picker","attrs":{"aria-label":"Version bump","bind":"dsx.variable.bump","options":"Patch,Minor,Major"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Output","visible-if":"!dsx.variable.isIos"},"children":[{"tag":"picker","attrs":{"aria-label":"Output","bind":"dsx.variable.output","options":"AAB,APK"},"children":[],"text":"","reactive":true}],"text":"","reactive":true}],"text":"\n      \n      \n      \n    ","reactive":true},{"tag":"Diagnosis","attrs":{"repeat":"dsx.variable.problems","key":"key","diagnosis":"{{ dsx.this.diagnosis }}","project-id":"{{ dsx.attribute.projectId }}","busy":"{{ dsx.variable.checking }}","on:recheck":"dsx.action.check()","on:retry":"dsx.action.check()","on:upload":"dsx.action.leave()"},"children":[],"text":"","reactive":true},{"tag":"ListGroup","attrs":{"header":"Before the build","visible-if":"dsx.variable.checkRows.length > 0","aria-busy":"{{ dsx.variable.loadingChecks }}"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.checkRows","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","value":"{{ dsx.this.action }}","chevron":"{{ dsx.this.action != '' ? 'true' : 'false' }}","tappable":"{{ dsx.this.action != '' ? 'true' : 'false' }}","on:tap":"dsx.action.fix()","__css":"c109"},"children":[{"tag":"skeleton","attrs":{"visible-if":"dsx.this.loading","__css":"c110"},"children":[],"text":"","reactive":true}],"text":"\n        \n      ","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"stack","attrs":{"visible-if":"dsx.variable.ready || dsx.variable.loadingChecks","__steers":"1","__css":"c99"},"children":[{"tag":"button","attrs":{"variant":"prominent","control-size":"large","icon":"arrow.up.circle","label":"{{ dsx.action.publish.pending ? 'Starting…' : dsx.variable.publishLabel }}","disabled-if":"dsx.action.publish.pending || dsx.variable.loadingChecks","shortcut":"cmd+b","on:tap":"dsx.action.publish()"},"children":[],"text":"","reactive":true},{"tag":"text","attrs":{"type":"footnote","value":"{{ dsx.variable.costFooter }}","__css":"c100"},"children":[],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true},{"tag":"BuildList","attrs":{"builds":"{{ dsx.variable.recent }}","header":"Recent","visible-if":"dsx.variable.recent.length > 0"},"children":[],"text":"","reactive":true}],"text":"\n    \n\n    \n\n    \n\n    \n\n    \n\n    \n\n    \n\n    \n\n    \n\n    \n  ","reactive":true}],"text":"\n  \n\n  \n","reactive":true},"reactive":true,"language":"1"},"platform.ReadinessBar":{"name":"ReadinessBar","scheme":"platform","head":{"attributes":[{"as":"state"},{"as":"project-id","default":"''"}],"apis":[],"expects":[],"events":[{"as":"open","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"s","body":"return dsx.attribute.state == null || typeof dsx.attribute.state != 'object' ? {} : dsx.attribute.state","computed":true},{"as":"title","body":"return dsx.variable.s.title || ''","computed":true},{"as":"action","body":"return dsx.variable.s.action || ''","computed":true},{"as":"status","body":"return dsx.variable.s.tone == 'danger' ? 'failed' : (dsx.variable.s.running === true ? 'running' : '')","computed":true},{"as":"place","body":"\n      const go = String(dsx.variable.s.go || '')\n      return go == '' || ['build', 'publish', 'cancel', 'rebuild', 'fix-rebuild', 'first-build-fix', 'copilot'].includes(go) ? '' : go\n    ","computed":true}],"formulas":[],"actions":[{"as":"act","inputs":{},"body":"\n      const go = dsx.variable.place\n      if (go == '') { dsx.event('open'); return }\n      dsx.module.route.push({ path: go.startsWith('/') ? go : '/apps/' + dsx.attribute.projectId + '/' + go })\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"Card","attrs":{"class":"readiness-bar","enter":"fade","__css":"c111"},"children":[{"tag":"skeleton","attrs":{"class":"readiness-bar-placeholder","visible-if":"dsx.variable.title == ''"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"SettingsRow","attrs":{"status":"{{ dsx.variable.status }}","icon":"list.bullet","title":"{{ dsx.variable.title }}","subtitle":"Next step","tappable":"true","visible-if":"dsx.variable.title != ''","on:tap":"dsx.event('open')"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"hstack","attrs":{"class":"readiness-bar-actions","visible-if":"dsx.variable.action != ''"},"children":[{"tag":"button","attrs":{"variant":"prominent","label":"{{ dsx.variable.action }}","on:tap":"dsx.action.act()"},"children":[],"text":"","reactive":true,"nid":4}],"text":"\n    \n  ","reactive":true,"nid":3}],"text":"\n  \n  \n  \n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.ReadinessPanel":{"name":"ReadinessPanel","scheme":"platform","head":{"attributes":[{"as":"project-id","default":"''"},{"as":"home","default":"false"},{"as":"acts","default":"false"},{"as":"first-build"},{"as":"copilot","default":"false"},{"as":"ask","default":"false"},{"as":"journey"}],"apis":[],"expects":[],"events":[{"as":"state","payload":["id","stage","tone","running","words","title","action","go","next"]},{"as":"build","payload":[]},{"as":"publish","payload":[]},{"as":"rebuild","payload":["os","of","fix"]},{"as":"firstBuildFix","payload":["target"]},{"as":"copilot","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"readError","body":"return false","computed":false},{"as":"storeSetup","body":"return null","computed":false},{"as":"builds","body":"return []","computed":false},{"as":"live","body":"return []","computed":false},{"as":"project","body":"return null","computed":false},{"as":"loadedFor","body":"return ''","computed":false},{"as":"journeyNow","body":"return null","computed":false},{"as":"liveBuilds","body":"\n      const rows = dsx.module.convertdata.context.liveList == null ? {} : (dsx.module.convertdata.context.liveList.rows || {})\n      return dsx.variable.builds.map(b => rows[b.id] == null ? b : { ...b, ...rows[b.id] })\n    ","computed":true},{"as":"areaOpen","body":"\n      const r = dsx.module.convertdata.context.rollout\n      const served = dsx.module.convertdata.context.openAreas || []\n      return (a, servable) => (servable &amp;&amp; served.some(x => x.id == a &amp;&amp; x.open == true)) || r == null || r.areas == null || r.areas[a] == null || r.areas[a].open == true\n    ","computed":true},{"as":"testingOpen","body":"return dsx.variable.areaOpen('store-testing', true)","computed":true},{"as":"publishOpen","body":"return dsx.variable.areaOpen('store-review', true) &amp;&amp; dsx.variable.areaOpen('store-listing', false)","computed":true},{"as":"pageActs","body":"return dsx.attribute.acts === true || dsx.attribute.acts === 'true'","computed":true},{"as":"askOpen","body":"return dsx.attribute.ask === true || dsx.attribute.ask === 'true'","computed":true},{"as":"askJourney","body":"return dsx.attribute.journey != null ? dsx.attribute.journey : dsx.variable.journeyNow","computed":true}],"formulas":[],"actions":[{"as":"onState","inputs":{"s":"dsx.this.s"},"body":"\n      dsx.variable.journeyNow = s\n      dsx.event('state', s)\n    "},{"as":"load","inputs":{},"body":"\n      dsx.variable.readError = false\n      const id = dsx.attribute.projectId\n      if (id == null || id == '' || String(id).startsWith('v3:')) { return }\n      const [st, b, l, p] = await Promise.all([dsx.module.convertdata.storeSetup({ id: id }), dsx.module.convertdata.builds({ id: id }),\n        dsx.module.convertdata.storeLive({ id: id }), dsx.module.convertdata.project({ id: id })])\n      if (!st.ok || !b.ok || !l.ok || !p.ok) { dsx.variable.readError = true; return }\n      dsx.variable.storeSetup = st.ok ? st.data : null\n      dsx.variable.builds = b.ok ? b.data.items : []\n      dsx.variable.live = l.ok ? l.data.items : []\n      dsx.variable.project = p.ok ? p.data : null\n      dsx.variable.loadedFor = id\n      await dsx.module.convertdata.watchBuilds({ projects: [id], owner: 'readiness' })\n    "},{"as":"raise","inputs":{"name":"dsx.this.name","payload":"dsx.this.payload"},"body":"\n      if (dsx.variable.pageActs) { dsx.event(name, payload || {}); return }\n      dsx.module.route.push({ path: '/apps/' + dsx.attribute.projectId })\n    "}],"watches":[{"value":"dsx.attribute.projectId","handler":"dsx.action.load()","immediate":true}],"scripts":[],"globalScripts":[]},"root":{"tag":"vstack","attrs":{"class":"readiness-host","__css":"c112"},"children":[{"tag":"Callout","attrs":{"class":"page-notice","tone":"error","title":"App readiness did not load","message":"Despia did not answer. Check your connection and try again.","action":"Try Again","visible-if":"dsx.variable.readError","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"scroll","attrs":{"class":"readiness-panel","__css":"c113"},"children":[{"tag":"stack","attrs":{"__css":"c25"},"children":[{"tag":"AppJourney","attrs":{"layout":"panel","home":"{{ dsx.attribute.home }}","project-id":"{{ dsx.attribute.projectId }}","store-setup":"{{ dsx.variable.storeSetup }}","builds":"{{ dsx.variable.liveBuilds }}","live":"{{ dsx.variable.live }}","apple-app-id":"{{ dsx.variable.project == null ? '' : (dsx.variable.project.appleAppId || '') }}","android-id":"{{ dsx.variable.project == null ? '' : (dsx.variable.project.androidId || '') }}","publish-open":"{{ dsx.variable.publishOpen }}","testing-open":"{{ dsx.variable.testingOpen }}","first-build":"{{ dsx.attribute.firstBuild }}","copilot":"{{ dsx.attribute.copilot }}","identified":"{{ dsx.variable.project == null || dsx.variable.project.iosId != '' || dsx.variable.project.androidId != '' }}","visible-if":"dsx.variable.loadedFor == dsx.attribute.projectId","on:changed":"dsx.action.load()","on:state":"dsx.action.onState({ s: dsx.this })","on:build":"dsx.action.raise({ name: 'build' })","on:publish":"dsx.action.raise({ name: 'publish' })","on:rebuild":"dsx.action.raise({ name: 'rebuild', payload: dsx.this })","on:first-build-fix":"dsx.action.raise({ name: 'firstBuildFix', payload: dsx.this })","on:copilot":"dsx.event('copilot')"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"AskDespia","attrs":{"mode":"entry","visible-if":"dsx.variable.askOpen","project-id":"{{ dsx.attribute.projectId }}","journey":"{{ dsx.variable.askJourney }}","on:open":"dsx.event('copilot')"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n    \n    \n  ","reactive":true,"nid":3}],"text":"\n  \n  ","reactive":true,"nid":2},{"tag":"stack","attrs":{"on:disappear":"dsx.module.convertdata.unwatchBuilds({ owner: 'readiness' })","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":6}],"text":"\n  \n  \n\n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.RejectionAssist":{"name":"RejectionAssist","scheme":"platform","head":{"attributes":[{"as":"present","default":"false"},{"as":"project-id","default":"''"},{"as":"submission-id","default":"''"},{"as":"platform","default":"'ios'"},{"as":"store-url","default":"''"}],"apis":[],"expects":[],"events":[{"as":"close","payload":[]},{"as":"explained","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"reason","body":"return ''","computed":false},{"as":"shots","body":"return []","computed":false},{"as":"result","body":"return null","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"sent","body":"return false","computed":false},{"as":"copied","body":"return false","computed":false},{"as":"answered","body":"return dsx.variable.result != null","computed":true},{"as":"storeName","body":"return dsx.attribute.platform == 'android' ? 'Google Play' : 'App Review'","computed":true},{"as":"canExplain","body":"return dsx.variable.reason.trim() != '' &amp;&amp; !dsx.action.explain.pending","computed":true},{"as":"sheetAction","body":"\n      if (dsx.variable.answered) { return '' }\n      return dsx.action.explain.pending ? 'Explaining…' : 'Explain'\n    ","computed":true},{"as":"pasteHeader","body":"return dsx.variable.storeName + \"’s message\"","computed":true},{"as":"pasteFooter","body":"\n      const where = dsx.attribute.platform == 'android' ? 'Policy status in Play Console, or the email from Google' : 'App Review in App Store Connect, or the email from Apple'\n      return 'Copy it from ' + where + '. Despia keeps it to help you and, without your name, to fix common rejections in Despia itself.'\n    ","computed":true},{"as":"shotRows","body":"return dsx.variable.shots.map((s, i) => ({ id: 's' + i, index: i, title: s.name }))","computed":true},{"as":"canAddShot","body":"return dsx.variable.shots.length &lt; 3","computed":true},{"as":"supportTitle","body":"\n      if (dsx.variable.sent) { return 'Sent' }\n      return dsx.action.talk.pending ? 'Sending…' : 'Contact Support'\n    ","computed":true}],"formulas":[],"actions":[{"as":"close","inputs":{},"body":"\n      dsx.variable.result = null\n      dsx.variable.error = ''\n      dsx.variable.sent = false\n      dsx.event('close')\n    "},{"as":"addShot","inputs":{},"body":"\n      const r = await dsx.module.files.open({ types: ['image/png', 'image/jpeg'] })\n      if (!r.ok || r.data.cancelled || r.data.items.length == 0) { return }\n      const read = await dsx.module.files.read({ path: r.data.items[0].path, encoding: 'base64' })\n      if (!read.ok) { dsx.variable.error = 'That file could not be read.'; return }\n      const name = r.data.items[0].name\n      const lower = name.toLowerCase()\n      const type = lower.endsWith('.png') ? 'png' : (lower.endsWith('.jpg') || lower.endsWith('.jpeg') ? 'jpeg' : '')\n      if (type == '') { dsx.variable.error = 'Pick a PNG or JPEG screenshot.'; return }\n      if (read.data.data.length * 3 / 4 &gt; 1500000) { dsx.variable.error = 'That screenshot is larger than 1.5 MB. Pick a smaller one.'; return }\n      dsx.variable.error = ''\n      dsx.variable.shots = dsx.variable.shots.concat([{ name: name, url: 'data:image/' + type + ';base64,' + read.data.data }])\n    "},{"as":"removeShot","inputs":{"index":"dsx.this.index"},"body":"dsx.variable.shots = dsx.variable.shots.filter((s, i) => i != index)"},{"as":"explain","inputs":{},"body":"\n      if (dsx.variable.reason.trim() == '') { return }\n      const r = await dsx.module.convertdata.rejectionAssist({ projectId: dsx.attribute.projectId, submissionId: dsx.attribute.submissionId, platform: dsx.attribute.platform, reasonText: dsx.variable.reason, screenshots: dsx.variable.shots })\n      if (!r.ok) { dsx.variable.error = r.message || 'Despia did not answer. Try again in a moment.'; return }\n      dsx.variable.error = ''\n      dsx.variable.sent = r.data.supportId != ''\n      dsx.variable.result = r.data\n      dsx.event('explained')\n    "},{"as":"talk","inputs":{},"body":"\n      if (dsx.variable.sent || dsx.variable.result == null) { return }\n      const r = await dsx.module.convertdata.rejectionSupport({ projectId: dsx.attribute.projectId, assistId: dsx.variable.result.id })\n      if (!r.ok) { dsx.variable.error = r.message || 'Support did not answer. Try again in a moment.'; return }\n      dsx.variable.sent = true\n      dsx.module.toast.show({ title: 'Sent to Despia Support', message: 'We answer in the Support inbox and by email.' })\n    "},{"as":"go","inputs":{"id":"dsx.this.id"},"body":"\n      if (id == 'store') {\n        const fallback = dsx.attribute.platform == 'android' ? 'https://play.google.com/console' : 'https://appstoreconnect.apple.com/apps'\n        dsx.module.route.push({ path: dsx.attribute.storeUrl != '' ? dsx.attribute.storeUrl : fallback })\n        return\n      }\n      if (id == 'submission') { await dsx.action.close(); return }\n      const section = { features: 'features', packages: 'packages', listing: 'settings', review_notes: 'settings', declarations: 'settings' }[id]\n      if (section == null) { return }\n      await dsx.action.close()\n      dsx.module.route.push({ path: '/apps/' + dsx.attribute.projectId + '/' + section })\n    "},{"as":"copyReply","inputs":{},"body":"\n      await dsx.module.clipboard.write({ text: dsx.variable.result.reply.text })\n      dsx.variable.copied = true\n    "},{"as":"again","inputs":{},"body":"\n      dsx.variable.result = null\n      dsx.variable.sent = false\n      dsx.variable.copied = false\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"sheet","attrs":{"detents":"large","present":"dsx.attribute.present","title":"I Got Rejected","close":"leading","action":"{{ dsx.variable.sheetAction }}","action-disabled":"{{ !dsx.variable.canExplain }}","on:action":"dsx.action.explain()","on:dismiss":"dsx.action.close()"},"children":[{"tag":"Callout","attrs":{"tone":"warning","title":"Something went wrong","message":"{{ dsx.variable.error }}","visible-if":"dsx.variable.error != ''"},"children":[],"text":"","reactive":true},{"tag":"ListGroup","attrs":{"header":"{{ dsx.variable.pasteHeader }}","footer":"{{ dsx.variable.pasteFooter }}","visible-if":"!dsx.variable.answered"},"children":[{"tag":"textarea","attrs":{"bind":"dsx.variable.reason","placeholder":"Paste the whole message, including the guideline","min-lines":"6","max-lines":"16","aria-label":"The reviewer's message"},"children":[],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"Screenshots","footer":"Optional, up to 3. Used once to explain the rejection, never stored.","visible-if":"!dsx.variable.answered"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.shotRows","key":"id","icon":"photo","title":"{{ dsx.this.title }}"},"children":[{"tag":"button","attrs":{"icon":"xmark.circle.fill","variant":"plain","aria-label":"Remove Screenshot","on:tap":"dsx.action.removeShot()"},"children":[],"text":"","reactive":true}],"text":"\n        \n      ","reactive":true},{"tag":"SettingsRow","attrs":{"icon":"plus.circle","title":"Add Screenshot","tone":"accent","tappable":"{{ dsx.variable.canAddShot ? 'true' : 'false' }}","on:tap":"dsx.action.addShot()"},"children":[],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"footer":"{{ dsx.variable.answered ? dsx.variable.result.provider : '' }}","visible-if":"dsx.variable.answered"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.bubble","title":"{{ dsx.variable.result.headline }}","subtitle":"{{ dsx.variable.result.summary }}"},"children":[],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Guideline","value":"{{ dsx.variable.result.guidelines }}","visible-if":"dsx.variable.answered && dsx.variable.result.guidelines != ''"},"children":[],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"Why","visible-if":"dsx.variable.answered"},"children":[{"tag":"SettingsRow","attrs":{"title":"{{ dsx.variable.result.why }}"},"children":[],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"Panel","attrs":{"title":"What to change","visible-if":"dsx.variable.answered"},"children":[{"tag":"Guide","attrs":{"steps":"{{ dsx.variable.result.steps }}","aria-label":"What to change","on:action":"dsx.action.go()"},"children":[],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"{{ dsx.variable.answered ? dsx.variable.result.reply.title : '' }}","footer":"Fill in the parts in [brackets] before you send it.","visible-if":"dsx.variable.answered"},"children":[{"tag":"SettingsRow","attrs":{"title":"{{ dsx.variable.result.reply.text }}"},"children":[],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"icon":"doc.on.doc","title":"{{ dsx.variable.copied ? 'Copied' : 'Copy Reply' }}","tone":"accent","tappable":"true","on:tap":"dsx.action.copyReply()"},"children":[],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"footer":"Despia Support sees the app, the submission, the message and this summary.","visible-if":"dsx.variable.answered"},"children":[{"tag":"SettingsRow","attrs":{"icon":"bubble.left.and.text.bubble.right","title":"{{ dsx.variable.supportTitle }}","tone":"accent","tappable":"{{ dsx.variable.sent ? 'false' : 'true' }}","on:tap":"dsx.action.talk()"},"children":[],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"icon":"arrow.uturn.backward","title":"New Message","tappable":"true","on:tap":"dsx.action.again()"},"children":[],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true}],"text":"\n    \n\n    \n    \n    \n\n    \n    \n    \n    \n    \n    \n  ","reactive":true}],"text":"\n  \n\n  \n","reactive":true},"reactive":true,"language":"1"},"platform.ScreenshotEditor":{"name":"ScreenshotEditor","scheme":"platform","head":{"attributes":[{"as":"present","default":"false"},{"as":"project-id","default":"''"},{"as":"slide","default":"''"},{"as":"cls","default":"''"},{"as":"locale","default":"''"}],"apis":[],"expects":[],"events":[{"as":"close","payload":[]},{"as":"saved","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"design","body":"return null","computed":false},{"as":"edits","body":"return { slides: {} }","computed":false},{"as":"saved","body":"return { slides: {} }","computed":false},{"as":"view","body":"return null","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"slideId","body":"return ''","computed":false},{"as":"clsId","body":"return ''","computed":false},{"as":"tag","body":"return ''","computed":false},{"as":"line1","body":"return ''","computed":false},{"as":"line2","body":"return ''","computed":false},{"as":"past","body":"return []","computed":false},{"as":"future","body":"return []","computed":false},{"as":"lastStep","body":"return ''","computed":false},{"as":"drafts","body":"return []","computed":false},{"as":"translateError","body":"return ''","computed":false},{"as":"ordering","body":"return false","computed":false},{"as":"order","body":"return []","computed":false},{"as":"accent","body":"return '#1d7a4b'","computed":false},{"as":"bgKind","body":"return 'wash'","computed":false},{"as":"bgColour","body":"return '#fbf8f3'","computed":false},{"as":"bgFrom","body":"return '#ffffff'","computed":false},{"as":"bgTo","body":"return '#e3f1e8'","computed":false},{"as":"bgAngle","body":"return 180","computed":false},{"as":"frameOn","body":"return true","computed":false},{"as":"popOn","body":"return false","computed":false},{"as":"shownOn","body":"return true","computed":false},{"as":"has","body":"return dsx.variable.view != null","computed":true},{"as":"current","body":"return dsx.variable.has ? dsx.variable.view.slide : null","computed":true},{"as":"dirty","body":"return JSON.stringify(dsx.variable.edits) != JSON.stringify(dsx.variable.saved)","computed":true},{"as":"classOptions","body":"return dsx.variable.design == null ? [] : dsx.variable.design.classes.map(c =&gt; ({ value: c.id, label: dsx.screen.width &lt; 430 ? c.short : c.label }))","computed":true},{"as":"localeOptions","body":"return dsx.variable.design == null ? [] : dsx.variable.design.locales","computed":true},{"as":"title","body":"return dsx.variable.current == null ? 'Edit Screenshot' : 'Screenshot ' + dsx.variable.current.position","computed":true},{"as":"subtitle","body":"\n      if (dsx.variable.current == null) { return '' }\n      return 'Slide ' + dsx.variable.current.position + ' of ' + dsx.variable.view.slides.length\n    ","computed":true},{"as":"strip","body":"\n      if (!dsx.variable.has) { return [] }\n      const cls = dsx.variable.clsId, tag = dsx.variable.tag\n      return dsx.variable.view.slides.map(s =&gt; {\n        const f = s.files[cls] == null ? null : (s.files[cls][tag] == null ? s.files[cls][dsx.variable.design.locales[0].tag] : s.files[cls][tag])\n        return { id: s.id, url: f == null ? '' : f.url, label: 'Slide ' + s.position + (s.hidden ? ', left out of the set' : ''), selected: s.id == dsx.variable.slideId, hidden: s.hidden }\n      })\n    ","computed":true},{"as":"countLine","body":"\n      if (!dsx.variable.has || dsx.variable.current.brand) { return '' }\n      const w = dsx.variable.view.words\n      return w == 1 ? '1 word' : w + ' words'\n    ","computed":true},{"as":"textFooter","body":"\n      if (!dsx.variable.has) { return '' }\n      if (dsx.variable.view.problems.length &gt; 0) { return dsx.variable.view.problems[0] }\n      return dsx.variable.countLine + '. Line 2 shows in the accent colour. Up to 7 words reads at a glance.'\n    ","computed":true},{"as":"languageRows","body":"\n      if (!dsx.variable.has) { return [] }\n      return dsx.variable.view.otherLanguages.map(l =&gt; ({ tag: l.tag, name: l.name, line: (l.lines[0] + ' ' + l.lines[1]).trim() == '' ? 'Not written yet' : l.lines[0] + ', ' + l.lines[1], chip: l.ai &amp;&amp; !l.reviewed ? 'Read It' : '' }))\n    ","computed":true},{"as":"screenTiles","body":"return dsx.variable.has ? dsx.variable.view.screens : []","computed":true},{"as":"render","body":"return dsx.variable.design == null ? null : dsx.variable.design.render","computed":true},{"as":"rendering","body":"return dsx.variable.render != null &amp;&amp; (dsx.variable.render.state == 'queued' || dsx.variable.render.state == 'rendering')","computed":true},{"as":"renderShare","body":"return dsx.variable.render == null || dsx.variable.render.total == 0 ? 0 : dsx.variable.render.done / dsx.variable.render.total","computed":true},{"as":"renderLine","body":"\n      const r = dsx.variable.render\n      if (r == null) { return '' }\n      if (r.state == 'queued') { return 'Waiting for a Mac in the fleet' }\n      if (r.state == 'rendering') { return 'Rendering ' + r.done + ' of ' + r.total }\n      return ''\n    ","computed":true},{"as":"previewLine","body":"\n      if (!dsx.variable.has) { return '' }\n      if (dsx.variable.dirty &amp;&amp; !dsx.variable.view.preview.live) { return 'Unsaved changes show here once they are saved and rendered.' }\n      return 'Changes apply to ' + dsx.variable.view.classesLine + '.'\n    ","computed":true},{"as":"bgKinds","body":"return [{ value: 'wash', label: 'Wash' }, { value: 'solid', label: 'Colour' }, { value: 'linear', label: 'Gradient' }]","computed":true},{"as":"swatches","body":"return dsx.variable.design == null ? '' : dsx.variable.design.style.swatches.join(',')","computed":true},{"as":"angleLine","body":"return Math.round(dsx.variable.bgAngle) + '°'","computed":true},{"as":"otherTags","body":"return dsx.variable.design == null ? [] : dsx.variable.design.locales.filter(l =&gt; l.tag != dsx.variable.tag).map(l =&gt; l.tag)","computed":true},{"as":"saveLabel","body":"return dsx.action.save.pending ? 'Saving…' : 'Save'","computed":true}],"formulas":[],"actions":[{"as":"start","inputs":{},"body":"\n      if (!dsx.attribute.present) { clearInterval('shot-editor-render'); return }\n      dsx.variable.past = []\n      dsx.variable.future = []\n      dsx.variable.drafts = []\n      const r = await dsx.module.convertdata.screenshotDesign({ id: dsx.attribute.projectId })\n      if (!r.ok) { dsx.variable.error = r.message; return }\n      dsx.variable.error = ''\n      dsx.variable.design = r.data.design\n      dsx.variable.edits = { slides: {} }\n      dsx.variable.saved = { slides: {} }\n      const d = r.data.design\n      dsx.variable.slideId = dsx.attribute.slide != '' ? dsx.attribute.slide : (d.slides.length &gt; 1 ? d.slides[1].id : d.slides[0].id)\n      dsx.variable.clsId = dsx.attribute.cls != '' ? dsx.attribute.cls : d.classes[0].id\n      dsx.variable.tag = d.locales.find(l =&gt; l.tag == dsx.attribute.locale) != null ? dsx.attribute.locale : d.locales[0].tag\n      await dsx.action.refresh()\n      if (dsx.variable.rendering) { setInterval(() =&gt; { dsx.action.follow() }, 2500, 'shot-editor-render') }\n    "},{"as":"refresh","inputs":{},"body":"\n      const r = await dsx.module.convertdata.screenshotEditor({ design: dsx.variable.design, edits: dsx.variable.edits, slide: dsx.variable.slideId, cls: dsx.variable.clsId, locale: dsx.variable.tag })\n      if (!r.ok || r.data.view == null) { return }\n      const v = r.data.view\n      dsx.variable.view = v\n      if (dsx.variable.line1 != v.lines[0]) { dsx.variable.line1 = v.lines[0] }\n      if (dsx.variable.line2 != v.lines[1]) { dsx.variable.line2 = v.lines[1] }\n      dsx.variable.accent = v.style.accent\n      dsx.variable.bgKind = v.style.background.kind\n      dsx.variable.bgColour = v.style.background.colour\n      dsx.variable.bgFrom = v.style.background.from\n      dsx.variable.bgTo = v.style.background.to\n      dsx.variable.bgAngle = v.style.background.angle\n      dsx.variable.frameOn = v.style.frame\n      dsx.variable.popOn = v.slide.popout\n      dsx.variable.shownOn = !v.slide.hidden\n    "},{"as":"change","inputs":{"op":"''","value":"null","step":"''"},"body":"\n      const r = await dsx.module.convertdata.screenshotEdit({ edits: dsx.variable.edits, op: op, slide: dsx.variable.slideId, locale: dsx.variable.tag, value: value })\n      if (!r.ok) { return }\n      //  a control that echoes the value it was just given changes nothing: no step, no redraw\n      if (JSON.stringify(r.data.edits) == JSON.stringify(dsx.variable.edits)) { return }\n      const key = step == '' ? op + ':' + Date.now() : step\n      if (key != dsx.variable.lastStep) { dsx.variable.past = dsx.variable.past.concat([dsx.variable.edits]) }\n      dsx.variable.lastStep = key\n      dsx.variable.future = []\n      dsx.variable.edits = r.data.edits\n      await dsx.action.refresh()\n    "},{"as":"typed","inputs":{},"body":"\n      if (dsx.variable.has &amp;&amp; dsx.variable.line1 == dsx.variable.view.lines[0] &amp;&amp; dsx.variable.line2 == dsx.variable.view.lines[1]) { return }\n      await dsx.action.change({ op: 'lines', value: [dsx.variable.line1, dsx.variable.line2], step: 'lines:' + dsx.variable.slideId + ':' + dsx.variable.tag })\n    "},{"as":"undo","inputs":{},"body":"\n      if (dsx.variable.past.length == 0) { return }\n      const prev = dsx.variable.past[dsx.variable.past.length - 1]\n      dsx.variable.future = [dsx.variable.edits].concat(dsx.variable.future)\n      dsx.variable.past = dsx.variable.past.slice(0, dsx.variable.past.length - 1)\n      dsx.variable.edits = prev\n      dsx.variable.lastStep = ''\n      await dsx.action.refresh()\n    "},{"as":"redo","inputs":{},"body":"\n      if (dsx.variable.future.length == 0) { return }\n      const next = dsx.variable.future[0]\n      dsx.variable.past = dsx.variable.past.concat([dsx.variable.edits])\n      dsx.variable.future = dsx.variable.future.slice(1)\n      dsx.variable.edits = next\n      dsx.variable.lastStep = ''\n      await dsx.action.refresh()\n    "},{"as":"pickSlide","inputs":{"id":"''"},"body":"\n      dsx.variable.slideId = id\n      dsx.variable.drafts = []\n      dsx.variable.lastStep = ''\n      await dsx.action.refresh()\n    "},{"as":"pickLanguage","inputs":{"tag":"''"},"body":"\n      dsx.variable.tag = tag\n      dsx.variable.lastStep = ''\n      await dsx.action.refresh()\n    "},{"as":"background","inputs":{},"body":"\n      const k = dsx.variable.bgKind\n      const value = k == 'solid' ? { kind: 'solid', colour: dsx.variable.bgColour } : (k == 'linear' ? { kind: 'linear', from: dsx.variable.bgFrom, to: dsx.variable.bgTo, angle: Math.round(dsx.variable.bgAngle) } : { kind: 'wash' })\n      await dsx.action.change({ op: 'background', value: value, step: 'background:' + k })\n    "},{"as":"translate","inputs":{},"body":"\n      const r = await dsx.module.convertdata.screenshotDesignTranslate({ id: dsx.attribute.projectId, slide: dsx.variable.slideId, from: dsx.variable.tag, to: dsx.variable.otherTags })\n      if (!r.ok) { dsx.variable.translateError = r.message; return }\n      dsx.variable.translateError = ''\n      let e = dsx.variable.edits\n      for (const d of r.data.drafts) {\n        if (d.lines[0] == '' &amp;&amp; d.lines[1] == '') { continue }\n        const x = await dsx.module.convertdata.screenshotEdit({ edits: e, op: 'draft', slide: dsx.variable.slideId, locale: d.tag, value: d.lines })\n        if (x.ok) { e = x.data.edits }\n      }\n      dsx.variable.past = dsx.variable.past.concat([dsx.variable.edits])\n      dsx.variable.future = []\n      dsx.variable.lastStep = ''\n      dsx.variable.edits = e\n      dsx.variable.drafts = r.data.drafts.filter(d =&gt; d.problems.length &gt; 0)\n      await dsx.action.refresh()\n    "},{"as":"approveDraft","inputs":{},"body":"\n      await dsx.action.change({ op: 'lines', value: [dsx.variable.line1, dsx.variable.line2] })\n    "},{"as":"startOrder","inputs":{},"body":"\n      dsx.variable.order = dsx.variable.view.slides.map(s =&gt; ({ id: s.id, index: s.position - 1, title: s.brand ? s.name : (s.headline[dsx.variable.tag] == null ? s.id : s.headline[dsx.variable.tag].lines.join(' ')), url: s.files[dsx.variable.clsId] == null ? '' : s.files[dsx.variable.clsId][dsx.variable.design.locales[0].tag].url }))\n      dsx.variable.ordering = true\n    "},{"as":"saveOrder","inputs":{},"body":"\n      dsx.variable.ordering = false\n      await dsx.action.change({ op: 'order', value: dsx.variable.order.map(o =&gt; o.id) })\n    "},{"as":"reset","inputs":{},"body":"\n      await dsx.action.change({ op: 'reset' })\n    "},{"as":"save","inputs":{},"body":"\n      const r = await dsx.module.convertdata.screenshotDesignSave({ id: dsx.attribute.projectId, version: dsx.variable.design.version, edits: dsx.variable.edits })\n      if (!r.ok) { dsx.variable.error = r.message; return }\n      dsx.variable.error = ''\n      dsx.variable.design = r.data.design\n      dsx.variable.saved = dsx.variable.edits\n      await dsx.action.refresh()\n      dsx.event('saved', { version: r.data.design.version })\n      if (dsx.variable.rendering) { setInterval(() =&gt; { dsx.action.follow() }, 2500, 'shot-editor-render') }\n    "},{"as":"follow","inputs":{},"body":"\n      if (!dsx.attribute.present) { clearInterval('shot-editor-render'); return }\n      const r = await dsx.module.convertdata.screenshotDesign({ id: dsx.attribute.projectId })\n      if (!r.ok) { return }\n      dsx.variable.design = r.data.design\n      if (!dsx.variable.rendering) { clearInterval('shot-editor-render') }\n      await dsx.action.refresh()\n    "},{"as":"cancel","inputs":{},"body":"\n      clearInterval('shot-editor-render')\n      dsx.event('close')\n    "}],"watches":[{"value":"dsx.attribute.present","handler":"dsx.action.start()","immediate":true},{"value":"dsx.variable.clsId","handler":"dsx.action.refresh()"}],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"sheet","attrs":{"detents":"full","present":"dsx.attribute.present","title":"{{ dsx.variable.title }}","subtitle":"{{ dsx.variable.subtitle }}","close":"trailing","action":"{{ dsx.variable.saveLabel }}","action-disabled":"{{ !dsx.variable.dirty || dsx.action.save.pending || (dsx.variable.has && dsx.variable.view.problems.length > 0) }}","on:action":"dsx.action.save()","on:dismiss":"dsx.action.cancel()"},"children":[{"tag":"stack","attrs":{"class":"shot-editor"},"children":[{"tag":"stack","attrs":{"class":"shot-editor-body"},"children":[{"tag":"stack","attrs":{"class":"shot-editor-stage","__steers":"1"},"children":[{"tag":"segmented","attrs":{"class":"shot-editor-classes","bind":"dsx.variable.clsId","options-key":"dsx.variable.classOptions","value-field":"value","aria-label":"Device size","visible-if":"dsx.variable.classOptions.length > 1"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"stack","attrs":{"class":"shot-editor-preview media-frame","visible-if":"dsx.variable.has"},"children":[{"tag":"webview","attrs":{"class":"shot-editor-live media-frame","src":"{{ dsx.variable.view.preview.url }}","visible-if":"dsx.variable.view.preview.live"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"image","attrs":{"class":"shot-editor-still media-frame","src":"{{ dsx.variable.view.preview.url }}","aria-label":"{{ dsx.variable.title }}","visible-if":"!dsx.variable.view.preview.live"},"children":[],"text":"","reactive":true,"nid":8}],"text":"\n          \n          \n        ","reactive":true,"nid":6},{"tag":"text","attrs":{"class":"shot-editor-note","value":"{{ dsx.variable.previewLine }}"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"stack","attrs":{"class":"shot-editor-render","visible-if":"dsx.variable.rendering","__steers":"1"},"children":[{"tag":"progress","attrs":{"value":"{{ dsx.variable.renderShare }}","aria-label":"Rendering progress"},"children":[],"text":"","reactive":true,"nid":11},{"tag":"text","attrs":{"class":"shot-editor-note","value":"{{ dsx.variable.renderLine }}"},"children":[],"text":"","reactive":true,"nid":12}],"text":"\n          \n          \n        ","reactive":true,"nid":10},{"tag":"scroll","attrs":{"class":"shot-editor-strip","axis":"horizontal","aria-label":"Screenshots in the set"},"children":[{"tag":"pressable","attrs":{"class":"shot-editor-thumb media-pick","repeat":"dsx.variable.strip","key":"id","aria-label":"{{ dsx.this.label }}","aria-selected":"{{ dsx.this.selected }}","on:tap":"dsx.action.pickSlide({ id: dsx.this.id })","__row":"1"},"children":[{"tag":"image","attrs":{"class":"shot-editor-thumb-image media-frame","src":"{{ dsx.this.url }}"},"children":[],"text":"","reactive":true,"nid":15}],"text":"\n            \n          ","reactive":true,"nid":14}],"text":"\n          \n        ","reactive":true,"nid":13},{"tag":"hstack","attrs":{"class":"shot-editor-history"},"children":[{"tag":"button","attrs":{"variant":"bordered","control-size":"large","icon":"arrow.uturn.backward","aria-label":"Undo","disabled-if":"dsx.variable.past.length == 0","on:tap":"dsx.action.undo()"},"children":[],"text":"","reactive":true,"nid":17},{"tag":"button","attrs":{"variant":"bordered","control-size":"large","icon":"arrow.uturn.forward","aria-label":"Redo","disabled-if":"dsx.variable.future.length == 0","on:tap":"dsx.action.redo()"},"children":[],"text":"","reactive":true,"nid":18}],"text":"\n          \n          \n        ","reactive":true,"nid":16}],"text":"\n        \n        \n        \n        \n        \n        \n      ","reactive":true,"nid":4},{"tag":"stack","attrs":{"class":"shot-editor-controls"},"children":[{"tag":"Callout","attrs":{"tone":"warning","icon":"exclamationmark.triangle","message":"{{ dsx.variable.error }}","visible-if":"dsx.variable.error != ''"},"children":[],"text":"","reactive":true,"nid":20},{"tag":"ListGroup","attrs":{"header":"Headline","footer":"{{ dsx.variable.textFooter }}","visible-if":"dsx.variable.has && !dsx.variable.current.brand"},"children":[{"tag":"SettingsRow","attrs":{"icon":"globe","title":"Language"},"children":[{"tag":"picker","attrs":{"aria-label":"Language","bind":"dsx.variable.tag","options-key":"dsx.variable.localeOptions","value-field":"tag","label-field":"name","on:change":"dsx.action.pickLanguage({ tag: dsx.variable.tag })"},"children":[],"text":"","reactive":true,"nid":23}],"text":"\n            \n          ","reactive":true,"nid":22},{"tag":"SettingsRow","attrs":{"class":"shot-editor-fill"},"children":[{"tag":"textfield","attrs":{"class":"shot-editor-field","bind":"dsx.variable.line1","placeholder":"{{ dsx.variable.view.autoLines[0] }}","aria-label":"Line 1","on:change":"dsx.action.typed()"},"children":[],"text":"","reactive":true,"nid":25}],"text":"\n            \n          ","reactive":true,"nid":24},{"tag":"SettingsRow","attrs":{"class":"shot-editor-fill"},"children":[{"tag":"textfield","attrs":{"class":"shot-editor-field","bind":"dsx.variable.line2","placeholder":"{{ dsx.variable.view.autoLines[1] }}","aria-label":"Line 2, in the accent colour","on:change":"dsx.action.typed()"},"children":[],"text":"","reactive":true,"nid":27}],"text":"\n            \n          ","reactive":true,"nid":26}],"text":"\n          \n          \n          \n        ","reactive":true,"nid":21},{"tag":"Callout","attrs":{"tone":"info","icon":"agent.mark","title":"Translation Agent","message":"Read these lines before you save. They become yours once they look right.","action":"Looks Right","on:action":"dsx.action.approveDraft()","visible-if":"dsx.variable.has && dsx.variable.view.aiDraft"},"children":[],"text":"","reactive":true,"nid":28},{"tag":"ListGroup","attrs":{"header":"Other languages","footer":"Agent translates the headlines. Nothing is saved until you save.","visible-if":"dsx.variable.has && !dsx.variable.current.brand && dsx.variable.languageRows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.languageRows","key":"tag","title":"{{ dsx.this.name }}","subtitle":"{{ dsx.this.line }}","chevron":"true","tappable":"true","on:tap":"dsx.action.pickLanguage({ tag: dsx.this.tag })"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.this.chip }}","role":"neutral","visible-if":"dsx.this.chip != ''"},"children":[],"text":"","reactive":true,"nid":31}],"text":"\n            \n          ","reactive":true,"nid":30},{"tag":"SettingsRow","attrs":{"icon":"agent.mark","title":"{{ dsx.action.translate.pending ? 'Translating…' : 'Translate This Headline' }}","tone":"accent","tappable":"{{ dsx.action.translate.pending ? 'false' : 'true' }}","on:tap":"dsx.action.translate()"},"children":[],"text":"","reactive":true,"nid":32},{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.translateError }}","visible-if":"dsx.variable.translateError != ''"},"children":[],"text":"","reactive":true,"nid":33},{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.drafts","key":"tag","icon":"exclamationmark.triangle","title":"{{ dsx.this.tag }}","subtitle":"{{ dsx.this.problems[0] }}"},"children":[],"text":"","reactive":true,"nid":34}],"text":"\n          \n          \n          \n          \n        ","reactive":true,"nid":29},{"tag":"ListGroup","attrs":{"header":"Look","footer":"The look applies to every screenshot in the set."},"children":[{"tag":"SettingsRow","attrs":{"class":"shot-editor-fill"},"children":[{"tag":"colorpicker","attrs":{"label":"Accent","bind":"dsx.variable.accent","swatches":"{{ dsx.variable.swatches }}","alpha":"false","on:commit":"dsx.action.change({ op: 'accent', value: dsx.variable.accent, step: 'accent' })"},"children":[],"text":"","reactive":true,"nid":37}],"text":"\n            \n          ","reactive":true,"nid":36},{"tag":"SettingsRow","attrs":{"class":"shot-editor-fill"},"children":[{"tag":"segmented","attrs":{"class":"shot-editor-switch","bind":"dsx.variable.bgKind","options-key":"dsx.variable.bgKinds","value-field":"value","aria-label":"Background","on:change":"dsx.action.background()"},"children":[],"text":"","reactive":true,"nid":39}],"text":"\n            \n          ","reactive":true,"nid":38},{"tag":"SettingsRow","attrs":{"class":"shot-editor-fill","visible-if":"dsx.variable.bgKind == 'solid'"},"children":[{"tag":"colorpicker","attrs":{"label":"Background","bind":"dsx.variable.bgColour","swatches":"{{ dsx.variable.swatches }}","alpha":"false","on:commit":"dsx.action.background()"},"children":[],"text":"","reactive":true,"nid":41}],"text":"\n            \n          ","reactive":true,"nid":40},{"tag":"SettingsRow","attrs":{"class":"shot-editor-fill","visible-if":"dsx.variable.bgKind == 'linear'"},"children":[{"tag":"colorpicker","attrs":{"label":"From","bind":"dsx.variable.bgFrom","swatches":"{{ dsx.variable.swatches }}","alpha":"false","on:commit":"dsx.action.background()"},"children":[],"text":"","reactive":true,"nid":43}],"text":"\n            \n          ","reactive":true,"nid":42},{"tag":"SettingsRow","attrs":{"class":"shot-editor-fill","visible-if":"dsx.variable.bgKind == 'linear'"},"children":[{"tag":"colorpicker","attrs":{"label":"To","bind":"dsx.variable.bgTo","swatches":"{{ dsx.variable.swatches }}","alpha":"false","on:commit":"dsx.action.background()"},"children":[],"text":"","reactive":true,"nid":45}],"text":"\n            \n          ","reactive":true,"nid":44},{"tag":"SettingsRow","attrs":{"class":"shot-editor-slider-row","title":"Angle","value":"{{ dsx.variable.angleLine }}","visible-if":"dsx.variable.bgKind == 'linear'"},"children":[{"tag":"slider","attrs":{"class":"shot-editor-slider","bind":"dsx.variable.bgAngle","min":"0","max":"360","aria-label":"Angle","on:change":"dsx.action.background()"},"children":[],"text":"","reactive":true,"nid":47}],"text":"\n            \n          ","reactive":true,"nid":46},{"tag":"SettingsRow","attrs":{"title":"Device Frame","subtitle":"Off shows the screen alone."},"children":[{"tag":"toggle","attrs":{"bind":"dsx.variable.frameOn","aria-label":"Device Frame","on:change":"dsx.action.change({ op: 'frame', value: dsx.variable.frameOn, step: 'frame' })"},"children":[],"text":"","reactive":true,"nid":49}],"text":"\n            \n          ","reactive":true,"nid":48}],"text":"\n          \n          \n          \n          \n          \n          \n          \n        ","reactive":true,"nid":35},{"tag":"ListGroup","attrs":{"header":"Screen","footer":"Only screens Despia captured from your app."},"children":[{"tag":"stack","attrs":{"class":"shot-editor-screens"},"children":[{"tag":"pressable","attrs":{"class":"shot-editor-screen","repeat":"dsx.variable.screenTiles","key":"id","aria-label":"{{ dsx.this.label }}","aria-selected":"{{ dsx.this.selected }}","on:tap":"dsx.action.change({ op: 'screen', value: dsx.this.id })","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"shot-editor-screen-frame media-pick"},"children":[{"tag":"image","attrs":{"class":"shot-editor-screen-image media-frame","src":"{{ dsx.this.thumbUrl }}"},"children":[],"text":"","reactive":true,"nid":54}],"text":"\n                \n              ","reactive":true,"nid":53},{"tag":"text","attrs":{"class":"shot-editor-screen-name","value":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":55}],"text":"\n              \n              \n            ","reactive":true,"nid":52}],"text":"\n            \n          ","reactive":true,"nid":51}],"text":"\n          \n        ","reactive":true,"nid":50},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.has"},"children":[{"tag":"SettingsRow","attrs":{"title":"Popout","subtitle":"Lifts the card this screen is about.","visible-if":"dsx.variable.current.popoutAvailable"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.variable.popOn","aria-label":"Popout","on:change":"dsx.action.change({ op: 'popout', value: dsx.variable.popOn })"},"children":[],"text":"","reactive":true,"nid":58}],"text":"\n            \n          ","reactive":true,"nid":57},{"tag":"SettingsRow","attrs":{"title":"Show in the Set"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.variable.shownOn","aria-label":"Show in the Set","on:change":"dsx.action.change({ op: 'hidden', value: !dsx.variable.shownOn })"},"children":[],"text":"","reactive":true,"nid":60}],"text":"\n            \n          ","reactive":true,"nid":59},{"tag":"SettingsRow","attrs":{"icon":"arrow.up.arrow.down","title":"Reorder Screenshots","chevron":"true","tappable":"true","on:tap":"dsx.action.startOrder()"},"children":[],"text":"","reactive":true,"nid":61}],"text":"\n          \n          \n          \n        ","reactive":true,"nid":56},{"tag":"hstack","attrs":{"class":"shot-editor-actions"},"children":[{"tag":"button","attrs":{"variant":"bordered","control-size":"large","label":"Reset","disabled-if":"!dsx.variable.has || !dsx.variable.current.changed","on:tap":"dsx.action.reset()"},"children":[],"text":"","reactive":true,"nid":63}],"text":"\n          \n        ","reactive":true,"nid":62}],"text":"\n        \n\n        \n        \n        \n\n        \n        \n\n        \n        \n\n        \n        \n        \n        \n      ","reactive":true,"nid":19}],"text":"\n      \n      \n\n      \n      \n     ","reactive":true,"nid":3}],"text":"\n     \n    ","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1},{"tag":"sheet","attrs":{"detents":"large","present":"dsx.variable.ordering","title":"Reorder Screenshots","close":"leading","action":"Done","on:action":"dsx.action.saveOrder()","on:dismiss":"dsx.variable.ordering = false"},"children":[{"tag":"list","attrs":{"bind":"dsx.variable.order","key":"id","reorder":"true"},"children":[{"tag":"pressable","attrs":{"role":"group"},"children":[{"tag":"SettingsRow","attrs":{"title":"{{ dsx.this.index + 1 }}. {{ dsx.this.title }}"},"children":[{"tag":"image","attrs":{"slot":"leading","src":"{{ dsx.this.url }}","aria-label":"{{ dsx.this.title }}","class":"shot-editor-order-thumb media-frame"},"children":[],"text":"","reactive":true,"nid":68}],"text":"\n          \n        ","reactive":true,"nid":67}],"text":"\n        \n      ","reactive":true,"nid":66}],"text":"\n      \n    ","reactive":true,"nid":65}],"text":"\n    \n  ","reactive":true,"nid":64}],"text":"\n  \n\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.Shell":{"name":"Shell","scheme":"platform","head":{"attributes":[{"as":"section","default":"'projects'"},{"as":"project-id","default":"''"},{"as":"setup-progress","default":"''"},{"as":"journey","default":"null"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"readError","body":"return false","computed":false},{"as":"me","body":"return chromeOf(dsx.module.convertdata.context.chrome, 'me', null)","computed":false},{"as":"workspaceName","body":"return chromeOf(dsx.module.convertdata.context.chrome, 'workspaceName', '')","computed":false},{"as":"workspaces","body":"return chromeOf(dsx.module.convertdata.context.chrome, 'workspaces', [])","computed":false},{"as":"projects","body":"return chromeOf(dsx.module.convertdata.context.chrome, 'projects', [])","computed":false},{"as":"askingSignOut","body":"return false","computed":false},{"as":"agentSeen","body":"return false","computed":false},{"as":"agentWasOn","body":"return false","computed":false},{"as":"agentReady","body":"return false","computed":false},{"as":"palette","body":"return false","computed":false},{"as":"invites","body":"return []","computed":false},{"as":"news","body":"return null","computed":false},{"as":"advancedChosen","body":"return false","computed":false},{"as":"helpOpen","body":"return false","computed":false},{"as":"askingChat","body":"return false","computed":false},{"as":"newsOpen","body":"return false","computed":false},{"as":"updateShown","body":"return ''","computed":false},{"as":"inboxSummary","body":"return null","computed":false},{"as":"intercomOn","body":"return (dsx.module.tracking.context || {}).support == 'intercom'","computed":true},{"as":"inProject","body":"return dsx.attribute.projectId != ''","computed":true},{"as":"phoneTabRoot","body":"\n      const path = String(dsx.path || '').split('?')[0].split('#')[0]\n      return dsx.screen.width &lt; 768 &amp;&amp; ['/', '/apps', '/builds', '/explore', '/settings'].includes(path)\n    ","computed":true},{"as":"agentLive","body":"\n      const r = dsx.module.convertdata.context.rollout\n      const a = r == null || r.areas == null ? null : r.areas['setup-copilot']\n      return a != null &amp;&amp; a.open === true &amp;&amp; dsx.module.convertdata.context.agentBackend !== false &amp;&amp; String(dsx.module.convertdata.context.workspace || '') != ''\n    ","computed":true},{"as":"agentKnown","body":"return String(dsx.module.convertdata.context.workspace || '') != '' &amp;&amp; dsx.module.convertdata.context.agentAreasKnown !== false","computed":true},{"as":"agentOn","body":"return dsx.variable.agentKnown ? dsx.variable.agentLive : dsx.module.convertdata.context.agentLast !== false","computed":true},{"as":"agentSteady","body":"return dsx.variable.agentKnown ? dsx.variable.agentLive : (dsx.variable.agentOn || dsx.variable.agentWasOn || dsx.variable.agentPanel.open)","computed":true},{"as":"agentTab","body":"return dsx.variable.agentOn &amp;&amp; dsx.screen.width &lt; 768","computed":true},{"as":"agentScope","body":"\n      const id = String(dsx.attribute.projectId)\n      return id != '' &amp;&amp; id.indexOf('v3:') != 0 ? id : 'workspace:' + String(dsx.module.convertdata.context.workspace || '')\n    ","computed":true},{"as":"agentPanel","body":"return dsx.module.convertdata.context.agentPanel || { open: false, scope: '' }","computed":true},{"as":"agentScopeNow","body":"return dsx.variable.agentPanel.scope != '' ? dsx.variable.agentPanel.scope : dsx.variable.agentScope","computed":true},{"as":"agentJourney","body":"return dsx.variable.inProject &amp;&amp; !dsx.variable.onV3 &amp;&amp; dsx.variable.agentScopeNow == dsx.variable.agentScope ? dsx.attribute.journey : null","computed":true},{"as":"agentOpen","body":"return dsx.variable.agentSteady &amp;&amp; dsx.variable.agentPanel.open","computed":true},{"as":"agentDock","body":"return dsx.variable.agentOpen &amp;&amp; dsx.screen.width &gt;= 768","computed":true},{"as":"agentSheet","body":"return dsx.variable.agentOpen &amp;&amp; dsx.screen.width &lt; 768","computed":true},{"as":"agentUnread","body":"return Number(dsx.module.convertdata.context.agentUnread || 0)","computed":true},{"as":"workspaceShown","body":"return !dsx.variable.inProject || dsx.screen.width &lt; 768","computed":true},{"as":"project","body":"return dsx.variable.projects.find(p => p.id == dsx.attribute.projectId) || null","computed":true},{"as":"onV3","body":"return String(dsx.attribute.projectId).indexOf('v3:') == 0 || (dsx.variable.project != null &amp;&amp; dsx.variable.project.stage == 'v3')","computed":true},{"as":"projectName","body":"return dsx.variable.project == null ? '' : dsx.variable.project.name","computed":true},{"as":"workspaceMenu","body":"\n      const mine = dsx.variable.workspaces.map(w => ({ title: w.name, icon: w.name == dsx.variable.workspaceName ? 'checkmark' : 'building.2', action: 'convertdata.confirm', args: { ask: 'shell-workspace', value: w.id } }))\n      if (dsx.variable.invites.length == 0) { return mine }\n      const invited = dsx.variable.invites.map(i => ({ title: 'Join ' + (i.workspace || 'a workspace'), subtitle: 'Invited as ' + i.roleLabel, icon: 'envelope.badge',\n        action: 'convertdata.answerInvite', args: { id: i.id, answer: 'accept' } }))\n      return mine.concat([{ separator: true }, { header: true, title: 'Invitations' }]).concat(invited)\n    ","computed":true},{"as":"accountMenu","body":"\n      const page = (r) => ({ title: r.count ? r.title + ' · ' + r.count : r.title, subtitle: r.badge, icon: r.icon, action: 'route.reset', args: { path: r.path } })\n      const groups = [dsx.variable.accountRows, dsx.variable.partnerRows.concat(dsx.variable.enterpriseRows), dsx.variable.staffRows].filter(g => g.length &gt; 0)\n      return groups.flatMap(g => g.map(page).concat([{ separator: true }])).concat([\n        { title: 'Appearance', icon: 'circle.lefthalf.filled', action: 'convertdata.confirm', args: { ask: 'shell-appearance' } },\n        { title: 'Help', icon: 'questionmark.circle', action: 'convertdata.confirm', args: { ask: 'help' } },\n        { title: 'Cookie Settings', icon: 'hand.raised', action: 'consent.ask', args: { preferences: true } },\n        { separator: true },\n        { title: 'Sign out', icon: 'rectangle.portrait.and.arrow.right', role: 'destructive', action: 'convertdata.confirm', args: { ask: 'shell-sign-out' } }\n      ])\n    ","computed":true},{"as":"gated","body":"\n      const r = dsx.module.convertdata.context.rollout\n      return r == null || r.gated == null ? [] : r.gated\n    ","computed":true},{"as":"projectShipRows","body":"\n      if (dsx.variable.onV3) { return [] }\n      const base = '/apps/' + dsx.attribute.projectId\n      const rows = mark([\n        { id: 'builds', title: 'Builds', icon: 'hammer', path: base + '/builds' },\n        { id: 'test', title: 'Test on Phone', icon: 'iphone', path: base + '/test' },\n        { id: 'submissions', title: 'Submissions', icon: 'paperplane', path: base + '/submissions' },\n        { id: 'releases', title: 'Releases', icon: 'square.stack', path: base + '/releases' },\n        { id: 'store-setup', title: 'Store Setup', icon: 'list.number', path: base + '/store-setup' },\n        { id: 'store-listing', title: 'Store Listing', icon: 'bag', path: base + '/store-listing' },\n        { id: 'policies', title: 'Policies', icon: 'doc.text', path: base + '/policies' }\n      ], dsx.variable.gated)\n      const progress = String(dsx.attribute.setupProgress == null ? '' : dsx.attribute.setupProgress)\n      return rows.map(r => r.id == 'store-setup' &amp;&amp; r.badge == '' ? { ...r, badge: progress } : r)\n    ","computed":true},{"as":"projectAppRows","body":"\n      const base = '/apps/' + dsx.attribute.projectId\n      return mark([\n        { id: 'packages', title: 'Packages', icon: 'shippingbox', path: base + '/packages' },\n        { id: 'languages', title: 'Languages', icon: 'globe', path: base + '/languages' },\n        { id: 'settings', title: 'Settings', icon: 'gearshape', path: base + '/settings' }\n      ].filter(r => !dsx.variable.onV3 || ['packages', 'settings'].includes(r.id)), dsx.variable.gated)\n    ","computed":true},{"as":"projectAdvancedRows","body":"\n      if (dsx.variable.onV3) { return [] }\n      const base = '/apps/' + dsx.attribute.projectId\n      return mark([\n        { id: 'identifiers', title: 'App IDs', icon: 'tag', path: base + '/identifiers' },\n        { id: 'signing', title: 'Signing', icon: 'key', path: base + '/signing' },\n        { id: 'connections', title: 'Linked Accounts', icon: 'link', path: base + '/connections' },\n        { id: 'secrets', title: 'Secret Values', icon: 'lock', path: base + '/secrets' }\n      ], dsx.variable.gated)\n    ","computed":true},{"as":"advancedOpen","body":"return dsx.variable.advancedChosen || dsx.variable.projectAdvancedRows.some(r => r.id == dsx.attribute.section)","computed":true},{"as":"projectRows","body":"\n      const base = '/apps/' + dsx.attribute.projectId\n      return mark([{ id: 'overview', title: 'Overview', icon: 'house', path: base }], dsx.variable.gated).concat(dsx.variable.projectShipRows, dsx.variable.projectAppRows, dsx.variable.projectAdvancedRows)\n    ","computed":true},{"as":"mainRows","body":"\n      const tabs = [\n        { id: 'projects', title: 'Apps', icon: 'square.grid.2x2', path: '/apps' },\n        { id: 'builds', title: 'Builds', icon: 'hammer', path: '/builds' }\n      ]\n      //  the Agent tab is not a page: its path is never routed, a tap opens the sheet (open below)\n      return mark(tabs.concat(dsx.variable.agentTab\n        ? [{ id: 'agent', title: 'Agent', icon: 'agent.mark', path: '/agent', count: dsx.variable.agentUnread > 0 ? String(dsx.variable.agentUnread) : '' }]\n        : [{ id: 'explore', title: 'Packages', icon: 'shippingbox', path: '/explore' }]), dsx.variable.gated)\n    ","computed":true},{"as":"workspaceRows","body":"\n      return mark([\n        { id: 'members', title: 'Members', icon: 'person.2', path: '/members' },\n        { id: 'appstores', title: 'App Stores', icon: 'key', path: '/app-stores' },\n        { id: 'explore', title: 'Packages', icon: 'shippingbox', path: '/explore' },\n        { id: 'workspace', title: 'Workspace Settings', icon: 'gearshape', path: '/workspace' }\n      ].filter(r => r.id != 'explore' || dsx.variable.agentTab), dsx.variable.gated)\n    ","computed":true},{"as":"accountRows","body":"\n      return mark([\n        { id: 'billing', title: 'Plan and Credits', icon: 'creditcard', path: '/billing' },\n        { id: 'connections', title: 'Connections', icon: 'link', path: '/connections' },\n        { id: 'tokens', title: 'Access Tokens', icon: 'terminal', path: '/tokens' }\n      ].filter(r => r.id != 'tokens' || dsx.variable.cliOn || dsx.path == '/tokens'), dsx.variable.gated)\n    ","computed":true},{"as":"partnerRows","body":"\n      return mark([\n        { id: 'reseller', title: 'Reseller API', icon: 'building.2', path: '/reseller' }\n      ], dsx.variable.gated)\n    ","computed":true},{"as":"enterpriseRows","body":"\n      return mark([\n        { id: 'dedicated-cloud', title: 'Dedicated Cloud', icon: 'server.rack', path: '/dedicated-cloud' }\n      ], dsx.variable.gated)\n    ","computed":true},{"as":"isStaff","body":"return dsx.module.convertdata.context.staff === true","computed":true},{"as":"staffRows","body":"\n      if (!dsx.variable.isStaff) { return [] }\n      const s = dsx.variable.inboxSummary\n      const n = s == null || s.counts == null ? 0 : Number(s.counts.attention || 0)\n      return [{ id: 'staff-inbox', title: 'Inbox', icon: 'tray', path: '/staff/inbox', badge: '', count: n &gt; 0 ? String(n) : '' }]\n    ","computed":true},{"as":"paletteItems","body":"\n      const line = p => {\n        const ios = p.iosId || ''\n        const android = p.androidId || ''\n        if (ios == '' &amp;&amp; android == '') { return 'No identifier yet' }\n        return ios == android ? ios : [ios, android].filter(x => x != '').join(' · ')\n      }\n      const shown = dsx.variable.workspaceShown ? [] : dsx.variable.mainRows.concat(dsx.variable.workspaceRows)\n      const pages = shown.concat(dsx.variable.accountRows, dsx.variable.partnerRows, dsx.variable.enterpriseRows, dsx.variable.staffRows)\n        .filter(r => r.id != 'agent')\n        .map(r => ({ id: 'page-' + r.id, title: r.title, icon: r.icon, group: 'Navigate', keywords: [r.path.slice(1)], path: r.path }))\n      return pages.concat(dsx.variable.projects.map(p => ({ id: p.id, title: p.name, subtitle: line(p), icon: 'shippingbox', group: 'Apps', keywords: [p.id, p.iosId || '', p.androidId || ''].filter(x => x != ''), path: '/apps/' + p.id })))\n    ","computed":true},{"as":"chatButtons","body":"return [{ title: 'Open Chat', shortcut: 'enter', action: 'convertdata.confirm', args: { ask: 'help-chat-yes' } }, { title: 'Not Now', role: 'cancel' }]","computed":true},{"as":"signOutButtons","body":"return [{ title: 'Sign Out', role: 'destructive', action: 'convertdata.signOut' }, { title: 'Cancel', role: 'cancel' }]","computed":true},{"as":"meName","body":"return dsx.variable.me == null ? '' : (dsx.variable.me.name || String(dsx.variable.me.email || '').split('@')[0])","computed":true},{"as":"meEmail","body":"return dsx.variable.me == null ? '' : dsx.variable.me.email","computed":true},{"as":"meAvatar","body":"return dsx.variable.me == null ? '' : (dsx.variable.me.avatar || '')","computed":true},{"as":"meInitials","body":"\n      const words = dsx.variable.meName.split(/[\\s._-]+/).filter(w => w != '')\n      return words.slice(0, 2).map(w => w.charAt(0)).join('').toUpperCase()\n    ","computed":true},{"as":"selectedPath","body":"\n      if (dsx.attribute.section == 'settings' &amp;&amp; !dsx.variable.inProject) { return '/settings' }\n      const rows = dsx.variable.inProject ? dsx.variable.projectRows : dsx.variable.mainRows.concat(dsx.variable.workspaceRows)\n      //  a page with no row of its own sits under the row that opens it (Review Features opens from Packages)\n      const section = ({ features: 'packages' })[dsx.attribute.section] || dsx.attribute.section\n      const on = rows.find(r => r.id == section)\n      return on ? on.path : ''\n    ","computed":true},{"as":"cliOn","body":"return dsx.attribute.cliAvailable == true || dsx.attribute.cliAvailable == 'true' || dsx.module.convertdata.context.cliAvailable == true","computed":true}],"formulas":[],"actions":[{"as":"keepAgentTab","inputs":{},"body":"\n      if (!dsx.variable.agentKnown || dsx.module.convertdata.context.agentLast === dsx.variable.agentLive) { return }\n      await dsx.module.convertdata.rememberAgentTab({ on: dsx.variable.agentLive })\n    "},{"as":"recover","inputs":{},"body":"\n      if (dsx.variable.readError) { await dsx.action.load() }\n    "},{"as":"load","inputs":{},"body":"\n      if (!dsx.variable.agentReady) { setTimeout(() => { dsx.action.agentMotionOn() }, 1200) }\n      //  the console's words are English, so its layout stays left to right on a right-to-left device\n      dsx.global.direction = 'ltr'\n      dsx.variable.readError = false\n      const gate = await dsx.module.convertdata.requireSession({ next: dsx.path || '/apps' })\n      //  Only a signed-out answer goes to sign in; offline or a busy service keeps the page, which says so itself.\n      const signedOut = gate.ok ? !gate.data.signedIn : (gate.error != null &amp;&amp; gate.error == 'signed_out')\n      if (signedOut) { dsx.module.route.reset({ path: '/login' }); return }\n      if (!gate.ok) { dsx.variable.readError = true; return }\n      await dsx.action.deepLink()\n      const [w, p, me] = await Promise.all([dsx.module.convertdata.workspace(), dsx.module.convertdata.projects({ shallow: true }), dsx.module.convertdata.me()])\n      if (!w.ok || !p.ok || !me.ok) { dsx.variable.readError = true; return }\n      if (w.ok) {\n        dsx.variable.workspaces = w.data.workspaces\n        dsx.variable.workspaceName = w.data.name\n      }\n      if (p.ok) { dsx.variable.projects = p.data.items }\n      if (me.ok) {\n        dsx.variable.me = me.data\n      }\n      await dsx.action.loadInbox()\n      await dsx.module.convertdata.agentProbe()\n      await dsx.action.loadAgent()\n      const inv = await dsx.module.convertdata.myInvites()\n      if (!inv.ok) { dsx.variable.readError = true; return }\n      if (inv.ok) { dsx.variable.invites = inv.data.items }\n      const h = await dsx.module.convertdata.helpHome()\n      //  RELEASE NOTES ARE FOR PEOPLE WHO KNEW THE BEFORE: an announcement shows only to a workspace that had an app before it\n      //  started (a first-time user setting up their first app never meets it); an announcement with no start date shows as before\n      if (!h.ok) { dsx.variable.readError = true; return }\n      if (h.ok) {\n        const first = h.data.announcements.length == 0 ? null : h.data.announcements[0]\n        const since = first == null || first.startsAt == null ? NaN : Date.parse(String(first.startsAt))\n        const knewBefore = isNaN(since) || dsx.variable.projects.some(x => Number(x.createdAt) &gt; 0 &amp;&amp; Number(x.createdAt) &lt; since)\n        dsx.variable.news = first != null &amp;&amp; knewBefore ? first : null\n      }\n      //  The affiliate conversion V3 sends at sign in (Affonso signup by email; DataFast identify): once per session, last.\n      //  Optional by nature: where no tracker is configured (a local build) the module answers unsupported_platform,\n      //  which is no failure of this page.\n      //  The interim Intercom Messenger (owner 2026-10-10) boots here as this person: the API gives the id, created_at and,\n      //  with identity verification configured, the user_hash it computed (never computed in the page).\n      if (me.ok) {\n        try {\n          let who = null\n          if (dsx.variable.intercomOn) {\n            const r = await dsx.module.convertdata.supportIdentity()\n            if (r.ok) { who = r.data }\n          }\n          await dsx.module.tracking.identify({ userId: (who == null || who.userId == '') ? me.data.id : who.userId, email: me.data.email, name: me.data.name,\n            createdAt: who == null ? '' : who.createdAt, userHash: who == null ? '' : who.userHash })\n        } catch (e) { }\n      }\n    "},{"as":"loadInbox","inputs":{},"body":"\n      if (!dsx.variable.isStaff) { return }\n      const r = await dsx.module.convertdata.staffSummary()\n      if (r.ok) { dsx.variable.inboxSummary = r.data }\n    "},{"as":"inboxHeard","inputs":{},"body":"\n      const f = dsx.module.convertdata.context.helpLive\n      if (f != null &amp;&amp; f.room == 'inbox') { await dsx.action.loadInbox() }\n    "},{"as":"openHelp","inputs":{"page":"dsx.path"},"body":"\n      if (dsx.variable.intercomOn) {\n        try {\n          const r = await dsx.module.tracking.support({ facts: { workspace: dsx.variable.workspaceName, page: String(page || '') } })\n          if (r.ok) { if (r.data.opened || r.data.needsConsent) { return } }\n        } catch (e) { }\n      }\n      dsx.variable.helpOpen = true\n    "},{"as":"onSupportAsk","inputs":{},"body":"\n      if (dsx.module.tracking.context.supportAsk != null) { dsx.variable.askingChat = true }\n    "},{"as":"signedInChanged","inputs":{},"body":"\n      if (dsx.module.convertdata.context.signedIn) { return }\n      try { await dsx.module.tracking.forget() } catch (e) { }\n      dsx.module.route.reset({ path: '/login' })\n    "},{"as":"deepLink","inputs":{"path":"dsx.path","help":"dsx.query.help"},"body":"\n      if (String(path || '') == '/help' || String(help || '') == '1') { dsx.action.openHelp() }\n      //  /agent opened directly or reloaded: the Agent opens over the Apps page, as from its tab\n      if (String(path || '') == '/agent') { dsx.variable.agentSeen = true; await dsx.module.convertdata.agentShow({ scope: dsx.variable.agentScope }) }\n    "},{"as":"newsAction","inputs":{},"body":"\n      if (dsx.variable.news != null &amp;&amp; dsx.variable.news.more) { dsx.variable.newsOpen = true }\n    "},{"as":"newsDismissed","inputs":{},"body":"\n      if (dsx.variable.news == null) { return }\n      await dsx.module.convertdata.helpDismiss({ kind: 'announcement', id: dsx.variable.news.id })\n      dsx.variable.newsOpen = false\n      dsx.variable.news = null\n    "},{"as":"updateReady","inputs":{},"body":"\n      const web = dsx.source.web\n      const generation = web == null ? '' : String(web.update || '')\n      if (generation == '' || generation == dsx.variable.updateShown) { return }\n      dsx.variable.updateShown = generation\n      const out = await dsx.module.toast.show({ message: 'Update available', tone: 'info', length: 'long', action: { label: 'Reload', id: 'reload' } })\n      if (out.data != null &amp;&amp; out.data.result == 'action') { await dsx.module.browser.reload() }\n    "},{"as":"open","inputs":{"path":"dsx.this.value"},"body":"\n      //  the Agent tab opens the Agent's sheet over the page; the tab bar keeps the page's own tab selected\n      if (path == '/agent') { dsx.variable.agentSeen = true; await dsx.module.convertdata.agentShow({ scope: dsx.variable.agentScope }); return }\n      const rollout = dsx.module.convertdata.context.rollout\n      if (dsx.attribute.projectId != '' &amp;&amp; dsx.variable.gated.some(g => gatedPath(g, path))) {\n        const areas = rollout == null ? {} : rollout.areas\n        const area = Object.values(areas).find(a => (a.paths || []).some(p => gatedPath(p, path)))\n        if (area != null) { path = '/soon/' + area.id + '?projectId=' + encodeURIComponent(dsx.attribute.projectId) }\n      }\n      dsx.module.route.select({ path: path })\n    "},{"as":"loadAgent","inputs":{},"body":"\n      if (!dsx.variable.agentTab) { return }\n      await dsx.module.convertdata.groupChatList({})\n    "},{"as":"agentClosed","inputs":{},"body":"\n      await dsx.module.convertdata.agentHide()\n      await dsx.action.loadAgent()\n    "},{"as":"agentWarm","inputs":{},"body":"\n      const id = dsx.variable.agentScope\n      if (!dsx.variable.agentOn || dsx.variable.agentOpen || id == '' || id.indexOf('workspace:') == 0) { return }\n      await dsx.module.convertdata.copilotWarm({ id: id })\n    "},{"as":"agentMotionOn","inputs":{},"body":"dsx.variable.agentReady = true"},{"as":"agentPin","inputs":{},"body":"\n      const p = dsx.variable.agentPanel\n      if (p.open &amp;&amp; p.scope == '' &amp;&amp; dsx.variable.agentScope != 'workspace:') { await dsx.module.convertdata.agentShow({ scope: dsx.variable.agentScope }) }\n    "},{"as":"agentOnSeen","inputs":{},"body":"\n      if (dsx.variable.agentOn) { dsx.variable.agentWasOn = true }\n    "},{"as":"agentSheetSeen","inputs":{},"body":"\n      if (dsx.variable.agentSheet) { dsx.variable.agentSeen = true }\n    "},{"as":"onConfirmed","inputs":{},"body":"\n      const k = dsx.module.convertdata.context.confirmed\n      if (k == null) { return }\n      if (k.ask == 'shell-workspace') {\n        await dsx.module.convertdata.setWorkspace({ id: k.value })\n        const w = dsx.variable.workspaces.find(x => x.id == k.value)\n        if (w) { dsx.variable.workspaceName = w.name }\n        dsx.module.route.reset({ path: '/apps' })\n        return\n      }\n      if (k.ask == 'shell-sign-out') { dsx.variable.askingSignOut = true; return }\n      if (k.ask == 'help') { await dsx.action.openHelp(); return }\n      if (k.ask == 'help-chat-yes') {\n        const a = dsx.module.tracking.context.supportAsk\n        const r = await dsx.module.tracking.support({ facts: a == null ? {} : a.facts, prefill: a == null ? '' : a.prefill, session: true })\n        if (!(r.ok &amp;&amp; r.data.opened)) { dsx.variable.helpOpen = true }\n        return\n      }\n      if (k.ask == 'shell-appearance') {\n        const now = await dsx.module.appearance.get()\n        const next = !now.ok ? 'dark' : (now.data.mode == 'system' ? 'dark' : (now.data.mode == 'dark' ? 'light' : 'system'))\n        await dsx.module.appearance.set({ mode: next })\n      }\n    "}],"watches":[{"value":"dsx.module.convertdata.context.confirmed","handler":"dsx.action.onConfirmed()"},{"value":"dsx.source.web.update","handler":"dsx.action.updateReady()"},{"value":"dsx.module.convertdata.context.workspace","handler":"dsx.action.load()"},{"value":"dsx.module.convertdata.context.chrome","handler":"dsx.action.recover()"},{"value":"dsx.path","handler":"dsx.action.recover()"},{"value":"dsx.variable.agentScope + '|' + String(dsx.variable.agentOn)","handler":"dsx.action.agentWarm()","immediate":true},{"value":"dsx.variable.agentKnown ? String(dsx.variable.agentLive) : ''","handler":"dsx.action.keepAgentTab()","immediate":true},{"value":"dsx.module.convertdata.context.signedIn","handler":"dsx.action.signedInChanged()"},{"value":"dsx.module.tracking.context.supportAsk","handler":"dsx.action.onSupportAsk()"},{"value":"dsx.module.convertdata.context.helpLive","handler":"dsx.action.inboxHeard()"},{"value":"dsx.variable.agentSheet","handler":"dsx.action.agentSheetSeen()","immediate":true},{"value":"dsx.variable.agentOn","handler":"dsx.action.agentOnSeen()","immediate":true},{"value":"String(dsx.variable.agentPanel.open) + '|' + dsx.variable.agentPanel.scope + '|' + dsx.variable.agentScope","handler":"dsx.action.agentPin()","immediate":true}],"scripts":["\n      function chromeOf(c, key, empty) { return c == null || c[key] == null ? empty : c[key] }\n      //  a row whose path is a gated path (`:name` matches one segment) carries the Soon badge\n      function gatedPath(pattern, path) {\n        const a = String(pattern).split('/')\n        const b = String(path).split('/')\n        if (a.length != b.length) { return false }\n        for (let i = 0; i &lt; a.length; i++) {\n          if (a[i].startsWith(':')) { if (b[i] == '') { return false } } else if (a[i] != b[i]) { return false }\n        }\n        return true\n      }\n      function mark(rows, gated) {\n        return rows.map(r => ({ id: r.id, title: r.title, icon: r.icon, path: r.path, count: r.count == null ? '' : r.count, badge: gated.some(g => gatedPath(g, r.path)) ? 'Soon' : '' }))\n      }\n    "],"globalScripts":[]},"root":{"tag":"scaffold","attrs":{"class":"{{ dsx.variable.agentReady ? 'agent-ready' : '' }}","shell":"automatic","collapse":"tabs","sidebar-label":"Despia","content-label":"Page","inspector-label":"Agent","inspector-visibility":"{{ dsx.variable.agentDock ? 'shown' : dsx.module.convertdata.context.readiness }}","keyboard-avoid":"{{ dsx.attribute.section == 'explore' ? 'none' : 'resize' }}","on:appear":"dsx.action.load()","__knobs":"--dsx-sidebar-compact: tabs","__css":"c114"},"children":[{"tag":"SidebarList","attrs":{"class":"shell-sidebar","pane":"sidebar","value":"{{ dsx.variable.selectedPath }}","aria-label":"Despia","on:change":"dsx.action.open()"},"children":[{"tag":"menu","attrs":{"slot":"top","menu":"{{ dsx.variable.workspaceMenu }}"},"children":[{"tag":"SettingsRow","attrs":{"icon":"despia.logo.mono","icon-style":"plain","title":"{{ dsx.variable.workspaceName || '\\u00a0' }}","subtitle":"Despia V4 Pre-release","value-icon":"chevron.up.chevron.down","tappable":"true"},"children":[],"text":"","reactive":true,"nid":3}],"text":"\n      \n    ","reactive":true,"nid":2},{"tag":"SidebarSection","attrs":{"title":"{{ dsx.variable.projectName }}","class":"shell-app-heading","visible-if":"dsx.variable.inProject"},"children":[{"tag":"SidebarItem","attrs":{"value":"{{ '/apps/' + dsx.attribute.projectId }}","icon":"house","title":"Overview"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n      \n    ","reactive":true,"nid":4},{"tag":"SidebarSection","attrs":{"title":"Ship","root":"{{ '/apps/' + dsx.attribute.projectId }}","visible-if":"dsx.variable.inProject && dsx.variable.projectShipRows.length > 0"},"children":[{"tag":"SidebarItem","attrs":{"repeat":"dsx.variable.projectShipRows","key":"id","value":"{{ dsx.this.path }}","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","badge":"{{ dsx.this.badge }}"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n      \n    ","reactive":true,"nid":6},{"tag":"SidebarSection","attrs":{"title":"App","root":"{{ '/apps/' + dsx.attribute.projectId }}","visible-if":"dsx.variable.inProject"},"children":[{"tag":"SidebarItem","attrs":{"repeat":"dsx.variable.projectAppRows","key":"id","value":"{{ dsx.this.path }}","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","badge":"{{ dsx.this.badge }}"},"children":[],"text":"","reactive":true,"nid":9}],"text":"\n      \n    ","reactive":true,"nid":8},{"tag":"SidebarSection","attrs":{"title":"Advanced","class":"shell-advanced","collapsible":"true","expanded":"{{ dsx.variable.advancedOpen }}","root":"{{ '/apps/' + dsx.attribute.projectId }}","visible-if":"dsx.variable.inProject && dsx.variable.projectAdvancedRows.length > 0","on:toggle":"dsx.variable.advancedChosen = dsx.this.expanded"},"children":[{"tag":"SidebarItem","attrs":{"repeat":"dsx.variable.projectAdvancedRows","key":"id","value":"{{ dsx.this.path }}","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","badge":"{{ dsx.this.badge }}"},"children":[],"text":"","reactive":true,"nid":11}],"text":"\n      \n    ","reactive":true,"nid":10},{"tag":"SidebarSection","attrs":{"title":"Workspace","tab":"items","visible-if":"dsx.variable.workspaceShown"},"children":[{"tag":"SidebarItem","attrs":{"repeat":"dsx.variable.mainRows","key":"id","value":"{{ dsx.this.path }}","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","badge":"{{ dsx.this.badge }}","count":"{{ dsx.this.count }}"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n      \n    ","reactive":true,"nid":12},{"tag":"SidebarSection","attrs":{"title":"Manage","tab":"Settings","tab-icon":"gearshape","root":"/settings","claims":"/billing /connections /tokens /reseller /dedicated-cloud","visible-if":"dsx.variable.workspaceShown"},"children":[{"tag":"SidebarItem","attrs":{"repeat":"dsx.variable.workspaceRows","key":"id","value":"{{ dsx.this.path }}","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","badge":"{{ dsx.this.badge }}"},"children":[],"text":"","reactive":true,"nid":15}],"text":"\n      \n    ","reactive":true,"nid":14},{"tag":"stack","attrs":{"slot":"bottom","visible-if":"dsx.variable.news != null || dsx.screen.width >= 600","__steers":"1","__css":"c115"},"children":[{"tag":"Callout","attrs":{"tone":"info","variant":"compact","title":"{{ dsx.variable.news == null ? '' : dsx.variable.news.title }}","action":"{{ dsx.variable.news != null && dsx.variable.news.more ? 'Learn more' : '' }}","dismissible":"true","visible-if":"dsx.variable.news != null","on:action":"dsx.action.newsAction()","on:dismiss":"dsx.action.newsDismissed()"},"children":[],"text":"","reactive":true,"nid":17}],"text":"\n      \n    ","reactive":true,"nid":16},{"tag":"stack","attrs":{"slot":"bottom","__steers":"1","__css":"c115"},"children":[{"tag":"menu","attrs":{"menu":"{{ dsx.variable.accountMenu }}"},"children":[{"tag":"SettingsRow","attrs":{"title":"{{ dsx.variable.meName || '\\u00a0' }}","subtitle":"{{ dsx.variable.meEmail || '\\u00a0' }}","value-icon":"chevron.up.chevron.down","tappable":"true"},"children":[{"tag":"Avatar","attrs":{"slot":"leading","initials":"{{ dsx.variable.meInitials }}","src":"{{ dsx.variable.meAvatar }}"},"children":[],"text":"","reactive":true,"nid":21}],"text":"\n          \n        ","reactive":true,"nid":20}],"text":"\n        \n      ","reactive":true,"nid":19}],"text":"\n      \n    ","reactive":true,"nid":18}],"text":"\n    \n    \n\n    \n    \n    \n    \n    \n    \n    \n    \n\n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"scroll","attrs":{"pane":"content","class":"{{ dsx.variable.phoneTabRoot ? 'shell-phone-tab-root' : '' }}"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":23},{"tag":"Callout","attrs":{"class":"workspace-notice","tone":"error","title":"Your workspace did not load","message":"Despia did not answer. Check your connection and try again.","action":"Try Again","visible-if":"dsx.variable.readError","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":24}],"text":"\n    \n    \n  ","reactive":true,"nid":22},{"tag":"command-palette","attrs":{"present":"dsx.variable.palette","commands":"dsx.variable.paletteItems","label":"Search Despia"},"children":[{"tag":"command","attrs":{"id":"appearance","title":"Change Appearance","icon":"circle.lefthalf.filled","keywords":"dark,light,theme","on:run":"dsx.module.convertdata.confirm({ ask: 'shell-appearance' })"},"children":[],"text":"","reactive":true,"nid":26},{"tag":"command","attrs":{"id":"cookies","title":"Cookie Settings","icon":"hand.raised","keywords":"privacy,consent,tracking,analytics","on:run":"dsx.module.consent.ask({ preferences: true })"},"children":[],"text":"","reactive":true,"nid":27},{"tag":"command","attrs":{"id":"help","title":"Get Help","icon":"questionmark.circle","keywords":"support,docs,troubleshooting,contact","on:run":"dsx.action.openHelp()"},"children":[],"text":"","reactive":true,"nid":28},{"tag":"command","attrs":{"id":"signout","title":"Sign Out","icon":"rectangle.portrait.and.arrow.right","keywords":"logout","on:run":"dsx.variable.askingSignOut = true"},"children":[],"text":"","reactive":true,"nid":29}],"text":"\n    \n    \n    \n    \n  ","reactive":true,"nid":25},{"tag":"HelpSheet","attrs":{"present":"{{ dsx.variable.helpOpen }}","on:close":"dsx.variable.helpOpen = false"},"children":[],"text":"","reactive":true,"nid":30},{"tag":"AskDespia","attrs":{"pane":"inspector","class":"ask-despia-dock","visible-if":"dsx.variable.agentDock","project-id":"{{ dsx.variable.agentScopeNow }}","journey":"{{ dsx.variable.agentJourney }}","mode":"chat","back":"false","page-scope":"{{ dsx.variable.agentScope }}","page-name":"{{ dsx.variable.projectName }}","on:close":"dsx.action.agentClosed()","on:changed":"dsx.module.convertdata.agentChanged()"},"children":[],"text":"","reactive":true,"nid":31},{"tag":"AskDespiaSheet","attrs":{"visible-if":"dsx.variable.agentSheet || dsx.variable.agentSeen","present":"{{ dsx.variable.agentSheet }}","project-id":"{{ dsx.variable.agentScopeNow }}","journey":"{{ dsx.variable.agentJourney }}","page-scope":"{{ dsx.variable.agentScope }}","page-name":"{{ dsx.variable.projectName }}","on:close":"dsx.action.agentClosed()","on:changed":"dsx.module.convertdata.agentChanged()"},"children":[],"text":"","reactive":true,"nid":32},{"tag":"AnnouncementSheet","attrs":{"present":"{{ dsx.variable.newsOpen }}","announcement":"{{ dsx.variable.news }}","on:close":"dsx.variable.newsOpen = false"},"children":[],"text":"","reactive":true,"nid":33},{"tag":"alert","attrs":{"present":"dsx.variable.askingChat","title":"Open the support chat?","message":"The chat is run by Intercom, which stores cookies on this device while it is open. Allow it for this visit, or write to support@despia.com.","buttons":"dsx.variable.chatButtons","on:dismiss":"dsx.variable.askingChat = false"},"children":[],"text":"","reactive":true,"nid":34},{"tag":"alert","attrs":{"present":"dsx.variable.askingSignOut","title":"Sign out?","message":"You can sign in again with your Despia account.","buttons":"dsx.variable.signOutButtons","on:dismiss":"dsx.variable.askingSignOut = false"},"children":[],"text":"","reactive":true,"nid":35}],"text":"\n  \n\n  \n\n  \n\n  \n  \n\n  \n  \n  \n  \n  \n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.SoonCard":{"name":"SoonCard","scheme":"platform","head":{"attributes":[{"as":"title"},{"as":"summary"},{"as":"cover"},{"as":"cover-dark"},{"as":"badge"},{"as":"notifiable","default":"false"},{"as":"notified","default":"false"},{"as":"busy","default":"false"}],"apis":[],"expects":[],"events":[{"as":"notify","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"isNotified","body":"return dsx.attribute.notified == true || dsx.attribute.notified == 'true'","computed":true},{"as":"canNotify","body":"return (dsx.attribute.notifiable == true || dsx.attribute.notifiable == 'true') &amp;&amp; !dsx.variable.isNotified","computed":true},{"as":"isBusy","body":"return dsx.attribute.busy == true || dsx.attribute.busy == 'true'","computed":true}],"formulas":[],"actions":[{"as":"notify","inputs":{},"body":"dsx.event('notify')"}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"Card","attrs":{"class":"soon-card"},"children":[{"tag":"stack","attrs":{"class":"soon-card-cover{{ dsx.attribute.coverDark ? ' soon-card-cover-twin' : '' }}","visible-if":"dsx.attribute.cover","aria-hidden":"true"},"children":[{"tag":"image","attrs":{"class":"soon-card-cover-image soon-card-cover-light","src":"{{ dsx.attribute.cover }}","__css":"c44"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"image","attrs":{"class":"soon-card-cover-image soon-card-cover-dark","visible-if":"dsx.attribute.coverDark","src":"{{ dsx.attribute.coverDark }}","__css":"c44"},"children":[],"text":"","reactive":true,"nid":3}],"text":"\n    \n    \n  ","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"soon-card-body","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"soon-card-heading","__row":"1","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"soon-card-title","value":"{{ dsx.attribute.title }}"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"chip","attrs":{"class":"soon-card-badge","visible-if":"dsx.attribute.badge","label":"{{ dsx.attribute.badge }}"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n      \n      \n    ","reactive":true,"nid":5},{"tag":"text","attrs":{"class":"soon-card-summary","value":"{{ dsx.attribute.summary }}"},"children":[],"text":"","reactive":true,"nid":8},{"tag":"stack","attrs":{"class":"soon-card-notify","visible-if":"dsx.variable.canNotify || dsx.variable.isNotified","__steers":"1"},"children":[{"tag":"button","attrs":{"visible-if":"dsx.variable.canNotify","variant":"bordered","control-size":"small","label":"{{ dsx.variable.isBusy ? 'Notifying…' : 'Notify Me' }}","disabled-if":"dsx.variable.isBusy","aria-label":"Notify me when {{ dsx.attribute.title }} is ready","on:tap":"dsx.action.notify()"},"children":[],"text":"","reactive":true,"nid":10},{"tag":"hstack","attrs":{"class":"soon-card-notified","visible-if":"dsx.variable.isNotified","__steers":"1"},"children":[{"tag":"image","attrs":{"icon":"checkmark.circle","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":12},{"tag":"text","attrs":{"value":"We'll let you know"},"children":[],"text":"","reactive":false,"nid":13}],"text":"\n        \n        \n      ","reactive":true,"nid":11}],"text":"\n      \n      \n    ","reactive":true,"nid":9}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":4}],"text":"\n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.StepHead":{"name":"StepHead","scheme":"platform","head":{"attributes":[{"as":"number","default":"''"},{"as":"title","default":"''"},{"as":"state","default":"''"},{"as":"word","default":"''"},{"as":"role","default":"''"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"hstack","attrs":{"class":"step-head step-head-{{ dsx.attribute.state }}","role":"group","aria-label":"{{ 'Step ' + dsx.attribute.number + ', ' + dsx.attribute.title + (dsx.attribute.word == '' ? '' : ', ' + dsx.attribute.word) }}","__steers":"1","__css":"c116"},"children":[{"tag":"stack","attrs":{"class":"step-head-number","aria-hidden":"true","__steers":"1"},"children":[{"tag":"image","attrs":{"icon":"checkmark","visible-if":"dsx.attribute.state == 'done'","__fontSize":"13px","__css":"c117"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"text","attrs":{"value":"{{ dsx.attribute.number }}","visible-if":"dsx.attribute.state != 'done'"},"children":[],"text":"","reactive":true,"nid":3}],"text":"\n    \n    \n  ","reactive":true,"nid":1},{"tag":"text","attrs":{"type":"headline","value":"{{ dsx.attribute.title }}","role":"heading","__css":"c69"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"chip","attrs":{"label":"{{ dsx.attribute.word }}","role":"{{ dsx.attribute.role }}","visible-if":"dsx.attribute.word != ''"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n  \n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.StoreCard":{"name":"StoreCard","scheme":"platform","head":{"attributes":[{"as":"brand","default":"''"},{"as":"title","default":"''"},{"as":"state","default":"'idle'"},{"as":"state-word","default":"''"},{"as":"line","default":"''"},{"as":"note","default":"''"},{"as":"action","default":"''"},{"as":"action-icon","default":"''"},{"as":"action-external","default":"false"},{"as":"action-quiet","default":"false"},{"as":"working","default":"false"},{"as":"rows","default":"[]"},{"as":"alt","default":"''"},{"as":"hand","default":"''"}],"apis":[],"expects":[],"events":[{"as":"action","payload":[]},{"as":"alt","payload":[]},{"as":"hand","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"progress","body":"return Array.isArray(dsx.attribute.rows) ? dsx.attribute.rows : []","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"Card","attrs":{"class":"store-card store-card-{{ dsx.attribute.state }}","__css":"c34"},"children":[{"tag":"hstack","attrs":{"__steers":"1","__css":"c59"},"children":[{"tag":"image","attrs":{"icon":"{{ dsx.attribute.brand }}","aria-label":"{{ dsx.attribute.title }}","__fontSize":"44px","__css":"c118"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"stack","attrs":{"__css":"c119"},"children":[{"tag":"text","attrs":{"type":"headline","value":"{{ dsx.attribute.title }}","role":"heading"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"hstack","attrs":{"__steers":"1","__css":"c120"},"children":[{"tag":"stack","attrs":{"class":"store-card-dot","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":6},{"tag":"text","attrs":{"class":"store-card-state","value":"{{ dsx.attribute.stateWord }}","__css":"c117"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n        \n        \n      ","reactive":true,"nid":5}],"text":"\n      \n      \n    ","reactive":true,"nid":3}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"text","attrs":{"value":"{{ dsx.attribute.line }}","visible-if":"dsx.attribute.line != ''","__css":"c71"},"children":[],"text":"","reactive":true,"nid":8},{"tag":"text","attrs":{"value":"{{ dsx.attribute.note }}","visible-if":"dsx.attribute.note != ''","__css":"c72"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"Timeline","attrs":{"class":"dsx-timeline-compact","bind":"{{ dsx.variable.progress }}","expand":"all","aria-label":"{{ dsx.attribute.title + ' progress' }}","visible-if":"dsx.variable.progress.length > 0"},"children":[],"text":"","reactive":true,"nid":10},{"tag":"stack","attrs":{"class":"store-card-actions","visible-if":"dsx.attribute.action != '' || dsx.attribute.alt != '' || dsx.attribute.hand != ''","__flexDirection":"row","__steers":"1","__css":"c121"},"children":[{"tag":"button","attrs":{"variant":"{{ dsx.attribute.actionQuiet ? 'bordered' : 'prominent' }}","class":"{{ dsx.attribute.actionExternal ? 'button-external' : '' }}","icon":"{{ dsx.attribute.actionIcon }}","label":"{{ dsx.attribute.action }}","disabled-if":"dsx.attribute.working == true","visible-if":"dsx.attribute.action != ''","on:tap":"dsx.event('action')"},"children":[],"text":"","reactive":true,"nid":12},{"tag":"button","attrs":{"variant":"bordered","label":"{{ dsx.attribute.alt }}","visible-if":"dsx.attribute.alt != ''","on:tap":"dsx.event('alt')"},"children":[],"text":"","reactive":true,"nid":13},{"tag":"button","attrs":{"variant":"bordered","label":"{{ dsx.attribute.hand }}","visible-if":"dsx.attribute.hand != ''","on:tap":"dsx.event('hand')"},"children":[],"text":"","reactive":true,"nid":14}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":11}],"text":"\n  \n\n  \n\n  \n  \n\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.StoreConnectChooser":{"name":"StoreConnectChooser","scheme":"platform","head":{"attributes":[{"as":"present","default":"false"},{"as":"store","default":"'apple'"},{"as":"phase","default":"'choose'"},{"as":"ext-state","default":"'add'"},{"as":"ext-ready","default":"false"},{"as":"browser","default":"'Chrome'"},{"as":"badge-src","default":"''"},{"as":"badge-dark-src","default":"''"},{"as":"copied","default":"false"},{"as":"project-id","default":"''"}],"apis":[],"expects":[],"events":[{"as":"auto","payload":[]},{"as":"hand","payload":[]},{"as":"noAccount","payload":[]},{"as":"close","payload":[]},{"as":"add","payload":[]},{"as":"copy","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"others","body":"return false","computed":false},{"as":"title","body":"return dsx.attribute.store == 'google' ? 'Connect Google Play' : 'Connect App Store'","computed":true}],"formulas":[],"actions":[],"watches":[{"value":"dsx.attribute.present","handler":"dsx.variable.others = false"}],"scripts":[],"globalScripts":[]},"root":{"tag":"sheet","attrs":{"detents":"content","present":"dsx.attribute.present","title":"{{ dsx.variable.title }}","close":"trailing","on:dismiss":"dsx.event('close')"},"children":[{"tag":"ListGroup","attrs":{"visible-if":"dsx.attribute.phase == 'choose'"},"children":[{"tag":"SettingsRow","attrs":{"icon":"puzzlepiece.extension","title":"Automatic","subtitle":"{{ dsx.attribute.extReady ? 'Ready · about 1 minute' : 'Add the Despia extension · about 1 minute' }}","chevron":"true","tappable":"true","on:tap":"dsx.event('auto')"},"children":[],"text":"","reactive":true}],"text":"\n    \n  ","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.attribute.phase == 'choose' && !dsx.variable.others"},"children":[{"tag":"SettingsRow","attrs":{"icon":"ellipsis.circle","title":"Other Ways","chevron":"true","tappable":"true","on:tap":"dsx.variable.others = true"},"children":[],"text":"","reactive":true}],"text":"\n    \n  ","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.attribute.phase == 'choose' && dsx.variable.others"},"children":[{"tag":"SettingsRow","attrs":{"icon":"list.number","title":"By hand","subtitle":"Step by step · about 30 minutes","chevron":"true","tappable":"true","on:tap":"dsx.event('hand')"},"children":[],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"icon":"person.crop.circle.badge.plus","title":"Create Account","chevron":"true","tappable":"true","on:tap":"dsx.event('noAccount')"},"children":[],"text":"","reactive":true}],"text":"\n    \n    \n  ","reactive":true},{"tag":"ExtensionCard","attrs":{"visible-if":"dsx.attribute.phase == 'extension'","state":"{{ dsx.attribute.extState }}","browser":"{{ dsx.attribute.browser }}","copied":"{{ dsx.attribute.copied }}","project-id":"{{ dsx.attribute.projectId }}","badge-src":"{{ dsx.attribute.badgeSrc }}","badge-dark-src":"{{ dsx.attribute.badgeDarkSrc }}","on:add":"dsx.event('add')","on:copy":"dsx.event('copy')","on:hand":"dsx.event('hand')"},"children":[],"text":"","reactive":true}],"text":"\n  \n\n  \n  \n  \n\n  \n","reactive":true},"reactive":true,"language":"1"},"platform.StoreFixSheet":{"name":"StoreFixSheet","scheme":"platform","head":{"attributes":[{"as":"present","default":"false"},{"as":"guide","default":"null"},{"as":"extension","default":"null"},{"as":"problem","default":"''"}],"apis":[],"expects":[],"events":[{"as":"close","payload":[]},{"as":"extension","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"chosen","body":"return false","computed":false},{"as":"has","body":"return dsx.attribute.guide != null &amp;&amp; typeof dsx.attribute.guide == 'object'","computed":true},{"as":"ways","body":"return dsx.variable.has &amp;&amp; Array.isArray(dsx.attribute.guide.ways) ? dsx.attribute.guide.ways : []","computed":true},{"as":"offersExtension","body":"return dsx.variable.ways.includes('extension')","computed":true},{"as":"extensionReady","body":"return dsx.attribute.extension != null &amp;&amp; dsx.attribute.extension.available == true","computed":true},{"as":"choosing","body":"return dsx.variable.offersExtension &amp;&amp; !dsx.variable.chosen","computed":true},{"as":"title","body":"return dsx.variable.has ? String(dsx.attribute.guide.title || '') : ''","computed":true},{"as":"why","body":"return dsx.variable.has ? String(dsx.attribute.guide.why || '') : ''","computed":true},{"as":"problemText","body":"return dsx.attribute.problem == null ? '' : String(dsx.attribute.problem)","computed":true},{"as":"steps","body":"\n      if (!dsx.variable.has || !Array.isArray(dsx.attribute.guide.steps)) { return [] }\n      //  the stock Guide: the step's words are its title line (inline markdown, **bold** as given), a value to paste is a\n      //  tap-to-copy code chip under it, the page to open is its action\n      return dsx.attribute.guide.steps.map((s) => ({ title: String(s.text || ''),\n        body: s.copy == null ? '' : String(s.copy.label || '') + ': `' + String(s.copy.value || '') + '`',\n        action: s.link == null || s.link.url == null || String(s.link.url) == '' ? null : { label: String(s.link.label || ''), href: String(s.link.url) } }))\n    ","computed":true},{"as":"links","body":"\n      if (!dsx.variable.has || !Array.isArray(dsx.attribute.guide.links)) { return [] }\n      return dsx.attribute.guide.links.map((l, i) => ({ id: 'l' + i, label: String(l.label || ''), url: String(l.url || '') }))\n    ","computed":true}],"formulas":[],"actions":[{"as":"openLink","inputs":{"url":"dsx.this.url"},"body":"\n      if (url != null &amp;&amp; String(url) != '') { await dsx.module.browser.open({ url: String(url) }) }\n    "},{"as":"copyForAi","inputs":{},"body":"\n      if (!dsx.variable.has) { return }\n      const r = await dsx.module.clipboard.write({ text: String(dsx.attribute.guide.ai || '') })\n      if (r.ok) { dsx.module.toast.show({ title: 'Copied', message: 'Paste it into your AI agent.' }) }\n    "},{"as":"tryExtension","inputs":{},"body":"\n      if (!dsx.variable.extensionReady) { return }\n      dsx.variable.chosen = false\n      dsx.event('extension')\n    "},{"as":"close","inputs":{},"body":"\n      dsx.variable.chosen = false\n      dsx.event('close')\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"sheet","attrs":{"detents":"full","present":"dsx.attribute.present && dsx.variable.has","title":"{{ dsx.variable.title }}","close":"trailing","on:dismiss":"dsx.action.close()"},"children":[{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.has"},"children":[{"tag":"SettingsRow","attrs":{"status":"failed","title":"{{ dsx.variable.problemText }}","subtitle":"{{ dsx.variable.why }}","visible-if":"dsx.variable.problemText != ''"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"SettingsRow","attrs":{"icon":"info.circle","title":"{{ dsx.variable.why }}","visible-if":"dsx.variable.problemText == ''"},"children":[],"text":"","reactive":true,"nid":4}],"text":"\n      \n      \n    ","reactive":true,"nid":2},{"tag":"ListGroup","attrs":{"header":"How do you want to fix it?","visible-if":"dsx.variable.choosing"},"children":[{"tag":"SettingsRow","attrs":{"icon":"list.number","title":"Manual Steps","subtitle":"Step by step, with the pages to open.","chevron":"true","on:tap":"dsx.variable.chosen = true"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"SettingsRow","attrs":{"icon":"puzzlepiece.extension","title":"Chrome Extension","subtitle":"{{ dsx.variable.extensionReady ? 'It clicks through Apple Developer for you. It may not always work.' : 'Coming soon.' }}","badge":"Research Preview","badge-role":"info","disabled":"{{ dsx.variable.extensionReady ? 'false' : 'true' }}","tappable":"{{ dsx.variable.extensionReady ? 'true' : 'false' }}","on:tap":"dsx.action.tryExtension()"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n      \n      \n    ","reactive":true,"nid":5},{"tag":"ListGroup","attrs":{"header":"What to do","visible-if":"!dsx.variable.choosing"},"children":[{"tag":"Guide","attrs":{"class":"dsx-guide-compact","steps":"{{ dsx.variable.steps }}","aria-label":"{{ dsx.variable.title }}"},"children":[],"text":"","reactive":true,"nid":9}],"text":"\n      \n    ","reactive":true,"nid":8},{"tag":"ListGroup","attrs":{"header":"Links","visible-if":"!dsx.variable.choosing && dsx.variable.links.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.links","key":"id","icon":"safari","title":"{{ dsx.this.label }}","link":"Open","link-icon":"arrow.up.right","on:tap":"dsx.action.openLink()"},"children":[],"text":"","reactive":true,"nid":11}],"text":"\n      \n    ","reactive":true,"nid":10},{"tag":"ListGroup","attrs":{"visible-if":"!dsx.variable.choosing"},"children":[{"tag":"SettingsRow","attrs":{"icon":"doc.on.doc","title":"Copy Instructions","subtitle":"Paste into your agent.","tone":"accent","tappable":"true","on:tap":"dsx.action.copyForAi()"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n      \n    ","reactive":true,"nid":12},{"tag":"stack","attrs":{"class":"store-fix-end","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":14}],"text":"\n    \n\n    \n\n    \n\n    \n\n    \n    \n    \n  ","reactive":true,"nid":1}],"text":"\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.StoreInfoSheet":{"name":"StoreInfoSheet","scheme":"platform","head":{"attributes":[{"as":"present","default":"false"},{"as":"project-id","default":"''"}],"apis":[],"expects":[],"events":[{"as":"close","payload":[]},{"as":"saved","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"loadingRows","body":"return Array.from({ length: 17 }, (_, id) => ({ id }))","computed":false},{"as":"info","body":"return null","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"rights","body":"return ''","computed":false},{"as":"category","body":"return ''","computed":false},{"as":"age","body":"return []","computed":false},{"as":"copyright","body":"return ''","computed":false},{"as":"firstName","body":"return ''","computed":false},{"as":"lastName","body":"return ''","computed":false},{"as":"phone","body":"return ''","computed":false},{"as":"email","body":"return ''","computed":false},{"as":"signIn","body":"return false","computed":false},{"as":"checked","body":"return false","computed":false},{"as":"privacy","body":"return []","computed":false},{"as":"addCategory","body":"return ''","computed":false},{"as":"addPurpose","body":"return 'APP_FUNCTIONALITY'","computed":false},{"as":"privacyNotice","body":"return ''","computed":false},{"as":"privacyNeed","body":"return ''","computed":false},{"as":"privacyLink","body":"return ''","computed":false},{"as":"installOpen","body":"return false","computed":false},{"as":"loaded","body":"return dsx.variable.info != null","computed":true},{"as":"rightsOptions","body":"return [{ id: 'DOES_NOT_USE_THIRD_PARTY_CONTENT', label: 'No third-party content' }, { id: 'USES_THIRD_PARTY_CONTENT', label: 'Third-party content, with the rights to it' }]","computed":true},{"as":"categoryOptions","body":"\n      if (dsx.variable.info == null) { return [] }\n      return [{ id: '', label: 'Choose…' }].concat(dsx.variable.info.primaryCategory.options.map(c => ({ id: c, label: words(c) })))\n    ","computed":true},{"as":"levelOptions","body":"return 'None,Infrequent or mild,Frequent or intense'","computed":true},{"as":"levels","body":"return dsx.variable.age.filter(q => q.kind == 'level')","computed":true},{"as":"yesNo","body":"return dsx.variable.age.filter(q => q.kind == 'yesno')","computed":true},{"as":"hasDemo","body":"return dsx.variable.info != null &amp;&amp; dsx.variable.info.reviewContact.demoAccount.stored","computed":true},{"as":"contactDone","body":"return dsx.variable.firstName.trim() != '' &amp;&amp; dsx.variable.lastName.trim() != '' &amp;&amp; dsx.variable.phone.trim() != '' &amp;&amp; dsx.variable.email.trim() != ''","computed":true},{"as":"canSave","body":"\n      return dsx.variable.loaded &amp;&amp; dsx.variable.checked &amp;&amp; dsx.variable.rights != '' &amp;&amp; dsx.variable.category != '' &amp;&amp; dsx.variable.copyright.trim() != ''\n        &amp;&amp; dsx.variable.contactDone &amp;&amp; (!dsx.variable.signIn || dsx.variable.hasDemo)\n    ","computed":true},{"as":"saveFooter","body":"\n      if (dsx.variable.canSave) { return 'Despia sends these answers to your App Store Connect when you save.' }\n      if (!dsx.variable.checked) { return 'Check the answers above, then confirm them to save.' }\n      if (dsx.variable.signIn &amp;&amp; !dsx.variable.hasDemo) { return 'Save the demo account first, so App Review can sign in.' }\n      return 'Every item above needs an answer.'\n    ","computed":true},{"as":"privacyReady","body":"return dsx.variable.info != null &amp;&amp; dsx.variable.info.appPrivacy.options != null","computed":true},{"as":"useOptions","body":"return 'Not collected,Linked to the person,Not linked to the person,Linked and used for tracking,Not linked but used for tracking'","computed":true},{"as":"privacyAnswers","body":"\n      const rows = dsx.variable.privacy.filter(r => r.use != 'Not collected')\n      if (rows.length == 0) { return { collected: false } }\n      return { collected: true, data: rows.map(r => ({ category: r.category, purposes: r.purposes, linked: r.use.startsWith('Linked'), tracking: r.use.endsWith('tracking') })) }\n    ","computed":true},{"as":"addOptions","body":"\n      if (dsx.variable.info == null) { return [] }\n      const have = dsx.variable.privacy.map(r => r.category)\n      return [{ id: '', label: 'Add a data type…' }].concat(optionsOf(dsx.variable.info.appPrivacy).categories.filter(c => !have.includes(c.id)).map(c => ({ id: c.id, label: c.group + ': ' + c.label })))\n    ","computed":true},{"as":"purposeOptions","body":"return dsx.variable.info == null ? [] : optionsOf(dsx.variable.info.appPrivacy).purposes","computed":true},{"as":"privacyFooter","body":"\n      if (dsx.variable.info == null) { return '' }\n      const p = dsx.variable.info.appPrivacy\n      if (p.state == 'filled') { return 'Filled in App Store Connect and published. Fill in again after you change an answer.' }\n      if (p.options == null) { return p.note }\n      const from = p.confirmed != null ? 'Your confirmed answers.' : (p.suggested != null &amp;&amp; p.suggested.answers.collected ? 'Suggested from the packages in your app; add what your own code collects.' : 'Nothing found in your packages; add what your own code collects.')\n      return from + ' Fill in confirms these answers, then the Despia extension fills App Privacy in App Store Connect after you press Run there.'\n    ","computed":true},{"as":"ageFooter","body":"return 'Suggested for an app with none of these. Change every answer that applies to your app.'","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      if (!dsx.attribute.present || dsx.attribute.projectId == '') { return }\n      dsx.variable.checked = false\n      const r = await dsx.module.convertdata.storeInfo({ id: dsx.attribute.projectId })\n      if (!r.ok) { dsx.variable.info = null; dsx.variable.error = messageOf(r); return }\n      dsx.variable.error = ''\n      const i = r.data\n      dsx.variable.info = i\n      dsx.variable.rights = i.contentRights.value || i.contentRights.suggested || ''\n      dsx.variable.category = i.primaryCategory.value || ''\n      dsx.variable.age = i.ageRating.questions.map(q => ({ key: q.key, kind: q.kind, title: q.title,\n        level: levelWord(q.kind == 'level' ? (q.value == null ? q.suggested : q.value) : 'NONE'), on: q.kind == 'yesno' ? (q.value == null ? q.suggested == true : q.value == true) : false }))\n      dsx.variable.copyright = i.copyright.value || i.copyright.suggested || ''\n      const c = i.reviewContact\n      dsx.variable.firstName = c.firstName || ''\n      dsx.variable.lastName = c.lastName || ''\n      dsx.variable.phone = c.phone || ''\n      dsx.variable.email = c.email || c.suggestedEmail || ''\n      dsx.variable.signIn = c.demoAccount.required == true\n      dsx.variable.privacyNotice = ''\n      dsx.variable.privacyNeed = ''\n      dsx.variable.privacy = privacyRows(i.appPrivacy)\n    "},{"as":"addPrivacy","inputs":{},"body":"\n      const c = dsx.variable.info == null ? null : optionsOf(dsx.variable.info.appPrivacy).categories.find(x => x.id == dsx.variable.addCategory)\n      if (c == null || dsx.variable.addPurpose == '') { return }\n      dsx.variable.privacy = dsx.variable.privacy.concat([{ category: c.id, label: c.label, purposes: [dsx.variable.addPurpose], why: purposeWords([dsx.variable.addPurpose]), use: 'Linked to the person' }])\n      dsx.variable.addCategory = ''\n    "},{"as":"fillPrivacy","inputs":{},"body":"\n      const s = await dsx.module.convertdata.saveStoreInfo({ id: dsx.attribute.projectId, answers: { appPrivacy: dsx.variable.privacyAnswers } })\n      if (!s.ok) { dsx.variable.error = messageOf(s); return }\n      dsx.variable.info = { ...dsx.variable.info, appPrivacy: s.data.info.appPrivacy }\n      const f = await dsx.module.convertdata.fillAppPrivacy({ id: dsx.attribute.projectId })\n      if (!f.ok) { dsx.variable.error = messageOf(f); return }\n      if (f.data.state == 'not_installed') { dsx.variable.privacyNeed = 'install'; dsx.variable.privacyNotice = 'Your answers are saved. Install the Despia Chrome extension, then tap Fill in again.'; return }\n      if (f.data.state == 'not_connected') { dsx.variable.privacyNeed = 'connect'; dsx.variable.privacyLink = f.data.link; dsx.variable.privacyNotice = 'Your answers are saved. Connect the Despia extension to your account, then tap Fill in again.'; return }\n      if (f.data.appStoreConnect) { await dsx.module.browser.open({ url: f.data.appStoreConnect }) }\n      dsx.variable.privacyNeed = ''\n      dsx.variable.privacyNotice = f.data.notice ? f.data.notice : 'The Despia extension shows your answers. Press Run there: it fills App Privacy and publishes it.'\n    "},{"as":"privacyFix","inputs":{},"body":"\n      if (dsx.variable.privacyNeed == 'connect' &amp;&amp; dsx.variable.privacyLink != '') { await dsx.module.browser.open({ url: dsx.variable.privacyLink }); return }\n      const i = await dsx.module.convertdata.extensionInstall()\n      if (i.ok &amp;&amp; i.data.store === true &amp;&amp; i.data.installUrl != '') { await dsx.module.browser.open({ url: i.data.installUrl }) } else { dsx.variable.installOpen = true }\n    "},{"as":"save","inputs":{},"body":"\n      if (!dsx.variable.canSave) { return }\n      const ageRating = {}\n      for (const q of dsx.variable.age) { ageRating[q.key] = q.kind == 'level' ? levelId(q.level) : q.on == true }\n      const r = await dsx.module.convertdata.saveStoreInfo({ id: dsx.attribute.projectId, answers: {\n        contentRights: dsx.variable.rights, primaryCategory: dsx.variable.category, ageRating, copyright: dsx.variable.copyright.trim(),\n        reviewContact: { firstName: dsx.variable.firstName.trim(), lastName: dsx.variable.lastName.trim(), phone: dsx.variable.phone.trim(), email: dsx.variable.email.trim(), demoAccountRequired: dsx.variable.signIn }\n      } })\n      if (!r.ok) { dsx.variable.error = messageOf(r); return }\n      dsx.module.toast.show({ title: 'Saved to App Store Connect', message: 'Store Information is answered.' })\n      dsx.event('saved')\n      dsx.event('close')\n    "}],"watches":[{"value":"dsx.attribute.present","handler":"dsx.action.load()","immediate":true}],"scripts":["\n      //  App Store Connect's category ids in words: DEVELOPER_TOOLS -> Developer Tools\n      function words(id) { return String(id).toLowerCase().split('_').map(w => w.length == 0 ? w : w.charAt(0).toUpperCase() + w.slice(1)).join(' ') }\n      function levelWord(v) { return v == 'FREQUENT_OR_INTENSE' ? 'Frequent or intense' : (v == 'INFREQUENT_OR_MILD' ? 'Infrequent or mild' : 'None') }\n      function levelId(w) { return w == 'Frequent or intense' ? 'FREQUENT_OR_INTENSE' : (w == 'Infrequent or mild' ? 'INFREQUENT_OR_MILD' : 'NONE') }\n      //  App Privacy rows from the confirmed answers, else the suggestion; one picker per data type says how it is used\n      function purposeWords(ids) {\n        const all = dsx.variable.info == null ? [] : optionsOf(dsx.variable.info.appPrivacy).purposes\n        return ids.map(id => { const p = all.find(x => x.id == id); return p == null ? id : p.label }).join(', ')\n      }\n      //  an API from before App Privacy answers sends none of these: the group then lists nothing\n      function optionsOf(p) { return p != null &amp;&amp; p.options != null ? p.options : { categories: [], purposes: [] } }\n      function privacyRows(p) {\n        if (p == null || p.options == null) { return [] }\n        const answers = p.confirmed != null ? p.confirmed.answers : (p.suggested != null ? p.suggested.answers : { collected: false })\n        const rows = answers.collected ? answers.data : []\n        return rows.map(row => {\n          const c = optionsOf(p).categories.find(x => x.id == row.category)\n          const use = (row.linked ? 'Linked to the person' : 'Not linked to the person')\n          return { category: row.category, label: c == null ? row.category : c.label, purposes: row.purposes, why: purposeWords(row.purposes),\n            use: row.tracking ? (row.linked ? 'Linked and used for tracking' : 'Not linked but used for tracking') : use }\n        })\n      }\n      function messageOf(r) {\n        if (r == null) { return 'Despia did not answer. Try again in a moment.' }\n        if (r.error != null &amp;&amp; typeof r.error == 'object' &amp;&amp; r.error.message) { return r.error.message }\n        if (r.message) { return r.message }\n        return 'Despia did not answer. Try again in a moment.'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"sheet","attrs":{"detents":"full","present":"dsx.attribute.present","title":"Store Information","on:dismiss":"dsx.event('close')","__css":"c122"},"children":[{"tag":"ListGroup","attrs":{"header":"Loading Store Information…","visible-if":"!dsx.variable.loaded && dsx.variable.error == ''","aria-busy":"true"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.loadingRows","key":"id","class":"store-info-loading-row","__css":"c123"},"children":[{"tag":"skeleton","attrs":{},"children":[],"text":"","reactive":false}],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.error != ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.error }}"},"children":[],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"About the app","footer":"App Store Connect asks these once for the app.","visible-if":"dsx.variable.loaded"},"children":[{"tag":"SettingsRow","attrs":{"title":"Content"},"children":[{"tag":"picker","attrs":{"aria-label":"Content rights","bind":"dsx.variable.rights","options-key":"dsx.variable.rightsOptions","value-field":"id","label-field":"label"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Category"},"children":[{"tag":"picker","attrs":{"aria-label":"Primary category","bind":"dsx.variable.category","options-key":"dsx.variable.categoryOptions","value-field":"id","label-field":"label"},"children":[],"text":"","reactive":true}],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"Age rating","footer":"{{ dsx.variable.ageFooter }}","visible-if":"dsx.variable.loaded && dsx.variable.age.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.levels","key":"key","title":"{{ dsx.this.title }}"},"children":[{"tag":"picker","attrs":{"aria-label":"{{ dsx.this.title }}","bind":"dsx.this.level","options":"{{ dsx.variable.levelOptions }}"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.yesNo","key":"key","title":"{{ dsx.this.title }}"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.this.on","aria-label":"{{ dsx.this.title }}"},"children":[],"text":"","reactive":true}],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"This version","footer":"{{ dsx.variable.info == null || dsx.variable.info.version == null ? '' : 'Version ' + dsx.variable.info.version + '.' }}","visible-if":"dsx.variable.loaded"},"children":[{"tag":"SettingsRow","attrs":{"title":"Copyright"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.copyright","placeholder":"2026 Your Company","aria-label":"Copyright"},"children":[],"text":"","reactive":true}],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"App Review contact","footer":"{{ dsx.variable.hasDemo ? 'App Review signs in with the demo account you saved.' : 'Apple contacts this person if the reviewer has a question.' }}","visible-if":"dsx.variable.loaded"},"children":[{"tag":"SettingsRow","attrs":{"title":"First name"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.firstName","aria-label":"First name"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Last name"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.lastName","aria-label":"Last name"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Phone"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.phone","keyboard":"phone","placeholder":"+1 555 0100","aria-label":"Phone"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Email"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.email","keyboard":"email","aria-label":"Email"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"The app needs a sign-in"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.variable.signIn","aria-label":"The app needs a sign-in"},"children":[],"text":"","reactive":true}],"text":"","reactive":true}],"text":"\n      \n      \n      \n      \n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"App Privacy","footer":"{{ dsx.variable.privacyFooter }}","visible-if":"dsx.variable.loaded"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.privacy","key":"category","title":"{{ dsx.this.label }}","subtitle":"{{ dsx.this.why }}"},"children":[{"tag":"picker","attrs":{"aria-label":"{{ dsx.this.label }}","bind":"dsx.this.use","options":"{{ dsx.variable.useOptions }}"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"{{ dsx.variable.privacy.length == 0 ? 'No data collected' : 'Add a data type' }}","visible-if":"dsx.variable.privacyReady"},"children":[{"tag":"picker","attrs":{"aria-label":"Add a data type","bind":"dsx.variable.addCategory","options-key":"dsx.variable.addOptions","value-field":"id","label-field":"label"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Why it is collected","visible-if":"dsx.variable.addCategory != ''"},"children":[{"tag":"picker","attrs":{"aria-label":"Why it is collected","bind":"dsx.variable.addPurpose","options-key":"dsx.variable.purposeOptions","value-field":"id","label-field":"label"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Add","icon":"plus","tappable":"true","visible-if":"dsx.variable.addCategory != ''","on:tap":"dsx.action.addPrivacy()"},"children":[],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"icon":"info.circle","title":"{{ dsx.variable.privacyNotice }}","visible-if":"dsx.variable.privacyNotice != ''"},"children":[],"text":"","reactive":true}],"text":"\n      \n      \n      \n      \n      \n    ","reactive":true},{"tag":"stack","attrs":{"visible-if":"dsx.variable.privacyReady","__steers":"1","__css":"c99"},"children":[{"tag":"button","attrs":{"control-size":"large","class":"button-external","icon":"arrow.up.right","label":"{{ dsx.action.fillPrivacy.pending ? 'Saving…' : 'Fill in' }}","on:tap":"dsx.action.fillPrivacy()"},"children":[],"text":"","reactive":true},{"tag":"button","attrs":{"control-size":"large","class":"button-external","icon":"arrow.up.right","label":"{{ dsx.variable.privacyNeed == 'connect' ? 'Connect extension' : 'Install extension' }}","visible-if":"dsx.variable.privacyNeed != ''","on:tap":"dsx.action.privacyFix()"},"children":[],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.loaded"},"children":[{"tag":"SettingsRow","attrs":{"title":"I checked these answers"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.variable.checked","aria-label":"I checked these answers"},"children":[],"text":"","reactive":true}],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"stack","attrs":{"visible-if":"dsx.variable.loaded","__steers":"1","__css":"c99"},"children":[{"tag":"button","attrs":{"variant":"prominent","control-size":"large","label":"{{ dsx.action.save.pending ? 'Saving…' : 'Save' }}","disabled-if":"!dsx.variable.canSave","on:tap":"dsx.action.save()"},"children":[],"text":"","reactive":true},{"tag":"text","attrs":{"type":"footnote","value":"{{ dsx.variable.saveFooter }}","__css":"c100"},"children":[],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true}],"text":"\n    \n\n    \n\n    \n\n    \n\n    \n\n    \n\n    \n\n    \n\n    \n\n    \n  ","reactive":true},{"tag":"ExtensionInstallSheet","attrs":{"present":"{{ dsx.variable.installOpen }}","on:close":"dsx.variable.installOpen = false"},"children":[],"text":"","reactive":true}],"text":"\n  \n\n  \n  \n","reactive":true},"reactive":true,"language":"1"},"platform.StoreListing":{"name":"StoreListing","scheme":"platform","head":{"attributes":[{"as":"project-id","default":"''"},{"as":"platforms","default":"[]"},{"as":"tab","default":"'Text'"},{"as":"review","default":"false"},{"as":"app-name","default":"''"},{"as":"app-icon","default":"''"}],"apis":[],"expects":[],"events":[{"as":"closeReview","payload":[]},{"as":"languages","payload":[]},{"as":"agent","payload":["prompt"]}],"inputs":[],"tools":[],"variables":[{"as":"view","body":"return null","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"tag","body":"return ''","computed":false},{"as":"editing","body":"return null","computed":false},{"as":"draft","body":"return ''","computed":false},{"as":"saveError","body":"return ''","computed":false},{"as":"viewing","body":"return null","computed":false},{"as":"ordering","body":"return null","computed":false},{"as":"order","body":"return []","computed":false},{"as":"publishing","body":"return false","computed":false},{"as":"phoneTab","body":"return dsx.query.tab == 'Screenshots' ? 'Screenshots' : 'Text'","computed":false},{"as":"conflict","body":"return false","computed":false},{"as":"designing","body":"return false","computed":false},{"as":"design","body":"return null","computed":false},{"as":"designCls","body":"return ''","computed":false},{"as":"openedLink","body":"return ''","computed":false},{"as":"designSlide","body":"return ''","computed":false},{"as":"designLocale","body":"\n      const d = dsx.variable.design\n      if (d == null) { return '' }\n      return d.locales.some(l =&gt; l.tag == dsx.variable.tag) ? dsx.variable.tag : (d.locales.length &gt; 0 ? d.locales[0].tag : '')\n    ","computed":true},{"as":"designClsShown","body":"\n      const d = dsx.variable.design\n      if (dsx.variable.designCls != '') { return dsx.variable.designCls }\n      return d != null &amp;&amp; d.classes.length &gt; 0 ? d.classes[0].id : ''\n    ","computed":true},{"as":"designTiles","body":"\n      const d = dsx.variable.design\n      return d == null ? [] : ((d.tileSets[dsx.variable.designClsShown] || {})[dsx.variable.designLocale] || [])\n    ","computed":true},{"as":"designLine","body":"\n      const d = dsx.variable.design\n      if (d == null) { return '' }\n      if (d.render.state == 'rendering') { return 'Drawing your changes at every size and language: ' + d.render.done + ' of ' + d.render.total + '.' }\n      const review = dsx.variable.designTiles.filter(t =&gt; t.status == 'Needs Review' || t.status == 'Fix Needed').length\n      return (review == 0 ? 'Every screenshot is ready.' : (review == 1 ? 'One screenshot needs a look.' : review + ' screenshots need a look.')) + ' Tap one to change its headline, colours, screen or order.'\n    ","computed":true},{"as":"has","body":"return dsx.variable.view != null","computed":true},{"as":"lang","body":"\n      if (!dsx.variable.has) { return null }\n      const l = dsx.variable.view.languages.find(x =&gt; x.tag == dsx.variable.tag)\n      return l == null ? null : l\n    ","computed":true},{"as":"options","body":"return dsx.variable.has ? dsx.variable.view.languages : []","computed":true},{"as":"compact","body":"return dsx.screen.width &lt; 760","computed":true},{"as":"shown","body":"return dsx.variable.compact ? dsx.variable.phoneTab : dsx.attribute.tab","computed":true},{"as":"onText","body":"return dsx.variable.has &amp;&amp; dsx.variable.shown != 'Screenshots'","computed":true},{"as":"onShots","body":"return dsx.variable.has &amp;&amp; dsx.variable.shown == 'Screenshots'","computed":true},{"as":"groups","body":"return dsx.variable.has &amp;&amp; dsx.variable.view.textGroups[dsx.variable.tag] != null ? dsx.variable.view.textGroups[dsx.variable.tag] : []","computed":true},{"as":"shotGroups","body":"return dsx.variable.has &amp;&amp; dsx.variable.view.shots[dsx.variable.tag] != null ? dsx.variable.view.shots[dsx.variable.tag] : []","computed":true},{"as":"blockedStores","body":"return dsx.variable.has ? dsx.variable.view.stores.filter(s =&gt; s.state != 'connected') : []","computed":true},{"as":"fanoutNotice","body":"\n      const l = dsx.variable.lang\n      if (l == null || l.fanout.length == 0) { return null }\n      const f = l.fanout[0]\n      return { title: l.name + ' goes out as ' + f.codes.length + ' ' + f.store + ' languages', message: f.store + ' has no ' + l.name + ' listing. This text is published as ' + f.codes.join(' and ') + ', and stays one listing here.' }\n    ","computed":true},{"as":"missingNotice","body":"\n      const l = dsx.variable.lang\n      if (l == null || l.source || l.missing.length == 0) { return null }\n      const w = l.missing.length &lt;= 3 ? l.missing.join(', ') : l.missing.slice(0, 3).join(', ') + ' and ' + (l.missing.length - 3) + ' more'\n      return { title: l.name + ' has no ' + w + ' yet', message: 'Untranslated fields are never published: each store keeps what it shows in ' + l.name + ' now.' }\n    ","computed":true},{"as":"unsupportedNotice","body":"\n      const l = dsx.variable.lang\n      if (l == null || l.unsupported.length == 0) { return '' }\n      return l.unsupported.join(' and ') + ' has no ' + l.name + ' listing. Your app still speaks it; that store shows its default language.'\n    ","computed":true},{"as":"emptyNotice","body":"return dsx.variable.has &amp;&amp; !dsx.variable.view.present","computed":true},{"as":"draftLine","body":"\n      const r = dsx.variable.editing\n      if (r == null) { return '' }\n      const v = String(dsx.variable.draft)\n      const n = r.unit == 'bytes' ? new TextEncoder().encode(v).length : v.length\n      const limit = r.only == '' ? 'limit' : r.only + ' limit'\n      const count = r.max == null ? '' : (n &gt; r.max ? n + ' of ' + r.max + ', ' + (n - r.max) + ' over the ' + limit : n + ' of ' + r.max + (r.unit == 'bytes' ? ' bytes' : ''))\n      const on = r.stores.filter(s =&gt; s.connected &amp;&amp; s.known)\n      const same = on.filter(s =&gt; s.live == v).map(s =&gt; s.label)\n      const where = same.length == 0 ? '' : (same.length == on.length ? 'Same as what is live' : 'Same as ' + same.join(' and '))\n      return [count, where].filter(x =&gt; x != '').join(' · ')\n    ","computed":true},{"as":"liveRows","body":"\n      const r = dsx.variable.editing\n      if (r == null) { return [] }\n      const saved = dsx.variable.conflict ? [{ id: 'project', icon: 'doc.text', label: 'Saved in the project', live: r.value != '' ? r.value : 'Empty', use: r.value != dsx.variable.draft, raw: r.value, dir: r.dir }] : []\n      return saved.concat(r.stores.filter(s =&gt; s.connected).map(s =&gt; ({ id: s.id, icon: s.icon, label: s.label, live: s.known &amp;&amp; s.live != '' ? s.live : 'Nothing yet',\n        use: s.known &amp;&amp; s.live != '' &amp;&amp; s.live != dsx.variable.draft, raw: s.live, dir: /^[^A-Za-z]*[\\u0590-\\u08FF\\uFB1D-\\uFDFF\\uFE70-\\uFEFF]/.test(s.live) ? 'rtl' : 'ltr' })))\n    ","computed":true},{"as":"viewingFix","body":"return dsx.variable.viewing == null || dsx.variable.viewing.ok ? '' : dsx.variable.viewing.fix","computed":true},{"as":"draftDir","body":"\n      if (dsx.variable.editing == null) { return 'ltr' }\n      const m = String(dsx.variable.draft).match(/[A-Za-z\\u00C0-\\u024F\\u0370-\\u03FF\\u0400-\\u04FF\\u0590-\\u08FF\\uFB1D-\\uFDFF\\uFE70-\\uFEFF\\u3040-\\u30FF\\u4E00-\\u9FFF\\uAC00-\\uD7AF]/)\n      if (m == null) { return dsx.variable.editing.langDir }\n      return /[\\u0590-\\u08FF\\uFB1D-\\uFDFF\\uFE70-\\uFEFF]/.test(m[0]) ? 'rtl' : 'ltr'\n    ","computed":true},{"as":"draftChanged","body":"return dsx.variable.editing != null &amp;&amp; dsx.variable.draft != dsx.variable.editing.value","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      const r = await dsx.module.convertdata.storeListing({ id: dsx.attribute.projectId, platforms: dsx.attribute.platforms })\n      if (!r.ok) { dsx.variable.error = 'Despia did not answer. Check your connection and try again.'; return }\n      dsx.variable.error = ''\n      dsx.variable.view = r.data\n      dsx.variable.tag = r.data.tags.includes(dsx.variable.tag) ? dsx.variable.tag : r.data.defaultLocale\n    "},{"as":"edit","inputs":{"row":"dsx.this"},"body":"\n      dsx.variable.draft = row.value\n      dsx.variable.saveError = ''\n      dsx.variable.conflict = false\n      dsx.variable.editing = row\n    "},{"as":"useLive","inputs":{"live":"''"},"body":"dsx.variable.draft = live"},{"as":"newer","inputs":{},"body":"\n      const key = dsx.variable.editing.key\n      await dsx.action.load()\n      const t = dsx.variable.view == null ? null : dsx.variable.view.text[dsx.variable.tag]\n      const row = t == null ? null : t.find(x =&gt; x.key == key)\n      if (row == null) { dsx.variable.editing = null; return }\n      dsx.variable.editing = row\n      dsx.variable.conflict = true\n      dsx.variable.saveError = 'This listing changed while you were editing. The newer text is under Saved in the project; Save again to replace it with yours.'\n    "},{"as":"saveField","inputs":{},"body":"\n      const r = dsx.variable.editing\n      if (r == null || !dsx.variable.draftChanged) { dsx.variable.editing = null; return }\n      const out = await dsx.module.convertdata.storeListingSave({ id: dsx.attribute.projectId, tag: dsx.variable.tag,\n        rows: [{ key: r.key, value: dsx.variable.draft, saved: r.value, list: r.list }], revision: dsx.variable.view.revision })\n      if (!out.ok &amp;&amp; (out.error == 'revision_conflict' || out.error == 'precondition_required')) { await dsx.action.newer(); return }\n      if (!out.ok) { dsx.variable.saveError = out.message ? out.message : 'This could not be saved. Try again.'; return }\n      dsx.variable.conflict = false\n      dsx.variable.editing = null\n      await dsx.action.load()\n      dsx.module.toast.show({ title: 'Saved', message: 'Nothing reaches a store until you publish.' })\n    "},{"as":"reviewAsked","inputs":{},"body":"\n      if (dsx.attribute.review &amp;&amp; !dsx.variable.publishing) { dsx.variable.publishing = true }\n    "},{"as":"closePublish","inputs":{},"body":"\n      dsx.variable.publishing = false\n      dsx.event('closeReview')\n    "},{"as":"published","inputs":{},"body":"\n      dsx.variable.publishing = false\n      dsx.event('closeReview')\n      await dsx.action.load()\n    "},{"as":"connect","inputs":{"path":"dsx.this.connectPath"},"body":"dsx.module.route.push({ path: path })"},{"as":"addShots","inputs":{"cls":"dsx.this.id","full":"dsx.this.full"},"body":"\n      if (full) { return }\n      const r = await dsx.module.files.open({ types: ['image/png', 'image/jpeg'], multiple: true })\n      if (!r.ok || r.data.cancelled || r.data.items.length == 0) { return }\n      const files = []\n      for (const picked of r.data.items) {\n        const read = await dsx.module.files.read({ path: picked.path, encoding: 'base64' })\n        await dsx.module.files.delete({ path: picked.path })\n        if (!read.ok) { continue }\n        const lower = String(picked.name).toLowerCase()\n        files.push({ name: picked.name, base64: read.data.data, type: lower.endsWith('.png') ? 'image/png' : 'image/jpeg' })\n      }\n      if (files.length == 0) { dsx.module.toast.show({ title: 'Nothing added', message: 'Those files could not be read.' }); return }\n      const out = await dsx.module.convertdata.storeScreenshotAdd({ id: dsx.attribute.projectId, tag: dsx.variable.tag, deviceClass: cls, files: files })\n      if (!out.ok) { dsx.module.toast.show({ title: 'Not added', message: out.message ? out.message : 'Try again in a moment.' }); return }\n      await dsx.action.load()\n      dsx.module.toast.show({ title: out.data.added == 1 ? 'Screenshot added' : out.data.added + ' screenshots added', message: out.data.issues.length &gt; 0 ? out.data.issues[0] : 'Saved to the project.' })\n    "},{"as":"uploadOwn","inputs":{},"body":"\n      const g = dsx.variable.shotGroups.find(x =&gt; !x.full)\n      if (g == null) { dsx.module.toast.show({ title: 'Every set is full', message: 'Remove a screenshot to add your own.' }); return }\n      await dsx.action.addShots({ cls: g.id, full: false })\n    "},{"as":"view","inputs":{"file":"null","set":"''"},"body":"dsx.variable.viewing = { ...file, cls: set }"},{"as":"removeShot","inputs":{},"body":"\n      const f = dsx.variable.viewing\n      const r = await dsx.module.convertdata.storeScreenshotRemove({ id: dsx.attribute.projectId, tag: dsx.variable.tag, deviceClass: f.cls, file: f.name })\n      if (!r.ok) { dsx.module.toast.show({ title: 'Not removed', message: r.message ? r.message : 'Try again in a moment.' }); return }\n      dsx.variable.viewing = null\n      await dsx.action.load()\n    "},{"as":"startOrder","inputs":{"set":"dsx.this"},"body":"\n      dsx.variable.order = set.files.map(f =&gt; ({ id: f.id, name: f.name, url: f.url, sizeLine: f.sizeLine }))\n      dsx.variable.ordering = { id: set.id, header: set.header }\n    "},{"as":"saveOrder","inputs":{},"body":"\n      const r = await dsx.module.convertdata.storeScreenshotOrder({ id: dsx.attribute.projectId, tag: dsx.variable.tag, deviceClass: dsx.variable.ordering.id, files: dsx.variable.order.map(f =&gt; f.name), revision: dsx.variable.view.revision })\n      if (!r.ok &amp;&amp; r.error == 'revision_conflict') {\n        await dsx.action.load()\n        dsx.variable.ordering = null\n        dsx.module.toast.show({ title: 'The screenshots changed', message: 'This is the newer order. Reorder again if you still want to.' })\n        return\n      }\n      if (!r.ok) { dsx.module.toast.show({ title: 'Order not saved', message: r.message ? r.message : 'Try again in a moment.' }); return }\n      dsx.variable.ordering = null\n      await dsx.action.load()\n    "},{"as":"listingLink","inputs":{},"body":"\n      if (dsx.query.tab == 'Screenshots') { dsx.variable.phoneTab = 'Screenshots' }\n      await dsx.action.openLinkedSlide()\n    "},{"as":"openLinkedSlide","inputs":{},"body":"\n      const d = dsx.variable.design\n      const key = dsx.attribute.projectId + ':' + (dsx.query.slide || '')\n      if (d == null || !dsx.query.slide || dsx.variable.openedLink == key) { return }\n      if (!d.slides.some(s =&gt; s.id == dsx.query.slide &amp;&amp; !s.hidden)) { return }\n      dsx.variable.openedLink = key\n      await dsx.action.openSlide({ slide: String(dsx.query.slide) })\n    "},{"as":"loadDesign","inputs":{},"body":"\n      if (dsx.attribute.projectId == '') { return }\n      const r = await dsx.module.convertdata.screenshotDesign({ id: dsx.attribute.projectId })\n      dsx.variable.design = r.ok ? r.data.design : null\n      await dsx.action.openLinkedSlide()\n      if (r.ok &amp;&amp; r.data.design.render.state == 'rendering') { setTimeout(() =&gt; { dsx.action.loadDesign() }, 2500, 'store-design-render') }\n    "},{"as":"writeWithAgent","inputs":{},"body":"\n      const name = dsx.variable.lang == null ? '' : dsx.variable.lang.name\n      const all = dsx.variable.options.length &gt; 1\n      dsx.event('agent', { prompt: all ? 'Write my store listing for both stores, in every language my app has.' : 'Write my store listing for both stores' + (name != '' ? ', in ' + name : '') + '.' })\n    "},{"as":"shotsShown","inputs":{},"body":"\n      if (dsx.variable.onShots) { await dsx.action.loadDesign() }\n    "},{"as":"openSlide","inputs":{"slide":"dsx.this.slide"},"body":"\n      dsx.variable.designSlide = slide\n      dsx.variable.designing = true\n    "},{"as":"designSaved","inputs":{},"body":"\n      await dsx.action.loadDesign()\n      await dsx.action.load()\n    "}],"watches":[{"value":"[dsx.attribute.projectId, dsx.query.tab, dsx.query.slide]","handler":"dsx.action.listingLink()","immediate":true},{"value":"dsx.attribute.projectId","handler":"dsx.action.load()","immediate":true},{"value":"dsx.variable.onShots","handler":"dsx.action.shotsShown()","immediate":true},{"value":"dsx.attribute.review","handler":"dsx.action.reviewAsked()"}],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"store-listing"},"children":[{"tag":"ListGroup","attrs":{"visible-if":"dsx.action.load.pending && dsx.variable.view == null"},"children":[{"tag":"SettingsRow","attrs":{"icon":"clock","title":"Reading your listing and the stores"},"children":[],"text":"","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1},{"tag":"Callout","attrs":{"class":"page-notice","tone":"error","title":"The store listing did not load","message":"{{ dsx.variable.error }}","action":"Try Again","visible-if":"dsx.variable.error != '' && dsx.variable.view == null","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"Callout","attrs":{"class":"page-notice","repeat":"dsx.variable.blockedStores","key":"id","tone":"warning","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.state == 'not_connected' ? dsx.this.label + ' isn\\'t connected' : (dsx.this.state == 'app_missing' ? dsx.this.label + ' has no app for this app yet' : dsx.this.label + ' could not be read') }}","message":"{{ dsx.this.message }}","action":"{{ dsx.this.state == 'not_connected' ? 'Connect ' + dsx.this.label : 'Store Setup' }}","on:action":"dsx.action.connect()"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"Callout","attrs":{"class":"page-notice","tone":"info","icon":"text.badge.plus","title":"This app has no store listing yet","message":"Write it here, language by language. Nothing reaches a store until you review and publish it.","visible-if":"dsx.variable.emptyNotice"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"Callout","attrs":{"class":"page-notice","tone":"warning","icon":"globe","title":"{{ dsx.variable.fanoutNotice.title }}","message":"{{ dsx.variable.fanoutNotice.message }}","visible-if":"dsx.variable.fanoutNotice != null"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"Callout","attrs":{"class":"page-notice","tone":"info","icon":"character.bubble","title":"{{ dsx.variable.missingNotice.title }}","message":"{{ dsx.variable.missingNotice.message }}","visible-if":"dsx.variable.missingNotice != null"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"Callout","attrs":{"class":"page-notice","tone":"info","icon":"info.circle","title":"{{ dsx.variable.unsupportedNotice }}","visible-if":"dsx.variable.unsupportedNotice != ''"},"children":[],"text":"","reactive":true,"nid":8},{"tag":"stack","attrs":{"class":"store-listing-switch","visible-if":"dsx.variable.has && dsx.variable.compact"},"children":[{"tag":"segmented","attrs":{"bind":"dsx.variable.phoneTab","options":"Text,Screenshots","label":"Show"},"children":[],"text":"","reactive":true,"nid":10}],"text":"\n    \n  ","reactive":true,"nid":9},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.has","footer":"{{ dsx.variable.lang == null ? '' : dsx.variable.lang.codesLine }}"},"children":[{"tag":"SettingsRow","attrs":{"icon":"globe","title":"Language"},"children":[{"tag":"picker","attrs":{"aria-label":"Language","bind":"dsx.variable.tag","options-key":"dsx.variable.options","value-field":"tag","label-field":"menuTitle"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n      \n    ","reactive":true,"nid":12},{"tag":"SettingsRow","attrs":{"icon":"character.bubble","title":"Edit Languages","chevron":"true","tappable":"true","on:tap":"dsx.event('languages')"},"children":[],"text":"","reactive":true,"nid":14}],"text":"\n    \n    \n  ","reactive":true,"nid":11},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.onText","footer":"Agent reads your app and writes each field for every store and language. You see each change before it is saved as a draft."},"children":[{"tag":"SettingsRow","attrs":{"icon":"agent.mark","title":"Write with Agent","tone":"accent","tappable":"true","on:tap":"dsx.action.writeWithAgent()"},"children":[],"text":"","reactive":true,"nid":16}],"text":"\n    \n  ","reactive":true,"nid":15},{"tag":"ListGroup","attrs":{"repeat":"dsx.variable.groups","key":"id","visible-if":"dsx.variable.onText","header":"{{ dsx.this.header }}","footer":"{{ dsx.this.footer }}"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.rows","key":"key","class":"{{ dsx.this.dir == 'rtl' ? 'store-value-rtl' : '' }}","title":"{{ dsx.this.label }}","subtitle":"{{ dsx.this.preview }}","chevron":"true","tappable":"true","on:tap":"dsx.action.edit()"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.this.chip }}","role":"{{ dsx.this.role }}","visible-if":"dsx.this.chip != ''"},"children":[],"text":"","reactive":true,"nid":19}],"text":"\n      \n    ","reactive":true,"nid":18}],"text":"\n    \n  ","reactive":true,"nid":17},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.onShots && dsx.variable.design != null","header":"Designed screenshots","footer":"{{ dsx.variable.designLine }}"},"children":[{"tag":"SettingsRow","attrs":{"icon":"iphone","title":"Device","visible-if":"dsx.variable.design.classes.length > 1"},"children":[{"tag":"picker","attrs":{"aria-label":"Device","bind":"dsx.variable.designCls","options-key":"dsx.variable.design.classes","value-field":"id","label-field":"label"},"children":[],"text":"","reactive":true,"nid":22}],"text":"\n      \n    ","reactive":true,"nid":21},{"tag":"stack","attrs":{"class":"store-design-grid"},"children":[{"tag":"pressable","attrs":{"class":"store-design-tile","repeat":"dsx.variable.designTiles","key":"id","aria-label":"{{ dsx.this.label }}","on:tap":"dsx.action.openSlide({ slide: dsx.this.id })","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"store-design-image media-frame","src":"{{ dsx.this.url }}","aria-hidden":"true","__css":"c44"},"children":[],"text":"","reactive":true,"nid":25},{"tag":"chip","attrs":{"label":"{{ dsx.this.status }}","role":"{{ dsx.this.role }}"},"children":[],"text":"","reactive":true,"nid":26}],"text":"\n        \n        \n      ","reactive":true,"nid":24}],"text":"\n      \n    ","reactive":true,"nid":23}],"text":"\n    \n    \n  ","reactive":true,"nid":20},{"tag":"StoreScreenshotsCard","attrs":{"visible-if":"dsx.variable.onShots","project-id":"{{ dsx.attribute.projectId }}","retake":"true","upload-here":"true","on:changed":"dsx.action.designSaved()","on:upload":"dsx.action.uploadOwn()"},"children":[],"text":"","reactive":true,"nid":27},{"tag":"ListGroup","attrs":{"repeat":"dsx.variable.shotGroups","key":"key","visible-if":"dsx.variable.onShots","header":"{{ dsx.this.header }}","footer":"{{ dsx.this.footer }}"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.files","key":"id","title":"{{ dsx.this.position }}. {{ dsx.this.name }}","subtitle":"{{ dsx.this.ok ? dsx.this.sizeLine : dsx.this.issue }}","chevron":"true","tappable":"true","on:tap":"dsx.action.view({ file: dsx.this, set: dsx.this.parent.id })"},"children":[{"tag":"image","attrs":{"slot":"leading","src":"{{ dsx.this.url }}","aria-label":"{{ dsx.this.name }}","class":"store-shot-thumb media-frame"},"children":[],"text":"","reactive":true,"nid":30},{"tag":"chip","attrs":{"label":"Wrong size","role":"danger","visible-if":"!dsx.this.ok"},"children":[],"text":"","reactive":true,"nid":31}],"text":"\n      \n      \n    ","reactive":true,"nid":29},{"tag":"SettingsRow","attrs":{"icon":"photo.on.rectangle","title":"No screenshots for this device yet","subtitle":"{{ dsx.this.sizeLine }}","visible-if":"dsx.this.count == 0"},"children":[],"text":"","reactive":true,"nid":32},{"tag":"SettingsRow","attrs":{"icon":"{{ dsx.this.store == 'ios' ? 'appstore.logo' : 'google.play.logo' }}","title":"{{ dsx.this.liveLine }}","visible-if":"dsx.this.liveLine != ''"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.this.liveSame ? 'Live' : 'Changed' }}","role":"{{ dsx.this.liveSame ? 'success' : 'neutral' }}"},"children":[],"text":"","reactive":true,"nid":34}],"text":"\n      \n    ","reactive":true,"nid":33},{"tag":"SettingsRow","attrs":{"icon":"plus","title":"Add Screenshots","tone":"accent","tappable":"{{ dsx.this.full || dsx.action.addShots.pending ? 'false' : 'true' }}","on:tap":"dsx.action.addShots()"},"children":[],"text":"","reactive":true,"nid":35},{"tag":"SettingsRow","attrs":{"icon":"arrow.up.arrow.down","title":"Reorder","chevron":"true","tappable":"true","visible-if":"dsx.this.count > 1","on:tap":"dsx.action.startOrder()"},"children":[],"text":"","reactive":true,"nid":36}],"text":"\n    \n    \n    \n    \n    \n  ","reactive":true,"nid":28},{"tag":"sheet","attrs":{"detents":"content","present":"dsx.variable.editing != null","title":"{{ dsx.variable.editing == null ? '' : dsx.variable.editing.label }}","subtitle":"{{ dsx.variable.lang == null ? '' : dsx.variable.lang.name }}","action":"Save","action-disabled":"{{ !dsx.variable.draftChanged || dsx.action.saveField.pending }}","on:action":"dsx.action.saveField()","on:dismiss":"dsx.variable.editing = null"},"children":[{"tag":"ListGroup","attrs":{"footer":"{{ dsx.variable.saveError != '' ? dsx.variable.saveError : dsx.variable.draftLine }}"},"children":[{"tag":"SettingsRow","attrs":{"visible-if":"dsx.variable.editing != null && !dsx.variable.editing.multiline"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.draft","placeholder":"{{ dsx.variable.editing.placeholder }}","aria-label":"{{ dsx.variable.editing.label }}","keyboard":"{{ dsx.variable.editing.keyboard == 'url' ? 'url' : 'default' }}","class":"{{ dsx.variable.draftDir == 'rtl' ? 'store-field-rtl' : '' }}"},"children":[],"text":"","reactive":true,"nid":40}],"text":"\n        \n      ","reactive":true,"nid":39},{"tag":"textarea","attrs":{"visible-if":"dsx.variable.editing != null && dsx.variable.editing.multiline","bind":"dsx.variable.draft","placeholder":"{{ dsx.variable.editing.placeholder }}","aria-label":"{{ dsx.variable.editing.label }}","min-lines":"6","max-lines":"16","class":"{{ dsx.variable.draftDir == 'rtl' ? 'store-field-area store-field-rtl' : 'store-field-area' }}"},"children":[],"text":"","reactive":true,"nid":41}],"text":"\n      \n      \n    ","reactive":true,"nid":38},{"tag":"ListGroup","attrs":{"header":"{{ dsx.variable.conflict ? 'Newer and live' : 'Live now' }}","footer":"Saved into the project. Nothing reaches a store until you publish.","visible-if":"dsx.variable.liveRows.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.liveRows","key":"id","class":"{{ dsx.this.dir == 'rtl' ? 'store-value-rtl' : '' }}","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.label }}","subtitle":"{{ dsx.this.live }}"},"children":[{"tag":"button","attrs":{"variant":"bordered","label":"{{ dsx.this.use ? 'Use This' : '' }}","visible-if":"dsx.this.use","on:tap":"dsx.action.useLive({ live: dsx.this.raw })"},"children":[],"text":"","reactive":true,"nid":44}],"text":"","reactive":true,"nid":43}],"text":"\n      \n    ","reactive":true,"nid":42}],"text":"\n    \n    \n  ","reactive":true,"nid":37},{"tag":"sheet","attrs":{"detents":"content","present":"dsx.variable.viewing != null","title":"{{ dsx.variable.viewing == null ? '' : dsx.variable.viewing.name }}","on:dismiss":"dsx.variable.viewing = null"},"children":[{"tag":"ListGroup","attrs":{"footer":"{{ dsx.variable.viewingFix }}"},"children":[{"tag":"image","attrs":{"src":"{{ dsx.variable.viewing.url }}","aria-label":"{{ dsx.variable.viewing.name }}","class":"store-shot-preview media-frame"},"children":[],"text":"","reactive":true,"nid":47},{"tag":"SettingsRow","attrs":{"title":"Position {{ dsx.variable.viewing.position }}","subtitle":"{{ dsx.variable.viewing.ok ? dsx.variable.viewing.sizeLine : dsx.variable.viewing.issue }}"},"children":[],"text":"","reactive":true,"nid":48}],"text":"\n      \n      \n    ","reactive":true,"nid":46},{"tag":"ListGroup","attrs":{},"children":[{"tag":"SettingsRow","attrs":{"icon":"trash","title":"Remove Screenshot","tone":"destructive","tappable":"true","on:tap":"dsx.action.removeShot()"},"children":[],"text":"","reactive":true,"nid":50}],"text":"\n      \n    ","reactive":true,"nid":49}],"text":"\n    \n    \n  ","reactive":true,"nid":45},{"tag":"sheet","attrs":{"detents":"large","present":"dsx.variable.ordering != null","title":"Reorder Screenshots","subtitle":"{{ dsx.variable.ordering == null ? '' : dsx.variable.ordering.header }}","close":"leading","action":"Save Order","on:action":"dsx.action.saveOrder()","on:dismiss":"dsx.variable.ordering = null"},"children":[{"tag":"list","attrs":{"bind":"dsx.variable.order","key":"id","reorder":"true"},"children":[{"tag":"pressable","attrs":{"role":"group"},"children":[{"tag":"SettingsRow","attrs":{"title":"{{ dsx.this.index + 1 }}. {{ dsx.this.name }}","subtitle":"{{ dsx.this.sizeLine }}"},"children":[{"tag":"image","attrs":{"slot":"leading","src":"{{ dsx.this.url }}","aria-label":"{{ dsx.this.name }}","class":"store-shot-thumb media-frame"},"children":[],"text":"","reactive":true,"nid":55}],"text":"\n          \n        ","reactive":true,"nid":54}],"text":"\n        \n      ","reactive":true,"nid":53}],"text":"\n      \n    ","reactive":true,"nid":52}],"text":"\n    \n  ","reactive":true,"nid":51},{"tag":"ScreenshotEditor","attrs":{"present":"{{ dsx.variable.designing }}","project-id":"{{ dsx.attribute.projectId }}","slide":"{{ dsx.variable.designSlide }}","cls":"{{ dsx.variable.designClsShown }}","locale":"{{ dsx.variable.designLocale != '' ? dsx.variable.designLocale : dsx.variable.tag }}","on:close":"dsx.variable.designing = false","on:saved":"dsx.action.designSaved()"},"children":[],"text":"","reactive":true,"nid":56},{"tag":"StoreListingPublish","attrs":{"present":"{{ dsx.variable.publishing }}","project-id":"{{ dsx.attribute.projectId }}","app-name":"{{ dsx.attribute.appName }}","app-icon":"{{ dsx.attribute.appIcon }}","stores":"{{ dsx.variable.has ? dsx.variable.view.stores : [] }}","on:close":"dsx.action.closePublish()","on:published":"dsx.action.published()"},"children":[],"text":"","reactive":true,"nid":57}],"text":"\n  \n\n  \n  \n  \n\n  \n  \n  \n  \n  \n  \n\n  \n\n  \n  \n\n  \n  \n\n  \n  \n\n  \n  \n  \n  \n\n  \n  \n\n  \n  \n\n  \n  \n\n  \n  \n\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.StoreListingPublish":{"name":"StoreListingPublish","scheme":"platform","head":{"attributes":[{"as":"present","default":"false"},{"as":"project-id","default":"''"},{"as":"app-name","default":"''"},{"as":"app-icon","default":"''"},{"as":"stores","default":"[]"}],"apis":[],"expects":[],"events":[{"as":"close","payload":[]},{"as":"published","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"plan","body":"return null","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"phase","body":"return 'confirm'","computed":false},{"as":"result","body":"return null","computed":false},{"as":"applyError","body":"return ''","computed":false},{"as":"choices","body":"return []","computed":false},{"as":"pick","body":"return ''","computed":false},{"as":"has","body":"return dsx.variable.plan != null","computed":true},{"as":"target","body":"\n      const c = dsx.variable.choices.find(x =&gt; x.label == dsx.variable.pick)\n      return c == null ? 'all' : c.id\n    ","computed":true},{"as":"pickOptions","body":"return dsx.variable.choices.length &lt; 2 ? '' : dsx.variable.choices.map(c =&gt; c.label).join(',')","computed":true},{"as":"showPick","body":"return dsx.variable.choices.length &gt; 2 &amp;&amp; dsx.variable.phase == 'confirm'","computed":true},{"as":"storeGroups","body":"return dsx.variable.has ? dsx.variable.plan.stores : []","computed":true},{"as":"blocked","body":"return dsx.variable.has &amp;&amp; !dsx.variable.plan.ok","computed":true},{"as":"apps","body":"\n      if (!dsx.variable.has) { return [] }\n      return dsx.variable.plan.stores.filter(s =&gt; s.connected &amp;&amp; s.rows.length &gt; 0).map(s =&gt; ({ id: dsx.attribute.projectId + ':' + s.id, name: dsx.attribute.appName,\n        platform: s.id, appId: s.label, iconUrl: dsx.attribute.appIcon }))\n    ","computed":true},{"as":"confirmLabel","body":"\n      return dsx.variable.blocked ? 'Fix Problems' : 'Publish'\n    ","computed":true},{"as":"steps","body":"\n      if (dsx.variable.result != null) { return dsx.variable.result.steps }\n      if (!dsx.variable.has) { return [] }\n      return [{ id: 'check', status: 'done', title: 'The plan matches your project and the stores' }].concat(dsx.variable.plan.stores.filter(s =&gt; s.rows.length &gt; 0)\n        .map(s =&gt; ({ id: 'run:' + s.id, status: 'running', title: 'Publishing to ' + s.label, subtitle: s.rows.length == 1 ? '1 change' : s.rows.length + ' changes' })))\n    ","computed":true},{"as":"shownPhase","body":"return dsx.action.publish.pending ? 'running' : dsx.variable.phase","computed":true},{"as":"sheetTitle","body":"return dsx.variable.phase == 'done' ? (dsx.variable.result == null ? 'Done' : dsx.variable.result.doneTitle) : 'Publish Listing'","computed":true}],"formulas":[],"actions":[{"as":"open","inputs":{},"body":"\n      if (!dsx.attribute.present) { return }\n      await dsx.action.makePlan()\n    "},{"as":"reset","inputs":{},"body":"\n      dsx.variable.plan = null\n      dsx.variable.choices = []\n      dsx.variable.pick = ''\n      dsx.variable.phase = 'confirm'\n      dsx.variable.result = null\n      dsx.variable.applyError = ''\n      dsx.variable.error = ''\n    "},{"as":"makePlan","inputs":{},"body":"\n      if (!dsx.attribute.present) { return }\n      const r = await dsx.module.convertdata.storeListingPlan({ id: dsx.attribute.projectId, store: dsx.variable.target, scope: 'all' })\n      if (!r.ok) { dsx.variable.error = r.message ? r.message : 'The plan could not be made. Try again in a moment.'; return }\n      dsx.variable.error = ''\n      if (dsx.variable.choices.length == 0) {\n        const live = r.data.stores.filter(x =&gt; x.connected)\n        const changed = live.filter(x =&gt; x.rows.length &gt; 0)\n        dsx.variable.choices = live.length &lt; 2 ? [] : [{ id: 'all', label: 'Both' }].concat(live.map(x =&gt; ({ id: x.id, label: x.label })))\n        //  first choice: the one store that has changes, else both; a single-store pick is planned again for that store alone\n        if (live.length &gt;= 2 &amp;&amp; changed.length == 1) { dsx.variable.pick = changed[0].label; return }\n        dsx.variable.pick = live.length &gt;= 2 ? 'Both' : ''\n      }\n      dsx.variable.plan = r.data\n    "},{"as":"publish","inputs":{},"body":"\n      if (!dsx.variable.has || dsx.variable.blocked || dsx.variable.plan.nothing) { return }\n      const r = await dsx.module.convertdata.storeListingApply({ id: dsx.attribute.projectId, planId: dsx.variable.plan.planId, store: dsx.variable.target, scope: 'all', dryRun: false })\n      if (!r.ok) {\n        if (r.error == 'plan_stale') {\n          await dsx.action.makePlan()\n          dsx.variable.applyError = 'The project or a store changed since this plan was made. This is the plan now: review it again.'\n          return\n        }\n        dsx.variable.applyError = r.message ? r.message : 'The stores could not be reached. Nothing was changed.'\n        return\n      }\n      dsx.variable.applyError = ''\n      dsx.variable.result = r.data\n      dsx.variable.phase = r.data.failed ? 'failed' : 'done'\n    "},{"as":"finish","inputs":{},"body":"\n      const done = dsx.variable.phase == 'done'\n      dsx.action.reset()\n      if (done) { dsx.event('published'); return }\n      dsx.event('close')\n    "},{"as":"cancel","inputs":{},"body":"\n      dsx.action.reset()\n      dsx.event('close')\n    "},{"as":"connect","inputs":{"path":"''"},"body":"\n      dsx.action.reset()\n      dsx.event('close')\n      dsx.module.route.push({ path: path })\n    "}],"watches":[{"value":"dsx.attribute.present","handler":"dsx.action.open()","immediate":true},{"value":"dsx.variable.target","handler":"dsx.action.makePlan()"}],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"sheet","attrs":{"detents":"large","present":"dsx.attribute.present","title":"{{ dsx.variable.sheetTitle }}","close":"leading","on:dismiss":"dsx.action.finish()"},"children":[{"tag":"stack","attrs":{"class":"store-publish-content"},"children":[{"tag":"ListGroup","attrs":{"visible-if":"!dsx.variable.has && dsx.variable.error == ''","aria-busy":"true","aria-label":"Comparing your listing with the stores"},"children":[{"tag":"SettingsRow","attrs":{"status":"running","title":"Comparing your listing with the stores"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"stack","attrs":{"repeat":"[1, 2, 3, 4, 5, 6]","key":"index","class":"store-publish-skeleton-row"},"children":[{"tag":"stack","attrs":{"class":"store-publish-skeleton-line"},"children":[],"text":"","reactive":false,"nid":6},{"tag":"stack","attrs":{"class":"store-publish-skeleton-detail"},"children":[],"text":"","reactive":false,"nid":7}],"text":"\n        \n        \n      ","reactive":true,"nid":5}],"text":"\n      \n      \n    ","reactive":true,"nid":3},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.error != '' && !dsx.variable.has"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.error }}"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"SettingsRow","attrs":{"icon":"arrow.clockwise","title":"Try Again","tone":"accent","tappable":"true","on:tap":"dsx.action.makePlan()"},"children":[],"text":"","reactive":true,"nid":10}],"text":"\n      \n      \n    ","reactive":true,"nid":8},{"tag":"ListGroup","attrs":{"footer":"Only the stores picked here change.","visible-if":"dsx.variable.showPick"},"children":[{"tag":"segmented","attrs":{"bind":"dsx.variable.pick","options":"{{ dsx.variable.pickOptions }}","label":"Publish To"},"children":[],"text":"","reactive":true,"nid":12}],"text":"\n      \n    ","reactive":true,"nid":11},{"tag":"stack","attrs":{"class":"store-publish","visible-if":"dsx.variable.has && dsx.variable.shownPhase == 'confirm'"},"children":[{"tag":"ListGroup","attrs":{"header":"{{ dsx.variable.plan.title }}"},"children":[{"tag":"SettingsRow","attrs":{"title":"{{ dsx.variable.plan.summary }}"},"children":[],"text":"","reactive":true,"nid":15}],"text":"\n        \n      ","reactive":true,"nid":14},{"tag":"ListGroup","attrs":{"header":"Fix before publishing","visible-if":"dsx.variable.plan.errors.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.plan.errors","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}"},"children":[],"text":"","reactive":true,"nid":17}],"text":"\n        \n      ","reactive":true,"nid":16},{"tag":"ListGroup","attrs":{"repeat":"dsx.variable.storeGroups","key":"id","header":"{{ dsx.this.header }}","footer":"{{ dsx.this.footer }}"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.this.rows","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.this.chip }}","role":"{{ dsx.this.role }}"},"children":[],"text":"","reactive":true,"nid":20}],"text":"\n          \n        ","reactive":true,"nid":19},{"tag":"SettingsRow","attrs":{"icon":"checkmark.circle","title":"Matches what is live","visible-if":"dsx.this.connected && dsx.this.rows.length == 0"},"children":[],"text":"","reactive":true,"nid":21},{"tag":"SettingsRow","attrs":{"icon":"{{ dsx.this.icon }}","title":"Connect {{ dsx.this.label }}","tone":"accent","tappable":"true","visible-if":"!dsx.this.connected","on:tap":"dsx.action.connect({ path: '/apps/' + dsx.attribute.projectId + '/store-setup' })"},"children":[],"text":"","reactive":true,"nid":22}],"text":"\n        \n        \n        \n      ","reactive":true,"nid":18},{"tag":"ListGroup","attrs":{"header":"Good to know","visible-if":"dsx.variable.plan.warnings.length > 0 || dsx.variable.plan.missing.length > 0"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.plan.warnings","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}"},"children":[],"text":"","reactive":true,"nid":24},{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.plan.missing","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.subtitle }}"},"children":[],"text":"","reactive":true,"nid":25}],"text":"\n        \n        \n      ","reactive":true,"nid":23},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.applyError != ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"info.circle","title":"{{ dsx.variable.applyError }}"},"children":[],"text":"","reactive":true,"nid":27}],"text":"\n        \n      ","reactive":true,"nid":26}],"text":"\n      \n\n      \n      \n\n      \n      \n\n      \n\n      \n    ","reactive":true,"nid":13},{"tag":"AffectedApps","attrs":{"visible-if":"dsx.variable.has && (dsx.variable.shownPhase != 'confirm' || !dsx.variable.plan.nothing)","phase":"{{ dsx.variable.shownPhase }}","title":"","change":"","apps":"{{ dsx.variable.apps }}","steps":"{{ dsx.variable.steps }}","confirm-label":"{{ dsx.variable.confirmLabel }}","busy":"{{ dsx.variable.blocked }}","summary":"Only the fields and screenshots above change. Nothing is removed from a language you did not change.","done-title":"{{ dsx.variable.result == null ? 'Done' : dsx.variable.result.doneTitle }}","done-line":"{{ dsx.variable.result == null ? '' : dsx.variable.result.doneLine }}","done-apps-header":"Updated","on:confirm":"dsx.action.publish()","on:cancel":"dsx.action.cancel()","on:close":"dsx.action.finish()"},"children":[],"text":"","reactive":true,"nid":28},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.has && dsx.variable.shownPhase == 'confirm' && dsx.variable.plan.nothing"},"children":[{"tag":"SettingsRow","attrs":{"icon":"checkmark.circle.fill","title":"Everything matches what is live","tone":"success"},"children":[],"text":"","reactive":true,"nid":30},{"tag":"SettingsRow","attrs":{"icon":"xmark","title":"Close","tappable":"true","on:tap":"dsx.action.cancel()"},"children":[],"text":"","reactive":true,"nid":31}],"text":"\n      \n      \n    ","reactive":true,"nid":29}],"text":"\n    \n    \n\n    \n\n    \n\n    \n    \n    \n    ","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1}],"text":"\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.StoreScreenshotSetCard":{"name":"StoreScreenshotSetCard","scheme":"platform","head":{"attributes":[{"as":"project-id","default":"''"},{"as":"title","default":"'Store Screenshots'"},{"as":"cls","default":"''"},{"as":"locale","default":"''"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"tiles","body":"return []","computed":false},{"as":"loaded","body":"return false","computed":false},{"as":"problem","body":"return ''","computed":false},{"as":"summary","body":"\n      if (!dsx.variable.loaded) { return 'Reading your screenshots.' }\n      if (dsx.variable.tiles.length == 0) { return 'No designed screenshots yet.' }\n      const count = dsx.variable.tiles.filter(t =&gt; t.status == 'Needs Review' || t.status == 'Fix Needed').length\n      return count == 0 ? 'Every screenshot is ready.' : (count == 1 ? 'One screenshot needs a look.' : count + ' screenshots need a look.')\n    ","computed":true},{"as":"path","body":"return '/apps/' + dsx.attribute.projectId + '/store-listing?tab=Screenshots'","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      if (dsx.attribute.projectId == '') { return }\n      const r = await dsx.module.convertdata.screenshotDesign({ id: dsx.attribute.projectId })\n      if (!r.ok) { dsx.variable.problem = r.message || 'Could not read your screenshots. Try again.'; return }\n      const d = r.data.design\n      const listing = await dsx.module.convertdata.storeListing({ id: dsx.attribute.projectId })\n      const cls = dsx.attribute.cls || (d.classes.length &gt; 0 ? d.classes[0].id : '')\n      const requested = dsx.attribute.locale || (listing.ok ? listing.data.defaultLocale : '')\n      const locale = d.locales.some(l =&gt; l.tag == requested) ? requested : (d.locales.length &gt; 0 ? d.locales[0].tag : '')\n      dsx.variable.tiles = (d.tileSets[cls] || {})[locale] || []\n      dsx.variable.problem = ''\n      dsx.variable.loaded = true\n      if (d.render.state == 'rendering') { setTimeout(() =&gt; { dsx.action.load() }, 2500, 'store-set-render') }\n    "},{"as":"open","inputs":{},"body":"dsx.module.route.push({ path: dsx.variable.path })"},{"as":"edit","inputs":{},"body":"\n      if (dsx.variable.tiles.length == 0) { return }\n      dsx.module.route.push({ path: dsx.variable.path + '&slide=' + encodeURIComponent(dsx.variable.tiles[0].id) })\n    "}],"watches":[{"value":"[dsx.attribute.projectId, dsx.attribute.cls, dsx.attribute.locale]","handler":"dsx.action.load()"}],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"on:appear":"dsx.action.load()"},"children":[{"tag":"AgentCard","attrs":{"title":"{{ dsx.attribute.title }}","body":"{{ dsx.variable.summary }}","primary":"Open Screenshots","secondary":"{{ dsx.variable.tiles.length > 0 ? 'Edit Slide' : '' }}","on:primary":"dsx.action.open()","on:secondary":"dsx.action.edit()"},"children":[{"tag":"stack","attrs":{"class":"store-set-grid","visible-if":"dsx.variable.tiles.length > 0"},"children":[{"tag":"stack","attrs":{"class":"store-set-tile","repeat":"dsx.variable.tiles","key":"id","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"store-set-image","src":"{{ dsx.this.url }}","aria-label":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"chip","attrs":{"label":"{{ dsx.this.status }}","role":"{{ dsx.this.role }}"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n        \n        \n      ","reactive":true,"nid":3}],"text":"\n      \n    ","reactive":true,"nid":2},{"tag":"Callout","attrs":{"tone":"warning","title":"Screenshots unavailable","message":"{{ dsx.variable.problem }}","visible-if":"dsx.variable.problem != ''"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"button","attrs":{"label":"Try Again","visible-if":"dsx.variable.problem != ''","on:tap":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":1}],"text":"\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.StoreScreenshotsCard":{"name":"StoreScreenshotsCard","scheme":"platform","head":{"attributes":[{"as":"project-id","default":"''"},{"as":"refresh","default":"0"},{"as":"retake","default":"false"},{"as":"upload-here","default":"false"}],"apis":[],"expects":[],"events":[{"as":"changed","payload":[]},{"as":"upload","payload":[]},{"as":"demoCheck","payload":["state"]},{"as":"status","payload":["state"]}],"inputs":[],"tools":[],"variables":[{"as":"plan","body":"return null","computed":false},{"as":"run","body":"return null","computed":false},{"as":"problem","body":"return ''","computed":false},{"as":"asking","body":"return ''","computed":false},{"as":"design","body":"return null","computed":false},{"as":"loaded","body":"return dsx.variable.plan != null","computed":true},{"as":"active","body":"return dsx.variable.run != null &amp;&amp; dsx.variable.run.active","computed":true},{"as":"ready","body":"return dsx.variable.run != null &amp;&amp; dsx.variable.run.ready &amp;&amp; dsx.variable.run.count &gt; 0","computed":true},{"as":"refused","body":"return dsx.variable.loaded &amp;&amp; dsx.variable.plan.refusal != '' &amp;&amp; !dsx.variable.active","computed":true},{"as":"body","body":"\n      if (dsx.variable.active) { return 'Despia is taking your screenshots on a Mac in its fleet. You can leave this page.' }\n      if (dsx.variable.ready) { return dsx.variable.run.count + ' screenshots are ready for your store listing.' }\n      return 'Captures your app and designs every store screenshot for you.'\n    ","computed":true},{"as":"primary","body":"\n      if (!dsx.variable.loaded || dsx.variable.active) { return '' }\n      //  short labels under the Screenshot Agent title, so Upload Your Own fits beside them on a phone-width card\n      return dsx.variable.again ? 'Regenerate' : 'Generate'\n    ","computed":true},{"as":"again","body":"return dsx.attribute.retake === true || dsx.attribute.retake === 'true' || (dsx.variable.run != null &amp;&amp; dsx.variable.run.ready)","computed":true},{"as":"canUpload","body":"\n      if (dsx.attribute.uploadHere === true || dsx.attribute.uploadHere === 'true') { return true }\n      const r = dsx.module.convertdata.context.rollout\n      return r == null || r.gated == null || (!r.gated.includes('/apps/:id/store-listing') &amp;&amp; !r.gated.includes('/convert/:id/store-listing'))\n    ","computed":true},{"as":"secondary","body":"\n      if (dsx.variable.active) { return 'Stop' }\n      return dsx.variable.loaded &amp;&amp; dsx.variable.canUpload ? 'Upload' : ''\n    ","computed":true},{"as":"facts","body":"\n      const p = dsx.variable.plan\n      if (p == null || dsx.variable.active) { return '' }\n      return [p.devices, p.languages, dsx.variable.refused ? '' : p.price].filter(w =&gt; w != null &amp;&amp; w != '').join(' · ')\n    ","computed":true},{"as":"preview","body":"\n      if (!dsx.variable.ready) { return [] }\n      const shot = dsx.variable.run.shots[0]\n      const d = dsx.variable.design\n      if (d != null &amp;&amp; d.classes.length &gt; 0 &amp;&amp; d.locales.length &gt; 0) {\n        const cls = d.classes[0].id, loc = d.locales[0].tag\n        const drawn = d.slides.filter(x =&gt; !x.hidden &amp;&amp; x.files[cls] != null &amp;&amp; x.files[cls][loc] != null &amp;&amp; x.files[cls][loc].url != '')\n          .map(x =&gt; ({ id: x.id, url: x.files[cls][loc].url, label: 'Screenshot ' + x.position, width: shot == null ? 1320 : shot.width, height: shot == null ? 2868 : shot.height }))\n        if (drawn.length &gt; 0) { return drawn.slice(0, 4) }\n      }\n      return dsx.variable.run.shots.slice(0, 4)\n    ","computed":true},{"as":"statusWord","body":"return !dsx.variable.loaded ? '' : (dsx.variable.ready ? 'done' : (dsx.variable.active ? 'running' : 'open'))","computed":true},{"as":"demoCheck","body":"return dsx.variable.run == null ? '' : dsx.variable.run.demoCheck","computed":true},{"as":"working","body":"return dsx.action.start.pending || dsx.action.stop.pending","computed":true},{"as":"confirmMessage","body":"\n      const p = dsx.variable.plan\n      if (p == null) { return '' }\n      return p.priceLine + (p.demoSet ? ' Despia signs in with your demo account.' : ' No demo account is set, so Despia captures what your app shows before sign-in.')\n    ","computed":true},{"as":"startButtons","body":"return [{ title: dsx.variable.again ? 'Retake Screenshots' : 'Make Screenshots', action: 'convertdata.confirm', args: { ask: 'store-shots-start' } }, { title: 'Cancel', role: 'cancel' }]","computed":true},{"as":"stopButtons","body":"return [{ title: 'Stop', role: 'destructive', action: 'convertdata.confirm', args: { ask: 'store-shots-stop' } }, { title: 'Keep Going', role: 'cancel' }]","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      const id = dsx.attribute.projectId\n      if (id == '') { return }\n      const r = await dsx.module.convertdata.screenshotsPlan({ id: id })\n      dsx.variable.problem = r.ok ? '' : 'Despia did not answer. Check your connection and try again.'\n      if (!r.ok) { dsx.variable.problem = 'Despia did not answer. Check your connection and try again.'; return }\n      dsx.variable.plan = r.data\n      if (r.data.latest != null &amp;&amp; r.data.latest.id != '') { await dsx.action.follow({ runId: r.data.latest.id }) } else { dsx.variable.run = null }\n    "},{"as":"follow","inputs":{"runId":"''"},"body":"\n      const r = await dsx.module.convertdata.screenshotsRun({ id: dsx.attribute.projectId, run: runId })\n      if (!r.ok) { dsx.variable.problem = 'Despia did not answer. Check your connection and try again.'; return }\n      dsx.variable.run = r.data\n      if (r.data.active) { setInterval(() =&gt; { dsx.action.tick() }, 3000, 'store-shots-live') }\n      if (r.data.ready) { await dsx.action.loadDesign() }\n    "},{"as":"loadDesign","inputs":{},"body":"\n      const r = await dsx.module.convertdata.screenshotDesign({ id: dsx.attribute.projectId })\n      dsx.variable.design = r.ok ? r.data.design : null\n    "},{"as":"tick","inputs":{},"body":"\n      const run = dsx.variable.run\n      if (run == null || !run.active) { clearInterval('store-shots-live'); return }\n      const r = await dsx.module.convertdata.screenshotsRun({ id: dsx.attribute.projectId, run: run.id })\n      if (!r.ok) { return }\n      dsx.variable.run = r.data\n      if (r.data.active) { return }\n      clearInterval('store-shots-live')\n      if (r.data.ready) { await dsx.action.loadDesign() }\n      const p = await dsx.module.convertdata.screenshotsPlan({ id: dsx.attribute.projectId })\n      if (p.ok) { dsx.variable.plan = p.data }\n      dsx.event('changed', { state: r.data.state })\n    "},{"as":"start","inputs":{},"body":"\n      const r = await dsx.module.convertdata.screenshotsStart({ id: dsx.attribute.projectId })\n      dsx.variable.asking = ''\n      if (!r.ok) { dsx.variable.problem = messageOf(r); return }\n      dsx.variable.problem = ''\n      await dsx.action.follow({ runId: r.data.runId })\n      dsx.event('changed', { state: r.data.state })\n    "},{"as":"stop","inputs":{},"body":"\n      const run = dsx.variable.run\n      dsx.variable.asking = ''\n      if (run == null) { return }\n      clearInterval('store-shots-live')\n      const r = await dsx.module.convertdata.screenshotsCancel({ id: dsx.attribute.projectId, run: run.id })\n      if (!r.ok) { dsx.variable.problem = messageOf(r); return }\n      dsx.variable.problem = ''\n      await dsx.action.load()\n      dsx.event('changed', { state: r.data.state })\n    "},{"as":"primaryTap","inputs":{},"body":"\n      if (dsx.variable.plan == null || !dsx.variable.plan.allowed) { return }\n      dsx.variable.asking = 'start'\n    "},{"as":"secondaryTap","inputs":{},"body":"\n      if (dsx.variable.active) { dsx.variable.asking = 'stop'; return }\n      if (!dsx.variable.canUpload) { return }\n      if (dsx.attribute.uploadHere === true || dsx.attribute.uploadHere === 'true') { dsx.event('upload'); return }\n      dsx.module.route.push({ path: '/apps/' + dsx.attribute.projectId + '/store-listing?tab=Screenshots' })\n    "},{"as":"onConfirmed","inputs":{},"body":"\n      const k = dsx.module.convertdata.context.confirmed\n      if (k == null) { return }\n      if (k.ask == 'store-shots-start' &amp;&amp; dsx.variable.asking == 'start') { await dsx.action.start() }\n      if (k.ask == 'store-shots-stop' &amp;&amp; dsx.variable.asking == 'stop') { await dsx.action.stop() }\n    "}],"watches":[{"value":"dsx.variable.demoCheck","handler":"dsx.event('demoCheck', { state: dsx.variable.demoCheck })","immediate":true},{"value":"dsx.variable.statusWord","handler":"dsx.event('status', { state: dsx.variable.statusWord })","immediate":true},{"value":"dsx.attribute.projectId","handler":"dsx.action.load()"},{"value":"dsx.attribute.refresh","handler":"dsx.action.load()"},{"value":"dsx.module.convertdata.context.confirmed","handler":"dsx.action.onConfirmed()"}],"scripts":["\n      function messageOf(r) {\n        if (r == null) { return 'Despia did not answer. Try again in a moment.' }\n        if (r.error != null &amp;&amp; typeof r.error == 'object' &amp;&amp; r.error.message) { return r.error.message }\n        if (r.message) { return r.message }\n        return 'Despia did not answer. Try again in a moment.'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"store-shots-host","on:appear":"dsx.action.load()"},"children":[{"tag":"AgentCard","attrs":{"class":"store-shots","agent":"true","title":"Screenshot Agent","body":"{{ dsx.variable.body }}","primary":"{{ dsx.variable.primary }}","secondary":"{{ dsx.variable.secondary }}","busy":"{{ dsx.variable.working ? 'true' : 'false' }}","primary-disabled":"{{ dsx.variable.loaded && dsx.variable.plan.allowed ? 'false' : 'true' }}","on:primary":"dsx.action.primaryTap()","on:secondary":"dsx.action.secondaryTap()"},"children":[{"tag":"Callout","attrs":{"tone":"warning","title":"{{ dsx.variable.plan.refusalTitle }}","message":"{{ dsx.variable.plan.refusalLine }}","visible-if":"dsx.variable.refused"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"text","attrs":{"class":"store-shots-facts","value":"{{ dsx.variable.facts }}","visible-if":"dsx.variable.facts != ''","__css":"c124"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"stack","attrs":{"class":"store-shots-grid","visible-if":"dsx.variable.ready","__gridTemplateColumns":"repeat(4, minmax(0, 1fr))","__display":"grid","__css":"c125"},"children":[{"tag":"Figure","attrs":{"repeat":"dsx.variable.preview","key":"id","src":"{{ dsx.this.url }}","alt":"{{ dsx.this.label }}","width":"{{ dsx.this.width }}","height":"{{ dsx.this.height }}"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n      \n    ","reactive":true,"nid":4},{"tag":"progress","attrs":{"value":"{{ dsx.variable.run.share }}","aria-label":"Screenshot progress","visible-if":"dsx.variable.active"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"Timeline","attrs":{"class":"dsx-timeline-compact","bind":"{{ dsx.variable.run.rows }}","expand":"all","aria-label":"Screenshot progress","visible-if":"dsx.variable.active"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.run != null && dsx.variable.run.failed"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.run.failureLine }}"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"button","attrs":{"label":"Check again","visible-if":"dsx.variable.demoCheck == 'failed'","disabled":"{{ !dsx.variable.loaded || !dsx.variable.plan.allowed }}","on:tap":"dsx.action.primaryTap()"},"children":[],"text":"","reactive":true,"nid":10}],"text":"\n      \n      \n    ","reactive":true,"nid":8},{"tag":"Callout","attrs":{"tone":"error","title":"Screenshot setup did not load","message":"{{ dsx.variable.problem }}","action":"Try Again","visible-if":"dsx.variable.problem != ''","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":11}],"text":"\n\n    \n    \n\n    \n\n    \n    \n\n    \n    \n    \n\n    \n    \n  ","reactive":true,"nid":1},{"tag":"alert","attrs":{"present":"dsx.variable.asking == 'start'","title":"{{ dsx.variable.again ? 'Take your store screenshots again?' : 'Make store screenshots?' }}","message":"{{ dsx.variable.confirmMessage }}","buttons":"dsx.variable.startButtons","on:dismiss":"dsx.variable.asking = ''"},"children":[],"text":"","reactive":true,"nid":12},{"tag":"alert","attrs":{"present":"dsx.variable.asking == 'stop'","title":"Stop the screenshots?","message":"Nothing is kept from this run. A paid run gives its credit back.","buttons":"dsx.variable.stopButtons","on:dismiss":"dsx.variable.asking = ''"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n  \n\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.StoreTesters":{"name":"StoreTesters","scheme":"platform","head":{"attributes":[{"as":"project-id","default":"''"},{"as":"choice","default":"'iOS'"},{"as":"open","default":"true"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"data","body":"return null","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"adding","body":"return false","computed":false},{"as":"email","body":"return ''","computed":false},{"as":"firstName","body":"return ''","computed":false},{"as":"lastName","body":"return ''","computed":false},{"as":"removing","body":"return null","computed":false},{"as":"sheetError","body":"return ''","computed":false},{"as":"needsStore","body":"return false","computed":false},{"as":"storeOpen","body":"return dsx.attribute.open != false &amp;&amp; dsx.attribute.open != 'false'","computed":true},{"as":"platform","body":"return dsx.attribute.choice == 'Android' ? 'android' : 'ios'","computed":true},{"as":"isIos","body":"return dsx.variable.platform == 'ios'","computed":true},{"as":"testers","body":"return dsx.variable.data == null ? [] : dsx.variable.data.testers","computed":true},{"as":"loaded","body":"return dsx.variable.data != null &amp;&amp; dsx.variable.error == ''","computed":true},{"as":"header","body":"return dsx.variable.isIos ? 'TestFlight testers' : 'Internal testing groups'","computed":true},{"as":"footer","body":"\n      if (dsx.variable.isIos) { return 'Apple emails each tester an invitation; they install the app with TestFlight.' }\n      return dsx.variable.data == null ? '' : dsx.variable.data.note\n    ","computed":true},{"as":"emptyTitle","body":"return dsx.variable.isIos ? 'No testers yet' : 'No Google Group on this track yet'","computed":true},{"as":"addTitle","body":"return dsx.variable.isIos ? 'Add Tester' : 'Add Google Group'","computed":true},{"as":"emailLabel","body":"return dsx.variable.isIos ? 'Email' : 'Google Group address'","computed":true},{"as":"emailOk","body":"\n      const e = dsx.variable.email.trim()\n      const at = e.indexOf('@')\n      return at &gt; 0 &amp;&amp; e.indexOf('.', at) &gt; at + 1 &amp;&amp; !e.includes(' ')\n    ","computed":true},{"as":"canAdd","body":"return dsx.variable.emailOk &amp;&amp; !dsx.action.add.pending","computed":true},{"as":"removeButtons","body":"return [{ title: 'Remove', role: 'destructive', action: 'convertdata.confirm', args: { ask: 'tester-remove-yes' } }, { title: 'Cancel', role: 'cancel' }]","computed":true},{"as":"removeMessage","body":"\n      if (dsx.variable.removing == null) { return '' }\n      return dsx.variable.isIos ? dsx.variable.removing.email + ' can no longer test this app.' : dsx.variable.removing.email + ' is no longer a tester group on Internal testing.'\n    ","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      if (dsx.attribute.projectId == '' || !dsx.variable.storeOpen) { return }\n      const r = await dsx.module.convertdata.storeTesters({ id: dsx.attribute.projectId, platform: dsx.variable.platform, track: 'internal' })\n      //  no store account linked yet is a step to take, not a failed read\n      dsx.variable.needsStore = !r.ok &amp;&amp; r.error == 'store_not_connected'\n      if (!r.ok) { dsx.variable.data = null; dsx.variable.error = dsx.variable.needsStore ? '' : 'Despia did not answer. Check your connection and try again.'; return }\n      dsx.variable.error = ''\n      dsx.variable.data = r.data\n    "},{"as":"openAdd","inputs":{},"body":"\n      dsx.variable.email = ''\n      dsx.variable.firstName = ''\n      dsx.variable.lastName = ''\n      dsx.variable.sheetError = ''\n      dsx.variable.adding = true\n    "},{"as":"add","inputs":{},"body":"\n      if (!dsx.variable.emailOk) { return }\n      const r = await dsx.module.convertdata.changeStoreTester({ id: dsx.attribute.projectId, platform: dsx.variable.platform, action: 'add', email: dsx.variable.email.trim(),\n        firstName: dsx.variable.firstName.trim(), lastName: dsx.variable.lastName.trim(), track: 'internal' })\n      if (!r.ok) { dsx.variable.sheetError = r.message ? r.message : 'The tester was not added.'; return }\n      dsx.variable.adding = false\n      await dsx.action.load()\n      dsx.module.toast.show({ title: r.data.already ? 'Already a tester' : 'Tester added', message: r.data.invitationSent ? 'Apple emails the invitation.' : r.data.note })\n    "},{"as":"onConfirmed","inputs":{},"body":"\n      const k = dsx.module.convertdata.context.confirmed\n      if (k == null || k.ask != 'tester-remove-yes' || dsx.variable.removing == null) { return }\n      const who = dsx.variable.removing.email\n      dsx.variable.removing = null\n      const r = await dsx.module.convertdata.changeStoreTester({ id: dsx.attribute.projectId, platform: dsx.variable.platform, action: 'remove', email: who, track: 'internal' })\n      if (!r.ok) { dsx.variable.error = r.message ? r.message : 'The tester was not removed.'; return }\n      await dsx.action.load()\n      dsx.module.toast.show({ title: 'Tester removed', message: who })\n    "}],"watches":[{"value":"dsx.attribute.projectId","handler":"dsx.action.load()","immediate":true},{"value":"dsx.variable.platform","handler":"dsx.action.load()"},{"value":"dsx.variable.storeOpen","handler":"dsx.action.load()"},{"value":"dsx.module.convertdata.context.confirmed","handler":"dsx.action.onConfirmed()"}],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"ListGroup","attrs":{"header":"{{ dsx.variable.header }}","visible-if":"!dsx.variable.storeOpen"},"children":[{"tag":"SettingsRow","attrs":{"icon":"person.2","title":"{{ dsx.variable.header }}","value":"Coming soon","chevron":"true","tappable":"true","on:tap":"dsx.module.route.push({ path: '/soon/store-testing?projectId=' + encodeURIComponent(dsx.attribute.projectId) })"},"children":[],"text":"","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1},{"tag":"ListGroup","attrs":{"header":"{{ dsx.variable.header }}","visible-if":"dsx.variable.storeOpen && dsx.variable.needsStore"},"children":[{"tag":"SettingsRow","attrs":{"icon":"link","title":"{{ dsx.variable.isIos ? 'Connect App Store Connect to add testers' : 'Connect Google Play to manage testing groups' }}","chevron":"true","tappable":"true","on:tap":"dsx.module.route.push({ path: '/apps/' + dsx.attribute.projectId + '/store-setup?connect=' + (dsx.variable.isIos ? 'apple' : 'google') })"},"children":[],"text":"","reactive":true,"nid":4}],"text":"\n    \n  ","reactive":true,"nid":3},{"tag":"Callout","attrs":{"class":"page-notice","tone":"error","title":"Testers did not load","message":"{{ dsx.variable.error }}","action":"Try Again","visible-if":"dsx.variable.storeOpen && dsx.variable.error != ''","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"ListGroup","attrs":{"header":"{{ dsx.variable.header }}","footer":"{{ dsx.variable.footer }}","visible-if":"dsx.variable.storeOpen && dsx.variable.loaded"},"children":[{"tag":"SettingsRow","attrs":{"icon":"person.2","title":"{{ dsx.variable.emptyTitle }}","visible-if":"dsx.variable.testers.length == 0"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.testers","key":"id","icon":"person.crop.circle","title":"{{ dsx.this.name != '' ? dsx.this.name : dsx.this.email }}","subtitle":"{{ dsx.this.name != '' ? dsx.this.email + ' · ' + dsx.this.detail : dsx.this.detail }}","value":"Remove","tappable":"true","on:tap":"dsx.variable.removing = dsx.this"},"children":[],"text":"","reactive":true,"nid":8},{"tag":"SettingsRow","attrs":{"icon":"plus","title":"{{ dsx.variable.addTitle }}","tone":"accent","tappable":"true","on:tap":"dsx.action.openAdd()"},"children":[],"text":"","reactive":true,"nid":9}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":6},{"tag":"sheet","attrs":{"detents":"content","present":"dsx.variable.adding","title":"{{ dsx.variable.addTitle }}","action":"Add","action-disabled":"{{ !dsx.variable.canAdd }}","on:action":"dsx.action.add()","on:dismiss":"dsx.variable.adding = false"},"children":[{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.sheetError != ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.sheetError }}"},"children":[],"text":"","reactive":true,"nid":12}],"text":"\n      \n    ","reactive":true,"nid":11},{"tag":"ListGroup","attrs":{"footer":"{{ dsx.variable.isIos ? 'Added to every external TestFlight group of this app.' : 'Everyone in this Google Group can install the Internal testing release.' }}"},"children":[{"tag":"SettingsRow","attrs":{"title":"{{ dsx.variable.emailLabel }}"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.email","placeholder":"name@example.com","aria-label":"{{ dsx.variable.emailLabel }}","on:submit":"dsx.action.add()"},"children":[],"text":"","reactive":true,"nid":15}],"text":"","reactive":true,"nid":14},{"tag":"SettingsRow","attrs":{"title":"First name","visible-if":"dsx.variable.isIos"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.firstName","placeholder":"Optional","aria-label":"First name"},"children":[],"text":"","reactive":true,"nid":17}],"text":"","reactive":true,"nid":16},{"tag":"SettingsRow","attrs":{"title":"Last name","visible-if":"dsx.variable.isIos"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.lastName","placeholder":"Optional","aria-label":"Last name"},"children":[],"text":"","reactive":true,"nid":19}],"text":"","reactive":true,"nid":18}],"text":"\n      \n      \n      \n    ","reactive":true,"nid":13}],"text":"\n    \n    \n  ","reactive":true,"nid":10},{"tag":"alert","attrs":{"present":"dsx.variable.removing != null","title":"Remove this tester?","message":"{{ dsx.variable.removeMessage }}","buttons":"dsx.variable.removeButtons","on:dismiss":"dsx.variable.removing = null"},"children":[],"text":"","reactive":true,"nid":20}],"text":"\n  \n\n  \n\n  \n\n  \n\n  \n\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.StoreWebhook":{"name":"StoreWebhook","scheme":"platform","head":{"attributes":[{"as":"project-id","default":"''"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"open","body":"return false","computed":false},{"as":"hook","body":"return null","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"loading","body":"return dsx.action.show.pending","computed":true}],"formulas":[],"actions":[{"as":"show","inputs":{},"body":"\n      if (dsx.attribute.projectId == '') { return }\n      dsx.variable.open = true\n      if (dsx.variable.hook != null) { return }\n      const r = await dsx.module.convertdata.storeWebhook({ id: dsx.attribute.projectId })\n      dsx.variable.error = r.ok ? '' : (r.message ? r.message : 'The webhook details did not load.')\n      dsx.variable.hook = r.ok ? r.data : null\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"ListGroup","attrs":{"header":"Instant review status","footer":"Optional. Despia checks reviews on its own; this makes it instant."},"children":[{"tag":"SettingsRow","attrs":{"icon":"bolt","title":"Set Up Webhook","chevron":"true","tappable":"true","on:tap":"dsx.action.show()"},"children":[],"text":"","reactive":true}],"text":"\n    \n  ","reactive":true},{"tag":"sheet","attrs":{"detents":"content","present":"dsx.variable.open","title":"App Store Connect Webhook","on:dismiss":"dsx.variable.open = false"},"children":[{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.error != ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.error }}"},"children":[],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.loading && dsx.variable.hook == null"},"children":[{"tag":"SettingsRow","attrs":{"icon":"clock","title":"Loading"},"children":[],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"footer":"{{ dsx.variable.hook == null ? '' : dsx.variable.hook.where }}","visible-if":"dsx.variable.hook != null"},"children":[{"tag":"CopyRow","attrs":{"label":"Payload URL","value":"{{ dsx.variable.hook == null ? '' : dsx.variable.hook.url }}"},"children":[],"text":"","reactive":true},{"tag":"CopyRow","attrs":{"label":"Secret","value":"{{ dsx.variable.hook == null ? '' : dsx.variable.hook.secret }}"},"children":[],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.hook != null"},"children":[{"tag":"SettingsRow","attrs":{"icon":"link","title":"Open App Store Connect Webhooks","link":"Open","link-icon":"arrow.up.right","tappable":"true","on:tap":"dsx.module.route.push({ path: 'https://appstoreconnect.apple.com/access/integrations/webhooks' })"},"children":[],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true}],"text":"\n    \n    \n    \n    \n  ","reactive":true}],"text":"\n  \n\n  \n\n  \n","reactive":true},"reactive":true,"language":"1"},"platform.SubmitSheet":{"name":"SubmitSheet","scheme":"platform","head":{"attributes":[{"as":"present","default":"false"},{"as":"project-id","default":"''"},{"as":"project","default":"null"},{"as":"builds","default":"[]"}],"apis":[],"expects":[],"events":[{"as":"close","payload":[]},{"as":"build","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"ready","body":"return false","computed":false},{"as":"store","body":"return 'iOS'","computed":false},{"as":"buildLabel","body":"return ''","computed":false},{"as":"version","body":"return ''","computed":false},{"as":"releaseType","body":"return 'Manually'","computed":false},{"as":"encryption","body":"return ''","computed":false},{"as":"track","body":"return 'Production'","computed":false},{"as":"accepted","body":"return false","computed":false},{"as":"declared","body":"return false","computed":false},{"as":"policy","body":"return null","computed":false},{"as":"checks","body":"return []","computed":false},{"as":"ok","body":"return false","computed":false},{"as":"error","body":"return ''","computed":false},{"as":"key","body":"return ''","computed":false},{"as":"infoOpen","body":"return false","computed":false},{"as":"contentOpen","body":"return false","computed":false},{"as":"loading","body":"return !dsx.variable.ready || dsx.action.open.pending","computed":true},{"as":"isIos","body":"return dsx.variable.store == 'iOS'","computed":true},{"as":"storeOs","body":"return dsx.variable.isIos ? 'ios' : 'android'","computed":true},{"as":"finished","body":"return dsx.attribute.builds.filter(b => b.os == dsx.variable.storeOs &amp;&amp; b.kind != 'publish' &amp;&amp; b.status == 'completed')","computed":true},{"as":"buildNames","body":"return dsx.variable.finished.map(b => labelOf(b)).join(',')","computed":true},{"as":"picked","body":"return dsx.variable.finished.find(b => labelOf(b) == dsx.variable.buildLabel) || null","computed":true},{"as":"hasBuilds","body":"return dsx.variable.finished.length &gt; 0","computed":true},{"as":"encryptionOptions","body":"return [{ id: '', label: 'Choose…' }, { id: 'No', label: 'No' }, { id: 'Yes', label: 'Yes' }]","computed":true},{"as":"encryptionAnswer","body":"return dsx.variable.encryption == 'No' ? 'exempt' : (dsx.variable.encryption == 'Yes' ? 'non_exempt' : '')","computed":true},{"as":"declarationsLabel","body":"return dsx.variable.isIos ? 'App Privacy answered in App Store Connect' : 'Data safety answered in Play Console'","computed":true},{"as":"asksDeclarations","body":"return dsx.variable.declared || dsx.variable.checks.some(c => c.fix != null &amp;&amp; c.fix.value == 'confirm_declarations')","computed":true},{"as":"trackId","body":"return dsx.variable.track.toLowerCase()","computed":true},{"as":"loadingRows","body":"return (dsx.variable.isIos ? [1, 2, 3, 4, 5, 6, 7] : [1, 2, 3, 4, 5]).map(id => ({ id }))","computed":true},{"as":"checkRows","body":"\n      return dsx.variable.checks.map(c => ({\n        id: c.id, title: c.title, detail: c.message, fix: c.fix,\n        icon: c.ok ? 'checkmark.circle.fill' : (c.severity == 'warning' ? 'exclamationmark.triangle' : 'xmark.circle'),\n        action: c.ok || c.fix == null || (c.fix.kind == 'command' &amp;&amp; !onListing(c.fix)) ? '' : shortFix(c.fix)\n      }))\n    ","computed":true},{"as":"canSubmit","body":"return dsx.variable.ok &amp;&amp; dsx.variable.accepted &amp;&amp; dsx.variable.picked != null &amp;&amp; dsx.variable.policy != null","computed":true},{"as":"submitLabel","body":"return dsx.action.submit.pending ? 'Submitting…' : 'Submit'","computed":true},{"as":"submitFooter","body":"\n      if (dsx.variable.canSubmit) { return 'It goes to your own store account. You can follow the review here.' }\n      if (!dsx.variable.accepted) { return 'Accept the statement above to submit.' }\n      return 'Every check above must pass first.'\n    ","computed":true}],"formulas":[],"actions":[{"as":"open","inputs":{},"body":"\n      if (!dsx.attribute.present || dsx.attribute.project == null) { return }\n      dsx.variable.ok = false\n      dsx.variable.version = dsx.attribute.project.version || ''\n      dsx.variable.accepted = false\n      dsx.variable.declared = false\n      dsx.variable.buildLabel = dsx.variable.finished.length &gt; 0 ? labelOf(dsx.variable.finished[0]) : ''\n      dsx.variable.key = dsx.attribute.projectId + '-submit-' + Date.now()\n      const p = await dsx.module.convertdata.storePolicy({ id: dsx.attribute.projectId })\n      dsx.variable.policy = p.ok ? p.data : null\n      await dsx.action.check()\n      dsx.variable.ready = true\n    "},{"as":"check","inputs":{},"body":"\n      if (!dsx.attribute.present || dsx.attribute.projectId == '') { return }\n      const r = await dsx.module.convertdata.storeChecklist({\n        id: dsx.attribute.projectId, platform: dsx.variable.storeOs, buildId: dsx.variable.picked == null ? '' : dsx.variable.picked.id,\n        version: dsx.variable.version, encryption: dsx.variable.isIos ? dsx.variable.encryptionAnswer : '', track: dsx.variable.isIos ? '' : dsx.variable.trackId,\n        declarationsConfirmed: dsx.variable.declared\n      })\n      if (!r.ok) { dsx.variable.checks = []; dsx.variable.ok = false; dsx.variable.error = messageOf(r); return }\n      dsx.variable.error = ''\n      dsx.variable.checks = r.data.checks\n      dsx.variable.ok = r.data.ok\n      if (dsx.variable.version == '' &amp;&amp; r.data.version != '') { dsx.variable.version = r.data.version }\n    "},{"as":"fix","inputs":{"fix":"dsx.this.fix"},"body":"\n      if (fix == null) { return }\n      if (fix.kind == 'link') { dsx.module.route.push({ path: fix.value }); return }\n      if (fix.value == 'connect_store') { dsx.event('close'); dsx.module.route.push({ path: '/apps/' + dsx.attribute.projectId + '/store-setup?connect=' + (dsx.variable.isIos ? 'apple' : 'google') + '&return=' + encodeURIComponent('/apps/' + dsx.attribute.projectId) }); return }\n      if (fix.value == 'verify_role') { dsx.event('close'); dsx.module.route.push({ path: '/apps/' + dsx.attribute.projectId + '/store-setup' }); return }\n      if (fix.value == 'edit_identity') { dsx.event('close'); dsx.module.route.replace({ path: '/apps/' + dsx.attribute.projectId + '/settings' }); return }\n      if (fix.value == 'start_build') { dsx.event('build'); return }\n      if (fix.value == 'confirm_declarations') { dsx.variable.declared = true; return }\n      if (fix.value == 'store_info') { dsx.variable.infoOpen = true; return }\n      if (onListing(fix)) { dsx.event('close'); dsx.module.route.push({ path: '/apps/' + dsx.attribute.projectId + '/store-listing' }); return }\n      if (fix.value == 'new_version') {\n        const v = await dsx.module.convertdata.newStoreVersion({ id: dsx.attribute.projectId, platform: dsx.variable.storeOs })\n        if (!v.ok) { dsx.variable.error = messageOf(v); return }\n        dsx.variable.version = v.data.version\n      }\n      await dsx.action.check()\n    "},{"as":"submit","inputs":{},"body":"\n      if (!dsx.variable.canSubmit) { return }\n      const r = await dsx.module.convertdata.submitRelease({\n        id: dsx.attribute.projectId, platform: dsx.variable.storeOs, buildId: dsx.variable.picked.id, version: dsx.variable.version,\n        track: dsx.variable.trackId, releaseType: dsx.variable.releaseType == 'Automatically' ? 'after_approval' : 'manual',\n        encryption: dsx.variable.encryptionAnswer, declarationsConfirmed: dsx.variable.declared,\n        policyVersion: dsx.variable.policy.version, statementSha256: dsx.variable.policy.statementSha256, key: dsx.variable.key\n      })\n      if (!r.ok) { dsx.variable.error = messageOf(r); await dsx.action.check(); return }\n      dsx.module.toast.show({ title: 'Submitted', message: r.data.state ? r.data.state + '.' : 'The store has it now.' })\n      dsx.event('close')\n      dsx.module.route.push({ path: '/submissions/' + r.data.page })\n    "}],"watches":[{"value":"dsx.attribute.present","handler":"dsx.action.open()","immediate":true},{"value":"dsx.variable.store","handler":"dsx.action.open()"},{"value":"dsx.variable.buildLabel","handler":"dsx.action.check()"},{"value":"dsx.variable.encryption","handler":"dsx.action.check()"},{"value":"dsx.variable.track","handler":"dsx.action.check()"},{"value":"dsx.variable.declared","handler":"dsx.action.check()"}],"scripts":["\n      //  The row's trailing word: the verb, so the check's own title keeps the width.\n      function shortFix(fix) {\n        const words = { confirm_declarations: 'Confirm', connect_store: 'Link', verify_role: 'Check', edit_identity: 'Edit', start_build: 'Build', refresh: 'Refresh', new_version: 'New Version', answer_encryption: 'Answer', open_submission: 'Open', store_info: 'Answer' }\n        if (fix.kind == 'action' &amp;&amp; words[fix.value] != null) { return words[fix.value] }\n        if (fix.kind == 'link' || onListing(fix)) { return 'Open' }\n        return fix.label\n      }\n      //  the CLI's listing command is the Store Listing page here\n      function onListing(fix) { return fix.kind == 'command' &amp;&amp; String(fix.value).startsWith('despia store listing') }\n      function labelOf(b) { return b.version + (b.buildNumber ? ' (' + b.buildNumber + ')' : '') }\n      function messageOf(r) {\n        if (r == null) { return 'Despia did not answer. Try again in a moment.' }\n        if (r.error != null &amp;&amp; typeof r.error == 'object' &amp;&amp; r.error.message) { return r.error.message }\n        if (r.message) { return r.message }\n        return 'Despia did not answer. Try again in a moment.'\n      }\n    "],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"sheet","attrs":{"detents":"full","present":"dsx.attribute.present","title":"Submit for Review","on:dismiss":"dsx.event('close')"},"children":[{"tag":"segmented","attrs":{"bind":"dsx.variable.store","options":"iOS,Android","label":"Store"},"children":[],"text":"","reactive":true},{"tag":"ListGroup","attrs":{"visible-if":"dsx.variable.error != ''"},"children":[{"tag":"SettingsRow","attrs":{"icon":"exclamationmark.triangle","title":"{{ dsx.variable.error }}"},"children":[],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"Release","footer":"{{ dsx.variable.hasBuilds ? 'Only finished release builds for this store are listed.' : 'There is no finished build for this store yet.' }}"},"children":[{"tag":"SettingsRow","attrs":{"title":"Build","visible-if":"dsx.variable.hasBuilds"},"children":[{"tag":"picker","attrs":{"aria-label":"Build","bind":"dsx.variable.buildLabel","options":"{{ dsx.variable.buildNames }}"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"icon":"hammer","title":"Continue","tone":"accent","tappable":"true","visible-if":"!dsx.variable.hasBuilds","on:tap":"dsx.event('build')"},"children":[],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Version"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.version","placeholder":"1.0.0","aria-label":"Version","on:submit":"dsx.action.check()"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Release","visible-if":"dsx.variable.isIos"},"children":[{"tag":"picker","attrs":{"aria-label":"Release","bind":"dsx.variable.releaseType","options":"Manually,Automatically"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Uses encryption","visible-if":"dsx.variable.isIos"},"children":[{"tag":"picker","attrs":{"aria-label":"Uses encryption","bind":"dsx.variable.encryption","options-key":"dsx.variable.encryptionOptions"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"title":"Track","visible-if":"!dsx.variable.isIos"},"children":[{"tag":"picker","attrs":{"aria-label":"Track","bind":"dsx.variable.track","options":"Production,Beta,Alpha,Internal"},"children":[],"text":"","reactive":true}],"text":"","reactive":true}],"text":"\n      \n      \n      \n      \n      \n      \n    ","reactive":true},{"tag":"stack","attrs":{"__style_reactive":"--submit-checks-height:{{ dsx.variable.isIos ? '52rem' : '38rem' }}","__css":"c129"},"children":[{"tag":"ListGroup","attrs":{"header":"Before you submit","visible-if":"dsx.variable.loading || dsx.variable.checkRows.length > 0"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.variable.loadingRows","key":"id","visible-if":"dsx.variable.loading","aria-label":"Loading check","aria-busy":"true","__css":"c130"},"children":[{"tag":"skeleton","attrs":{"__css":"c131"},"children":[],"text":"","reactive":false},{"tag":"skeleton","attrs":{"__css":"c132"},"children":[],"text":"","reactive":false}],"text":"\n          \n          \n        ","reactive":true},{"tag":"SettingsRow","attrs":{"visible-if":"!dsx.variable.loading","repeat":"dsx.variable.checkRows","key":"id","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.detail }}","value":"{{ dsx.this.action }}","chevron":"{{ dsx.this.action != '' ? 'true' : 'false' }}","tappable":"{{ dsx.this.action != '' ? 'true' : 'false' }}","on:tap":"dsx.action.fix()"},"children":[],"text":"","reactive":true}],"text":"\n        \n        \n      ","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"Play Console","footer":"Google has no API for App content, the category or countries. Despia fills them in Play Console with the Despia extension.","visible-if":"!dsx.variable.isIos"},"children":[{"tag":"SettingsRow","attrs":{"icon":"arrow.up.right","title":"App Content","value":"Answer","chevron":"true","tappable":"true","on:tap":"dsx.variable.contentOpen = true"},"children":[],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"ListGroup","attrs":{"header":"Store declarations","footer":"Answer them in the store's own console first; no store API reads them. This confirmation is recorded with the submission.","visible-if":"dsx.variable.loading || dsx.variable.asksDeclarations"},"children":[{"tag":"SettingsRow","attrs":{"title":"{{ dsx.variable.declarationsLabel }}"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.variable.declared","aria-label":"{{ dsx.variable.declarationsLabel }}"},"children":[],"text":"","reactive":true}],"text":"","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"stack","attrs":{"__css":"c133"},"children":[{"tag":"ListGroup","attrs":{"header":"Statement","visible-if":"dsx.variable.loading"},"children":[{"tag":"stack","attrs":{"repeat":"[1, 2]","key":"index","aria-label":"Loading statement","aria-busy":"true","__css":"c134"},"children":[{"tag":"skeleton","attrs":{"__css":"c135"},"children":[],"text":"","reactive":false}],"text":"","reactive":true}],"text":"\n        \n      ","reactive":true},{"tag":"ListGroup","attrs":{"header":"Statement","footer":"{{ dsx.variable.policy == null ? '' : dsx.variable.policy.statement }}","visible-if":"!dsx.variable.loading && dsx.variable.policy != null"},"children":[{"tag":"SettingsRow","attrs":{"title":"I accept this statement"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.variable.accepted","aria-label":"I accept this statement"},"children":[],"text":"","reactive":true}],"text":"","reactive":true},{"tag":"SettingsRow","attrs":{"icon":"doc.text","title":"Read the App Policy","link":"Open","link-icon":"arrow.up.right","tappable":"true","on:tap":"dsx.module.route.push({ path: dsx.variable.policy.url })"},"children":[],"text":"","reactive":true}],"text":"\n        \n        \n      ","reactive":true}],"text":"\n      \n      \n    ","reactive":true},{"tag":"stack","attrs":{"__steers":"1","__css":"c99"},"children":[{"tag":"button","attrs":{"variant":"prominent","control-size":"large","icon":"paperplane","label":"{{ dsx.variable.submitLabel }}","disabled-if":"!dsx.variable.canSubmit","on:tap":"dsx.action.submit()"},"children":[],"text":"","reactive":true},{"tag":"text","attrs":{"type":"footnote","value":"{{ dsx.variable.submitFooter }}","__css":"c100"},"children":[],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true}],"text":"\n    \n\n    \n\n    \n\n    \n    \n\n    \n\n    \n\n    \n\n    \n  ","reactive":true},{"tag":"PlayContentSheet","attrs":{"present":"{{ dsx.variable.contentOpen }}","project-id":"{{ dsx.attribute.projectId }}","on:close":"dsx.variable.contentOpen = false"},"children":[],"text":"","reactive":true},{"tag":"StoreInfoSheet","attrs":{"present":"{{ dsx.variable.infoOpen }}","project-id":"{{ dsx.attribute.projectId }}","on:close":"dsx.variable.infoOpen = false","on:saved":"dsx.action.check()"},"children":[],"text":"","reactive":true}],"text":"\n  \n\n  \n\n  \n  \n","reactive":true},"reactive":true,"language":"1"},"platform.TemplateLedger":{"name":"TemplateLedger","scheme":"platform","head":{"attributes":[{"as":"project-id","default":"''"},{"as":"staff","default":"false","type":"bool"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"readError","body":"return false","computed":false},{"as":"ledger","body":"return null","computed":false},{"as":"promptOpen","body":"return false","computed":false},{"as":"isStaff","body":"return dsx.attribute.staff === true || dsx.attribute.staff === 'true'","computed":true},{"as":"hasLedger","body":"return dsx.variable.ledger != null","computed":true},{"as":"anyNative","body":"return dsx.variable.ledger != null &amp;&amp; dsx.variable.ledger.done &gt; 0","computed":true},{"as":"staffTitle","body":"return dsx.variable.ledger == null ? '' : dsx.variable.ledger.title + ' (Staff)'","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      dsx.variable.readError = false\n      if (dsx.attribute.projectId == '') { return }\n      const r = await dsx.module.convertdata.appTemplate({ id: dsx.attribute.projectId })\n      if (!r.ok) { dsx.variable.readError = true; return }\n      if (r.ok) { dsx.variable.ledger = r.data.ledger }\n    "}],"watches":[{"value":"dsx.attribute.projectId","handler":"dsx.action.load()","immediate":true}],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{},"children":[{"tag":"Callout","attrs":{"class":"page-notice","tone":"error","title":"The app checklist did not load","message":"Despia did not answer. Check your connection and try again.","action":"Try Again","visible-if":"dsx.variable.readError","on:action":"dsx.action.load()"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"Callout","attrs":{"class":"page-notice","tone":"info","title":"Native screens are coming","message":"Your app runs your website as the app. Native screens are coming soon.","action":"Browse packages","href":"/explore","visible-if":"dsx.variable.hasLedger && !dsx.variable.isStaff && !dsx.variable.anyNative"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"ListGroup","attrs":{"header":"Native screens","footer":"{{ dsx.variable.ledger == null ? '' : dsx.variable.ledger.screensFooter }}","visible-if":"dsx.variable.hasLedger && !dsx.variable.isStaff && dsx.variable.anyNative"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.ledger.screens","key":"id","icon":"{{ dsx.this.chip == 'Native' ? 'checkmark.circle.fill' : 'globe' }}","title":"{{ dsx.this.title }}"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.this.chip }}","role":"{{ dsx.this.role }}"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n      \n    ","reactive":true,"nid":4}],"text":"\n    \n  ","reactive":true,"nid":3},{"tag":"ListGroup","attrs":{"header":"{{ dsx.variable.staffTitle }}","footer":"{{ dsx.variable.ledger == null ? '' : dsx.variable.ledger.footer }}","visible-if":"dsx.variable.hasLedger && dsx.variable.isStaff"},"children":[{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.ledger.rows","key":"id","icon":"{{ dsx.this.done ? 'checkmark.circle.fill' : 'circle' }}","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.line }}"},"children":[{"tag":"chip","attrs":{"label":"{{ dsx.this.chip }}","role":"{{ dsx.this.role }}"},"children":[],"text":"","reactive":true,"nid":8}],"text":"\n      \n    ","reactive":true,"nid":7},{"tag":"SettingsRow","attrs":{"icon":"doc.on.doc","title":"Copy Prompt for Your Agent","chevron":"true","tappable":"true","on:tap":"dsx.variable.promptOpen = true"},"children":[],"text":"","reactive":true,"nid":9}],"text":"\n    \n    \n  ","reactive":true,"nid":6},{"tag":"sheet","attrs":{"detents":"half","present":"dsx.variable.promptOpen","title":"Continue with Your AI Agent","visible-if":"dsx.variable.isStaff","on:dismiss":"dsx.variable.promptOpen = false"},"children":[{"tag":"ListGroup","attrs":{"footer":"Paste this into Claude Code, Cursor or Codex in the app's repository."},"children":[{"tag":"CodeBlock","attrs":{"language":"markdown","filename":"prompt.md","value":"{{ dsx.variable.ledger == null ? '' : dsx.variable.ledger.prompt }}"},"children":[],"text":"","reactive":true,"nid":12}],"text":"\n      \n    ","reactive":true,"nid":11}],"text":"\n    \n  ","reactive":true,"nid":10}],"text":"\n  \n  \n\n\n  \n  \n  \n\n  \n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"platform.TemplateTip":{"name":"TemplateTip","scheme":"platform","head":{"attributes":[{"as":"tone"},{"as":"title"},{"as":"message"},{"as":"dismissible"},{"as":"dismiss-label","default":"'Dismiss'"},{"as":"more"},{"as":"more-label","default":"'Read more'"},{"as":"more-title"}],"apis":[],"expects":[],"events":[{"as":"dismiss","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"reading","body":"return false","computed":false},{"as":"articleTitle","body":"return dsx.attribute.moreTitle || dsx.attribute.title","computed":true}],"formulas":[],"actions":[{"as":"read","inputs":{},"body":"dsx.variable.reading = true"}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"Callout","attrs":{"class":"template-tip","tone":"{{ dsx.attribute.tone }}","title":"{{ dsx.attribute.title }}","message":"{{ dsx.attribute.message }}","dismissible":"{{ dsx.attribute.dismissible }}","dismiss-label":"{{ dsx.attribute.dismissLabel }}","on:dismiss":"dsx.event('dismiss')"},"children":[{"tag":"button","attrs":{"variant":"bordered","label":"{{ dsx.attribute.moreLabel }}","aria-label":"{{ dsx.attribute.moreLabel + ': ' + dsx.variable.articleTitle }}","aria-expanded":"{{ dsx.variable.reading }}","visible-if":"dsx.attribute.more","on:tap":"dsx.action.read()"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"sheet","attrs":{"detents":"large","present":"dsx.variable.reading","title":"{{ dsx.variable.articleTitle }}","close":"none","action":"Done","on:action":"dsx.variable.reading = false","on:dismiss":"dsx.variable.reading = false"},"children":[{"tag":"stack","attrs":{"class":"dsx-callout-article"},"children":[{"tag":"markdown","attrs":{"copyCode":"true","externalLinks":"true","value":"{{ dsx.attribute.more || '' }}"},"children":[],"text":"","reactive":true,"nid":4}],"text":"\n      \n    ","reactive":true,"nid":3}],"text":"\n    \n  ","reactive":true,"nid":2}],"text":"\n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"consent.Accept":{"name":"Accept","scheme":"consent","head":{"attributes":[{"as":"label","default":"dsx.global.strings.consentAccept || 'Accept all'"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[],"sheets":[".dsx-consent-button { align-items: stretch; flex: 1 1 0; min-width: 0 }\n      .dsx-consent-button > * { width: 100% }"]},"root":{"tag":"stack","attrs":{"class":"dsx-consent-button","__steers":"1"},"children":[{"tag":"button","attrs":{"variant":"{{ dsx.module.consent.context.primary == 'accept' ? 'prominent' : 'bordered' }}","label":"{{ dsx.attribute.label }}","disabled-if":"!dsx.module.consent.context.stored","on:tap":"dsx.module.consent.grant()"},"children":[],"text":"","reactive":true,"nid":1}],"text":"\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"consent.Banner":{"name":"Banner","scheme":"consent","head":{"attributes":[{"as":"title","default":"dsx.global.strings.consentTitle || ''"},{"as":"body","default":"dsx.global.strings.consentBody || 'We use optional cookies only if you allow them.'"},{"as":"policy-url","default":"''"},{"as":"policy-label","default":"dsx.global.strings.consentPolicy || 'Privacy Policy'"},{"as":"accept-label","default":"dsx.global.strings.consentAccept || 'Accept all'"},{"as":"decline-label","default":"dsx.global.strings.consentDecline || 'Reject all'"},{"as":"choose-label","default":"dsx.global.strings.consentChoose || 'Choose'"},{"as":"always","default":"false"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[],"sheets":["@property --dsx-consent-radius { syntax: \"<length>\"; inherits: true; initial-value: 16px }\n      @property --dsx-consent-gap { syntax: \"<length>\"; inherits: true; initial-value: 14px }\n      @property --dsx-consent-pad { syntax: \"<length>\"; inherits: true; initial-value: 16px }\n      @property --dsx-consent-button-gap { syntax: \"<length>\"; inherits: true; initial-value: 10px }\n      @property --dsx-consent-max-width { syntax: \"<length>\"; inherits: true; initial-value: 720px }\n      .dsx-consent-overlay { width: 100%; height: 100%; min-width: 0; min-height: 0; align-items: center }\n      .dsx-consent-bar {\n        --dsx-button-control-min-height: 44px; --dsx-focus-ring-width: 0px;\n        box-sizing: border-box;\n        width: min(100% - 32px, var(--dsx-consent-max-width));\n        margin-block-end: calc(16px + max(env(safe-area-inset-bottom, 0px), var(--dsx-consent-lift, 0px)));\n        gap: var(--dsx-consent-gap);\n        padding: var(--dsx-consent-pad);\n        border-radius: var(--dsx-consent-radius);\n        corner-shape: var(--dsx-corner-shape, superellipse(1.6));\n        background: var(--dsx-consent-surface, var(--dsx-surface-raised, var(--dsx-secondary-grouped-background, var(--dsx-background, Canvas))));\n        border: 0.5px solid var(--dsx-separator, rgba(127, 127, 127, 0.28));\n        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);\n        align-items: stretch;\n      }\n      .dsx-consent-button .dsx-button:focus-visible { --dsx-focus-ring-outline: none; --dsx-button-shadow: none; outline: none; box-shadow: none }\n      .dsx-consent-actions { gap: var(--dsx-consent-button-gap); align-items: stretch }\n      .dsx-consent-actions > .dsx-consent-button { flex: 1 1 0; min-width: 0 }\n      /* a phone: the three labels stay on one line each, so the buttons share one height; too narrow for three in a row\n         (under 360px) they stack, full width */\n      @media (max-width: 399px) {\n        .dsx-consent-button .dsx-button { white-space: nowrap; padding-inline: 10px }\n      }\n      @media (max-width: 359px) {\n        .dsx-consent-actions { flex-direction: column }\n        .dsx-consent-actions > .dsx-consent-button { flex: 0 0 auto; width: 100% }\n      }\n      /* Short screens keep the question and equal stock actions close together. */\n      @media (max-height: 699px) {\n        .dsx-consent-bar { padding: 12px; gap: 8px; margin-block-end: calc(8px + max(env(safe-area-inset-bottom, 0px), var(--dsx-consent-lift, 0px))) }\n        .dsx-consent-actions { flex-direction: row; gap: 8px }\n        .dsx-consent-actions > .dsx-consent-button { flex: 1 1 0; min-width: 0; width: auto }\n        .dsx-consent-button .dsx-button { min-height: 44px; white-space: nowrap; padding-inline: 8px }\n      }\n      @media (min-width: 640px) {\n        .dsx-consent-bar { flex-direction: row; align-items: center }\n        .dsx-consent-bar > .dsx-consent-message { flex: 1 1 auto }\n        .dsx-consent-actions { flex: 0 0 auto }\n        .dsx-consent-actions > .dsx-consent-button { flex: 0 0 8.5rem; width: 8.5rem }\n      }"]},"root":{"tag":"stack","attrs":{"class":"dsx-consent-overlay","__steers":"1"},"children":[{"tag":"spacer","attrs":{},"children":[],"text":"","reactive":false,"nid":1},{"tag":"stack","attrs":{"class":"dsx-consent-bar","role":"region","aria-label":"Cookie consent","visible-if":"(dsx.module.consent.context.asking || String(dsx.attribute.always) === 'true') && !dsx.module.consent.context.preferences","__steers":"1"},"children":[{"tag":"Message","attrs":{"title":"{{ dsx.attribute.title }}","body":"{{ dsx.attribute.body }}","policy-url":"{{ dsx.attribute.policyUrl }}","policy-label":"{{ dsx.attribute.policyLabel }}"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"hstack","attrs":{"class":"dsx-consent-actions","__steers":"1"},"children":[{"tag":"Decline","attrs":{"label":"{{ dsx.attribute.declineLabel }}"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"Choose","attrs":{"label":"{{ dsx.attribute.chooseLabel }}"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"Accept","attrs":{"label":"{{ dsx.attribute.acceptLabel }}"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n      \n      \n      \n    ","reactive":true,"nid":4}],"text":"\n    \n    \n  ","reactive":true,"nid":2},{"tag":"Preferences","attrs":{},"children":[],"text":"","reactive":true,"nid":8}],"text":"\n  \n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"consent.Choose":{"name":"Choose","scheme":"consent","head":{"attributes":[{"as":"label","default":"dsx.global.strings.consentChoose || 'Choose'"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[],"sheets":[".dsx-consent-button { align-items: stretch; flex: 1 1 0; min-width: 0 }\n      .dsx-consent-button > * { width: 100% }"]},"root":{"tag":"stack","attrs":{"class":"dsx-consent-button","__steers":"1"},"children":[{"tag":"button","attrs":{"variant":"bordered","label":"{{ dsx.attribute.label }}","on:tap":"dsx.module.consent.ask({ preferences: true })"},"children":[],"text":"","reactive":true,"nid":1}],"text":"\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"consent.Decline":{"name":"Decline","scheme":"consent","head":{"attributes":[{"as":"label","default":"dsx.global.strings.consentDecline || 'Reject all'"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[],"sheets":[".dsx-consent-button { align-items: stretch; flex: 1 1 0; min-width: 0 }\n      .dsx-consent-button > * { width: 100% }"]},"root":{"tag":"stack","attrs":{"class":"dsx-consent-button","__steers":"1"},"children":[{"tag":"button","attrs":{"variant":"bordered","label":"{{ dsx.attribute.label }}","disabled-if":"!dsx.module.consent.context.stored","on:tap":"dsx.module.consent.revoke()"},"children":[],"text":"","reactive":true,"nid":1}],"text":"\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"consent.Message":{"name":"Message","scheme":"consent","head":{"attributes":[{"as":"title","default":"dsx.global.strings.consentTitle || ''"},{"as":"body","default":"dsx.global.strings.consentBody || 'We use optional cookies only if you allow them.'"},{"as":"policy-url","default":"''"},{"as":"policy-label","default":"dsx.global.strings.consentPolicy || 'Privacy Policy'"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"text","body":"\n      const body = String(dsx.attribute.body || '')\n      const url = String(dsx.attribute.policyUrl || '')\n      return url == '' ? body : body + ' [' + String(dsx.attribute.policyLabel || 'Privacy Policy') + '](' + url + ')'\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[],"sheets":["@property --dsx-consent-text-gap { syntax: \"<length>\"; inherits: true; initial-value: 4px }\n      .dsx-consent-message { gap: var(--dsx-consent-text-gap); align-items: stretch; min-width: 0 }\n      .dsx-consent-message-title { font-size: 1.0625rem; font-weight: 600 }"]},"root":{"tag":"stack","attrs":{"class":"dsx-consent-message","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-consent-message-title","visible-if":"String(dsx.attribute.title || '') != ''","value":"{{ dsx.attribute.title }}","role":"heading","aria-level":"2"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"markdown","attrs":{"class":"dsx-consent-message-body","value":"{{ dsx.variable.text }}"},"children":[],"text":"","reactive":true,"nid":2}],"text":"\n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"consent.Preferences":{"name":"Preferences","scheme":"consent","head":{"attributes":[{"as":"title","default":"dsx.global.strings.consentPreferencesTitle || 'Cookie settings'"},{"as":"necessary-title","default":"dsx.global.strings.consentNecessaryTitle || 'Necessary'"},{"as":"necessary-body","default":"dsx.global.strings.consentNecessaryBody || 'Sign-in, security and remembering this choice.'"},{"as":"necessary-value","default":"dsx.global.strings.consentNecessaryValue || 'Always on'"},{"as":"save-label","default":"dsx.global.strings.consentSave || 'Save choices'"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"rows","body":"return []","computed":false},{"as":"open","body":"return dsx.module.consent.context.preferences == true","computed":true}],"formulas":[],"actions":[{"as":"load","inputs":{},"body":"\n      const list = dsx.module.consent.context.choices || []\n      dsx.variable.rows = list.map(c => ({ id: c.id, title: c.title, description: c.description, on: c.on == true }))\n    "},{"as":"save","inputs":{},"body":"\n      await dsx.module.consent.grant({ categories: dsx.variable.rows.filter(r => r.on == true).map(r => r.id) })\n    "}],"watches":[{"value":"dsx.variable.open","handler":"dsx.action.load()","immediate":true}],"scripts":[],"globalScripts":[],"sheets":[".dsx-consent-sheet-body { align-items: stretch; padding-block-end: 1rem }\n      .dsx-consent-sheet-actions { gap: 10px; padding: 0.5rem 1.25rem 0; align-items: stretch }\n      .dsx-consent-sheet-actions > * { flex: 0 0 auto }\n      .dsx-consent-sheet-row { gap: 10px }\n      .dsx-consent-sheet-row > * { flex: 1 1 0; min-width: 0 }"]},"root":{"tag":"stack","attrs":{"class":"dsx-consent-preferences"},"children":[{"tag":"sheet","attrs":{"present":"dsx.variable.open","detents":"content","title":"{{ dsx.attribute.title }}","close":"trailing","on:dismiss":"dsx.module.consent.close()"},"children":[{"tag":"vstack","attrs":{"class":"dsx-consent-sheet-body","__steers":"1"},"children":[{"tag":"ListGroup","attrs":{},"children":[{"tag":"SettingsRow","attrs":{"title":"{{ dsx.attribute.necessaryTitle }}","subtitle":"{{ dsx.attribute.necessaryBody }}","value":"{{ dsx.attribute.necessaryValue }}"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.rows","key":"id","title":"{{ dsx.this.title }}","subtitle":"{{ dsx.this.description }}"},"children":[{"tag":"toggle","attrs":{"bind":"dsx.this.on","aria-label":"{{ dsx.this.title }}"},"children":[],"text":"","reactive":true,"nid":6}],"text":"\n          \n        ","reactive":true,"nid":5}],"text":"\n        \n        \n      ","reactive":true,"nid":3},{"tag":"vstack","attrs":{"class":"dsx-consent-sheet-actions","__steers":"1"},"children":[{"tag":"button","attrs":{"variant":"{{ dsx.module.consent.context.primary == 'accept' ? 'bordered' : 'prominent' }}","label":"{{ dsx.attribute.saveLabel }}","disabled-if":"!dsx.module.consent.context.stored","on:tap":"dsx.action.save()"},"children":[],"text":"","reactive":true,"nid":8},{"tag":"hstack","attrs":{"class":"dsx-consent-sheet-row"},"children":[{"tag":"Decline","attrs":{},"children":[],"text":"","reactive":true,"nid":10},{"tag":"Accept","attrs":{},"children":[],"text":"","reactive":true,"nid":11}],"text":"\n          \n          \n        ","reactive":true,"nid":9}],"text":"\n        \n        \n      ","reactive":true,"nid":7}],"text":"\n      \n      \n    ","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1}],"text":"\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.Actions":{"name":"Actions","scheme":"foundation","head":{"attributes":[{"as":"copy","default":"'true'"},{"as":"share","default":"'false'"},{"as":"speak","default":"'false'"},{"as":"feedback","default":"'true'"},{"as":"retry","default":"'true'"},{"as":"more","default":"'false'"},{"as":"voted"},{"as":"copied","default":"'false'"},{"as":"aria-label"}],"apis":[],"expects":[],"events":[{"as":"copy","payload":[]},{"as":"share","payload":[]},{"as":"speak","payload":[]},{"as":"up","payload":[]},{"as":"down","payload":[]},{"as":"retry","payload":[]},{"as":"more","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"actionVote","body":"\n      return String(dsx.attribute.voted == null ? '' : dsx.attribute.voted).trim().toLowerCase()\n    ","computed":true},{"as":"actionCopied","body":"\n      const raw = dsx.attribute.copied\n      return raw === true || raw == 'true'\n    ","computed":true}],"formulas":[{"as":"on","inputs":{},"body":"\n      const read = (v) => v === true || v == 'true'\n      return { copy: read(dsx.attribute.copy), share: read(dsx.attribute.share), speak: read(dsx.attribute.speak), feedback: read(dsx.attribute.feedback), retry: read(dsx.attribute.retry), more: read(dsx.attribute.more) }\n    "}],"actions":[],"watches":[],"scripts":[],"globalScripts":[],"sheets":[".dsx-actions-button { appearance: none; width: 36px; height: 36px; color: var(--dsx-actions-ink, var(--dsx-secondary-label)); transition: color 160ms ease-out }"]},"root":{"tag":"hstack","attrs":{"class":"dsx-actions","aria-label":"{{ dsx.attribute.ariaLabel || 'Answer actions' }}","__steers":"1","__css":"c142"},"children":[{"tag":"button","attrs":{"class":"dsx-actions-button","visible-if":"{{ dsx.formula.on.copy }}","icon":"{{ dsx.variable.actionCopied ? 'checkmark' : 'doc.on.doc' }}","aria-label":"{{ dsx.variable.actionCopied ? 'Copied' : 'Copy' }}","on:tap":"dsx.event('copy')","__css":"c143"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"button","attrs":{"class":"dsx-actions-button","visible-if":"{{ dsx.formula.on.share }}","icon":"square.and.arrow.up","aria-label":"Share","on:tap":"dsx.event('share')","__css":"c143"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"button","attrs":{"class":"dsx-actions-button","visible-if":"{{ dsx.formula.on.speak }}","icon":"play.fill","aria-label":"Read aloud","on:tap":"dsx.event('speak')","__css":"c144"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"button","attrs":{"class":"dsx-actions-button","visible-if":"{{ dsx.formula.on.feedback }}","icon":"{{ dsx.variable.actionVote == 'up' ? 'hand.thumbsup.fill' : 'hand.thumbsup' }}","aria-label":"Good answer","aria-pressed":"{{ dsx.variable.actionVote == 'up' }}","on:tap":"dsx.event('up')","__css":"c143"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"button","attrs":{"class":"dsx-actions-button","visible-if":"{{ dsx.formula.on.feedback }}","icon":"{{ dsx.variable.actionVote == 'down' ? 'hand.thumbsdown.fill' : 'hand.thumbsdown' }}","aria-label":"Bad answer","aria-pressed":"{{ dsx.variable.actionVote == 'down' }}","on:tap":"dsx.event('down')","__css":"c143"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"button","attrs":{"class":"dsx-actions-button","visible-if":"{{ dsx.formula.on.retry }}","icon":"arrow.clockwise","aria-label":"Try again","on:tap":"dsx.event('retry')","__css":"c143"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"button","attrs":{"class":"dsx-actions-button","visible-if":"{{ dsx.formula.on.more }}","icon":"ellipsis","aria-label":"More","on:tap":"dsx.event('more')","__css":"c143"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n  \n\n  \n  \n  \n  \n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.Answer":{"name":"Answer","scheme":"foundation","head":{"attributes":[{"as":"text"},{"as":"streaming","default":"'false'"},{"as":"aria-label","default":"'Answer'"},{"as":"follow-ups"},{"as":"follow-ups-label","default":"'Ask next'"}],"apis":[],"expects":[],"events":[{"as":"followUp","payload":["text"]}],"inputs":[],"tools":[],"variables":[],"formulas":[{"as":"busy","inputs":{},"body":"return dsx.attribute.streaming === true || dsx.attribute.streaming == 'true'"},{"as":"next","inputs":{},"body":"\n      const raw = dsx.attribute.followUps\n      let list = []\n      if (Array.isArray(raw)) { list = raw }\n      else if (raw != null && String(raw).trim().startsWith('[')) { list = JSON.parse(raw) || [] }\n      return list.map((f, i) => ({ key: 'f' + i, text: typeof f === 'object' ? String(f.text == null ? '' : f.text) : String(f) }))\n    "}],"actions":[],"watches":[],"scripts":[],"globalScripts":[],"sheets":[".dsx-answer-next { opacity: 1; transform: translateY(0px); transition: opacity 220ms ease-out, transform 220ms ease-out }\n      @starting-style {\n        .dsx-answer-next { opacity: 0; transform: translateY(4px) }\n      }"]},"root":{"tag":"stack","attrs":{"class":"dsx-answer","__css":"c145"},"children":[{"tag":"markdown","attrs":{"value":"{{ dsx.attribute.text }}","streaming":"{{ dsx.formula.busy }}","__css":"c146"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"ThinkingOrb","attrs":{"visible-if":"{{ dsx.formula.busy }}","label":"Writing"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":3},{"tag":"vstack","attrs":{"class":"dsx-answer-next","visible-if":"{{ !dsx.formula.busy && dsx.formula.next.length > 0 }}","aria-label":"{{ dsx.attribute.followUpsLabel }}","__css":"c147"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.attribute.followUpsLabel }}","__css":"c148"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"pressable","attrs":{"repeat":"dsx.formula.next","key":"key","aria-label":"{{ dsx.this.text }}","role":"button","on:tap":"dsx.event('followUp', { text: dsx.this.text })","__css":"c149"},"children":[{"tag":"hstack","attrs":{"aria-hidden":"true","__steers":"1","__css":"c150"},"children":[{"tag":"image","attrs":{"icon":"arrow.down.right","__inkAuthored":"true","__fontSize":"12px","__css":"c151"},"children":[],"text":"","reactive":false,"nid":8},{"tag":"text","attrs":{"value":"{{ dsx.this.text }}","__css":"c152"},"children":[],"text":"","reactive":true,"nid":9}],"text":"\n        \n        \n      ","reactive":true,"nid":7}],"text":"\n      \n    ","reactive":true,"nid":6}],"text":"\n    \n    \n  ","reactive":true,"nid":4}],"text":"\n  \n\n  \n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.AppPreview":{"name":"AppPreview","scheme":"foundation","head":{"attributes":[{"as":"device","default":"'phone'"},{"as":"screen","default":"'app'"},{"as":"name"},{"as":"icon"},{"as":"launch"},{"as":"theme"},{"as":"extent","default":"640"},{"as":"controls","default":"false"}],"apis":[],"expects":[],"events":[{"as":"change","payload":["screen","device","theme"]}],"inputs":[],"tools":[],"variables":[{"as":"apScreen","body":"return 'app'","computed":false},{"as":"apDevice","body":"return 'phone'","computed":false},{"as":"apTheme","body":"return ''","computed":false},{"as":"appPreviewBox","body":"return { width: 0, height: 0 }","computed":false},{"as":"appPreviewDevice","body":"return dsx.variable.apDevice == 'tablet' ? 'tablet' : 'phone'","computed":true},{"as":"appPreviewTheme","body":"return dsx.variable.apTheme == 'dark' || dsx.variable.apTheme == 'light' ? dsx.variable.apTheme : ''","computed":true},{"as":"appPreviewBar","body":"return dsx.attribute.controls === true || dsx.attribute.controls == 'true'","computed":true},{"as":"appPreviewScreens","body":"return [{ id: 'home', label: localize('Home Screen') }, { id: 'launch', label: localize('Launch Screen') }, { id: 'app', label: localize('App') }]","computed":true},{"as":"appPreviewDevices","body":"return [{ id: 'phone', label: localize('iPhone'), icon: 'iphone' }, { id: 'tablet', label: localize('iPad'), icon: 'ipad' }]","computed":true},{"as":"appPreviewThemes","body":"return [{ id: 'light', label: localize('Light'), icon: 'sun.max' }, { id: 'dark', label: localize('Dark'), icon: 'moon' }]","computed":true},{"as":"appPreviewSize","body":"\n      return dsx.variable.appPreviewDevice == 'tablet' ? { w: 820, h: 1180, bezel: 16, radius: 22, columns: 6, cells: 18 }\n                                                      : { w: 390, h: 844, bezel: 11, radius: 52, columns: 4, cells: 8 }\n    ","computed":true},{"as":"appPreviewScale","body":"\n      const z = dsx.variable.appPreviewSize\n      const tall = Math.max(120, (Number(dsx.attribute.extent) || 640) - (dsx.variable.appPreviewBar ? 52 : 0))\n      const wide = Number(dsx.variable.appPreviewBox.width) || 0\n      let s = tall / (z.h + 2 * z.bezel)\n      if (wide &gt; 0) { s = Math.min(s, wide / (z.w + 2 * z.bezel)) }\n      return Math.max(0.2, Math.min(1, s))\n    ","computed":true},{"as":"appPreviewName","body":"\n      const n = String(dsx.attribute.name == null ? '' : dsx.attribute.name).trim()\n      return n == '' ? localize('My App') : n\n    ","computed":true},{"as":"appPreviewLabel","body":"return dsx.variable.appPreviewName + ', ' + localize('preview')","computed":true},{"as":"appPreviewScreen","body":"\n      const s = String(dsx.variable.apScreen || 'app')\n      return s == 'home' || s == 'launch' ? s : 'app'\n    ","computed":true},{"as":"appPreviewNeighbours","body":"\n      const out = []\n      for (let i = 1; i &lt; dsx.variable.appPreviewSize.cells; i++) { out.push({ id: 'n' + i }) }\n      return out\n    ","computed":true},{"as":"appPreviewLaunchColor","body":"\n      const c = String(dsx.attribute.launch == null ? '' : dsx.attribute.launch).trim()\n      return /^#[0-9A-Fa-f]{6}$/.test(c) ? c : 'var(--dsx-background)'\n    ","computed":true}],"formulas":[],"actions":[{"as":"appPreviewPicked","inputs":{},"body":"dsx.event('change', { screen: dsx.variable.apScreen, device: dsx.variable.apDevice, theme: dsx.variable.apTheme })"}],"watches":[{"value":"dsx.attribute.screen","handler":"dsx.variable.apScreen = String(dsx.attribute.screen || 'app')","immediate":true},{"value":"dsx.attribute.device","handler":"dsx.variable.apDevice = String(dsx.attribute.device || 'phone')","immediate":true},{"value":"dsx.attribute.theme","handler":"dsx.variable.apTheme = String(dsx.attribute.theme || '')","immediate":true}],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-app-preview dsx-app-preview-{{ dsx.variable.appPreviewDevice }}","aria-label":"{{ dsx.variable.appPreviewLabel }}","on:layout":"dsx.variable.appPreviewBox = dsx.this","__style_reactive":"--dsx-app-preview-scale:{{ dsx.variable.appPreviewScale }};--dsx-app-preview-w:{{ dsx.variable.appPreviewSize.w }}px;--dsx-app-preview-h:{{ dsx.variable.appPreviewSize.h }}px;--dsx-app-preview-bezel:{{ dsx.variable.appPreviewSize.bezel }}px;--dsx-app-preview-radius:{{ dsx.variable.appPreviewSize.radius }}px","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-app-preview-bar","visible-if":"dsx.variable.appPreviewBar","control-size":"small","__row":"1","__steers":"1"},"children":[{"tag":"segmented","attrs":{"class":"dsx-app-preview-screens","bind":"dsx.variable.apScreen","options-key":"dsx.variable.appPreviewScreens","label":"Show","on:change":"dsx.action.appPreviewPicked()"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"segmented","attrs":{"bind":"dsx.variable.apDevice","options-key":"dsx.variable.appPreviewDevices","icon-field":"icon","label":"Device","on:change":"dsx.action.appPreviewPicked()"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"segmented","attrs":{"bind":"dsx.variable.apTheme","options-key":"dsx.variable.appPreviewThemes","icon-field":"icon","label":"Appearance","on:change":"dsx.action.appPreviewPicked()"},"children":[],"text":"","reactive":true,"nid":4}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"dsx-app-preview-device"},"children":[{"tag":"stack","attrs":{"class":"dsx-app-preview-screen","theme":"{{ dsx.variable.appPreviewTheme }}"},"children":[{"tag":"stack","attrs":{"class":"dsx-app-preview-stage"},"children":[{"tag":"stack","attrs":{"class":"dsx-app-preview-home","visible-if":"dsx.variable.appPreviewScreen == 'home'","aria-hidden":"true"},"children":[{"tag":"stack","attrs":{"class":"dsx-app-preview-grid","__gridTemplateColumns":"repeat({{ dsx.variable.appPreviewSize.columns }}, 1fr)","__style_reactive":"grid-template-columns:repeat({{ dsx.variable.appPreviewSize.columns }}, 1fr)"},"children":[{"tag":"stack","attrs":{"class":"dsx-app-preview-cell","__steers":"1"},"children":[{"tag":"IconTile","attrs":{"class":"dsx-app-preview-tile","src":"{{ dsx.attribute.icon || '' }}","name":"{{ dsx.variable.appPreviewName }}"},"children":[],"text":"","reactive":true,"nid":11},{"tag":"text","attrs":{"class":"dsx-app-preview-label","value":"{{ dsx.variable.appPreviewName }}","line-limit":"1"},"children":[],"text":"","reactive":true,"nid":12}],"text":"\n              \n              \n            ","reactive":true,"nid":10},{"tag":"stack","attrs":{"class":"dsx-app-preview-cell","repeat":"dsx.variable.appPreviewNeighbours","key":"id","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-app-preview-neighbour"},"children":[],"text":"","reactive":false,"nid":14}],"text":"\n              \n            ","reactive":true,"nid":13}],"text":"\n            \n            \n          ","reactive":true,"nid":9}],"text":"\n          \n        ","reactive":true,"nid":8},{"tag":"stack","attrs":{"class":"dsx-app-preview-launch","visible-if":"dsx.variable.appPreviewScreen == 'launch'","aria-hidden":"true","__style_reactive":"--dsx-rx-background:{{ dsx.variable.appPreviewLaunchColor }}","__css":"c153","__steers":"1"},"children":[{"tag":"IconTile","attrs":{"class":"dsx-app-preview-launch-icon","src":"{{ dsx.attribute.icon || '' }}","name":"{{ dsx.variable.appPreviewName }}"},"children":[],"text":"","reactive":true,"nid":16}],"text":"\n          \n        ","reactive":true,"nid":15},{"tag":"stack","attrs":{"class":"dsx-app-preview-app","visible-if":"dsx.variable.appPreviewScreen == 'app'"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":18}],"text":"\n          \n        ","reactive":true,"nid":17}],"text":"\n        \n        \n        \n        \n        \n        \n      ","reactive":true,"nid":7}],"text":"\n      \n    ","reactive":true,"nid":6}],"text":"\n    \n  ","reactive":true,"nid":5}],"text":"\n  \n\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.Attachment":{"name":"Attachment","scheme":"foundation","head":{"attributes":[{"as":"name"},{"as":"size"},{"as":"removable","default":"'true'"},{"as":"icon"}],"apis":[],"expects":[],"events":[{"as":"tap","payload":[]},{"as":"remove","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"attachmentKind","body":"\n      const name = String(dsx.attribute.name == null ? '' : dsx.attribute.name)\n      const ext = name.includes('.') ? name.split('.').pop().toLowerCase() : ''\n      const authored = String(dsx.attribute.icon == null ? '' : dsx.attribute.icon).trim()\n      if (authored != '') { return authored }\n      if (['png', 'jpg', 'jpeg', 'gif', 'webp', 'heic'].includes(ext)) { return 'photo' }\n      if (['mp4', 'mov', 'm4v', 'webm'].includes(ext)) { return 'film' }\n      if (['mp3', 'wav', 'm4a', 'aac'].includes(ext)) { return 'waveform' }\n      if (['zip', 'gz', 'tar'].includes(ext)) { return 'shippingbox' }\n      if (ext == 'pdf') { return 'doc.richtext' }\n      return 'doc'\n    ","computed":true},{"as":"attachmentSize","body":"\n      const bytes = Number(dsx.attribute.size)\n      if (!Number.isFinite(bytes) || bytes <= 0) { return '' }\n      if (bytes < 1024) { return bytes + ' B' }\n      if (bytes < 1048576) { return Math.round(bytes / 1024) + ' KB' }\n      if (bytes < 1073741824) { return (Math.round(bytes / 104857.6) / 10) + ' MB' }\n      return (Math.round(bytes / 107374182.4) / 10) + ' GB'\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"pressable","attrs":{"class":"dsx-attachment","aria-label":"{{ dsx.attribute.name }}","on:tap":"dsx.event('tap')","__background":"var(--dsx-fill)","__row":"1","__steers":"1","__css":"c182"},"children":[{"tag":"image","attrs":{"icon":"{{ dsx.variable.attachmentKind }}","__inkAuthored":"true","__fontSize":"18px","__css":"c183"},"children":[],"text":"","reactive":true},{"tag":"vstack","attrs":{"__steers":"1","__css":"c184"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.attribute.name }}","type":"footnote","line-limit":"1","__css":"c185"},"children":[],"text":"","reactive":true},{"tag":"text","attrs":{"visible-if":"dsx.variable.attachmentSize","value":"{{ dsx.variable.attachmentSize }}","type":"caption2","__css":"c179"},"children":[],"text":"","reactive":true}],"text":"\n    \n    \n  ","reactive":true},{"tag":"spacer","attrs":{},"children":[],"text":"","reactive":false},{"tag":"button","attrs":{"visible-if":"dsx.attribute.removable == 'true'","icon":"xmark","aria-label":"Remove {{ dsx.attribute.name }}","on:tap":"dsx.event('remove')"},"children":[],"text":"","reactive":true}],"text":"\n  \n\n  \n  \n  \n  \n","reactive":true},"reactive":true,"language":"1"},"foundation.AudioLevel":{"name":"AudioLevel","scheme":"foundation","head":{"attributes":[{"as":"level","default":"0","type":"number"},{"as":"bars","default":"5","type":"number"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"audioLevelValue","body":"\n      const raw = Number(dsx.attribute.level)\n      if (!Number.isFinite(raw)) { return 0 }\n      return Math.max(0, Math.min(1, raw))\n    ","computed":true},{"as":"audioLevelBars","body":"\n      const requested = Number(dsx.attribute.bars)\n      const n = Number.isFinite(requested) ? Math.max(3, Math.min(24, Math.round(requested))) : 5\n      const level = dsx.variable.audioLevelValue\n      const centre = (n - 1) / 2\n      const rows = []\n      for (let i = 0; i < n; i++) {\n        const distance = centre == 0 ? 0 : Math.abs(i - centre) / centre\n        const weight = 1 - distance * 0.72\n        const scale = 0.18 + 0.82 * level * weight\n        rows.push({ id: 'b' + i, scale: Math.round(scale * 10000) / 10000 })\n      }\n      return rows\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"hstack","attrs":{"class":"dsx-audio-level","aria-hidden":"true","__steers":"1","__css":"c186"},"children":[{"tag":"list","attrs":{"bind":"dsx.variable.audioLevelBars","key":"id","axis":"horizontal","scroll":"false","__steers":"1","__css":"c187"},"children":[{"tag":"stack","attrs":{"class":"dsx-audio-level-bar","__style_reactive":"height:calc(var(--dsx-audio-level-height, 24px) * {{ dsx.this.scale }});min-height:calc(var(--dsx-audio-level-height, 24px) * {{ dsx.this.scale }})","__css":"c188"},"children":[],"text":"","reactive":true}],"text":"\n    \n  ","reactive":true}],"text":"\n  \n\n  \n","reactive":true},"reactive":true,"language":"1"},"foundation.AuthPage":{"name":"AuthPage","scheme":"foundation","head":{"attributes":[{"as":"title"},{"as":"subtitle"},{"as":"logo"},{"as":"logo-dark"},{"as":"logo-label","default":"'Despia'"},{"as":"footer"},{"as":"links"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"authLinks","body":"\n      const l = dsx.attribute.links\n      const rows = Array.isArray(l) ? l : (l &amp;&amp; String(l).trim().startsWith('[') ? (JSON.parse(l) || []) : [])\n      return rows.filter(r => r != null &amp;&amp; r.label != null &amp;&amp; r.href != null).map((r, i) => ({ key: 'l' + i, label: String(r.label), href: String(r.href) }))\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"scroll","attrs":{"class":"dsx-auth-page"},"children":[{"tag":"stack","attrs":{"class":"dsx-auth-page-brand {{ dsx.attribute.logoDark ? 'dsx-auth-page-twin' : '' }}","visible-if":"dsx.attribute.logo"},"children":[{"tag":"image","attrs":{"class":"dsx-auth-page-logo dsx-auth-page-logo-light","src":"{{ dsx.attribute.logo }}","aria-label":"{{ dsx.attribute.logoLabel }}","__css":"c207"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"image","attrs":{"class":"dsx-auth-page-logo dsx-auth-page-logo-dark","visible-if":"dsx.attribute.logoDark","src":"{{ dsx.attribute.logoDark }}","aria-label":"{{ dsx.attribute.logoLabel }}","__css":"c207"},"children":[],"text":"","reactive":true,"nid":3}],"text":"\n    \n    \n  ","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"dsx-auth-page-column","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-auth-page-heading","visible-if":"dsx.attribute.title","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-auth-page-title","value":"{{ dsx.attribute.title }}","role":"heading","line-limit":"2"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"text","attrs":{"class":"dsx-auth-page-subtitle","visible-if":"dsx.attribute.subtitle","value":"{{ dsx.attribute.subtitle }}","line-limit":"3"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n      \n      \n    ","reactive":true,"nid":5},{"tag":"stack","attrs":{"class":"dsx-auth-page-body","__steers":"1"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":9}],"text":"\n      \n    ","reactive":false,"nid":8},{"tag":"stack","attrs":{"class":"dsx-auth-page-fine","visible-if":"dsx.attribute.footer || dsx.variable.authLinks.length > 0","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-auth-page-fine-text","visible-if":"dsx.attribute.footer","value":"{{ dsx.attribute.footer }}"},"children":[],"text":"","reactive":true,"nid":11},{"tag":"stack","attrs":{"class":"dsx-auth-page-fine-links","visible-if":"dsx.variable.authLinks.length > 0","__row":"1"},"children":[{"tag":"button","attrs":{"class":"dsx-auth-page-fine-link","repeat":"dsx.variable.authLinks","key":"key","variant":"plain","label":"{{ dsx.this.label }}","href":"{{ dsx.this.href }}"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n        \n      ","reactive":true,"nid":12}],"text":"\n      \n      \n    ","reactive":true,"nid":10}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":4}],"text":"\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.Avatar":{"name":"Avatar","scheme":"foundation","head":{"attributes":[{"as":"src"},{"as":"initials"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[],"sheets":[".dsx-avatar > .dsx-image:not([data-dsx-pending]) + .dsx-avatar-initials {\n        visibility: hidden;\n      }"]},"root":{"tag":"stack","attrs":{"class":"dsx-avatar","role":"group","__background":"transparent","__display":"grid","__steers":"1","__css":"c208"},"children":[{"tag":"image","attrs":{"visible-if":"dsx.attribute.src","src":"{{ dsx.attribute.src }}","__css":"c209"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"dsx-avatar-initials","__display":"grid","__steers":"1","__css":"c210"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.attribute.initials }}","__css":"c211"},"children":[],"text":"","reactive":true,"nid":3}],"text":"\n    \n  ","reactive":true,"nid":2},{"tag":"stack","attrs":{"class":"dsx-avatar-status","__css":"c212"},"children":[],"text":"","reactive":false,"nid":4}],"text":"\n  \n\n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.AvatarGroup":{"name":"AvatarGroup","scheme":"foundation","head":{"attributes":[{"as":"items"},{"as":"max","default":"3"},{"as":"tappable","default":"'false'"}],"apis":[],"expects":[],"events":[{"as":"tap","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"avatarGroupPeople","body":"\n      if (Array.isArray(dsx.attribute.items)) { return dsx.attribute.items }\n      if (dsx.attribute.items &amp;&amp; String(dsx.attribute.items).trim().startsWith('[')) { return JSON.parse(dsx.attribute.items) || [] }\n      return []\n    ","computed":true},{"as":"avatarGroupTappable","body":"\n      return dsx.attribute.tappable == 'true' || dsx.attribute.tappable == '1'\n    ","computed":true},{"as":"avatarGroupMax","body":"\n      return Math.max(1, Number(dsx.attribute.max || 3))\n    ","computed":true},{"as":"avatarGroupCells","body":"\n      const people = dsx.variable.avatarGroupPeople\n      const shown = people.slice(0, dsx.variable.avatarGroupMax)\n      const cells = shown.map((p, i) => ({ key: 'p' + i, src: p.src || '', initials: p.initials || '', overflow: false }))\n      const extra = people.length - shown.length\n      if (extra > 0) { return cells.concat([{ key: 'more', src: '', initials: '+' + extra, overflow: true }]) }\n      return cells\n    ","computed":true},{"as":"avatarGroupLabel","body":"\n      const people = dsx.variable.avatarGroupPeople\n      const names = people.map(p => p.name || p.initials || 'Unknown')\n      if (names.length == 0) { return 'No people' }\n      if (names.length == 1) { return names[0] }\n      const shown = names.slice(0, dsx.variable.avatarGroupMax)\n      const extra = names.length - shown.length\n      if (extra > 0) { return names.length + ' people: ' + shown.join(', ') + ' and ' + extra + ' others' }\n      return names.length + ' people: ' + shown.slice(0, -1).join(', ') + ' and ' + shown.at(-1)\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"pressable","attrs":{"class":"dsx-avatar-group","role":"{{ dsx.variable.avatarGroupTappable ? 'button' : 'img' }}","aria-label":"{{ dsx.variable.avatarGroupLabel }}","on:tap":"dsx.event('tap')"},"children":[{"tag":"list","attrs":{"bind":"dsx.variable.avatarGroupCells","key":"key","axis":"horizontal","scroll":"false","role":"group","__steers":"1","__css":"c213"},"children":[{"tag":"stack","attrs":{"__style_reactive":"margin-inline-start:{{ dsx.this.index == 0 ? '0px' : 'calc(-1 * var(--dsx-avatar-group-overlap, 10px))' }}"},"children":[{"tag":"Avatar","attrs":{"visible-if":"!dsx.this.overflow","src":"{{ dsx.this.src }}","initials":"{{ dsx.this.initials }}","__css":"c214"},"children":[],"text":"","reactive":true},{"tag":"stack","attrs":{"visible-if":"dsx.this.overflow","__display":"grid","__steers":"1","__css":"c215"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.this.initials }}","line-limit":"1","__css":"c216"},"children":[],"text":"","reactive":true}],"text":"\n        \n      ","reactive":true}],"text":"\n      \n      \n    ","reactive":true}],"text":"\n    \n  ","reactive":true}],"text":"\n  \n\n  \n","reactive":true},"reactive":true,"language":"1"},"foundation.Badge":{"name":"Badge","scheme":"foundation","head":{"attributes":[{"as":"value"},{"as":"max","default":"99"},{"as":"dot"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"badgeDot","body":"\n      return dsx.attribute.dot == 'true' || dsx.attribute.dot == '1'\n    ","computed":true},{"as":"badgeLabel","body":"\n      if (dsx.attribute.value == null) { return '' }\n      if (String(dsx.attribute.value) == '') { return '' }\n      if (isNaN(Number(dsx.attribute.value))) { return String(dsx.attribute.value) }\n      if (Number(dsx.attribute.value) > Number(dsx.attribute.max || 99)) { return String(Number(dsx.attribute.max || 99)) + '+' }\n      return String(dsx.attribute.value)\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"__display":"grid","__steers":"1","__css":"c217"},"children":[{"tag":"stack","attrs":{"class":"dsx-badge","visible-if":"!dsx.variable.badgeDot && dsx.variable.badgeLabel != ''","role":"group","aria-label":"{{ dsx.variable.badgeLabel }}","__steers":"1","__css":"c218"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.variable.badgeLabel }}","__css":"c211"},"children":[],"text":"","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"dsx-badge-dot","visible-if":"dsx.variable.badgeDot","aria-hidden":"true","__css":"c219"},"children":[],"text":"","reactive":true,"nid":3}],"text":"\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.Breadcrumbs":{"name":"Breadcrumbs","scheme":"foundation","head":{"attributes":[{"as":"items"},{"as":"separator","default":"'chevron.right'"},{"as":"aria-label"}],"apis":[],"expects":[],"events":[{"as":"select","payload":["index","title"]}],"inputs":[],"tools":[],"variables":[{"as":"crumbs","body":"\n      let raw = dsx.nav.trail\n      if (Array.isArray(dsx.attribute.items)) { raw = dsx.attribute.items }\n      else if (dsx.attribute.items != null &amp;&amp; String(dsx.attribute.items).trim().startsWith('[')) { raw = JSON.parse(dsx.attribute.items) || [] }\n      if (!Array.isArray(raw)) { return [] }\n      let at = raw.length - 1\n      for (let i = 0; i &lt; raw.length; i++) { if (raw[i] != null &amp;&amp; raw[i].current === true) { at = i } }\n      const out = []\n      for (let i = 0; i &lt;= at; i++) {\n        const r = raw[i] == null ? {} : raw[i]\n        out.push({ key: 'c' + i, index: i, title: String(r.title == null ? '' : r.title), href: r.href == null ? '' : String(r.href),\n                   icon: r.icon == null ? '' : String(r.icon), current: i == at, more: false })\n      }\n      return out\n    ","computed":true},{"as":"crumbsShown","body":"\n      const c = dsx.variable.crumbs\n      if (c.length &lt; 2) { return [] }\n      if (c.length &lt;= 4) { return c }\n      return [c[0], { key: 'more', index: -1, title: '', href: '', icon: '', current: false, more: true }].concat(c.slice(c.length - 3))\n    ","computed":true},{"as":"crumbsFolded","body":"\n      const c = dsx.variable.crumbs\n      if (c.length &lt;= 4) { return [] }\n      return c.slice(1, c.length - 3).map(r => ({ title: r.title, href: r.href, icon: r.icon }))\n    ","computed":true}],"formulas":[],"actions":[{"as":"choose","inputs":{"index":"dsx.this.index","title":"dsx.this.title"},"body":"\n      dsx.event('select', { index: index, title: title })\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-breadcrumbs","role":"navigation","aria-label":"{{ dsx.attribute.ariaLabel || localize('Breadcrumb') }}","__row":"1","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-breadcrumbs-list","role":"list","__row":"1","__steers":"1"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.variable.crumbsShown","key":"key","role":"listitem","class":"dsx-breadcrumbs-item","__row":"1","__steers":"1"},"children":[{"tag":"image","attrs":{"visible-if":"dsx.this.key != 'c0'","class":"dsx-breadcrumbs-separator","aria-hidden":"true","icon":"{{ dsx.attribute.separator || 'chevron.right' }}"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"menu","attrs":{"visible-if":"dsx.this.more","menu":"dsx.variable.crumbsFolded"},"children":[{"tag":"button","attrs":{"class":"dsx-breadcrumbs-more","icon":"ellipsis","aria-label":"{{ localize('More pages') + ' (' + dsx.variable.crumbsFolded.length + ')' }}","__row":"1","__steers":"1"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n        \n      ","reactive":true,"nid":4},{"tag":"pressable","attrs":{"visible-if":"!dsx.this.more && !dsx.this.current && dsx.this.href != ''","class":"dsx-breadcrumbs-link","href":"{{ dsx.this.href }}","__row":"1","__steers":"1"},"children":[{"tag":"image","attrs":{"visible-if":"dsx.this.icon != ''","class":"dsx-breadcrumbs-icon","icon":"{{ dsx.this.icon }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"text","attrs":{"class":"dsx-breadcrumbs-title","value":"{{ dsx.this.title }}"},"children":[],"text":"","reactive":true,"nid":8}],"text":"\n        \n        \n      ","reactive":true,"nid":6},{"tag":"pressable","attrs":{"visible-if":"!dsx.this.more && !dsx.this.current && dsx.this.href == ''","class":"dsx-breadcrumbs-link","role":"button","on:tap":"dsx.action.choose()","__row":"1","__steers":"1"},"children":[{"tag":"image","attrs":{"visible-if":"dsx.this.icon != ''","class":"dsx-breadcrumbs-icon","icon":"{{ dsx.this.icon }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":10},{"tag":"text","attrs":{"class":"dsx-breadcrumbs-title","value":"{{ dsx.this.title }}"},"children":[],"text":"","reactive":true,"nid":11}],"text":"\n        \n        \n      ","reactive":true,"nid":9},{"tag":"stack","attrs":{"visible-if":"dsx.this.current","class":"dsx-breadcrumbs-current","aria-current":"page","__row":"1","__steers":"1"},"children":[{"tag":"image","attrs":{"visible-if":"dsx.this.icon != ''","class":"dsx-breadcrumbs-icon","icon":"{{ dsx.this.icon }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":13},{"tag":"text","attrs":{"class":"dsx-breadcrumbs-title","value":"{{ dsx.this.title }}"},"children":[],"text":"","reactive":true,"nid":14}],"text":"\n        \n        \n      ","reactive":true,"nid":12}],"text":"\n      \n      \n      \n      \n      \n    ","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1}],"text":"\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.Callout":{"name":"Callout","scheme":"foundation","head":{"attributes":[{"as":"title"},{"as":"icon"},{"as":"tone","type":"'info' | 'success' | 'warning' | 'error' | 'danger' | 'note' | 'tip' | 'important' | 'caution'"},{"as":"message"},{"as":"action"},{"as":"href"},{"as":"dismissible"},{"as":"variant"},{"as":"dismiss-label"},{"as":"more"},{"as":"more-label"},{"as":"more-title"}],"apis":[],"expects":[],"events":[{"as":"action","payload":[]},{"as":"dismiss","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"dismissed","body":"return false","computed":false},{"as":"moreOpen","body":"return false","computed":false},{"as":"moreText","body":"return dsx.attribute.moreLabel ? String(dsx.attribute.moreLabel) : localize('Read more')","computed":true},{"as":"moreSheetTitle","body":"return dsx.attribute.moreTitle ? String(dsx.attribute.moreTitle) : dsx.variable.calloutTitle","computed":true},{"as":"moreName","body":"return dsx.variable.moreSheetTitle ? dsx.variable.moreText + ': ' + dsx.variable.moreSheetTitle : dsx.variable.moreText","computed":true},{"as":"calloutKind","body":"\n      const kinds = { info: 'info', note: 'info', important: 'info', success: 'success', tip: 'success', warning: 'warning', error: 'error', danger: 'error', caution: 'error' }\n      return kinds[String(dsx.attribute.tone)] || 'none'\n    ","computed":true},{"as":"calloutMarkdownTone","body":"\n      return ['note', 'tip', 'important', 'warning', 'caution'].includes(String(dsx.attribute.tone))\n    ","computed":true},{"as":"calloutTitle","body":"\n      const t = String(dsx.attribute.title == null ? '' : dsx.attribute.title)\n      if (t != '' || !dsx.variable.calloutMarkdownTone) { return t }\n      const names = { note: 'Note', tip: 'Tip', important: 'Important', warning: 'Warning', caution: 'Caution' }\n      return localize(names[String(dsx.attribute.tone)])\n    ","computed":true},{"as":"calloutIcon","body":"\n      const i = String(dsx.attribute.icon == null ? '' : dsx.attribute.icon)\n      if (i != '') { return i }\n      const symbols = { note: 'info.circle', important: 'exclamationmark.circle', tip: 'lightbulb', caution: 'xmark.circle',\n                        info: 'info.circle', success: 'checkmark.circle', warning: 'exclamationmark.triangle', error: 'xmark.circle', danger: 'xmark.circle' }\n      return symbols[String(dsx.attribute.tone)] || ''\n    ","computed":true},{"as":"calloutSay","body":"\n      const words = { info: '', success: localize('Success'), warning: localize('Warning'), error: localize('Error') }\n      const w = words[dsx.variable.calloutKind] || ''\n      const parts = [w, dsx.variable.calloutTitle, String(dsx.attribute.message == null ? '' : dsx.attribute.message)].filter(p => p != '')\n      return parts.join('. ')\n    ","computed":true},{"as":"calloutHref","body":"return dsx.attribute.href == null ? '' : String(dsx.attribute.href)","computed":true},{"as":"calloutLeaves","body":"return /^https?:/i.test(dsx.variable.calloutHref)","computed":true},{"as":"calloutDismissible","body":"return dsx.attribute.dismissible === true || dsx.attribute.dismissible === 'true'","computed":true}],"formulas":[],"actions":[{"as":"close","inputs":{},"body":"\n      dsx.variable.dismissed = true\n      dsx.event('dismiss')\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-callout dsx-callout-tone-{{ dsx.attribute.tone || 'none' }} dsx-callout-is-{{ dsx.variable.calloutKind }}{{ dsx.variable.calloutDismissible ? ' dsx-callout-dismissible' : '' }}{{ dsx.variable.dismissed ? ' dsx-callout-dismissed' : '' }}{{ dsx.attribute.variant == 'compact' ? ' dsx-callout-compact' : '' }}{{ dsx.variable.calloutTitle != '' && dsx.attribute.message ? ' dsx-callout-titled' : '' }}","role":"{{ dsx.variable.calloutKind == 'error' ? 'alert' : 'status' }}","__row":"1","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-callout-row","__row":"1","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-callout-accent-bar","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":2},{"tag":"image","attrs":{"class":"dsx-callout-icon","visible-if":"dsx.variable.calloutIcon","icon":"{{ dsx.variable.calloutIcon }}","aria-hidden":"true","__steers":"1"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"stack","attrs":{"class":"dsx-callout-body dsx-callout-body-{{ dsx.variable.calloutMarkdownTone ? 'blocks' : 'inline' }}","aria-label":"{{ dsx.variable.calloutSay }}","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-callout-title","visible-if":"dsx.variable.calloutTitle","value":"{{ dsx.variable.calloutTitle }}"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"text","attrs":{"class":"dsx-callout-message","visible-if":"dsx.attribute.message","value":"{{ dsx.attribute.message }}"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":7},{"tag":"button","attrs":{"class":"dsx-callout-action","visible-if":"dsx.attribute.action && dsx.variable.calloutHref == ''","variant":"bordered","control-size":"small","label":"{{ dsx.attribute.action }}","on:tap":"dsx.event('action')"},"children":[],"text":"","reactive":true,"nid":8},{"tag":"button","attrs":{"class":"dsx-callout-action dsx-callout-link","visible-if":"dsx.attribute.action && dsx.variable.calloutHref != ''","variant":"bordered","control-size":"small","label":"{{ dsx.attribute.action }}","href":"{{ dsx.variable.calloutHref }}","icon":"{{ dsx.variable.calloutLeaves ? 'arrow.up.right' : '' }}","on:tap":"dsx.event('action')"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"button","attrs":{"class":"dsx-callout-action dsx-callout-more","visible-if":"dsx.attribute.more","variant":"bordered","control-size":"small","label":"{{ dsx.variable.moreText }}","aria-label":"{{ dsx.variable.moreName }}","aria-expanded":"{{ dsx.variable.moreOpen }}","on:tap":"dsx.variable.moreOpen = true"},"children":[],"text":"","reactive":true,"nid":10}],"text":"\n      \n      \n      \n      \n      \n      \n    ","reactive":true,"nid":4}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"sheet","attrs":{"class":"dsx-callout-sheet","visible-if":"dsx.attribute.more","detents":"large","present":"dsx.variable.moreOpen","title":"{{ dsx.variable.moreSheetTitle }}","close":"none","action":"Done","on:action":"dsx.variable.moreOpen = false","on:dismiss":"dsx.variable.moreOpen = false"},"children":[{"tag":"stack","attrs":{"class":"dsx-callout-article"},"children":[{"tag":"markdown","attrs":{"copyCode":"true","externalLinks":"true","value":"{{ dsx.attribute.more || '' }}"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n      \n    ","reactive":true,"nid":12}],"text":"\n    \n  ","reactive":true,"nid":11},{"tag":"button","attrs":{"class":"dsx-callout-close","visible-if":"dsx.variable.calloutDismissible","variant":"plain","icon":"xmark","label":"","aria-label":"{{ dsx.attribute.dismissLabel || localize('Close') }}","on:tap":"dsx.action.close()"},"children":[],"text":"","reactive":true,"nid":14}],"text":"\n  \n\n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.Card":{"name":"Card","scheme":"foundation","head":{"attributes":[{"as":"title"},{"as":"href","type":"url"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-card","__background":"var(--dsx-card-background, var(--dsx-list-cell, var(--dsx-secondary-grouped-background)))","__css":"c227"},"children":[{"tag":"text","attrs":{"class":"dsx-card-title","visible-if":"dsx.attribute.title && !dsx.attribute.href","value":"{{ dsx.attribute.title }}","role":"heading"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"pressable","attrs":{"class":"dsx-card-link","visible-if":"dsx.attribute.href","href":"{{ dsx.attribute.href }}","role":"link","aria-label":"{{ dsx.attribute.title || dsx.attribute.href }}","__row":"1","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-card-title dsx-card-link-title","value":"{{ dsx.attribute.title || dsx.attribute.href }}","line-limit":"2"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"image","attrs":{"class":"dsx-card-link-chevron","icon":"chevron.forward","aria-hidden":"true","__fontSize":"13px","__css":"c228"},"children":[],"text":"","reactive":false,"nid":4}],"text":"\n    \n    \n  ","reactive":true,"nid":2},{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":5}],"text":"\n  \n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.CodeBlock":{"name":"CodeBlock","scheme":"foundation","head":{"attributes":[{"as":"value"},{"as":"language"},{"as":"filename"},{"as":"copy","default":"true","type":"bool"},{"as":"line-numbers","default":"false","type":"bool"},{"as":"start-line","default":"1"},{"as":"highlight"},{"as":"collapse-after","default":"12"},{"as":"drawer","default":"true","type":"bool"},{"as":"errors"},{"as":"follow","default":"false","type":"bool"},{"as":"files"}],"apis":[],"expects":[],"events":[{"as":"copy","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"codeFoldAt","body":"\n      const keep = Number(dsx.attribute.collapseAfter == null ? 12 : dsx.attribute.collapseAfter)\n      const lines = String(dsx.attribute.value == null ? '' : dsx.attribute.value).replace(/\\n$/, '').split('\\n').length\n      return keep &gt; 0 &amp;&amp; lines &gt; keep + 4 ? keep : 0\n    ","computed":false},{"as":"codeOpen","body":"return false","computed":false},{"as":"codeTab","body":"return 0","computed":false},{"as":"codeCopied","body":"return false","computed":false},{"as":"codeDrawer","body":"return false","computed":false},{"as":"codeWrap","body":"return false","computed":false},{"as":"codeCopyable","body":"\n      const c = String(dsx.attribute.copy)\n      return c !== 'false' &amp;&amp; c !== '0'\n    ","computed":true},{"as":"codeHasDrawer","body":"\n      const d = String(dsx.attribute.drawer)\n      return d !== 'false' &amp;&amp; d !== '0'\n    ","computed":true},{"as":"codeGutter","body":"\n      const g = String(dsx.attribute.lineNumbers)\n      return g === 'true' || g === '1'\n    ","computed":true},{"as":"codeFiles","body":"\n      const f = dsx.attribute.files\n      return Array.isArray(f) ? f.filter(x => x != null).map((x, i) => ({ id: i, name: String(x.name || x.language || 'File ' + (i + 1)), language: String(x.language || ''), value: String(x.value == null ? '' : x.value) })) : []\n    ","computed":true},{"as":"codeFile","body":"\n      const files = dsx.variable.codeFiles\n      if (files.length == 0) { return { name: String(dsx.attribute.filename == null ? '' : dsx.attribute.filename), language: String(dsx.attribute.language == null ? '' : dsx.attribute.language), value: String(dsx.attribute.value == null ? '' : dsx.attribute.value) } }\n      return files[Math.min(Math.max(0, dsx.variable.codeTab), files.length - 1)]\n    ","computed":true},{"as":"codeSource","body":"\n      return dsx.variable.codeFile.value.replace(/\\n$/, '')\n    ","computed":true},{"as":"codeLabel","body":"\n      const f = dsx.variable.codeFile.name.trim()\n      if (f != '') { return f }\n      const lang = dsx.variable.codeFile.language.trim().toLowerCase()\n      if (['text', 'txt', 'plain', 'plaintext', 'log', 'output', 'console'].includes(lang)) { return '' }\n      const names = { sh: 'Terminal', bash: 'Terminal', zsh: 'Terminal', shell: 'Terminal', shellscript: 'Terminal',\n        ts: 'TypeScript', typescript: 'TypeScript', tsx: 'TSX', js: 'JavaScript', javascript: 'JavaScript', jsx: 'JSX',\n        json: 'JSON', jsonc: 'JSON', yaml: 'YAML', yml: 'YAML', toml: 'TOML', html: 'HTML', xml: 'XML', css: 'CSS',\n        dsx: 'DSX', py: 'Python', python: 'Python', swift: 'Swift', kt: 'Kotlin', kotlin: 'Kotlin', java: 'Java',\n        go: 'Go', rs: 'Rust', rust: 'Rust', rb: 'Ruby', ruby: 'Ruby', sql: 'SQL', diff: 'Diff', md: 'Markdown',\n        markdown: 'Markdown', graphql: 'GraphQL', dockerfile: 'Dockerfile' }\n      return names[lang] == null ? lang : names[lang]\n    ","computed":true},{"as":"codeFirst","body":"\n      const n = Math.floor(Number(dsx.attribute.startLine == null ? 1 : dsx.attribute.startLine))\n      return n &gt; 0 ? n : 1\n    ","computed":true},{"as":"codeErrors","body":"\n      const raw = String(dsx.attribute.errors == null ? '' : dsx.attribute.errors)\n      return raw.split(',').map(s => Number(s.trim())).filter(n => n &gt; 0)\n    ","computed":true},{"as":"codeFollow","body":"\n      const f = String(dsx.attribute.follow)\n      return f === 'true' || f === '1'\n    ","computed":true},{"as":"codeCapped","body":"\n      return dsx.variable.codeFollow || Number(dsx.attribute.collapseAfter == null ? 12 : dsx.attribute.collapseAfter) == 0\n    ","computed":true},{"as":"codeMarked","body":"\n      const raw = String(dsx.attribute.highlight == null ? '' : dsx.attribute.highlight)\n      return raw.split(',').map(s => Number(s.trim())).filter(n => n &gt; 0)\n    ","computed":true},{"as":"codeUtterance","body":"\n      const lang = dsx.variable.codeFile.language.trim()\n      return (lang == '' ? 'Code' : lang + ' code') + ': ' + dsx.variable.codeSource\n    ","computed":true},{"as":"codeRows","body":"\n      const marked = dsx.variable.codeMarked\n      const errors = dsx.variable.codeErrors\n      return highlight(dsx.variable.codeSource, dsx.variable.codeFile.language).map(row => {\n        const spans = row.spans.length == 0 ? [{ text: ' ', kind: 'plain' }] : row.spans\n        const only = spans.length == 1 ? spans[0].kind : ''\n        const hunk = only == 'meta' &amp;&amp; spans[0].text.startsWith('@@')\n        const tint = errors.includes(row.line) ? 'error' : marked.includes(row.line) ? 'marked'\n          : only == 'inserted' || only == 'deleted' ? only : hunk ? 'meta' : 'none'\n        return { id: row.line, no: row.line + dsx.variable.codeFirst - 1, tint: tint, spans: spans.map(s => ({ t: s.text, k: s.kind })) }\n      })\n    ","computed":true},{"as":"codeFolded","body":"\n      return dsx.variable.codeFoldAt &gt; 0 &amp;&amp; !dsx.variable.codeOpen\n    ","computed":true},{"as":"codeShown","body":"\n      return dsx.variable.codeFolded ? dsx.variable.codeRows.slice(0, dsx.variable.codeFoldAt) : dsx.variable.codeRows\n    ","computed":true},{"as":"codeGutterWidth","body":"\n      return (String(dsx.variable.codeRows.length + dsx.variable.codeFirst - 1).length * 0.62) + 'em'\n    ","computed":true},{"as":"codeMoreLabel","body":"\n      if (dsx.variable.codeOpen) { return 'Show less' }\n      const n = dsx.variable.codeRows.length - dsx.variable.codeFoldAt\n      return 'Show ' + n + ' more lines'\n    ","computed":true}],"formulas":[],"actions":[{"as":"codeCopy","inputs":{},"body":"\n      await dsx.module.clipboard.write({ text: dsx.variable.codeSource });\n      dsx.variable.codeCopied = true;\n      setTimeout(() => { dsx.variable.codeCopied = false }, 2000, 'codeCopied');\n      dsx.event('copy')\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-codeblock"},"children":[{"tag":"stack","attrs":{"visible-if":"dsx.variable.codeLabel != '' || dsx.variable.codeFiles.length > 0 || dsx.variable.codeCopyable || dsx.variable.codeHasDrawer","class":"dsx-codeblock-bar {{ dsx.variable.codeLabel == '' && dsx.variable.codeFiles.length == 0 ? 'dsx-codeblock-corner' : '' }}","__row":"1","__steers":"1"},"children":[{"tag":"text","attrs":{"visible-if":"dsx.variable.codeFiles.length == 0","class":"dsx-codeblock-label","value":"{{ dsx.variable.codeLabel }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"stack","attrs":{"visible-if":"dsx.variable.codeFiles.length > 0","class":"dsx-codeblock-tabs","role":"listbox","aria-label":"Files","__row":"1","__steers":"1"},"children":[{"tag":"pressable","attrs":{"repeat":"dsx.variable.codeFiles","key":"id","role":"option","aria-selected":"{{ dsx.this.id == dsx.variable.codeTab }}","class":"dsx-codeblock-tab {{ dsx.this.id == dsx.variable.codeTab ? 'dsx-codeblock-tab-on' : '' }}","on:tap":"dsx.variable.codeTab = dsx.this.id"},"children":[{"tag":"text","attrs":{"class":"dsx-codeblock-tab-label","value":"{{ dsx.this.name }}"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n        \n      ","reactive":true,"nid":4}],"text":"\n      \n    ","reactive":true,"nid":3},{"tag":"spacer","attrs":{},"children":[],"text":"","reactive":false,"nid":6},{"tag":"button","attrs":{"visible-if":"dsx.variable.codeHasDrawer","class":"dsx-codeblock-action","icon":"arrow.up.left.and.arrow.down.right","aria-label":"Expand code","on:tap":"dsx.variable.codeDrawer = true"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"pressable","attrs":{"visible-if":"dsx.variable.codeCopyable","role":"button","class":"dsx-codeblock-action dsx-codeblock-copy {{ dsx.variable.codeCopied ? 'dsx-codeblock-copied' : '' }}","aria-label":"Copy code","aria-valuetext":"{{ dsx.variable.codeCopied ? 'Copied' : '' }}","on:tap":"dsx.action.codeCopy()"},"children":[{"tag":"stack","attrs":{"class":"dsx-codeblock-copy-states","aria-hidden":"true"},"children":[{"tag":"stack","attrs":{"class":"dsx-codeblock-copy-state dsx-codeblock-copy-rest","__row":"1","__steers":"1"},"children":[{"tag":"image","attrs":{"icon":"doc.on.doc"},"children":[],"text":"","reactive":false,"nid":11}],"text":"","reactive":false,"nid":10},{"tag":"stack","attrs":{"class":"dsx-codeblock-copy-state dsx-codeblock-copy-done","__row":"1","__steers":"1"},"children":[{"tag":"image","attrs":{"icon":"checkmark"},"children":[],"text":"","reactive":false,"nid":13},{"tag":"text","attrs":{"visible-if":"dsx.variable.codeLabel != '' || dsx.variable.codeFiles.length > 0","class":"dsx-codeblock-copied-note","value":"Copied"},"children":[],"text":"","reactive":true,"nid":14}],"text":"\n          \n          \n        ","reactive":true,"nid":12}],"text":"\n        \n        \n      ","reactive":true,"nid":9}],"text":"\n      \n    ","reactive":true,"nid":8}],"text":"\n    \n    \n    \n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"scroll","attrs":{"visible-if":"dsx.variable.codeCapped","axis":"vertical","class":"dsx-codeblock-capped {{ dsx.variable.codeFollow ? 'dsx-codeblock-follow' : '' }}","role":"group","aria-label":"{{ dsx.variable.codeUtterance }}"},"children":[{"tag":"scroll","attrs":{"class":"dsx-codeblock-body","axis":"horizontal"},"children":[{"tag":"stack","attrs":{"class":"dsx-codeblock-lines","__steers":"1"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.variable.codeRows","key":"id","class":"dsx-codeblock-line dsx-codeblock-line-{{ dsx.this.tint }}","__row":"1","__steers":"1"},"children":[{"tag":"text","attrs":{"visible-if":"dsx.variable.codeGutter","class":"dsx-codeblock-no","value":"{{ dsx.this.no }}","aria-hidden":"true","__style_reactive":"min-width:{{ dsx.variable.codeGutterWidth }}"},"children":[],"text":"","reactive":true,"nid":19},{"tag":"stack","attrs":{"class":"dsx-codeblock-code","__row":"1","__steers":"1"},"children":[{"tag":"text","attrs":{"repeat":"dsx.this.spans","key":"index","class":"dsx-codeblock-tok dsx-codeblock-k-{{ dsx.this.k }}","value":"{{ dsx.this.t }}"},"children":[],"text":"","reactive":true,"nid":21}],"text":"\n            \n          ","reactive":true,"nid":20}],"text":"\n          \n          \n        ","reactive":true,"nid":18}],"text":"\n        \n      ","reactive":true,"nid":17}],"text":"\n      \n    ","reactive":true,"nid":16}],"text":"\n    \n  ","reactive":true,"nid":15},{"tag":"stack","attrs":{"class":"dsx-codeblock-viewport","visible-if":"!dsx.variable.codeCapped"},"children":[{"tag":"scroll","attrs":{"class":"dsx-codeblock-body","axis":"horizontal","role":"group","aria-label":"{{ dsx.variable.codeUtterance }}"},"children":[{"tag":"stack","attrs":{"class":"dsx-codeblock-lines","__steers":"1"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.variable.codeShown","key":"id","class":"dsx-codeblock-line dsx-codeblock-line-{{ dsx.this.tint }}","__row":"1","__steers":"1"},"children":[{"tag":"text","attrs":{"visible-if":"dsx.variable.codeGutter","class":"dsx-codeblock-no","value":"{{ dsx.this.no }}","aria-hidden":"true","__style_reactive":"min-width:{{ dsx.variable.codeGutterWidth }}"},"children":[],"text":"","reactive":true,"nid":26},{"tag":"stack","attrs":{"class":"dsx-codeblock-code","__row":"1","__steers":"1"},"children":[{"tag":"text","attrs":{"repeat":"dsx.this.spans","key":"index","class":"dsx-codeblock-tok dsx-codeblock-k-{{ dsx.this.k }}","value":"{{ dsx.this.t }}"},"children":[],"text":"","reactive":true,"nid":28}],"text":"\n            \n          ","reactive":true,"nid":27}],"text":"\n          \n          \n        ","reactive":true,"nid":25}],"text":"\n        \n      ","reactive":true,"nid":24}],"text":"\n      \n    ","reactive":true,"nid":23},{"tag":"stack","attrs":{"visible-if":"dsx.variable.codeFolded","class":"dsx-codeblock-fade","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":29}],"text":"\n    \n    \n  ","reactive":true,"nid":22},{"tag":"stack","attrs":{"visible-if":"dsx.variable.codeFoldAt > 0","class":"dsx-codeblock-foot","__steers":"1"},"children":[{"tag":"button","attrs":{"class":"dsx-codeblock-more","label":"{{ dsx.variable.codeMoreLabel }}","icon":"{{ dsx.variable.codeOpen ? 'chevron.up' : 'chevron.down' }}","on:tap":"dsx.variable.codeOpen = !dsx.variable.codeOpen"},"children":[],"text":"","reactive":true,"nid":31}],"text":"\n    \n  ","reactive":true,"nid":30},{"tag":"sheet","attrs":{"present":"dsx.variable.codeDrawer","detents":"content,full","title":"{{ dsx.variable.codeLabel == '' ? 'Code' : dsx.variable.codeLabel }}","on:dismiss":"dsx.variable.codeDrawer = false"},"children":[{"tag":"stack","attrs":{"class":"dsx-codeblock-sheet"},"children":[{"tag":"stack","attrs":{"class":"dsx-codeblock-sheet-bar","__row":"1","__steers":"1"},"children":[{"tag":"button","attrs":{"class":"dsx-codeblock-action {{ dsx.variable.codeWrap ? 'dsx-codeblock-on' : '' }}","label":"Wrap","aria-label":"Wrap lines","aria-valuetext":"{{ dsx.variable.codeWrap ? 'On' : 'Off' }}","on:tap":"dsx.variable.codeWrap = !dsx.variable.codeWrap"},"children":[],"text":"","reactive":true,"nid":35},{"tag":"spacer","attrs":{},"children":[],"text":"","reactive":false,"nid":36},{"tag":"pressable","attrs":{"role":"button","class":"dsx-codeblock-action dsx-codeblock-copy {{ dsx.variable.codeCopied ? 'dsx-codeblock-copied' : '' }}","aria-label":"Copy code","aria-valuetext":"{{ dsx.variable.codeCopied ? 'Copied' : '' }}","on:tap":"dsx.action.codeCopy()"},"children":[{"tag":"stack","attrs":{"class":"dsx-codeblock-copy-states","aria-hidden":"true"},"children":[{"tag":"stack","attrs":{"class":"dsx-codeblock-copy-state dsx-codeblock-copy-rest","__row":"1","__steers":"1"},"children":[{"tag":"image","attrs":{"icon":"doc.on.doc"},"children":[],"text":"","reactive":false,"nid":40},{"tag":"text","attrs":{"value":"Copy"},"children":[],"text":"","reactive":false,"nid":41}],"text":"","reactive":false,"nid":39},{"tag":"stack","attrs":{"class":"dsx-codeblock-copy-state dsx-codeblock-copy-done","__row":"1","__steers":"1"},"children":[{"tag":"image","attrs":{"icon":"checkmark"},"children":[],"text":"","reactive":false,"nid":43},{"tag":"text","attrs":{"value":"Copied"},"children":[],"text":"","reactive":false,"nid":44}],"text":"","reactive":false,"nid":42}],"text":"\n            \n            \n          ","reactive":false,"nid":38}],"text":"\n          \n        ","reactive":true,"nid":37}],"text":"\n        \n        \n        \n      ","reactive":true,"nid":34},{"tag":"scroll","attrs":{"class":"dsx-codeblock-sheet-body","role":"group","aria-label":"{{ dsx.variable.codeUtterance }}"},"children":[{"tag":"scroll","attrs":{"visible-if":"!dsx.variable.codeWrap","axis":"horizontal","class":"dsx-codeblock-sheet-lines"},"children":[{"tag":"stack","attrs":{"class":"dsx-codeblock-lines","__steers":"1"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.variable.codeRows","key":"id","class":"dsx-codeblock-line dsx-codeblock-line-{{ dsx.this.tint }}","__row":"1","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-codeblock-no","value":"{{ dsx.this.no }}","aria-hidden":"true","__style_reactive":"min-width:{{ dsx.variable.codeGutterWidth }}"},"children":[],"text":"","reactive":true,"nid":49},{"tag":"stack","attrs":{"class":"dsx-codeblock-code","__row":"1","__steers":"1"},"children":[{"tag":"text","attrs":{"repeat":"dsx.this.spans","key":"index","class":"dsx-codeblock-tok dsx-codeblock-k-{{ dsx.this.k }}","value":"{{ dsx.this.t }}"},"children":[],"text":"","reactive":true,"nid":51}],"text":"\n                \n              ","reactive":true,"nid":50}],"text":"\n              \n              \n            ","reactive":true,"nid":48}],"text":"\n            \n          ","reactive":true,"nid":47}],"text":"\n          \n        ","reactive":true,"nid":46},{"tag":"stack","attrs":{"visible-if":"dsx.variable.codeWrap && dsx.variable.codeRows.length > 0","class":"dsx-codeblock-lines dsx-codeblock-sheet-lines","__steers":"1"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.variable.codeRows","key":"id","class":"dsx-codeblock-line dsx-codeblock-line-{{ dsx.this.tint }}","__row":"1","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-codeblock-no","value":"{{ dsx.this.no }}","aria-hidden":"true","__style_reactive":"min-width:{{ dsx.variable.codeGutterWidth }}"},"children":[],"text":"","reactive":true,"nid":54},{"tag":"stack","attrs":{"class":"dsx-codeblock-code dsx-codeblock-wrapped","__row":"1","__steers":"1"},"children":[{"tag":"text","attrs":{"repeat":"dsx.this.spans","key":"index","class":"dsx-codeblock-tok dsx-codeblock-tok-wrap dsx-codeblock-k-{{ dsx.this.k }}","value":"{{ dsx.this.t }}"},"children":[],"text":"","reactive":true,"nid":56}],"text":"\n              \n            ","reactive":true,"nid":55}],"text":"\n            \n            \n          ","reactive":true,"nid":53}],"text":"\n          \n        ","reactive":true,"nid":52}],"text":"\n        \n        \n      ","reactive":true,"nid":45}],"text":"\n      \n      \n    ","reactive":true,"nid":33}],"text":"\n    \n  ","reactive":true,"nid":32}],"text":"\n  \n\n  \n\n  \n\n  \n\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.CopyButton":{"name":"CopyButton","scheme":"foundation","head":{"attributes":[{"as":"value"},{"as":"label","default":"'Copy'"}],"apis":[],"expects":[],"events":[{"as":"copy","payload":[]},{"as":"fail","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"copyDone","body":"","computed":false},{"as":"copyFailed","body":"","computed":false},{"as":"copyIcon","body":"\n      if (dsx.variable.copyDone) { return 'checkmark' }\n      if (dsx.variable.copyFailed) { return 'xmark' }\n      return 'doc.on.doc'\n    ","computed":true},{"as":"copyNote","body":"\n      if (dsx.variable.copyDone) { return 'Copied' }\n      if (dsx.variable.copyFailed) { return 'Couldn\\'t copy' }\n      return ''\n    ","computed":true}],"formulas":[],"actions":[{"as":"copyValue","inputs":{},"body":"\n      try {\n        await dsx.module.clipboard.write({ text: String(dsx.attribute.value == null ? '' : dsx.attribute.value) })\n        dsx.variable.copyFailed = false\n        dsx.variable.copyDone = true\n        setTimeout(() => { dsx.variable.copyDone = false }, 1500, 'copyDone')\n        dsx.event('copy', { value: dsx.attribute.value })\n      } catch (e) {\n        dsx.variable.copyDone = false\n        dsx.variable.copyFailed = true\n        setTimeout(() => { dsx.variable.copyFailed = false }, 1500, 'copyFailed')\n        dsx.event('fail', { code: e.code })\n      }\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"button","attrs":{"class":"dsx-copybutton {{ dsx.variable.copyDone ? 'dsx-copybutton-done' : '' }}{{ dsx.variable.copyFailed ? 'dsx-copybutton-fail' : '' }}","icon":"{{ dsx.variable.copyIcon }}","aria-label":"{{ dsx.attribute.label }}","aria-valuetext":"{{ dsx.variable.copyNote }}","disabled-if":"dsx.attribute.value == null || dsx.attribute.value === ''","on:tap":"dsx.action.copyValue()"},"children":[],"text":"\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.CopyRow":{"name":"CopyRow","scheme":"foundation","head":{"attributes":[{"as":"label"},{"as":"value"},{"as":"lines"},{"as":"secret","default":"false","type":"bool"},{"as":"href"}],"apis":[],"expects":[],"events":[{"as":"copy","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"revealed","body":"","computed":false},{"as":"rowText","body":"\n      const v = String(dsx.attribute.value == null ? '' : dsx.attribute.value)\n      if (dsx.attribute.secret !== true &amp;&amp; dsx.attribute.secret !== 'true') { return v }\n      if (dsx.variable.revealed) { return v }\n      return '•'.repeat(Math.min(Math.max(v.length, 1), 24))\n    ","computed":true},{"as":"rowMiddle","body":"\n      const t = dsx.variable.rowText\n      const lines = dsx.attribute.lines == null ? 1 : Number(dsx.attribute.lines)\n      return lines == 1 &amp;&amp; t.length &gt; 16 &amp;&amp; !/\\s/.test(t) &amp;&amp; !(dsx.variable.rowSecret &amp;&amp; !dsx.variable.revealed)\n    ","computed":true},{"as":"rowTailLength","body":"return Math.min(12, Math.ceil(dsx.variable.rowText.length / 3))","computed":true},{"as":"rowHead","body":"return dsx.variable.rowText.slice(0, dsx.variable.rowText.length - dsx.variable.rowTailLength)","computed":true},{"as":"rowTail","body":"return dsx.variable.rowText.slice(dsx.variable.rowText.length - dsx.variable.rowTailLength)","computed":true},{"as":"rowSecret","body":"\n      return dsx.attribute.secret === true || dsx.attribute.secret === 'true'\n    ","computed":true},{"as":"rowSay","body":"\n      const l = String(dsx.attribute.label == null ? '' : dsx.attribute.label)\n      return l + (l == '' ? '' : ', ') + (dsx.variable.rowSecret &amp;&amp; !dsx.variable.revealed ? localize('hidden') : String(dsx.attribute.value == null ? '' : dsx.attribute.value))\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-copyrow","container":"true","__row":"1","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-copyrow-text {{ dsx.attribute.lines == 0 && dsx.attribute.lines != null ? 'dsx-copyrow-stacked' : '' }}","role":"group","aria-label":"{{ dsx.variable.rowSay }}","__row":"1","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-copyrow-label","visible-if":"dsx.attribute.label","value":"{{ dsx.attribute.label }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"stack","attrs":{"class":"dsx-copyrow-value dsx-copyrow-value-split","visible-if":"dsx.variable.rowMiddle","aria-hidden":"true","__row":"1","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-copyrow-value-head","value":"{{ dsx.variable.rowHead }}"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"text","attrs":{"class":"dsx-copyrow-value-tail","value":"{{ dsx.variable.rowTail }}"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n      \n      \n    ","reactive":true,"nid":3},{"tag":"text","attrs":{"class":"dsx-copyrow-value","visible-if":"!dsx.variable.rowMiddle","value":"{{ dsx.variable.rowText }}","line-limit":"{{ dsx.attribute.lines == null ? 1 : dsx.attribute.lines }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":6}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"dsx-copyrow-trail","__row":"1","__steers":"1"},"children":[{"tag":"button","attrs":{"class":"dsx-copyrow-action","visible-if":"dsx.variable.rowSecret","icon":"{{ dsx.variable.revealed ? 'eye.slash' : 'eye' }}","aria-label":"{{ dsx.variable.revealed ? 'Hide' : 'Reveal' }}","on:tap":"dsx.variable.revealed = !dsx.variable.revealed"},"children":[],"text":"","reactive":true,"nid":8},{"tag":"button","attrs":{"class":"dsx-copyrow-action","visible-if":"dsx.attribute.href","icon":"arrow.up.right","aria-label":"Open","href":"{{ dsx.attribute.href }}"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"CopyButton","attrs":{"class":"dsx-copyrow-copy","value":"{{ dsx.attribute.value }}","label":"Copy {{ dsx.attribute.label || '' }}","on:copy":"dsx.event('copy')"},"children":[],"text":"","reactive":true,"nid":10}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":7}],"text":"\n  \n\n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.Diff":{"name":"Diff","scheme":"foundation","head":{"attributes":[{"as":"before"},{"as":"after"},{"as":"mode","default":"'unified'"},{"as":"aria-label"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"diffSplit","body":"\n      return dsx.attribute.mode == 'split'\n    ","computed":true},{"as":"diffParts","body":"\n      const a = String(dsx.attribute.before == null ? '' : dsx.attribute.before).split('\\n')\n      const b = String(dsx.attribute.after == null ? '' : dsx.attribute.after).split('\\n')\n      const lim = Math.min(a.length, b.length)\n      const sameHead = Array.from({ length: lim }, (_, i) => a[i] == b[i]).indexOf(false)\n      const head = sameHead &lt; 0 ? lim : sameHead\n      const rest = Math.min(a.length - head, b.length - head)\n      const sameTail = Array.from({ length: rest }, (_, i) => a[a.length - 1 - i] == b[b.length - 1 - i]).indexOf(false)\n      const tail = sameTail &lt; 0 ? rest : sameTail\n      return {\n        head: a.slice(0, head),\n        removed: a.slice(head, a.length - tail),\n        added: b.slice(head, b.length - tail),\n        tail: a.slice(a.length - tail),\n        headCount: head\n      }\n    ","computed":true},{"as":"diffRows","body":"\n      const p = dsx.variable.diffParts\n      return p.head.map(t => ({ kind: 'same', mark: ' ', text: t }))\n        .concat(p.removed.map(t => ({ kind: 'del', mark: '-', text: t })))\n        .concat(p.added.map(t => ({ kind: 'add', mark: '+', text: t })))\n        .concat(p.tail.map(t => ({ kind: 'same', mark: ' ', text: t })))\n        .map((r, i) => ({ id: 'r' + i, kind: r.kind, mark: r.mark, text: r.text }))\n    ","computed":true},{"as":"diffPairs","body":"\n      const p = dsx.variable.diffParts\n      const same = t => ({ left: t, right: t, leftKind: 'same', rightKind: 'same' })\n      const width = Math.max(p.removed.length, p.added.length)\n      const middle = Array.from({ length: width }, (_, i) => ({\n        left: i &lt; p.removed.length ? p.removed[i] : '',\n        right: i &lt; p.added.length ? p.added[i] : '',\n        leftKind: i &lt; p.removed.length ? 'del' : 'none',\n        rightKind: i &lt; p.added.length ? 'add' : 'none'\n      }))\n      return p.head.map(same).concat(middle).concat(p.tail.map(same))\n        .map((r, i) => ({ id: 'p' + i, left: r.left, right: r.right, leftKind: r.leftKind, rightKind: r.rightKind }))\n    ","computed":true}],"formulas":[{"as":"diffTint","inputs":{"kind":"dsx.this.kind"},"body":"\n      if (kind == 'del') { return 'destructive' }\n      if (kind == 'add') { return 'accent' }\n      return 'label'\n    "},{"as":"diffUtterance","inputs":{"kind":"dsx.this.kind","text":"dsx.this.text"},"body":"\n      if (kind == 'del') { return 'removed: ' + text }\n      if (kind == 'add') { return 'added: ' + text }\n      return 'unchanged: ' + text\n    "},{"as":"diffRowText","inputs":{"text":"dsx.this.text"},"body":"\n      return text == '' ? ' ' : text\n    "},{"as":"diffLeftText","inputs":{"kind":"dsx.this.leftKind","text":"dsx.this.left"},"body":"\n      const body = text == '' ? ' ' : text\n      if (kind == 'del') { return '- ' + body }\n      return '  ' + body\n    "},{"as":"diffRightText","inputs":{"kind":"dsx.this.rightKind","text":"dsx.this.right"},"body":"\n      const body = text == '' ? ' ' : text\n      if (kind == 'add') { return '+ ' + body }\n      return '  ' + body\n    "},{"as":"diffPairUtterance","inputs":{"leftKind":"dsx.this.leftKind","left":"dsx.this.left","right":"dsx.this.right"},"body":"\n      if (leftKind == 'same') { return 'unchanged: ' + left }\n      if (left == '') { return 'added: ' + right }\n      if (right == '') { return 'removed: ' + left }\n      return 'removed: ' + left + ', added: ' + right\n    "}],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-diff","role":"list","aria-label":"{{ dsx.attribute.ariaLabel || 'Differences' }}","__background":"var(--dsx-secondary-grouped-background)","__css":"c262"},"children":[{"tag":"list","attrs":{"visible-if":"!dsx.variable.diffSplit","bind":"dsx.variable.diffRows","key":"id","scroll":"false","__css":"c263"},"children":[{"tag":"stack","attrs":{"class":"dsx-diff-row","role":"listitem","aria-label":"{{ dsx.formula.diffUtterance }}","__flexDirection":"row","__style_reactive":"--dsx-rx-background:{{ dsx.this.kind == 'same' ? 'transparent' : 'var(--dsx-fill)' }}","__css":"c264"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.this.mark }}","aria-hidden":"true","__style_reactive":"--dsx-rx-color:{{ dsx.formula.diffTint }}","__css":"c265"},"children":[],"text":"","reactive":true},{"tag":"text","attrs":{"value":"{{ dsx.formula.diffRowText }}","aria-hidden":"true","__style_reactive":"--dsx-rx-color:{{ dsx.formula.diffTint }}","__css":"c266"},"children":[],"text":"","reactive":true}],"text":"\n      \n      \n    ","reactive":true}],"text":"\n    \n  ","reactive":true},{"tag":"list","attrs":{"visible-if":"dsx.variable.diffSplit","bind":"dsx.variable.diffPairs","key":"id","scroll":"false","__css":"c263"},"children":[{"tag":"stack","attrs":{"class":"dsx-diff-pair","role":"listitem","aria-label":"{{ dsx.formula.diffPairUtterance }}","__flexDirection":"row","__css":"c267"},"children":[{"tag":"stack","attrs":{"class":"dsx-diff-side","__steers":"1","__style_reactive":"--dsx-rx-background:{{ dsx.this.leftKind == 'del' ? 'var(--dsx-fill)' : 'transparent' }}","__css":"c268"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.formula.diffLeftText }}","aria-hidden":"true","__style_reactive":"--dsx-rx-color:{{ dsx.this.leftKind == 'del' ? 'var(--dsx-destructive)' : 'var(--dsx-label)' }}","__css":"c266"},"children":[],"text":"","reactive":true}],"text":"\n        \n      ","reactive":true},{"tag":"stack","attrs":{"class":"dsx-diff-side","__steers":"1","__style_reactive":"--dsx-rx-background:{{ dsx.this.rightKind == 'add' ? 'var(--dsx-fill)' : 'transparent' }}","__css":"c268"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.formula.diffRightText }}","aria-hidden":"true","__style_reactive":"--dsx-rx-color:{{ dsx.this.rightKind == 'add' ? 'var(--dsx-accent)' : 'var(--dsx-label)' }}","__css":"c266"},"children":[],"text":"","reactive":true}],"text":"\n        \n      ","reactive":true}],"text":"\n      \n      \n    ","reactive":true}],"text":"\n    \n  ","reactive":true}],"text":"\n  \n\n  \n\n  \n","reactive":true},"reactive":true,"language":"1"},"foundation.EmptyState":{"name":"EmptyState","scheme":"foundation","head":{"attributes":[{"as":"icon","default":"'tray'"},{"as":"title"},{"as":"message"},{"as":"action"},{"as":"link"}],"apis":[],"expects":[],"events":[{"as":"action","payload":[]},{"as":"link","payload":[]}],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-empty-state","__steers":"1","__css":"c290"},"children":[{"tag":"image","attrs":{"class":"dsx-empty-state-icon","icon":"{{ dsx.attribute.icon || 'tray' }}","__inkAuthored":"true","__fontSize":"32px","__css":"c291"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"dsx-empty-state-copy","role":"group","__steers":"1","__css":"c292"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.attribute.title }}","__css":"c293"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"text","attrs":{"visible-if":"dsx.attribute.message","value":"{{ dsx.attribute.message }}","__css":"c294"},"children":[],"text":"","reactive":true,"nid":4}],"text":"\n    \n    \n  ","reactive":true,"nid":2},{"tag":"button","attrs":{"class":"dsx-empty-state-link","visible-if":"dsx.attribute.link","variant":"plain","label":"{{ dsx.attribute.link }}","on:tap":"dsx.event('link')"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"button","attrs":{"visible-if":"dsx.attribute.action","label":"{{ dsx.attribute.action }}","variant":"prominent","on:tap":"dsx.event('action')"},"children":[],"text":"","reactive":true,"nid":6}],"text":"\n  \n\n  \n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.Explainer":{"name":"Explainer","scheme":"foundation","head":{"attributes":[{"as":"title"},{"as":"message"},{"as":"tone","default":"'info'"},{"as":"learn-more","default":"'Learn more'"},{"as":"sheet-title"},{"as":"body"},{"as":"steps","default":"null"},{"as":"detents","default":"'content'"},{"as":"icon"}],"apis":[],"expects":[],"events":[{"as":"action","payload":["step","id"]}],"inputs":[],"tools":[],"variables":[{"as":"open","body":"return false","computed":false},{"as":"hasSteps","body":"\n      const d = dsx.attribute.steps\n      return Array.isArray(d) ? d.length &gt; 0 : (d != null &amp;&amp; String(d).trim().startsWith('['))\n    ","computed":true}],"formulas":[],"actions":[{"as":"show","inputs":{},"body":"dsx.variable.open = true"},{"as":"done","inputs":{},"body":"dsx.variable.open = false"}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-explainer","__steers":"1"},"children":[{"tag":"Callout","attrs":{"tone":"{{ dsx.attribute.tone }}","title":"{{ dsx.attribute.title }}","message":"{{ dsx.attribute.message }}","icon":"{{ dsx.attribute.icon }}","action":"{{ dsx.attribute.learnMore }}","on:action":"dsx.action.show()"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"sheet","attrs":{"detents":"{{ dsx.attribute.detents }}","present":"dsx.variable.open","title":"{{ dsx.attribute.sheetTitle || dsx.attribute.learnMore }}","close":"none","action":"Done","on:action":"dsx.action.done()","on:dismiss":"dsx.variable.open = false"},"children":[{"tag":"stack","attrs":{"class":"dsx-explainer-article","__steers":"1"},"children":[{"tag":"markdown","attrs":{"class":"dsx-explainer-body","copyCode":"true","externalLinks":"true","visible-if":"dsx.attribute.body","value":"{{ dsx.attribute.body }}"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"Guide","attrs":{"visible-if":"dsx.variable.hasSteps","steps":"{{ dsx.attribute.steps }}","on:action":"dsx.event('action', dsx.this)"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":6}],"text":"\n      \n      \n      \n    ","reactive":true,"nid":3}],"text":"\n    \n  ","reactive":true,"nid":2}],"text":"\n  \n\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.FieldRow":{"name":"FieldRow","scheme":"foundation","head":{"attributes":[{"as":"label"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-field-row","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-field-row-content","__row":"1","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-field-row-label","visible-if":"dsx.attribute.label","value":"{{ dsx.attribute.label }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"stack","attrs":{"class":"dsx-field-row-slot","__steers":"1"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":4}],"text":"\n      \n    ","reactive":false,"nid":3}],"text":"\n    \n    \n  ","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"dsx-field-row-separator","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":5}],"text":"\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.Figure":{"name":"Figure","scheme":"foundation","head":{"attributes":[{"as":"src","type":"url"},{"as":"alt"},{"as":"width","type":"number"},{"as":"height","type":"number"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"figureNatural","body":"return null","computed":false},{"as":"figureRatio","body":"\n      const w = Number(dsx.attribute.width)\n      const h = Number(dsx.attribute.height)\n      if (w &gt; 0 &amp;&amp; h &gt; 0) { return w + ' / ' + h }\n      const n = dsx.variable.figureNatural\n      if (n != null &amp;&amp; n.w &gt; 0 &amp;&amp; n.h &gt; 0) { return n.w + ' / ' + n.h }\n      return '16 / 9'\n    ","computed":true},{"as":"figurePlace","body":"\n      const l = dsx.context.galleryLayout\n      return l == 'strip' || l == 'grid' ? l : ''\n    ","computed":true},{"as":"figureMax","body":"\n      const w = Number(dsx.attribute.width)\n      if (dsx.variable.figurePlace != '') { return 'none' }\n      if (w &gt; 0) { return w + 'px' }\n      //  a vector picture (SVG) has no natural size to protect from upscaling: it fills the column, sharp at any width\n      if (String(dsx.attribute.src == null ? '' : dsx.attribute.src).split(/[?#]/)[0].toLowerCase().endsWith('.svg')) { return 'none' }\n      const n = dsx.variable.figureNatural\n      return n != null &amp;&amp; n.w &gt; 0 ? n.w + 'px' : 'none'\n    ","computed":true},{"as":"figureFrameRatio","body":"\n      if (dsx.variable.figurePlace == 'grid') { return '1 / 1' }\n      if (dsx.variable.figurePlace == 'strip') { return '4 / 3' }\n      return dsx.variable.figureRatio\n    ","computed":true},{"as":"figureName","body":"\n      return 'dsx-figure-' + String(dsx.attribute.src == null ? '' : dsx.attribute.src).replace(/[^A-Za-z0-9_-]/g, '-')\n    ","computed":true},{"as":"figureLabel","body":"\n      const alt = String(dsx.attribute.alt == null ? '' : dsx.attribute.alt).trim()\n      return alt == '' ? localize('Image') : alt\n    ","computed":true}],"formulas":[],"actions":[{"as":"figureEnrol","inputs":{},"body":"\n      if (dsx.variable.figurePlace != '') { dsx.context.galleryEnrol({ src: dsx.attribute.src, alt: dsx.attribute.alt, name: dsx.variable.figureName }) }\n    "},{"as":"figureTap","inputs":{},"body":"\n      if (dsx.variable.figurePlace != '') { dsx.context.galleryOpen({ src: dsx.attribute.src }) }\n      else { dsx.component.present('ImageViewer', { as: 'cover', interactive: 'drag', attrs: { images: [{ src: dsx.attribute.src, alt: dsx.attribute.alt, name: dsx.variable.figureName }], index: 0 } }) }\n    "}],"watches":[],"scripts":[],"globalScripts":[],"contexts":[{"from":"markdown.gallery","optional":"true","use":["galleryEnrol","galleryOpen","galleryLayout"]}]},"root":{"tag":"stack","attrs":{"class":"dsx-figure dsx-figure-in-{{ dsx.variable.figurePlace || 'flow' }}","on:appear":"dsx.action.figureEnrol()","__style_reactive":"max-width:{{ dsx.variable.figureMax }}","__steers":"1"},"children":[{"tag":"pressable","attrs":{"class":"dsx-figure-frame","aria-label":"{{ dsx.variable.figureLabel }}","aria-description":"{{ localize('Opens the photo viewer') }}","on:tap":"dsx.action.figureTap()","__style_reactive":"aspect-ratio:{{ dsx.variable.figureFrameRatio }};--dsx-view-transition-name:{{ dsx.variable.figureName }};view-transition-name:{{ dsx.variable.figureName }}"},"children":[{"tag":"image","attrs":{"class":"dsx-figure-image","src":"{{ dsx.attribute.src }}","aria-hidden":"true","on:load":"dsx.variable.figureNatural = { w: dsx.this.width, h: dsx.this.height }","__css":"c298"},"children":[],"text":"","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"dsx-figure-caption","visible-if":"dsx.variable.figurePlace != 'grid'","__steers":"1"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":4}],"text":"\n    \n  ","reactive":true,"nid":3}],"text":"\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.Gallery":{"name":"Gallery","scheme":"foundation","head":{"attributes":[{"as":"columns","type":"number"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"galleryImages","body":"return []","computed":false},{"as":"galleryCols","body":"\n      const n = Number(dsx.attribute.columns)\n      return isNaN(n) || n &lt; 1 ? 1 : Math.min(6, Math.floor(n))\n    ","computed":true},{"as":"galleryLayout","body":"\n      return dsx.variable.galleryCols &gt; 1 ? 'grid' : 'strip'\n    ","computed":true,"context":"markdown.gallery"},{"as":"galleryLabel","body":"\n      return localize('Gallery') + ', ' + dsx.variable.galleryImages.length + ' ' + localize('images')\n    ","computed":true}],"formulas":[],"actions":[{"as":"galleryEnrol","inputs":{"src":"''","alt":"''","name":"''"},"body":"\n      const s = String(src == null ? '' : src)\n      if (s != '' &amp;&amp; !dsx.variable.galleryImages.some(x =&gt; x.src == s)) { dsx.variable.galleryImages = dsx.variable.galleryImages.concat([{ src: s, alt: String(alt == null ? '' : alt), name: String(name == null ? '' : name) }]) }\n    ","context":"markdown.gallery"},{"as":"galleryOpen","inputs":{"src":"''"},"body":"\n      const at = dsx.variable.galleryImages.findIndex(x =&gt; x.src == String(src))\n      dsx.component.present('ImageViewer', { as: 'cover', interactive: 'drag', attrs: { images: dsx.variable.galleryImages, index: at &lt; 0 ? 0 : at } })\n    ","context":"markdown.gallery"}],"watches":[],"scripts":[],"globalScripts":[],"contexts":[{"as":"markdown.gallery"}]},"root":{"tag":"stack","attrs":{"class":"dsx-gallery","role":"group","aria-label":"{{ dsx.variable.galleryLabel }}","__steers":"1"},"children":[{"tag":"scroll","attrs":{"class":"dsx-gallery-strip","axis":"horizontal","visible-if":"dsx.variable.galleryCols == 1"},"children":[{"tag":"stack","attrs":{"class":"dsx-gallery-row","__row":"1","__steers":"1"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":3}],"text":"\n      \n    ","reactive":false,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"dsx-gallery-grid dsx-gallery-grid-{{ dsx.variable.galleryCols }}","visible-if":"dsx.variable.galleryCols > 1"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":5}],"text":"\n    \n  ","reactive":true,"nid":4}],"text":"\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.Guide":{"name":"Guide","scheme":"foundation","head":{"attributes":[{"as":"steps","default":"null"},{"as":"aria-label"}],"apis":[],"expects":[],"events":[{"as":"action","payload":["step","id"]}],"inputs":[],"tools":[],"variables":[{"as":"guideSteps","body":"\n      const d = dsx.attribute.steps\n      const rows = Array.isArray(d) ? d : (d &amp;&amp; String(d).trim().startsWith('[') ? (JSON.parse(d) || []) : [])\n      return rows.filter(r => r != null &amp;&amp; r.title != null &amp;&amp; String(r.title) != '').map((r, i) => {\n        const a = r.action != null &amp;&amp; r.action.label ? r.action : null\n        const href = a != null &amp;&amp; a.href ? String(a.href) : ''\n        const label = a == null ? '' : String(a.label)\n        const leaves = href.startsWith('http')\n        return {\n          key: 'g' + i, n: i + 1, title: String(r.title), body: r.body == null ? '' : String(r.body),\n          actionLabel: label.endsWith(' ↗') ? label.slice(0, -2) : label,\n          actionIcon: leaves ? 'arrow.up.right' : '',\n          actionHref: href, actionId: a != null &amp;&amp; a.id ? String(a.id) : ''\n        }\n      })\n    ","computed":true}],"formulas":[],"actions":[{"as":"act","inputs":{"step":"dsx.this.n","id":"dsx.this.actionId","href":"dsx.this.actionHref"},"body":"\n      if (href != '' &amp;&amp; href.startsWith('http')) { dsx.module.route.push({ path: href }); return }\n      dsx.event('action', { step: step, id: id != '' ? id : href })\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-guide","role":"list","aria-label":"{{ dsx.attribute.ariaLabel }}","__steers":"1"},"children":[{"tag":"MarkdownStep","attrs":{"repeat":"dsx.variable.guideSteps","key":"key","index":"{{ dsx.this.n }}","value":"{{ dsx.this.title }}"},"children":[{"tag":"markdown","attrs":{"class":"dsx-guide-body","copyCode":"true","externalLinks":"true","visible-if":"dsx.this.body != ''","value":"{{ dsx.this.body }}"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"button","attrs":{"class":"dsx-guide-action","variant":"bordered","control-size":"small","visible-if":"dsx.this.actionLabel != ''","label":"{{ dsx.this.actionLabel }}","icon":"{{ dsx.this.actionIcon }}","on:tap":"dsx.action.act()"},"children":[],"text":"","reactive":true,"nid":3}],"text":"\n    \n    \n  ","reactive":true,"nid":1},{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":4}],"text":"\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.IconTile":{"name":"IconTile","scheme":"foundation","head":{"attributes":[{"as":"src"},{"as":"icon"},{"as":"name"},{"as":"src-dark"},{"as":"brand"},{"as":"tint"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"iconTileKind","body":"\n      if (dsx.attribute.src) { return 'image' }\n      if (dsx.attribute.brand) { return 'brand' }\n      if (dsx.attribute.icon) { return 'symbol' }\n      return 'monogram'\n    ","computed":true},{"as":"iconTileLetter","body":"\n      const n = String(dsx.attribute.name == null ? '' : dsx.attribute.name).trim()\n      return n == '' ? '?' : n.charAt(0).toUpperCase()\n    ","computed":true},{"as":"iconTileTint","body":"\n      const named = { blue: '#007AFF', red: '#FF3B30', green: '#34C759', teal: '#30B0C7', indigo: '#5856D6', mint: '#00C7BE', orange: '#FF9500', pink: '#FF2D55', cyan: '#32ADE6', gray: '#8E8E93', brown: '#A2845E', purple: '#AF52DE', graphite: '#636366', yellow: '#FFCC00', black: '#1C1C1E' }\n      const t = String(dsx.attribute.tint == null ? '' : dsx.attribute.tint).trim()\n      if (t != '') { return named[t] || t }\n      if (dsx.attribute.brand &amp;&amp; !dsx.attribute.src) { return '#FFFFFF' }\n      const tints = ['var(--dsx-accent)', '#5856D6', '#AF52DE', '#FF2D55', '#FF9500', '#34C759', '#30B0C7', '#FF3B30']\n      const n = String(dsx.attribute.name == null ? '' : dsx.attribute.name).trim()\n      if (n == '') { return tints[0] }\n      return tints[(n.length + n.charCodeAt(0) + n.charCodeAt(n.length - 1)) % tints.length]\n    ","computed":true},{"as":"iconTileMono","body":"\n      return dsx.variable.iconTileKind == 'brand' &amp;&amp; String(dsx.attribute.tint == null ? '' : dsx.attribute.tint).trim() != ''\n    ","computed":true},{"as":"iconTileDuo","body":"\n      return dsx.variable.iconTileMono\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-icon-tile dsx-icon-tile-{{ dsx.variable.iconTileKind }}{{ dsx.attribute.srcDark || dsx.variable.iconTileDuo ? ' dsx-icon-tile-twin' : '' }}","aria-hidden":"true","__style_reactive":"--dsx-rx-background:var(--dsx-icon-tile-background, {{ dsx.variable.iconTileKind == 'image' ? 'var(--dsx-fill)' : dsx.variable.iconTileTint }})","__css":"c153","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"dsx-icon-tile-image dsx-icon-tile-light","visible-if":"dsx.variable.iconTileKind == 'image'","src":"{{ dsx.attribute.src }}","__css":"c298"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"image","attrs":{"class":"dsx-icon-tile-image dsx-icon-tile-dark","visible-if":"dsx.variable.iconTileKind == 'image' && dsx.attribute.srcDark","src":"{{ dsx.attribute.srcDark }}","__css":"c298"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"image","attrs":{"class":"dsx-icon-tile-mark{{ dsx.variable.iconTileDuo ? ' dsx-icon-tile-light' : '' }}","visible-if":"dsx.variable.iconTileMono","icon":"{{ dsx.attribute.brand }}","__inkAuthored":"true","__css":"c311"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"stack","attrs":{"class":"dsx-icon-tile-ground dsx-icon-tile-dark","visible-if":"dsx.variable.iconTileDuo","__style_reactive":"--dsx-rx-background:var(--dsx-icon-tile-dark-background, {{ dsx.variable.iconTileTint }})","__css":"c153"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"image","attrs":{"class":"dsx-icon-tile-mark dsx-icon-tile-dark","visible-if":"dsx.variable.iconTileDuo","icon":"{{ dsx.attribute.brand }}","__inkAuthored":"true","__css":"c312"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"image","attrs":{"class":"dsx-icon-tile-mark","visible-if":"dsx.variable.iconTileKind == 'brand' && !dsx.variable.iconTileMono","icon":"{{ dsx.attribute.brand }}","__inkAuthored":"true","__css":"c313"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"image","attrs":{"class":"dsx-icon-tile-symbol","visible-if":"dsx.variable.iconTileKind == 'symbol'","icon":"{{ dsx.attribute.icon }}"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"text","attrs":{"class":"dsx-icon-tile-monogram","visible-if":"dsx.variable.iconTileKind == 'monogram'","value":"{{ dsx.variable.iconTileLetter }}","line-limit":"1"},"children":[],"text":"","reactive":true,"nid":8}],"text":"\n  \n\n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.ImageViewer":{"name":"ImageViewer","scheme":"foundation","head":{"attributes":[{"as":"images","type":"array"},{"as":"index","type":"number"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"viewerAt","body":"\n      const n = Number(dsx.attribute.index)\n      return isNaN(n) || n &lt; 0 ? 0 : Math.floor(n)\n    ","computed":false},{"as":"viewerRows","body":"\n      const a = dsx.attribute.images\n      const raw = Array.isArray(a) ? a : (a != null &amp;&amp; String(a).trim().startsWith('[') ? (JSON.parse(String(a)) || []) : [])\n      return raw.map((r, i) =&gt; ({ id: 'v' + i, i: i, src: String(r.src == null ? '' : r.src), alt: String(r.alt == null ? '' : r.alt), name: String(r.name == null ? 'none' : r.name) }))\n    ","computed":true},{"as":"viewerCount","body":"\n      const n = dsx.variable.viewerRows.length\n      return n &gt; 1 ? (dsx.variable.viewerAt + 1) + ' ' + localize('of') + ' ' + n : ''\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-image-viewer","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-image-viewer-bar","__row":"1","__steers":"1"},"children":[{"tag":"button","attrs":{"class":"dsx-image-viewer-close","icon":"xmark","aria-label":"{{ localize('Close') }}","on:tap":"dsx.component.dismiss()"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"spacer","attrs":{},"children":[],"text":"","reactive":false,"nid":3},{"tag":"text","attrs":{"class":"dsx-image-viewer-count","visible-if":"dsx.variable.viewerCount != ''","value":"{{ dsx.variable.viewerCount }}"},"children":[],"text":"","reactive":true,"nid":4}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"pager","attrs":{"class":"dsx-image-viewer-pager","bind":"dsx.variable.viewerRows","key":"id","value":"dsx.variable.viewerAt","dots":"false"},"children":[{"tag":"stack","attrs":{"class":"dsx-image-viewer-page","aria-label":"{{ dsx.this.alt || localize('Image') }}","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"dsx-image-viewer-image","src":"{{ dsx.this.src }}","__style_reactive":"--dsx-view-transition-name:{{ dsx.this.i == dsx.variable.viewerAt ? dsx.this.name : 'none' }};view-transition-name:{{ dsx.this.i == dsx.variable.viewerAt ? dsx.this.name : 'none' }}","__css":"c207"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n      \n    ","reactive":true,"nid":6}],"text":"\n    \n  ","reactive":true,"nid":5}],"text":"\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.ItemCard":{"name":"ItemCard","scheme":"foundation","head":{"attributes":[{"as":"title"},{"as":"subtitle"},{"as":"summary"},{"as":"image"},{"as":"image-dark"},{"as":"cover"},{"as":"cover-dark"},{"as":"tags"},{"as":"brand"},{"as":"icon"},{"as":"tint"},{"as":"badge"},{"as":"badge-role"},{"as":"details"},{"as":"status"},{"as":"status-icon"},{"as":"status-label"},{"as":"status-role"},{"as":"href","type":"url"}],"apis":[],"expects":[],"events":[{"as":"tap","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"itemCardDetails","body":"\n      const d = dsx.attribute.details\n      const rows = Array.isArray(d) ? d : (d &amp;&amp; String(d).trim().startsWith('[') ? (JSON.parse(d) || []) : [])\n      return rows.filter(r => r != null &amp;&amp; r.text != null &amp;&amp; String(r.text) != '').map((r, i) => ({ key: 'd' + i, icon: r.icon || '', text: String(r.text) }))\n    ","computed":true},{"as":"itemCardTags","body":"\n      const t = dsx.attribute.tags\n      const rows = Array.isArray(t) ? t : (t &amp;&amp; String(t).trim().startsWith('[') ? (JSON.parse(t) || []) : [])\n      return rows.filter(x => x != null &amp;&amp; String(x) != '').map((x, i) => ({ key: 't' + i, label: String(x) }))\n    ","computed":true},{"as":"itemCardHasStatus","body":"\n      return !!(dsx.attribute.status || dsx.attribute.statusLabel || dsx.attribute.statusIcon)\n    ","computed":true},{"as":"itemCardValue","body":"\n      const parts = [dsx.attribute.statusLabel, dsx.attribute.status].filter(p => p != null &amp;&amp; String(p) != '')\n      return parts.join(', ')\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-item-card"},"children":[{"tag":"button","attrs":{"class":"dsx-item-card-action","visible-if":"dsx.attribute.href","label":"","aria-label":"{{ dsx.attribute.title }}","aria-valuetext":"{{ dsx.variable.itemCardValue }}","href":"{{ dsx.attribute.href }}","on:tap":"dsx.event('tap')"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"button","attrs":{"class":"dsx-item-card-action","visible-if":"!dsx.attribute.href","label":"","aria-label":"{{ dsx.attribute.title }}","aria-valuetext":"{{ dsx.variable.itemCardValue }}","on:tap":"dsx.event('tap')"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"Card","attrs":{"class":"dsx-item-card-face"},"children":[{"tag":"stack","attrs":{"class":"dsx-item-card-press","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":4},{"tag":"stack","attrs":{"class":"dsx-item-card-cover{{ dsx.attribute.coverDark ? ' dsx-item-card-cover-twin' : '' }}","visible-if":"dsx.attribute.cover","aria-hidden":"true"},"children":[{"tag":"image","attrs":{"class":"dsx-item-card-cover-image dsx-item-card-cover-light","src":"{{ dsx.attribute.cover }}","__css":"c298"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"image","attrs":{"class":"dsx-item-card-cover-image dsx-item-card-cover-dark","visible-if":"dsx.attribute.coverDark","src":"{{ dsx.attribute.coverDark }}","__css":"c298"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n      \n      \n    ","reactive":true,"nid":5},{"tag":"stack","attrs":{"class":"dsx-item-card-body","__steers":"1"},"children":[{"tag":"IconTile","attrs":{"visible-if":"!dsx.attribute.cover","src":"{{ dsx.attribute.image }}","src-dark":"{{ dsx.attribute.imageDark }}","brand":"{{ dsx.attribute.brand }}","icon":"{{ dsx.attribute.icon }}","tint":"{{ dsx.attribute.tint }}","name":"{{ dsx.attribute.title }}"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"stack","attrs":{"class":"dsx-item-card-heading"},"children":[{"tag":"stack","attrs":{"class":"dsx-item-card-title-line","__row":"1","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-item-card-title","value":"{{ dsx.attribute.title }}","line-limit":"1"},"children":[],"text":"","reactive":true,"nid":12},{"tag":"chip","attrs":{"class":"dsx-item-card-badge","visible-if":"dsx.attribute.badge","label":"{{ dsx.attribute.badge }}","role":"{{ dsx.attribute.badgeRole }}"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n          \n          \n        ","reactive":true,"nid":11},{"tag":"text","attrs":{"class":"dsx-item-card-subtitle","visible-if":"dsx.attribute.subtitle","value":"{{ dsx.attribute.subtitle }}","line-limit":"1"},"children":[],"text":"","reactive":true,"nid":14}],"text":"\n        \n        \n      ","reactive":true,"nid":10},{"tag":"text","attrs":{"class":"dsx-item-card-summary","visible-if":"dsx.attribute.summary","value":"{{ dsx.attribute.summary }}","line-limit":"2"},"children":[],"text":"","reactive":true,"nid":15},{"tag":"stack","attrs":{"class":"dsx-item-card-tags","visible-if":"dsx.variable.itemCardTags.length > 0","__row":"1"},"children":[{"tag":"chip","attrs":{"class":"dsx-item-card-tag","repeat":"dsx.variable.itemCardTags","key":"key","label":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":17}],"text":"\n        \n      ","reactive":true,"nid":16},{"tag":"stack","attrs":{"class":"dsx-item-card-details","visible-if":"dsx.variable.itemCardDetails.length > 0"},"children":[{"tag":"stack","attrs":{"class":"dsx-item-card-detail","repeat":"dsx.variable.itemCardDetails","key":"key","__row":"1","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"dsx-item-card-detail-icon","visible-if":"dsx.this.icon","icon":"{{ dsx.this.icon }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":20},{"tag":"text","attrs":{"class":"dsx-item-card-detail-text","value":"{{ dsx.this.text }}","line-limit":"1"},"children":[],"text":"","reactive":true,"nid":21}],"text":"\n          \n          \n        ","reactive":true,"nid":19}],"text":"\n        \n      ","reactive":true,"nid":18},{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":22},{"tag":"stack","attrs":{"class":"dsx-item-card-actions","__row":"1"},"children":[{"tag":"slot","attrs":{"name":"actions"},"children":[],"text":"","reactive":false,"nid":24}],"text":"\n        \n      ","reactive":false,"nid":23}],"text":"\n      \n      \n      \n      \n      \n      \n      \n    ","reactive":true,"nid":8},{"tag":"stack","attrs":{"class":"dsx-item-card-status","visible-if":"dsx.variable.itemCardHasStatus","aria-hidden":"true","__row":"1","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"dsx-item-card-status-icon","visible-if":"dsx.attribute.statusIcon","icon":"{{ dsx.attribute.statusIcon }}"},"children":[],"text":"","reactive":true,"nid":26},{"tag":"chip","attrs":{"class":"dsx-item-card-status-chip","visible-if":"dsx.attribute.statusLabel","label":"{{ dsx.attribute.statusLabel }}","role":"{{ dsx.attribute.statusRole }}"},"children":[],"text":"","reactive":true,"nid":27},{"tag":"text","attrs":{"class":"dsx-item-card-status-text","visible-if":"dsx.attribute.status","value":"{{ dsx.attribute.status }}","line-limit":"1"},"children":[],"text":"","reactive":true,"nid":28},{"tag":"spacer","attrs":{},"children":[],"text":"","reactive":false,"nid":29},{"tag":"image","attrs":{"class":"dsx-item-card-arrow","icon":"chevron.forward"},"children":[],"text":"","reactive":false,"nid":30}],"text":"\n      \n      \n      \n      \n      \n    ","reactive":true,"nid":25}],"text":"\n    \n    \n    \n    \n  ","reactive":true,"nid":3},{"tag":"stack","attrs":{"class":"dsx-item-card-accessory","__row":"1","__steers":"1"},"children":[{"tag":"slot","attrs":{"name":"accessory"},"children":[],"text":"","reactive":false,"nid":32}],"text":"\n    \n  ","reactive":false,"nid":31}],"text":"\n  \n\n  \n  \n  \n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.LinkCard":{"name":"LinkCard","scheme":"foundation","head":{"attributes":[{"as":"href","type":"url"},{"as":"title"},{"as":"description"},{"as":"image","type":"url"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"linkHost","body":"\n      const h = String(dsx.attribute.href == null ? '' : dsx.attribute.href)\n      const m = h.match(/^[a-zA-Z][a-zA-Z0-9+.-]*:\\/\\/([^\\/?#]+)/)\n      if (m != null) { return m[1].replace(/^www\\./, '') }\n      return h\n    ","computed":true},{"as":"linkTitle","body":"\n      const t = String(dsx.attribute.title == null ? '' : dsx.attribute.title).trim()\n      return t == '' ? dsx.variable.linkHost : t\n    ","computed":true},{"as":"linkUtterance","body":"\n      const d = String(dsx.attribute.description == null ? '' : dsx.attribute.description).trim()\n      return dsx.variable.linkTitle + (d == '' ? '' : ', ' + d) + ', ' + dsx.variable.linkHost\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"pressable","attrs":{"class":"dsx-link-card","href":"{{ dsx.attribute.href }}","role":"link","aria-label":"{{ dsx.variable.linkUtterance }}","__row":"1","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-link-card-thumb","visible-if":"dsx.attribute.image","aria-hidden":"true"},"children":[{"tag":"image","attrs":{"class":"dsx-link-card-image","src":"{{ dsx.attribute.image }}","__css":"c298"},"children":[],"text":"","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"dsx-link-card-text","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-link-card-title","value":"{{ dsx.variable.linkTitle }}","line-limit":"2"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"text","attrs":{"class":"dsx-link-card-description","visible-if":"dsx.attribute.description","value":"{{ dsx.attribute.description }}","line-limit":"2"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"text","attrs":{"class":"dsx-link-card-host","value":"{{ dsx.variable.linkHost }}","line-limit":"1"},"children":[],"text":"","reactive":true,"nid":6}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":3},{"tag":"image","attrs":{"class":"dsx-link-card-arrow","icon":"arrow.up.right","aria-hidden":"true","__fontSize":"13px","__css":"c228"},"children":[],"text":"","reactive":false,"nid":7}],"text":"\n  \n\n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.ListGroup":{"name":"ListGroup","scheme":"foundation","head":{"attributes":[{"as":"header"},{"as":"footer"},{"as":"link"}],"apis":[],"expects":[],"events":[{"as":"link","payload":[]}],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"list","attrs":{"class":"dsx-list-group"},"children":[{"tag":"section-header","attrs":{"value":"{{ dsx.attribute.header || '' }}"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":2},{"tag":"section-footer","attrs":{"value":"{{ dsx.attribute.footer || '' }}"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"stack","attrs":{"class":"dsx-list-group-link-row","visible-if":"dsx.attribute.link","__steers":"1"},"children":[{"tag":"button","attrs":{"class":"dsx-list-group-link","variant":"bordered","control-size":"small","label":"{{ dsx.attribute.link }}","on:tap":"dsx.event('link')"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n    \n  ","reactive":true,"nid":4}],"text":"\n  \n\n  \n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.Loader":{"name":"Loader","scheme":"foundation","head":{"attributes":[{"as":"label","default":"'Working'"},{"as":"mark","default":"'grid'"},{"as":"elapsed","default":"false","type":"bool"},{"as":"seconds","default":"''"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"tick","body":"return 0","computed":false}],"formulas":[{"as":"chars","inputs":{},"body":"\n      const text = String(dsx.attribute.label == null ? '' : dsx.attribute.label)\n      return text.split('').map((c, i) => ({ key: 'c' + i, c: c, delay: (i * 0.07).toFixed(2) + 's' }))\n    "},{"as":"shown","inputs":{},"body":"\n      const known = Number(dsx.attribute.seconds)\n      if (String(dsx.attribute.seconds) !== '' && Number.isFinite(known)) { return Math.max(0, Math.round(known)) }\n      return dsx.attribute.elapsed ? dsx.variable.tick : -1\n    "},{"as":"clock","inputs":{},"body":"\n      const s = dsx.formula.shown\n      if (s < 0) { return '' }\n      if (s < 60) { return s + 's' }\n      const m = Math.floor(s / 60)\n      const r = s % 60\n      return m + 'm ' + (r < 10 ? '0' + r : String(r)) + 's'\n    "},{"as":"say","inputs":{},"body":"\n      const label = String(dsx.attribute.label == null ? '' : dsx.attribute.label)\n      return dsx.formula.clock === '' ? label : label + ', ' + dsx.formula.clock\n    "}],"actions":[{"as":"start","inputs":{},"body":"\n      if (dsx.attribute.elapsed) { setInterval(() => { dsx.action.step() }, 1000, 'loaderTick') }\n    "},{"as":"step","inputs":{},"body":"\n      dsx.variable.tick = dsx.variable.tick + 1\n    "}],"watches":[],"scripts":[],"globalScripts":[],"sheets":["@keyframes dsx-loader-pixel {\n        0%, 100% { opacity: 0.16; transform: scale(0.8) }\n        35% { opacity: 1; transform: scale(1) }\n        70% { opacity: 0.16; transform: scale(0.8) }\n      }\n      @keyframes dsx-loader-sheen {\n        0% { opacity: 0.42 }\n        10% { opacity: 1 }\n        22% { opacity: 0.42 }\n        100% { opacity: 0.42 }\n      }\n      .dsx-loader-cell {\n        width: 5px; height: 5px; border-radius: 1.5px;\n        background-color: var(--dsx-loader-color, var(--dsx-accent));\n        opacity: 0.55;\n        animation: dsx-loader-pixel 1.5s ease-in-out infinite\n      }\n      .dsx-loader-d1 { animation-delay: 0.12s }\n      .dsx-loader-d2 { animation-delay: 0.24s }\n      .dsx-loader-d3 { animation-delay: 0.36s }\n      .dsx-loader-d4 { animation-delay: 0.48s }\n      .dsx-loader-char {\n        font-size: 15px; white-space: pre;\n        color: var(--dsx-loader-ink, var(--dsx-label));\n        opacity: 0.6;\n        animation: dsx-loader-sheen 2.4s linear infinite\n      }\n      @media (prefers-reduced-motion: reduce) {\n        .dsx-loader-cell { animation: none; opacity: 0.55 }\n        .dsx-loader-char { animation: none; opacity: 0.6 }\n      }"]},"root":{"tag":"hstack","attrs":{"class":"dsx-loader","aria-label":"{{ dsx.formula.say }}","aria-live":"polite","role":"status","on:appear":"dsx.action.start()","__steers":"1","__css":"c325"},"children":[{"tag":"vstack","attrs":{"visible-if":"{{ dsx.attribute.mark === 'grid' }}","aria-hidden":"true","__css":"c326"},"children":[{"tag":"hstack","attrs":{"__css":"c327"},"children":[{"tag":"stack","attrs":{"class":"dsx-loader-cell"},"children":[],"text":"","reactive":false,"nid":3},{"tag":"stack","attrs":{"class":"dsx-loader-cell dsx-loader-d1"},"children":[],"text":"","reactive":false,"nid":4},{"tag":"stack","attrs":{"class":"dsx-loader-cell dsx-loader-d2"},"children":[],"text":"","reactive":false,"nid":5}],"text":"\n      \n      \n      \n    ","reactive":false,"nid":2},{"tag":"hstack","attrs":{"__css":"c327"},"children":[{"tag":"stack","attrs":{"class":"dsx-loader-cell dsx-loader-d1"},"children":[],"text":"","reactive":false,"nid":7},{"tag":"stack","attrs":{"class":"dsx-loader-cell dsx-loader-d2"},"children":[],"text":"","reactive":false,"nid":8},{"tag":"stack","attrs":{"class":"dsx-loader-cell dsx-loader-d3"},"children":[],"text":"","reactive":false,"nid":9}],"text":"\n      \n      \n      \n    ","reactive":false,"nid":6},{"tag":"hstack","attrs":{"__css":"c327"},"children":[{"tag":"stack","attrs":{"class":"dsx-loader-cell dsx-loader-d2"},"children":[],"text":"","reactive":false,"nid":11},{"tag":"stack","attrs":{"class":"dsx-loader-cell dsx-loader-d3"},"children":[],"text":"","reactive":false,"nid":12},{"tag":"stack","attrs":{"class":"dsx-loader-cell dsx-loader-d4"},"children":[],"text":"","reactive":false,"nid":13}],"text":"\n      \n      \n      \n    ","reactive":false,"nid":10}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"hstack","attrs":{"aria-hidden":"true","__steers":"1","__css":"c328"},"children":[{"tag":"text","attrs":{"class":"dsx-loader-char","repeat":"dsx.formula.chars","key":"key","value":"{{ dsx.this.c }}","__style_reactive":"animation-delay:{{ dsx.this.delay }}"},"children":[],"text":"","reactive":true,"nid":15}],"text":"\n    \n  ","reactive":true,"nid":14},{"tag":"text","attrs":{"visible-if":"{{ dsx.formula.clock !== '' }}","aria-hidden":"true","value":"{{ dsx.formula.clock }}","__css":"c329"},"children":[],"text":"","reactive":true,"nid":16}],"text":"\n  \n\n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.MarkdownItem":{"name":"MarkdownItem","scheme":"foundation","head":{"attributes":[{"as":"marker"},{"as":"value"},{"as":"index","type":"number"},{"as":"checked","type":"bool"},{"as":"math","type":"bool"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"itemTask","body":"\n      const c = dsx.attribute.checked\n      return c != null &amp;&amp; String(c) != ''\n    ","computed":true},{"as":"itemDone","body":"\n      const c = String(dsx.attribute.checked)\n      return c === 'true' || c === '1'\n    ","computed":true},{"as":"itemNumber","body":"\n      const m = parseInt(String(dsx.attribute.marker))\n      return m >= 0 ? m : Number(dsx.attribute.index || 1)\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-markdown-item {{ dsx.variable.itemTask ? 'dsx-markdown-item-task' : '' }}","role":"listitem","__style_reactive":"counter-set:list-item {{ dsx.variable.itemNumber }}"},"children":[{"tag":"image","attrs":{"class":"dsx-markdown-item-check {{ dsx.variable.itemDone ? 'dsx-markdown-item-check-on' : '' }}","visible-if":"dsx.variable.itemTask","icon":"{{ dsx.variable.itemDone ? 'checkmark.square.fill' : 'square' }}","aria-label":"{{ dsx.variable.itemDone ? localize('Completed') : localize('Not completed') }}","__fontSize":"17px","__css":"c332"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"dsx-markdown-item-content","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-markdown-item-text","visible-if":"dsx.attribute.value != null && String(dsx.attribute.value) != ''","markdown":"true","math":"{{ dsx.attribute.math }}","value":"{{ dsx.attribute.value }}"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":4}],"text":"\n    \n    \n  ","reactive":true,"nid":2}],"text":"\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.MarkdownList":{"name":"MarkdownList","scheme":"foundation","head":{"attributes":[{"as":"ordered","type":"bool"},{"as":"start","type":"number"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-markdown-list dsx-markdown-list-{{ String(dsx.attribute.ordered) == 'true' ? 'ordered' : 'bullet' }}","role":"list","__steers":"1"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":1}],"text":"\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.MarkdownStep":{"name":"MarkdownStep","scheme":"foundation","head":{"attributes":[{"as":"index","type":"number"},{"as":"value"},{"as":"checked","type":"bool"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"stepN","body":"\n      const n = Number(dsx.attribute.index)\n      return dsx.attribute.index == null || isNaN(n) || n &lt; 1 ? 1 : Math.floor(n)\n    ","computed":true},{"as":"stepPhase","body":"\n      const c = String(dsx.attribute.checked)\n      if (c === 'true' || c === '1') { return 'done' }\n      const at = dsx.context.stepsAt == null ? 0 : Number(dsx.context.stepsAt)\n      if (at &lt;= 0) { return 'plain' }\n      if (dsx.variable.stepN &lt; at) { return 'done' }\n      if (dsx.variable.stepN == at) { return 'current' }\n      return 'upcoming'\n    ","computed":true},{"as":"stepUtterance","body":"\n      const head = localize('Step') + ' ' + dsx.variable.stepN\n      if (dsx.variable.stepPhase == 'done') { return head + ', ' + localize('completed') }\n      if (dsx.variable.stepPhase == 'current') { return head + ', ' + localize('current') }\n      return head\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[],"contexts":[{"from":"markdown.steps","optional":"true","use":["stepsAt"]}]},"root":{"tag":"stack","attrs":{"class":"dsx-markdown-step","role":"listitem","__row":"1","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-markdown-step-track","role":"group","aria-label":"{{ dsx.variable.stepUtterance }}","__steers":"1"},"children":[{"tag":"stack","attrs":{"aria-hidden":"true","class":"dsx-markdown-step-disc dsx-markdown-step-disc-{{ dsx.variable.stepPhase }}","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"dsx-markdown-step-tick","visible-if":"dsx.variable.stepPhase == 'done'","icon":"checkmark","__fontSize":"11px","__css":"c333"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"text","attrs":{"class":"dsx-markdown-step-number dsx-markdown-step-number-{{ dsx.variable.stepPhase }}","visible-if":"dsx.variable.stepPhase != 'done'","value":"{{ dsx.variable.stepN }}"},"children":[],"text":"","reactive":true,"nid":4}],"text":"\n      \n      \n    ","reactive":true,"nid":2},{"tag":"stack","attrs":{"class":"dsx-markdown-step-rail"},"children":[],"text":"","reactive":false,"nid":5}],"text":"\n    \n    \n  ","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"dsx-markdown-step-content","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-markdown-step-title","markdown":"true","value":"{{ dsx.attribute.value }}","visible-if":"dsx.attribute.value != null && String(dsx.attribute.value) != ''"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":8}],"text":"\n    \n    \n  ","reactive":true,"nid":6}],"text":"\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.MarkdownSteps":{"name":"MarkdownSteps","scheme":"foundation","head":{"attributes":[{"as":"current","type":"number"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"stepsAt","body":"\n      const n = Number(dsx.attribute.current)\n      return isNaN(n) ? 0 : Math.max(0, Math.floor(n))\n    ","computed":true,"context":"markdown.steps"}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[],"contexts":[{"as":"markdown.steps"}]},"root":{"tag":"stack","attrs":{"class":"dsx-markdown-steps","role":"list","__steers":"1"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":1}],"text":"\n  \n  \n","reactive":false,"nid":0},"reactive":true,"language":"1"},"foundation.MarkdownTab":{"name":"MarkdownTab","scheme":"foundation","head":{"attributes":[{"as":"title"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"tabShown","body":"\n      return dsx.context.tabActive == null || dsx.context.tabActive == dsx.attribute.title\n    ","computed":true}],"formulas":[],"actions":[{"as":"tabJoin","inputs":{},"body":"\n      if (dsx.context.tabActive != null) { dsx.context.tabEnrol({ title: dsx.attribute.title }) }\n    "}],"watches":[],"scripts":[],"globalScripts":[],"contexts":[{"from":"markdown.tabs","optional":"true","use":["tabActive","tabEnrol"]}]},"root":{"tag":"stack","attrs":{"class":"dsx-markdown-tab","on:appear":"dsx.action.tabJoin()","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-markdown-tab-pane","visible-if":"dsx.variable.tabShown","__steers":"1"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1}],"text":"\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.MarkdownTable":{"name":"MarkdownTable","scheme":"foundation","head":{"attributes":[{"as":"header","type":"array"},{"as":"rows","type":"array"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"tableHeader","body":"\n      const h = dsx.attribute.header\n      if (Array.isArray(h)) { return h.map(c => String(c == null ? '' : c)) }\n      if (h != null &amp;&amp; String(h).trim().startsWith('[')) { return (JSON.parse(String(h)) || []).map(c => String(c == null ? '' : c)) }\n      return []\n    ","computed":true},{"as":"tableBody","body":"\n      const r = dsx.attribute.rows\n      const raw = Array.isArray(r) ? r : (r != null &amp;&amp; String(r).trim().startsWith('[') ? (JSON.parse(String(r)) || []) : [])\n      return raw.filter(row => Array.isArray(row)).map(row => row.map(c => String(c == null ? '' : c)))\n    ","computed":true},{"as":"tableColumns","body":"\n      const all = [dsx.variable.tableHeader].concat(dsx.variable.tableBody)\n      const n = all.reduce((m, row) => Math.max(m, row.length), 0)\n      const plain = s => s.replace(/\\[([^\\]]*)\\]\\([^)]*\\)/g, '$1').replace(/[*_`~]/g, '')\n      const longest = i => all.reduce((m, row) => Math.max(m, plain(row[i] == null ? '' : row[i]).length), 0)\n      const word = i => all.reduce((m, row) => plain(row[i] == null ? '' : row[i]).split(/\\s+/).reduce((k, w) => Math.max(k, w.length), m), 0)\n      return Array.from({ length: n }).map((_, i) => ({\n        grow: Math.max(4, Math.min(48, longest(i))),\n        min: Math.max(longest(i) > 24 ? 140 : 72, Math.min(200, word(i) * 11 + 28)),\n        label: i == 0 || dsx.variable.tableHeader[i] == null ? '' : dsx.variable.tableHeader[i]\n      }))\n    ","computed":true},{"as":"tableMinWidth","body":"\n      return dsx.variable.tableColumns.reduce((m, c) => m + c.min, 0)\n    ","computed":true},{"as":"tableRows","body":"\n      const cols = dsx.variable.tableColumns\n      const pad = row => cols.map((c, i) => ({ id: 'c' + i, v: row[i] == null ? '' : row[i], grow: c.grow, min: c.min, label: c.label, title: i == 0 }))\n      return dsx.variable.tableBody.map((row, i) => ({ id: 'r' + i, cells: pad(row), last: i == dsx.variable.tableBody.length - 1 }))\n    ","computed":true},{"as":"tableHead","body":"\n      return dsx.variable.tableColumns.map((c, i) => ({ id: 'h' + i, v: dsx.variable.tableHeader[i] == null ? '' : dsx.variable.tableHeader[i], grow: c.grow, min: c.min }))\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"scroll","attrs":{"class":"dsx-markdown-table","axis":"horizontal"},"children":[{"tag":"stack","attrs":{"class":"dsx-markdown-table-frame {{ dsx.variable.tableColumns.length <= 3 ? 'dsx-markdown-table-stackable' : '' }}","__style_reactive":"--dsx-markdown-table-min-width:{{ dsx.variable.tableMinWidth }}px","__steers":"1"},"children":[{"tag":"list","attrs":{"class":"dsx-markdown-table-head","visible-if":"dsx.variable.tableHeader.length > 0","bind":"dsx.variable.tableHead","key":"id","axis":"horizontal","scroll":"false","role":"heading","__css":"c334"},"children":[{"tag":"stack","attrs":{"class":"dsx-markdown-table-cell dsx-markdown-table-th","__style_reactive":"--dsx-markdown-table-grow:{{ dsx.this.grow }};--dsx-markdown-table-col-min:{{ dsx.this.min }}px","__steers":"1"},"children":[{"tag":"text","attrs":{"markdown":"true","value":"{{ dsx.this.v }}","role":"heading"},"children":[],"text":"","reactive":true,"nid":4}],"text":"\n        \n      ","reactive":true,"nid":3}],"text":"\n      \n    ","reactive":true,"nid":2},{"tag":"list","attrs":{"bind":"dsx.variable.tableRows","key":"id","scroll":"false","__css":"c335"},"children":[{"tag":"list","attrs":{"class":"dsx-markdown-table-row {{ dsx.this.last ? 'dsx-markdown-table-row-last' : '' }}","bind":"dsx.this.cells","key":"id","axis":"horizontal","scroll":"false","__css":"c334","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-markdown-table-cell {{ dsx.this.title ? 'dsx-markdown-table-cell-title' : '' }}","__style_reactive":"--dsx-markdown-table-grow:{{ dsx.this.grow }};--dsx-markdown-table-col-min:{{ dsx.this.min }}px","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-markdown-table-label","value":"{{ dsx.this.label }}","visible-if":"dsx.this.label != ''"},"children":[],"text":"","reactive":true,"nid":8},{"tag":"text","attrs":{"markdown":"true","value":"{{ dsx.this.v }}"},"children":[],"text":"","reactive":true,"nid":9}],"text":"\n          \n          \n        ","reactive":true,"nid":7}],"text":"\n        \n      ","reactive":true,"nid":6}],"text":"\n      \n    ","reactive":true,"nid":5}],"text":"\n    \n    \n  ","reactive":true,"nid":1}],"text":"\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.MarkdownTabs":{"name":"MarkdownTabs","scheme":"foundation","head":{"attributes":[],"apis":[],"expects":[],"events":[{"as":"change","payload":["title"]}],"inputs":[],"tools":[],"variables":[{"as":"tabTitles","body":"return []","computed":false,"context":"markdown.tabs"},{"as":"tabActive","body":"return ''","computed":false,"context":"markdown.tabs"},{"as":"tabOptions","body":"\n      return dsx.variable.tabTitles.map(t =&gt; ({ id: t, label: t }))\n    ","computed":true}],"formulas":[],"actions":[{"as":"tabEnrol","inputs":{"title":"''"},"body":"\n      const t = String(title == null ? '' : title)\n      if (!dsx.variable.tabTitles.includes(t)) { dsx.variable.tabTitles = dsx.variable.tabTitles.concat([t]) }\n      if (dsx.variable.tabActive == '') { dsx.variable.tabActive = t }\n    ","context":"markdown.tabs"}],"watches":[],"scripts":[],"globalScripts":[],"contexts":[{"as":"markdown.tabs"}]},"root":{"tag":"stack","attrs":{"class":"dsx-markdown-tabs","__steers":"1"},"children":[{"tag":"segmented","attrs":{"class":"dsx-markdown-tabs-bar","visible-if":"dsx.variable.tabTitles.length > 1","bind":"dsx.variable.tabActive","options-key":"dsx.variable.tabOptions","aria-label":"{{ dsx.attribute.ariaLabel || localize('Tabs') }}","on:change":"dsx.event('change', { title: dsx.variable.tabActive })"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"dsx-markdown-tabs-panes","__steers":"1"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":3}],"text":"\n    \n  ","reactive":false,"nid":2}],"text":"\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.NavBar":{"name":"NavBar","scheme":"foundation","head":{"attributes":[{"as":"title","change":"dsx.action.claimChrome()"},{"as":"subtitle"},{"as":"back"},{"as":"back-label","default":"'Back'"},{"as":"close"},{"as":"close-label","default":"'Close'"},{"as":"system","default":"'true'","change":"dsx.action.claimChrome()"},{"as":"large","default":"'false'","change":"dsx.action.claimChrome()"},{"as":"parent-title","change":"dsx.action.claimChrome()"},{"as":"description"},{"as":"learn-more","default":"'Learn more'"},{"as":"article"},{"as":"sheet-title"},{"as":"learn-more-href"}],"apis":[],"expects":[],"events":[{"as":"back","payload":[]},{"as":"close","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"reading","body":"return false","computed":false},{"as":"hasMore","body":"return !!(dsx.attribute.article || dsx.attribute.learnMoreHref)","computed":true}],"formulas":[],"actions":[{"as":"claimChrome","inputs":{},"body":"\n      if (dsx.attribute.system != 'false') {\n        dsx.module.route.chrome({ title: dsx.attribute.title, large: dsx.attribute.large, parentTitle: dsx.attribute.parentTitle })\n      } else {\n        dsx.module.route.chrome({ show: 'false' })\n      }\n    "},{"as":"learn","inputs":{},"body":"\n      if (dsx.attribute.article) { dsx.variable.reading = true; return }\n      if (dsx.attribute.learnMoreHref) { dsx.module.route.push({ path: String(dsx.attribute.learnMoreHref) }) }\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-navbar dsx-navbar-{{ dsx.attribute.system != 'false' && dsx.attribute.large == 'true' ? 'large' : 'inline' }}","on:appear":"dsx.action.claimChrome()","__css":"c221"},"children":[{"tag":"stack","attrs":{"visible-if":"dsx.attribute.system != 'false'","__css":"c221"},"children":[{"tag":"Breadcrumbs","attrs":{"class":"dsx-navbar-trail"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"slot","attrs":{"name":"trailing"},"children":[],"text":"","reactive":false,"nid":3}],"text":"\n    \n    \n  ","reactive":true,"nid":1},{"tag":"stack","attrs":{"visible-if":"dsx.attribute.system == 'false'","__display":"grid","__css":"c342"},"children":[{"tag":"stack","attrs":{"role":"heading","__steers":"1","__css":"c343"},"children":[{"tag":"text","attrs":{"value":"{{ localize(dsx.attribute.title) }}","line-limit":"1","__css":"c344"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"text","attrs":{"visible-if":"dsx.attribute.subtitle","value":"{{ dsx.attribute.subtitle }}","__css":"c299"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n      \n      \n    ","reactive":true,"nid":5},{"tag":"stack","attrs":{"__flexDirection":"row","__steers":"1","__css":"c345"},"children":[{"tag":"button","attrs":{"class":"dsx-navbar-back dsx-navbar-button","visible-if":"dsx.attribute.back && dsx.attribute.back != 'false'","variant":"glass","icon":"chevron.backward","on:tap":"dsx.event('back')","aria-label":"{{ dsx.attribute.backLabel || 'Back' }}","__css":"c346"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"button","attrs":{"class":"dsx-navbar-close dsx-navbar-button","visible-if":"dsx.attribute.close && dsx.attribute.close != 'false' && !(dsx.attribute.back && dsx.attribute.back != 'false')","variant":"glass","icon":"xmark","on:tap":"dsx.event('close')","aria-label":"{{ dsx.attribute.closeLabel || 'Close' }}","__css":"c346"},"children":[],"text":"","reactive":true,"nid":10},{"tag":"spacer","attrs":{},"children":[],"text":"","reactive":false,"nid":11},{"tag":"slot","attrs":{"name":"trailing"},"children":[],"text":"","reactive":false,"nid":12}],"text":"\n      \n      \n      \n      \n      \n    ","reactive":true,"nid":8}],"text":"\n    \n    \n  ","reactive":true,"nid":4},{"tag":"stack","attrs":{"class":"dsx-page-header","visible-if":"dsx.attribute.description"},"children":[{"tag":"stack","attrs":{"class":"dsx-page-header-line","__row":"1","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-page-header-description","value":"{{ dsx.attribute.description }}"},"children":[],"text":"","reactive":true,"nid":15},{"tag":"button","attrs":{"class":"dsx-page-header-more","visible-if":"dsx.variable.hasMore","variant":"plain","label":"{{ dsx.attribute.learnMore }}","icon":"{{ dsx.attribute.article ? '' : 'arrow.up.right' }}","on:tap":"dsx.action.learn()"},"children":[],"text":"","reactive":true,"nid":16}],"text":"\n      \n      \n    ","reactive":true,"nid":14},{"tag":"sheet","attrs":{"detents":"content","present":"dsx.variable.reading","title":"{{ dsx.attribute.sheetTitle || dsx.attribute.title }}","close":"none","action":"Done","on:action":"dsx.variable.reading = false","on:dismiss":"dsx.variable.reading = false","__css":"c347"},"children":[{"tag":"stack","attrs":{"class":"dsx-page-header-article","__steers":"1"},"children":[{"tag":"markdown","attrs":{"class":"dsx-page-header-body","copyCode":"true","externalLinks":"true","value":"{{ dsx.attribute.article }}"},"children":[],"text":"","reactive":true,"nid":19}],"text":"\n        \n      ","reactive":true,"nid":18}],"text":"\n      \n    ","reactive":true,"nid":17}],"text":"\n    \n    \n  ","reactive":true,"nid":13}],"text":"\n  \n\n  \n  \n\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.Panel":{"name":"Panel","scheme":"foundation","head":{"attributes":[{"as":"title"},{"as":"subtitle"},{"as":"footer"},{"as":"actions"},{"as":"menu"},{"as":"menu-label"}],"apis":[],"expects":[],"events":[{"as":"action","payload":["id"]}],"inputs":[],"tools":[],"variables":[{"as":"panelClass","body":"\n      const c = dsx.screen == null ? '' : String(dsx.screen.windowClass || '')\n      if (c == 'large' || c == 'xlarge') { return 'desktop' }\n      if (c == 'medium' || c == 'expanded') { return 'tablet' }\n      return 'phone'\n    ","computed":true},{"as":"panelWide","body":"return dsx.variable.panelClass != 'phone'","computed":true},{"as":"panelActions","body":"\n      const a = dsx.attribute.actions\n      const rows = Array.isArray(a) ? a : (a &amp;&amp; String(a).trim().startsWith('[') ? (JSON.parse(a) || []) : [])\n      return rows.filter(r => r != null &amp;&amp; r.id != null &amp;&amp; r.label != null &amp;&amp; String(r.label) != '').map(r => ({\n        key: 'a' + String(r.id), id: String(r.id), label: String(r.label), icon: r.icon == null ? '' : String(r.icon),\n        destructive: r.role == 'destructive', tone: r.role == 'destructive' ? 'destructive' : 'accent',\n        role: r.role == 'destructive' ? 'destructive' : ''\n      }))\n    ","computed":true},{"as":"panelMenu","body":"\n      const m = dsx.attribute.menu\n      return Array.isArray(m) ? m : (m &amp;&amp; String(m).trim().startsWith('[') ? (JSON.parse(m) || []) : [])\n    ","computed":true},{"as":"panelHasMenu","body":"return dsx.variable.panelMenu.length &gt; 0","computed":true},{"as":"panelOwnHeader","body":"\n      const named = !!dsx.attribute.title\n      if (dsx.variable.panelWide) { return named || dsx.variable.panelActions.length &gt; 0 || dsx.variable.panelHasMenu }\n      return dsx.variable.panelHasMenu\n    ","computed":true},{"as":"panelListHeader","body":"return dsx.variable.panelOwnHeader ? '' : (dsx.attribute.title || '')","computed":true},{"as":"panelMenuLabel","body":"return dsx.attribute.title ? 'More actions for ' + dsx.attribute.title : 'More actions'","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"vstack","attrs":{"class":"dsx-panel dsx-panel-{{ dsx.variable.panelClass }} {{ dsx.variable.panelOwnHeader ? 'dsx-panel-titled' : '' }} {{ dsx.variable.panelWide && dsx.attribute.subtitle ? 'dsx-panel-has-subtitle' : '' }}"},"children":[{"tag":"stack","attrs":{"class":"dsx-panel-header","visible-if":"dsx.variable.panelOwnHeader","__row":"1","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-panel-heading"},"children":[{"tag":"text","attrs":{"class":"dsx-panel-title","visible-if":"dsx.attribute.title","value":"{{ dsx.attribute.title }}","role":"heading","line-limit":"1"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"text","attrs":{"class":"dsx-panel-subtitle","visible-if":"dsx.variable.panelWide && dsx.attribute.subtitle","value":"{{ dsx.attribute.subtitle }}","line-limit":"2"},"children":[],"text":"","reactive":true,"nid":4}],"text":"\n      \n      \n    ","reactive":true,"nid":2},{"tag":"stack","attrs":{"class":"dsx-panel-actions","control-size":"small","__row":"1","__steers":"1"},"children":[{"tag":"button","attrs":{"class":"dsx-panel-action","repeat":"dsx.variable.panelActions","key":"key","visible-if":"dsx.variable.panelWide","variant":"bordered","icon":"{{ dsx.this.icon }}","label":"{{ dsx.this.label }}","role":"{{ dsx.this.role }}","on:tap":"dsx.event('action', { id: dsx.this.id })"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"menu","attrs":{"class":"dsx-panel-menu","visible-if":"dsx.variable.panelHasMenu && !dsx.attribute.menuLabel","menu":"{{ dsx.variable.panelMenu }}"},"children":[{"tag":"button","attrs":{"variant":"plain","icon":"ellipsis.circle","aria-label":"{{ dsx.variable.panelMenuLabel }}"},"children":[],"text":"","reactive":true,"nid":8}],"text":"\n        \n      ","reactive":true,"nid":7},{"tag":"menu","attrs":{"class":"dsx-panel-menu","visible-if":"dsx.variable.panelHasMenu && !!dsx.attribute.menuLabel","menu":"{{ dsx.variable.panelMenu }}"},"children":[{"tag":"button","attrs":{"class":"dsx-panel-menu-button","variant":"bordered","icon":"chevron.down","label":"{{ dsx.attribute.menuLabel }}","aria-label":"{{ dsx.attribute.menuLabel }}","__row":"1"},"children":[],"text":"","reactive":true,"nid":10}],"text":"\n        \n      ","reactive":true,"nid":9}],"text":"\n      \n      \n      \n    ","reactive":true,"nid":5}],"text":"\n    \n    \n  ","reactive":true,"nid":1},{"tag":"ListGroup","attrs":{"class":"dsx-panel-body","header":"{{ dsx.variable.panelListHeader }}","footer":"{{ dsx.attribute.footer || '' }}"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":12},{"tag":"SettingsRow","attrs":{"repeat":"dsx.variable.panelActions","key":"key","visible-if":"!dsx.variable.panelWide && dsx.variable.panelActions.length > 0","icon":"{{ dsx.this.icon }}","title":"{{ dsx.this.label }}","tone":"{{ dsx.this.tone }}","tappable":"true","on:tap":"dsx.event('action', { id: dsx.this.id })"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":11}],"text":"\n  \n\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.PlatformSection":{"name":"PlatformSection","scheme":"foundation","head":{"attributes":[{"as":"platform"},{"as":"title"},{"as":"subtitle"},{"as":"status"},{"as":"status-role"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"sectionTitle","body":"\n      if (dsx.attribute.title) { return String(dsx.attribute.title) }\n      if (dsx.attribute.platform == 'ios') { return 'iOS · App Store' }\n      if (dsx.attribute.platform == 'android') { return 'Android · Google Play' }\n      return ''\n    ","computed":true},{"as":"sectionBrand","body":"\n      if (dsx.attribute.platform == 'ios') { return 'apple.logo' }\n      if (dsx.attribute.platform == 'android') { return 'android.logo' }\n      return ''\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-platform-section"},"children":[{"tag":"stack","attrs":{"class":"dsx-platform-section-header","__row":"1","__steers":"1"},"children":[{"tag":"IconTile","attrs":{"class":"dsx-platform-section-icon","brand":"{{ dsx.variable.sectionBrand }}","name":"{{ dsx.variable.sectionTitle }}"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"stack","attrs":{"class":"dsx-platform-section-heading"},"children":[{"tag":"text","attrs":{"class":"dsx-platform-section-title","value":"{{ dsx.variable.sectionTitle }}","role":"heading"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"text","attrs":{"class":"dsx-platform-section-subtitle","visible-if":"dsx.attribute.subtitle","value":"{{ dsx.attribute.subtitle }}"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n      \n      \n    ","reactive":true,"nid":3},{"tag":"chip","attrs":{"class":"dsx-platform-section-status","visible-if":"dsx.attribute.status","label":"{{ dsx.attribute.status }}","role":"{{ dsx.attribute.statusRole }}"},"children":[],"text":"","reactive":true,"nid":6}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"dsx-platform-section-body"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":8}],"text":"\n    \n  ","reactive":false,"nid":7}],"text":"\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.ProductHeader":{"name":"ProductHeader","scheme":"foundation","head":{"attributes":[{"as":"title"},{"as":"subtitle"},{"as":"caption"},{"as":"image"},{"as":"image-dark"},{"as":"brand"},{"as":"icon"},{"as":"tint"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-product-header","__row":"1","__steers":"1"},"children":[{"tag":"IconTile","attrs":{"src":"{{ dsx.attribute.image }}","src-dark":"{{ dsx.attribute.imageDark }}","brand":"{{ dsx.attribute.brand }}","icon":"{{ dsx.attribute.icon }}","tint":"{{ dsx.attribute.tint }}","name":"{{ dsx.attribute.title }}"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"dsx-product-header-copy"},"children":[{"tag":"text","attrs":{"class":"dsx-product-header-title dsx-content-title","value":"{{ dsx.attribute.title }}","role":"heading","line-limit":"2"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"text","attrs":{"class":"dsx-product-header-subtitle","visible-if":"dsx.attribute.subtitle","value":"{{ dsx.attribute.subtitle }}","line-limit":"3"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"text","attrs":{"class":"dsx-product-header-caption","visible-if":"dsx.attribute.caption","value":"{{ dsx.attribute.caption }}","line-limit":"1"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"stack","attrs":{"class":"dsx-product-header-actions","__row":"1","__steers":"1"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":7}],"text":"\n      \n    ","reactive":false,"nid":6}],"text":"\n    \n    \n    \n    \n  ","reactive":true,"nid":2}],"text":"\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.PromptInput":{"name":"PromptInput","scheme":"foundation","head":{"attributes":[{"as":"value"},{"as":"placeholder","default":"'Ask anything'"},{"as":"busy","default":"'false'"},{"as":"attachments"},{"as":"models"},{"as":"model"},{"as":"max"},{"as":"min-lines","default":"1"},{"as":"max-lines","default":"8"},{"as":"attach","default":"'true'"},{"as":"voice","default":"'false'"},{"as":"recording","default":"'false'"},{"as":"level","default":"0","type":"number"},{"as":"transcript"},{"as":"elapsed","default":"0","type":"number"},{"as":"enter-sends","default":"'true'"},{"as":"aria-label","default":"'Message'"},{"as":"voice-mode","default":"'false'"},{"as":"menu"},{"as":"mentions"},{"as":"mentions-prompt","default":"'Type to search'"},{"as":"shape","default":"'auto'"},{"as":"notice"},{"as":"model-label"},{"as":"model-detail"},{"as":"discard-prompt","default":"'Are you sure you want to discard this dictation?'"}],"apis":[],"expects":[],"events":[{"as":"change","payload":[]},{"as":"submit","payload":[]},{"as":"stop","payload":[]},{"as":"attach","payload":[]},{"as":"remove","payload":[]},{"as":"modelChange","payload":[]},{"as":"voice","payload":[]},{"as":"voiceStart","payload":[]},{"as":"voiceStop","payload":[]},{"as":"voiceCancel","payload":[]},{"as":"voiceMode","payload":[]},{"as":"noticeDismiss","payload":[]},{"as":"modelTap","payload":[]},{"as":"mention","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"promptDraft","body":"return ''","computed":false},{"as":"promptModel","body":"return ''","computed":false},{"as":"promptFocused","body":"return false","computed":false},{"as":"promptConfirm","body":"return false","computed":false},{"as":"promptNoticeHidden","body":"return false","computed":false},{"as":"promptBusy","body":"\n      const raw = dsx.attribute.busy\n      return raw === true || raw == 'true'\n    ","computed":true},{"as":"promptFiles","body":"\n      const raw = dsx.attribute.attachments\n      let rows = []\n      if (Array.isArray(raw)) { rows = raw }\n      else if (raw != null &amp;&amp; String(raw).trim().startsWith('[')) { rows = JSON.parse(raw) || [] }\n      return rows.map((row, i) => ({\n        id: String(row.id == null ? 'f' + i : row.id),\n        name: String(row.name == null ? 'Attachment' : row.name),\n        size: row.size\n      }))\n    ","computed":true},{"as":"promptModels","body":"\n      const raw = dsx.attribute.models\n      let rows = []\n      if (Array.isArray(raw)) { rows = raw }\n      else if (raw != null &amp;&amp; String(raw).trim().startsWith('[')) { rows = JSON.parse(raw) || [] }\n      else if (raw != null &amp;&amp; String(raw).trim() != '') { rows = String(raw).split(',') }\n      return rows.map((row) => ({\n        value: String(row.value == null ? row : row.value).trim(),\n        label: String(row.label == null ? (row.value == null ? row : row.value) : row.label).trim()\n      })).filter((row) => row.value != '')\n    ","computed":true},{"as":"promptLength","body":"\n      return String(dsx.variable.promptDraft == null ? '' : dsx.variable.promptDraft).length\n    ","computed":true},{"as":"promptOver","body":"\n      const max = Number(dsx.attribute.max)\n      return Number.isFinite(max) &amp;&amp; max > 0 &amp;&amp; dsx.variable.promptLength > max\n    ","computed":true},{"as":"promptReady","body":"\n      if (dsx.variable.promptOver) { return false }\n      if (String(dsx.variable.promptDraft).trim() != '') { return true }\n      return dsx.variable.promptFiles.length > 0\n    ","computed":true},{"as":"promptCount","body":"\n      const max = Number(dsx.attribute.max)\n      if (!Number.isFinite(max) || max &lt;= 0) { return '' }\n      return dsx.variable.promptLength + ' / ' + Math.round(max)\n    ","computed":true},{"as":"promptRecording","body":"\n      const raw = dsx.attribute.recording\n      return raw === true || raw == 'true'\n    ","computed":true},{"as":"promptLevel","body":"\n      const raw = Number(dsx.attribute.level)\n      if (!Number.isFinite(raw)) { return 0 }\n      return Math.max(0, Math.min(1, raw))\n    ","computed":true},{"as":"promptHeard","body":"\n      return String(dsx.attribute.transcript == null ? '' : dsx.attribute.transcript).trim()\n    ","computed":true},{"as":"promptElapsed","body":"\n      const raw = Number(dsx.attribute.elapsed)\n      const total = Number.isFinite(raw) &amp;&amp; raw > 0 ? Math.floor(raw) : 0\n      const seconds = total % 60\n      return Math.floor(total / 60) + ':' + (seconds &lt; 10 ? '0' + seconds : String(seconds))\n    ","computed":true},{"as":"promptNotice","body":"\n      if (dsx.variable.promptNoticeHidden) { return '' }\n      return String(dsx.attribute.notice == null ? '' : dsx.attribute.notice).trim()\n    ","computed":true},{"as":"promptExpanded","body":"\n      if (dsx.attribute.shape == 'card' || dsx.variable.promptFocused) { return true }\n      if (dsx.variable.promptNotice != '') { return true }\n      if (String(dsx.variable.promptDraft == null ? '' : dsx.variable.promptDraft) != '') { return true }\n      return dsx.variable.promptFiles.length > 0\n    ","computed":true},{"as":"promptAreas","body":"\n      if (!dsx.variable.promptExpanded) { return '\"plus field field field field mic send\"' }\n      const tray = dsx.variable.promptFiles.length > 0 ? '\"tray tray tray tray tray tray tray\" ' : ''\n      return '\"top top top top top top top\" ' + tray + '\"field field field field field field field\" \"plus model pills . count mic send\"'\n    ","computed":true},{"as":"promptSendFill","body":"\n      if (dsx.variable.promptBusy) { return 'var(--dsx-promptinput-stop-background, var(--dsx-promptinput-send-background, var(--dsx-label)))' }\n      if (dsx.variable.promptReady) { return 'var(--dsx-promptinput-send-background, var(--dsx-label))' }\n      return 'var(--dsx-promptinput-send-idle, var(--dsx-fill))'\n    ","computed":true},{"as":"promptSendInk","body":"\n      if (dsx.variable.promptBusy) { return 'var(--dsx-promptinput-stop-color, var(--dsx-promptinput-send-color, var(--dsx-background)))' }\n      if (dsx.variable.promptReady) { return 'var(--dsx-promptinput-send-color, var(--dsx-background))' }\n      return 'var(--dsx-tertiary-label)'\n    ","computed":true},{"as":"promptVoiceButton","body":"\n      return dsx.attribute.voiceMode == 'true' &amp;&amp; !dsx.variable.promptBusy &amp;&amp; !dsx.variable.promptReady &amp;&amp; (!dsx.variable.promptExpanded || dsx.attribute.shape == 'card')\n    ","computed":true},{"as":"promptMenu","body":"\n      const raw = dsx.attribute.menu\n      if (Array.isArray(raw)) { return raw }\n      if (raw != null &amp;&amp; String(raw).trim().startsWith('[')) { return JSON.parse(raw) || [] }\n      return []\n    ","computed":true},{"as":"promptMentionAt","body":"\n      const draft = String(dsx.variable.promptDraft == null ? '' : dsx.variable.promptDraft)\n      const at = draft.lastIndexOf('@')\n      if (at &lt; 0) { return -1 }\n      if (at > 0 &amp;&amp; draft.charAt(at - 1) != ' ' &amp;&amp; draft.charAt(at - 1) != '\\n') { return -1 }\n      const token = draft.slice(at + 1)\n      if (token.includes(' ') || token.includes('\\n')) { return -1 }\n      return at\n    ","computed":true},{"as":"promptMentionRows","body":"\n      const at = dsx.variable.promptMentionAt\n      if (at &lt; 0) { return [] }\n      const raw = dsx.attribute.mentions\n      let rows = []\n      if (Array.isArray(raw)) { rows = raw }\n      else if (raw != null &amp;&amp; String(raw).trim().startsWith('[')) { rows = JSON.parse(raw) || [] }\n      const query = String(dsx.variable.promptDraft).slice(at + 1).toLowerCase()\n      return rows.filter((row) => String(row.title == null ? '' : row.title).toLowerCase().includes(query))\n        .slice(0, 6)\n        .map((row, i) => ({\n          id: String(row.id == null ? 'm' + i : row.id),\n          title: String(row.title == null ? '' : row.title),\n          kind: String(row.kind == null ? '' : row.kind),\n          icon: String(row.icon == null ? 'sparkles' : row.icon),\n          color: String(row.color == null ? 'var(--dsx-accent)' : row.color),\n          first: i == 0\n        }))\n    ","computed":true}],"formulas":[],"actions":[{"as":"promptSync","inputs":{},"body":"\n      dsx.variable.promptDraft = String(dsx.attribute.value == null ? '' : dsx.attribute.value)\n    "},{"as":"promptSyncModel","inputs":{},"body":"\n      dsx.variable.promptModel = String(dsx.attribute.model == null ? '' : dsx.attribute.model)\n    "},{"as":"promptEmit","inputs":{},"body":"\n      dsx.event('change', { text: dsx.variable.promptDraft })\n    "},{"as":"promptSend","inputs":{},"body":"\n      if (!dsx.variable.promptReady) { return }\n      dsx.event('submit', {\n        text: String(dsx.variable.promptDraft).trim(),\n        attachments: dsx.variable.promptFiles\n      })\n      dsx.variable.promptDraft = ''\n    "},{"as":"promptAbsorb","inputs":{},"body":"\n      const heard = dsx.variable.promptHeard\n      if (heard == '') { return }\n      const draft = String(dsx.variable.promptDraft == null ? '' : dsx.variable.promptDraft)\n      const joiner = draft.trim() == '' ? '' : (draft.endsWith(' ') ? '' : ' ')\n      dsx.variable.promptDraft = draft + joiner + heard\n    "},{"as":"promptVoiceStart","inputs":{},"body":"\n      dsx.event('voice')\n      dsx.event('voiceStart')\n    "},{"as":"promptVoiceKeep","inputs":{},"body":"\n      dsx.action.promptAbsorb();\n      dsx.event('voiceStop')\n    "},{"as":"promptVoiceDiscard","inputs":{},"body":"\n      dsx.event('voiceCancel')\n    "},{"as":"promptPrimary","inputs":{},"body":"\n      if (dsx.variable.promptBusy) { dsx.event('stop') } else { dsx.action.promptSend() }\n    "},{"as":"promptPickMention","inputs":{},"body":"\n      const at = dsx.variable.promptMentionAt\n      if (at &lt; 0) { return }\n      const draft = String(dsx.variable.promptDraft)\n      dsx.variable.promptDraft = draft.slice(0, at) + '@' + dsx.this.title + ' '\n      dsx.event('mention', { id: dsx.this.id, title: dsx.this.title })\n    "},{"as":"promptDismissNotice","inputs":{},"body":"\n      dsx.variable.promptNoticeHidden = true\n      dsx.event('noticeDismiss')\n    "},{"as":"promptVoiceSend","inputs":{},"body":"\n      dsx.action.promptAbsorb();\n      dsx.event('voiceStop')\n      dsx.action.promptSend()\n    "},{"as":"promptDiscardConfirmed","inputs":{},"body":"\n      dsx.variable.promptConfirm = false\n      dsx.action.promptVoiceDiscard()\n    "}],"watches":[{"value":"dsx.attribute.value","handler":"dsx.action.promptSync()","immediate":true},{"value":"dsx.attribute.notice","handler":"dsx.variable.promptNoticeHidden = false"},{"value":"dsx.attribute.model","handler":"dsx.action.promptSyncModel()","immediate":true},{"value":"dsx.variable.promptDraft","handler":"dsx.action.promptEmit()"}],"scripts":[],"globalScripts":[],"sheets":[".dsx-prompt-input-surface {\n    border-radius: var(--dsx-promptinput-radius, var(--dsx-surface-radius, 36.5px)); corner-shape: var(--dsx-surface-corner-shape, superellipse(1.6));\n    box-shadow: var(--dsx-promptinput-shadow, var(--dsx-shadow-1));\n    background: color-mix(in srgb, var(--dsx-promptinput-background, var(--dsx-surface-raised)) 84%, transparent);\n    -webkit-backdrop-filter: blur(20px) saturate(1.6);\n    backdrop-filter: blur(20px) saturate(1.6);\n    transition: box-shadow var(--dsx-dur-base) var(--dsx-ease), padding var(--dsx-dur-base) var(--dsx-ease-out);\n  }\n  @supports selector(:focus-within) {\n    .dsx-prompt-input-surface:focus-within { box-shadow: var(--dsx-promptinput-shadow-focus, var(--dsx-shadow-2)); }\n  }\n  .dsx-prompt-input-panel {\n    border-radius: var(--dsx-surface-radius, 36.5px); corner-shape: var(--dsx-surface-corner-shape, superellipse(1.6));\n    box-shadow: var(--dsx-shadow-3);\n    background: color-mix(in srgb, var(--dsx-promptinput-background, var(--dsx-surface-raised)) 96%, transparent);\n    -webkit-backdrop-filter: blur(24px) saturate(1.6);\n    backdrop-filter: blur(24px) saturate(1.6);\n    transition: opacity var(--dsx-dur-base) var(--dsx-ease-out), transform var(--dsx-dur-base) var(--dsx-ease-out);\n  }\n  @starting-style {\n    .dsx-prompt-input-panel { opacity: 0; transform: translateY(6px) scale(0.98); }\n  }\n  .dsx-prompt-input-tool {\n    background-color: var(--dsx-promptinput-tool-background, transparent);\n    color: var(--dsx-label);\n    transition: background-color var(--dsx-dur-fast) var(--dsx-ease), color var(--dsx-dur-fast) var(--dsx-ease);\n  }\n  .dsx-prompt-input-pill {\n    background-color: var(--dsx-fill);\n    transition: background-color var(--dsx-dur-fast) var(--dsx-ease);\n  }\n  .dsx-prompt-input-chip {\n    background-color: var(--dsx-fill);\n    color: var(--dsx-label);\n    transition: background-color var(--dsx-dur-fast) var(--dsx-ease);\n  }\n\n  @media (prefers-reduced-motion: reduce) {\n    .dsx-prompt-input-surface, .dsx-prompt-input-panel, .dsx-prompt-input-tool, .dsx-prompt-input-chip { transition: none; }\n  }\n  @media (prefers-reduced-transparency: reduce) {\n    .dsx-prompt-input-surface, .dsx-prompt-input-panel { background: var(--dsx-promptinput-background, var(--dsx-surface-raised)); -webkit-backdrop-filter: none; backdrop-filter: none; }\n  }"]},"root":{"tag":"vstack","attrs":{"class":"dsx-prompt-input","__steers":"1","__css":"c367"},"children":[{"tag":"vstack","attrs":{"visible-if":"dsx.variable.promptMentionRows.length > 0","class":"dsx-prompt-input-panel","aria-label":"{{ dsx.attribute.mentionsPrompt }}","__steers":"1","__css":"c368"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.attribute.mentionsPrompt }}","type":"footnote","__css":"c369"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"list","attrs":{"bind":"dsx.variable.promptMentionRows","key":"id","__css":"c370"},"children":[{"tag":"pressable","attrs":{"class":"dsx-prompt-input-mention","on:tap":"dsx.action.promptPickMention()","role":"button","aria-label":"{{ dsx.this.title }}, {{ dsx.this.kind }}","__style_reactive":"--dsx-rx-background-color:{{ dsx.this.first ? 'var(--dsx-fill)' : 'transparent' }}","__css":"c371"},"children":[{"tag":"hstack","attrs":{"__steers":"1","__css":"c372"},"children":[{"tag":"image","attrs":{"icon":"{{ dsx.this.icon }}","aria-hidden":"true","__inkAuthored":"true","__fontSize":"18px","__style_reactive":"--dsx-rx-color:{{ dsx.this.color }}","__css":"c341"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"text","attrs":{"value":"{{ dsx.this.title }}","line-limit":"1","__css":"c373"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"text","attrs":{"value":"{{ dsx.this.kind }}","type":"footnote","line-limit":"1","__css":"c179"},"children":[],"text":"","reactive":true,"nid":8}],"text":"\n          \n          \n          \n        ","reactive":true,"nid":5}],"text":"\n        \n      ","reactive":true,"nid":4}],"text":"\n      \n    ","reactive":true,"nid":3}],"text":"\n    \n    \n  ","reactive":true,"nid":1},{"tag":"vstack","attrs":{"class":"dsx-prompt-input-surface","__steers":"1","__style_reactive":"--dsx-rx-padding:{{ dsx.variable.promptExpanded && !dsx.variable.promptRecording ? '0.5rem' : '0.375rem' }}","__css":"c374"},"children":[{"tag":"text","attrs":{"visible-if":"dsx.variable.promptRecording && dsx.variable.promptHeard != ''","class":"dsx-prompt-input-heard","value":"{{ dsx.variable.promptHeard }}","line-limit":"4","aria-hidden":"true","__css":"c375"},"children":[],"text":"","reactive":true,"nid":10},{"tag":"stack","attrs":{"visible-if":"!dsx.variable.promptRecording","class":"dsx-prompt-input-grid","__gridTemplateAreas":"{{ dsx.variable.promptAreas }}","__gridTemplateColumns":"auto auto auto minmax(0, 1fr) auto auto auto","__display":"grid","__steers":"1","__style_reactive":"grid-template-areas:{{ dsx.variable.promptAreas }}","__css":"c376"},"children":[{"tag":"vstack","attrs":{"visible-if":"dsx.variable.promptExpanded","class":"dsx-prompt-input-top","__steers":"1","__css":"c377"},"children":[{"tag":"hstack","attrs":{"visible-if":"dsx.variable.promptNotice != ''","class":"dsx-prompt-input-notice","__steers":"1","__css":"c378"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.variable.promptNotice }}","type":"footnote","line-limit":"2","__css":"c379"},"children":[],"text":"","reactive":true,"nid":14},{"tag":"button","attrs":{"icon":"xmark","class":"dsx-prompt-input-tool","aria-label":"Dismiss","on:tap":"dsx.action.promptDismissNotice()","__css":"c380"},"children":[],"text":"","reactive":true,"nid":15}],"text":"\n          \n          \n        ","reactive":true,"nid":13},{"tag":"slot","attrs":{"name":"top"},"children":[],"text":"","reactive":false,"nid":16}],"text":"\n        \n        \n      ","reactive":true,"nid":12},{"tag":"list","attrs":{"visible-if":"dsx.variable.promptFiles.length > 0","class":"dsx-prompt-input-tray","bind":"dsx.variable.promptFiles","key":"id","axis":"horizontal","scroll":"true","aria-label":"Attachments","__css":"c381"},"children":[{"tag":"Attachment","attrs":{"name":"{{ dsx.this.name }}","size":"{{ dsx.this.size }}","on:remove":"dsx.event('remove', { id: dsx.this.id })"},"children":[],"text":"","reactive":true,"nid":18}],"text":"\n        \n      ","reactive":true,"nid":17},{"tag":"textarea","attrs":{"bind":"dsx.variable.promptDraft","placeholder":"{{ dsx.attribute.placeholder }}","min-lines":"{{ dsx.attribute.minLines }}","max-lines":"{{ dsx.attribute.maxLines }}","submit-on-enter":"{{ dsx.attribute.enterSends }}","on:submit":"dsx.action.promptSend()","on:focus":"dsx.variable.promptFocused = true","on:blur":"dsx.variable.promptFocused = false","aria-label":"{{ dsx.attribute.ariaLabel }}","__style_reactive":"--dsx-rx-padding:{{ dsx.variable.promptExpanded ? '0.375rem 0.5rem 0.75rem' : '0.4375rem 0.25rem' }}","__css":"c382"},"children":[],"text":"","reactive":true,"nid":19},{"tag":"button","attrs":{"visible-if":"dsx.attribute.attach == 'true' && dsx.variable.promptMenu.length == 0","class":"dsx-prompt-input-tool","icon":"plus","aria-label":"Add an attachment","on:tap":"dsx.event('attach')","__css":"c383"},"children":[],"text":"","reactive":true,"nid":20},{"tag":"menu","attrs":{"visible-if":"dsx.attribute.attach == 'true' && dsx.variable.promptMenu.length > 0","menu":"dsx.variable.promptMenu","__css":"c384"},"children":[{"tag":"button","attrs":{"class":"dsx-prompt-input-tool","icon":"plus","aria-label":"Add","__css":"c385"},"children":[],"text":"","reactive":false,"nid":22}],"text":"\n        \n      ","reactive":true,"nid":21},{"tag":"pressable","attrs":{"visible-if":"dsx.variable.promptExpanded && String(dsx.attribute.modelLabel == null ? '' : dsx.attribute.modelLabel) != ''","class":"dsx-prompt-input-pill","on:tap":"dsx.event('modelTap')","role":"button","aria-label":"Model, {{ dsx.attribute.modelLabel }} {{ dsx.attribute.modelDetail }}","__css":"c386"},"children":[{"tag":"hstack","attrs":{"__steers":"1","__css":"c387"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.attribute.modelLabel }}","type":"callout","line-limit":"1","__css":"c185"},"children":[],"text":"","reactive":true,"nid":25},{"tag":"text","attrs":{"visible-if":"dsx.attribute.modelDetail","value":"{{ dsx.attribute.modelDetail }}","type":"callout","line-limit":"1","__css":"c179"},"children":[],"text":"","reactive":true,"nid":26}],"text":"\n          \n          \n        ","reactive":true,"nid":24}],"text":"\n        \n      ","reactive":true,"nid":23},{"tag":"hstack","attrs":{"visible-if":"dsx.variable.promptExpanded","class":"dsx-prompt-input-pills","__steers":"1","__css":"c388"},"children":[{"tag":"slot","attrs":{"name":"center"},"children":[],"text":"","reactive":false,"nid":28}],"text":"\n        \n      ","reactive":true,"nid":27},{"tag":"picker","attrs":{"visible-if":"dsx.variable.promptExpanded && dsx.variable.promptModels.length > 0 && String(dsx.attribute.modelLabel == null ? '' : dsx.attribute.modelLabel) == ''","bind":"dsx.variable.promptModel","options-key":"dsx.variable.promptModels","value-field":"value","label-field":"label","aria-label":"Model","on:change":"dsx.event('modelChange', { value: dsx.this.value })","__css":"c389"},"children":[],"text":"","reactive":true,"nid":29},{"tag":"text","attrs":{"visible-if":"dsx.variable.promptExpanded && dsx.variable.promptCount != ''","value":"{{ dsx.variable.promptCount }}","type":"caption2","aria-label":"{{ dsx.variable.promptCount }} characters","__style_reactive":"--dsx-rx-color:{{ dsx.variable.promptOver ? 'var(--dsx-destructive)' : 'var(--dsx-tertiary-label)' }}","__css":"c390"},"children":[],"text":"","reactive":true,"nid":30},{"tag":"button","attrs":{"visible-if":"dsx.attribute.voice == 'true' && !dsx.variable.promptBusy","class":"dsx-prompt-input-tool","icon":"mic","aria-label":"Dictate","on:tap":"dsx.action.promptVoiceStart()","__css":"c391"},"children":[],"text":"","reactive":true,"nid":31},{"tag":"button","attrs":{"visible-if":"dsx.variable.promptVoiceButton","icon":"waveform","aria-label":"Start voice mode","on:tap":"dsx.event('voiceMode')","__css":"c392"},"children":[],"text":"","reactive":true,"nid":32},{"tag":"button","attrs":{"visible-if":"!dsx.variable.promptVoiceButton","icon":"{{ dsx.variable.promptBusy ? 'stop.fill' : 'arrow.up' }}","class":"dsx-prompt-input-send","aria-label":"{{ dsx.variable.promptBusy ? 'Stop generating' : 'Send' }}","disabled-if":"!dsx.variable.promptBusy && !dsx.variable.promptReady","on:tap":"dsx.action.promptPrimary()","__style_reactive":"--dsx-rx-background-color:{{ dsx.variable.promptSendFill }};--dsx-rx-color:{{ dsx.variable.promptSendInk }}","__css":"c393"},"children":[],"text":"","reactive":true,"nid":33}],"text":"\n      \n\n      \n\n      \n\n      \n      \n\n      \n      \n      \n      \n\n      \n\n      \n      \n    ","reactive":true,"nid":11},{"tag":"hstack","attrs":{"visible-if":"dsx.variable.promptRecording","class":"dsx-prompt-input-recording","aria-label":"Recording, {{ dsx.variable.promptElapsed }}","role":"group","__steers":"1","__css":"c240"},"children":[{"tag":"popover","attrs":{"present":"dsx.variable.promptConfirm","arrow":"bottom","on:dismiss":"dsx.variable.promptConfirm = false","__css":"c394"},"children":[{"tag":"button","attrs":{"icon":"xmark","class":"dsx-prompt-input-chip","aria-label":"Discard recording","on:tap":"dsx.variable.promptConfirm = true","__css":"c395"},"children":[],"text":"","reactive":true,"nid":36},{"tag":"vstack","attrs":{"slot":"content","__steers":"1","__css":"c396"},"children":[{"tag":"text","attrs":{"value":"{{ dsx.attribute.discardPrompt }}","type":"body","__css":"c185"},"children":[],"text":"","reactive":true,"nid":38},{"tag":"button","attrs":{"label":"Discard","role":"destructive","on:tap":"dsx.action.promptDiscardConfirmed()"},"children":[],"text":"","reactive":true,"nid":39}],"text":"\n          \n          \n        ","reactive":true,"nid":37}],"text":"\n        \n        \n      ","reactive":true,"nid":35},{"tag":"AudioLevel","attrs":{"level":"{{ dsx.variable.promptLevel }}","bars":"24","__css":"c397"},"children":[],"text":"","reactive":true,"nid":40},{"tag":"text","attrs":{"value":"{{ dsx.variable.promptElapsed }}","type":"footnote","aria-hidden":"true","__css":"c237"},"children":[],"text":"","reactive":true,"nid":41},{"tag":"button","attrs":{"icon":"stop.fill","class":"dsx-prompt-input-chip","aria-label":"Stop and keep what was said","on:tap":"dsx.action.promptVoiceKeep()","__css":"c398"},"children":[],"text":"","reactive":true,"nid":42},{"tag":"button","attrs":{"icon":"arrow.up","class":"dsx-prompt-input-send","aria-label":"Send what was said","on:tap":"dsx.action.promptVoiceSend()","__css":"c399"},"children":[],"text":"","reactive":true,"nid":43}],"text":"\n      \n      \n      \n      \n      \n    ","reactive":true,"nid":34}],"text":"\n\n    \n    \n\n    \n    \n\n    \n    \n  ","reactive":true,"nid":9}],"text":"\n  \n\n  \n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.Quote":{"name":"Quote","scheme":"foundation","head":{"attributes":[{"as":"aria-label"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-quote","role":"group","aria-label":"{{ dsx.attribute.ariaLabel || '' }}","__row":"1","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-quote-rail","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":1},{"tag":"stack","attrs":{"class":"dsx-quote-body","__steers":"1"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":3}],"text":"\n    \n  ","reactive":false,"nid":2}],"text":"\n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.Rating":{"name":"Rating","scheme":"foundation","head":{"attributes":[{"as":"value"},{"as":"bind"},{"as":"max","default":"5"},{"as":"read-only","default":"'false'"},{"as":"half","default":"'false'"},{"as":"icon","default":"'star'"},{"as":"count"},{"as":"aria-label"}],"apis":[],"expects":[],"events":[{"as":"change","payload":["value"]}],"inputs":[],"tools":[],"variables":[{"as":"ratingMax","body":"\n      return Math.max(1, Math.round(Number(dsx.attribute.max || 5)))\n    ","computed":true},{"as":"ratingValue","body":"\n      const asked = dsx.attribute.value == null || dsx.attribute.value === '' ? dsx.attribute.bind : dsx.attribute.value\n      const n = Number(asked || 0)\n      if (isNaN(n)) { return 0 }\n      return Math.max(0, Math.min(dsx.variable.ratingMax, n))\n    ","computed":true},{"as":"ratingReadOnly","body":"\n      return dsx.attribute.readOnly == 'true' || dsx.attribute.readOnly == '1'\n    ","computed":true},{"as":"ratingHalf","body":"\n      return dsx.attribute.half == 'true' || dsx.attribute.half == '1'\n    ","computed":true},{"as":"ratingHalfIcon","body":"\n      const base = dsx.attribute.icon || 'star'\n      if (base == 'star') { return 'star.leadinghalf.filled' }\n      return base + '.fill'\n    ","computed":true},{"as":"ratingCells","body":"\n      return Array.from({ length: dsx.variable.ratingMax }, (_, i) => ({ key: 'g' + i, n: i + 1 }))\n    ","computed":true},{"as":"ratingUtterance","body":"\n      const noun = (dsx.attribute.icon || 'star') == 'star' ? ' stars' : ''\n      return dsx.variable.ratingValue + ' of ' + dsx.variable.ratingMax + noun\n    ","computed":true}],"formulas":[{"as":"ratingGlyph","inputs":{"n":"dsx.this.n","score":"dsx.variable.ratingValue","halves":"dsx.variable.ratingHalf","base":"dsx.attribute.icon","halfIcon":"dsx.variable.ratingHalfIcon"},"body":"\n      const icon = base || 'star'\n      const fill = Math.max(0, Math.min(1, score - (n - 1)))\n      if (fill &gt;= 0.75) { return icon + '.fill' }\n      if (halves &amp;&amp; fill &gt;= 0.25) { return halfIcon }\n      return icon\n    "},{"as":"ratingGlyphTint","inputs":{"n":"dsx.this.n","score":"dsx.variable.ratingValue"},"body":"\n      if (score &gt;= n - 0.75) { return 'var(--dsx-rating-color, var(--dsx-accent))' }\n      return 'var(--dsx-tertiary-label)'\n    "}],"actions":[{"as":"ratingAdjust","inputs":{},"body":"\n      if (dsx.variable.ratingReadOnly) { return }\n      const step = dsx.variable.ratingHalf ? 0.5 : 1\n      const delta = dsx.this.direction == 'decrement' ? -step : step\n      const next = Math.max(0, Math.min(dsx.variable.ratingMax, dsx.variable.ratingValue + delta))\n      dsx.event('change', { value: next })\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-rating","role":"group","aria-label":"{{ dsx.attribute.ariaLabel || 'Rating' }}","aria-valuetext":"{{ dsx.variable.ratingUtterance }}","on:adjust":"dsx.action.ratingAdjust()"},"children":[{"tag":"stack","attrs":{"class":"dsx-rating-row","__flexDirection":"row","__steers":"1","__css":"c404"},"children":[{"tag":"list","attrs":{"bind":"dsx.variable.ratingCells","key":"key","axis":"horizontal","scroll":"false","__steers":"1","__css":"c405"},"children":[{"tag":"pressable","attrs":{"class":"dsx-rating-glyph","aria-hidden":"true","disabled-if":"dsx.variable.ratingReadOnly","on:tap":"dsx.event('change', { value: dsx.this.n })"},"children":[{"tag":"image","attrs":{"icon":"{{ dsx.formula.ratingGlyph }}","__inkAuthored":"true","__fontSize":"18px","__style_reactive":"--dsx-rx-color:{{ dsx.formula.ratingGlyphTint }}","__css":"c341"},"children":[],"text":"","reactive":true}],"text":"\n        \n      ","reactive":true}],"text":"\n      \n    ","reactive":true},{"tag":"text","attrs":{"visible-if":"dsx.attribute.count","value":"({{ dsx.attribute.count }})","line-limit":"1","__css":"c299"},"children":[],"text":"","reactive":true}],"text":"\n    \n    \n  ","reactive":true}],"text":"\n  \n\n  \n","reactive":true},"reactive":true,"language":"1"},"foundation.ReadMore":{"name":"ReadMore","scheme":"foundation","head":{"attributes":[{"as":"value"},{"as":"title"},{"as":"label","default":"'Read more'"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"open","body":"return false","computed":false},{"as":"name","body":"return dsx.attribute.title ? dsx.attribute.label + ': ' + dsx.attribute.title : dsx.attribute.label","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-read-more","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-read-more-clip","__steers":"1"},"children":[{"tag":"markdown","attrs":{"class":"dsx-read-more-body","externalLinks":"true","value":"{{ dsx.attribute.value || '' }}"},"children":[],"text":"","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1},{"tag":"button","attrs":{"class":"dsx-read-more-button","variant":"plain","label":"{{ dsx.attribute.label }}","aria-label":"{{ dsx.variable.name }}","on:tap":"dsx.variable.open = true"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"sheet","attrs":{"class":"dsx-read-more-sheet","detents":"full","present":"dsx.variable.open","title":"{{ dsx.attribute.title || dsx.attribute.label }}","close":"none","action":"Done","on:action":"dsx.variable.open = false","on:dismiss":"dsx.variable.open = false"},"children":[{"tag":"stack","attrs":{"class":"dsx-read-more-article","__steers":"1"},"children":[{"tag":"markdown","attrs":{"class":"dsx-read-more-full","copyCode":"true","externalLinks":"true","value":"{{ dsx.attribute.value || '' }}"},"children":[],"text":"","reactive":true,"nid":6}],"text":"\n      \n    ","reactive":true,"nid":5}],"text":"\n    \n  ","reactive":true,"nid":4}],"text":"\n  \n\n  \n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.ScrollFade":{"name":"ScrollFade","scheme":"foundation","head":{"attributes":[{"as":"source"},{"as":"axis","default":"'vertical'"},{"as":"edges","default":"'both'"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"scrollFadeRow","body":"\n      return String(dsx.attribute.axis) == 'horizontal'\n    ","computed":true},{"as":"scrollFadePlane","body":"\n      const raw = String(dsx.attribute.source == null ? '' : dsx.attribute.source).trim()\n      if (raw == '') { return '' }\n      for (let i = 0; i &lt; raw.length; i++) {\n        const c = raw.charAt(i)\n        const ok = (c >= 'a' &amp;&amp; c &lt;= 'z') || (c >= 'A' &amp;&amp; c &lt;= 'Z') ||\n                   (c >= '0' &amp;&amp; c &lt;= '9') || c == '-' || c == '_'\n        if (!ok) { return '' }\n      }\n      return raw\n    ","computed":true},{"as":"scrollFadeWidth","body":"\n      return dsx.variable.scrollFadeRow ? 'var(--dsx-scroll-fade-size, 32px)' : 'auto'\n    ","computed":true},{"as":"scrollFadeHeight","body":"\n      return dsx.variable.scrollFadeRow ? 'auto' : 'var(--dsx-scroll-fade-size, 32px)'\n    ","computed":true},{"as":"scrollFadeLeadOpacity","body":"\n      const key = dsx.variable.scrollFadePlane + (dsx.variable.scrollFadeRow ? '-x' : '-y')\n      return 'clamp(0, calc(var(--scroll-' + key + ', 0) / var(--dsx-scroll-fade-range, 24)), 1)'\n    ","computed":true},{"as":"scrollFadeTrailOpacity","body":"\n      const key = dsx.variable.scrollFadePlane +\n                  (dsx.variable.scrollFadeRow ? '-remaining-x' : '-remaining')\n      return 'clamp(0, calc(var(--scroll-' + key + ', 0) / var(--dsx-scroll-fade-range, 24)), 1)'\n    ","computed":true},{"as":"scrollFadeStart","body":"\n      return String(dsx.attribute.edges) != 'end'\n    ","computed":true},{"as":"scrollFadeEnd","body":"\n      return String(dsx.attribute.edges) != 'start'\n    ","computed":true},{"as":"scrollFadeAngle","body":"\n      return dsx.variable.scrollFadeRow ? 90 : 180\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-scroll-fade","passthrough":"true","aria-hidden":"true","visible-if":"dsx.variable.scrollFadePlane != ''","__flexDirection":"{{ dsx.variable.scrollFadeRow ? 'row' : 'column' }}","__steers":"1","__style_reactive":"flex-direction:{{ dsx.variable.scrollFadeRow ? 'row' : 'column' }}","__css":"c222"},"children":[{"tag":"stack","attrs":{"visible-if":"dsx.variable.scrollFadeStart","class":"dsx-scroll-fade-lead","__style_reactive":"width:{{ dsx.variable.scrollFadeWidth }};height:{{ dsx.variable.scrollFadeHeight }};--dsx-rx-opacity:{{ dsx.variable.scrollFadeLeadOpacity }};--scroll-fade-angle:{{ dsx.variable.scrollFadeAngle }}deg","__css":"c456"},"children":[],"text":"","reactive":true},{"tag":"spacer","attrs":{},"children":[],"text":"","reactive":false},{"tag":"stack","attrs":{"visible-if":"dsx.variable.scrollFadeEnd","class":"dsx-scroll-fade-trail","__style_reactive":"width:{{ dsx.variable.scrollFadeWidth }};height:{{ dsx.variable.scrollFadeHeight }};--dsx-rx-opacity:{{ dsx.variable.scrollFadeTrailOpacity }};--scroll-fade-angle:{{ dsx.variable.scrollFadeAngle }}deg","__css":"c457"},"children":[],"text":"","reactive":true}],"text":"\n  \n\n  \n  \n  \n","reactive":true},"reactive":true,"language":"1"},"foundation.SettingsRow":{"name":"SettingsRow","scheme":"foundation","head":{"attributes":[{"as":"icon"},{"as":"status"},{"as":"icon-style"},{"as":"image"},{"as":"title"},{"as":"subtitle"},{"as":"lines"},{"as":"code"},{"as":"more"},{"as":"badge"},{"as":"badge-role"},{"as":"tone"},{"as":"value"},{"as":"value-icon"},{"as":"count"},{"as":"link"},{"as":"link-icon"},{"as":"href"},{"as":"checked"},{"as":"chevron"},{"as":"tappable"},{"as":"disabled"},{"as":"shortcut"}],"apis":[],"expects":[],"events":[{"as":"tap","payload":[]},{"as":"more","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"rowChecked","body":"\n      return dsx.attribute.checked === true || dsx.attribute.checked === 'true'\n    ","computed":true},{"as":"rowSelectable","body":"\n      return dsx.variable.rowChecked || dsx.attribute.checked === false || dsx.attribute.checked === 'false'\n    ","computed":true},{"as":"rowTappable","body":"\n      if (dsx.variable.rowDisabled || dsx.attribute.link) { return false }\n      return (!!dsx.attribute.chevron &amp;&amp; dsx.attribute.chevron !== 'false') || dsx.attribute.tappable === true || dsx.attribute.tappable === 'true' || dsx.variable.rowHref != '' || dsx.variable.rowSelectable\n    ","computed":true},{"as":"rowHref","body":"return dsx.attribute.href == null ? '' : String(dsx.attribute.href)","computed":true},{"as":"rowChevron","body":"return !dsx.attribute.link &amp;&amp; !!dsx.attribute.chevron &amp;&amp; dsx.attribute.chevron !== 'false'","computed":true},{"as":"rowLinkOff","body":"return dsx.attribute.tappable === false || dsx.attribute.tappable === 'false' || dsx.attribute.disabled === true || dsx.attribute.disabled === 'true'","computed":true},{"as":"rowLeaves","body":"return /^https?:/i.test(dsx.variable.rowHref)","computed":true},{"as":"rowDisabled","body":"\n      if (dsx.attribute.disabled === true || dsx.attribute.disabled === 'true') { return true }\n      return !!dsx.attribute.tone &amp;&amp; (dsx.attribute.tappable === false || dsx.attribute.tappable === 'false')\n    ","computed":true},{"as":"rowValue","body":"\n      const v = dsx.attribute.value\n      if (v === null || v === undefined || v === '') { return '' }\n      return String(v)\n    ","computed":true},{"as":"rowLinkIcon","body":"\n      const g = dsx.attribute.linkIcon\n      if (g === null || g === undefined || g === '') { return 'arrow.up.right.square' }\n      return g === 'none' ? '' : String(g)\n    ","computed":true},{"as":"rowValueText","body":"\n      const t = dsx.variable.rowValue\n      return (t.length > 15 &amp;&amp; !/\\s/.test(t)) ? t.replace(/([.\\/_:@-])(?=[A-Za-z0-9])/g, '$1\\u200b') : t\n    ","computed":true},{"as":"rowTitleText","body":"\n      const t = dsx.attribute.title == null ? '' : String(dsx.attribute.title)\n      return (t.length > 15 &amp;&amp; !/\\s/.test(t)) ? t.replace(/([.\\/_:@-])(?=[A-Za-z0-9])/g, '$1\\u200b') : t\n    ","computed":true},{"as":"rowSubtitleText","body":"\n      const t = dsx.attribute.subtitle == null ? '' : String(dsx.attribute.subtitle)\n      return (t.length > 15 &amp;&amp; !/\\s/.test(t)) ? t.replace(/([.\\/_:@-])(?=[A-Za-z0-9])/g, '$1\\u200b') : t\n    ","computed":true},{"as":"rowCodeText","body":"\n      const t = dsx.attribute.code == null ? '' : String(dsx.attribute.code)\n      return t.replace(/([.\\/_:@-])(?=[A-Za-z0-9])/g, '$1\\u200b')\n    ","computed":true},{"as":"rowStatusWord","body":"\n      return dsx.attribute.status == null ? '' : String(dsx.attribute.status).trim().toLowerCase()\n    ","computed":true},{"as":"rowPhase","body":"\n      const w = dsx.variable.rowStatusWord\n      if (w == '') { return '' }\n      const phases = { done: 'done', complete: 'done', completed: 'done', success: 'done', running: 'running', active: 'running',\n        failed: 'failed', error: 'failed', skipped: 'skipped', cancelled: 'skipped', warning: 'warning' }\n      return phases[w] || 'upcoming'\n    ","computed":true},{"as":"rowStatusIcon","body":"\n      const icons = { done: 'checkmark.circle.fill', complete: 'checkmark.circle.fill', completed: 'checkmark.circle.fill', success: 'checkmark.circle.fill',\n        failed: 'xmark.circle.fill', error: 'xmark.circle.fill', skipped: 'minus.circle', cancelled: 'minus.circle',\n        warning: 'exclamationmark.triangle.fill', queued: 'clock' }\n      return icons[dsx.variable.rowStatusWord] || 'circle'\n    ","computed":true},{"as":"rowStatusSay","body":"\n      const says = { done: 'completed', complete: 'completed', completed: 'completed', success: 'completed', running: 'in progress', active: 'in progress',\n        failed: 'failed', error: 'failed', skipped: 'skipped', cancelled: 'cancelled', warning: 'needs attention', queued: 'queued' }\n      return says[dsx.variable.rowStatusWord] || 'not started'\n    ","computed":true},{"as":"rowLeading","body":"\n      if (dsx.attribute.image) { return 'image' }\n      if (dsx.variable.rowPhase != '') { return dsx.variable.rowPhase == 'running' ? 'spinner' : 'status' }\n      if (dsx.attribute.icon) {\n        if (dsx.attribute.iconStyle == 'plain') { return 'plain' }\n        if (dsx.attribute.iconStyle == 'tile') { return 'tile' }\n        return 'system'\n      }\n      return 'none'\n    ","computed":true}],"formulas":[],"actions":[{"as":"activate","inputs":{},"body":"\n      if (dsx.variable.rowHref != '') { dsx.module.route.push({ path: dsx.variable.rowHref }) }\n      dsx.event('tap')\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-settings-row-root","__steers":"1"},"children":[{"tag":"system-settings-row","attrs":{"visible-if":"dsx.css.supports('element(system-settings-row)')","class":"{{ dsx.variable.rowDisabled ? 'dsx-settings-row-disabled' : '' }}","icon":"{{ dsx.variable.rowLeading == 'system' ? dsx.attribute.icon : '' }}","title":"{{ dsx.attribute.title }}","value":"{{ dsx.variable.rowValue }}","tone":"{{ dsx.attribute.tone }}","count":"{{ dsx.attribute.count || '' }}","checked":"{{ dsx.variable.rowChecked }}","chevron":"{{ dsx.variable.rowChevron }}","tappable":"{{ dsx.variable.rowTappable }}","on:tap":"dsx.action.activate()"},"children":[{"tag":"stack","attrs":{"slot":"leading","class":"dsx-settings-row-icon","visible-if":"dsx.variable.rowLeading == 'tile'","__css":"c466","__steers":"1"},"children":[{"tag":"image","attrs":{"icon":"{{ dsx.attribute.icon }}","aria-hidden":"true","__inkAuthored":"true","__fontSize":"14px","__css":"c467"},"children":[],"text":"","reactive":true,"nid":3}],"text":"\n      \n    ","reactive":true,"nid":2},{"tag":"image","attrs":{"slot":"leading","class":"dsx-settings-row-glyph","visible-if":"dsx.variable.rowLeading == 'plain'","icon":"{{ dsx.attribute.icon }}","aria-hidden":"true","__fontSize":"20px","__css":"c366"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"image","attrs":{"slot":"leading","class":"dsx-settings-row-image","visible-if":"dsx.variable.rowLeading == 'image'","src":"{{ dsx.attribute.image }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"image","attrs":{"slot":"leading","class":"dsx-settings-row-glyph dsx-settings-row-status dsx-settings-row-status-{{ dsx.variable.rowPhase }}","visible-if":"dsx.variable.rowLeading == 'status'","icon":"{{ dsx.variable.rowStatusIcon }}","aria-label":"{{ dsx.variable.rowStatusSay }}","__fontSize":"20px","__css":"c366"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"spinner","attrs":{"slot":"leading","class":"dsx-settings-row-spinner","visible-if":"dsx.variable.rowLeading == 'spinner'","aria-label":"In progress"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"slot","attrs":{"name":"leading","slot":"leading"},"children":[],"text":"","reactive":false,"nid":8},{"tag":"chip","attrs":{"slot":"accessory","class":"dsx-settings-row-badge","visible-if":"dsx.attribute.badge","label":"{{ dsx.attribute.badge }}","role":"{{ dsx.attribute.badgeRole }}"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"stack","attrs":{"slot":"subtitle","class":"dsx-settings-row-more-copy","visible-if":"dsx.attribute.subtitle || dsx.attribute.code || dsx.attribute.link","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-settings-row-subtitle","visible-if":"dsx.attribute.subtitle","value":"{{ dsx.attribute.subtitle }}","line-limit":"{{ dsx.attribute.lines || 0 }}"},"children":[],"text":"","reactive":true,"nid":11},{"tag":"text","attrs":{"class":"dsx-settings-row-code","visible-if":"dsx.attribute.code","value":"{{ dsx.variable.rowCodeText }}"},"children":[],"text":"","reactive":true,"nid":12},{"tag":"button","attrs":{"class":"dsx-settings-row-more","visible-if":"dsx.attribute.lines && dsx.attribute.more","variant":"plain","label":"{{ dsx.attribute.more }}","on:tap":"dsx.event('more')"},"children":[],"text":"","reactive":true,"nid":13},{"tag":"button","attrs":{"class":"dsx-settings-row-link","visible-if":"dsx.attribute.link","variant":"bordered","control-size":"small","label":"{{ dsx.attribute.link }}","icon":"{{ dsx.variable.rowLinkIcon }}","disabled-if":"dsx.variable.rowLinkOff","on:tap":"dsx.action.activate()"},"children":[],"text":"","reactive":true,"nid":14}],"text":"\n      \n      \n      \n      \n    ","reactive":true,"nid":10},{"tag":"image","attrs":{"class":"dsx-settings-row-value-icon","visible-if":"dsx.attribute.valueIcon","icon":"{{ dsx.attribute.valueIcon }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":15},{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":16},{"tag":"image","attrs":{"class":"dsx-settings-row-opens","visible-if":"dsx.variable.rowLeaves","icon":"arrow.up.right","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":17}],"text":"\n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"dsx-settings-row {{ dsx.variable.rowDisabled ? 'dsx-settings-row-disabled' : '' }}","visible-if":"!dsx.css.supports('element(system-settings-row)')","__steers":"1"},"children":[{"tag":"button","attrs":{"class":"dsx-settings-row-action","visible-if":"dsx.variable.rowTappable","label":"","aria-label":"{{ dsx.attribute.title }}","aria-valuetext":"{{ dsx.variable.rowChecked ? 'Selected' : (dsx.attribute.value || '') }}","shortcut":"{{ dsx.attribute.shortcut || '' }}","on:tap":"dsx.action.activate()"},"children":[],"text":"","reactive":true,"nid":19},{"tag":"stack","attrs":{"class":"dsx-settings-row-content","role":"{{ dsx.variable.rowTappable ? 'group' : '' }}","__row":"1","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-settings-row-icon","visible-if":"dsx.variable.rowLeading == 'tile'","__css":"c466","__steers":"1"},"children":[{"tag":"image","attrs":{"icon":"{{ dsx.attribute.icon }}","aria-hidden":"true","__inkAuthored":"true","__fontSize":"14px","__css":"c467"},"children":[],"text":"","reactive":true,"nid":22}],"text":"\n        \n      ","reactive":true,"nid":21},{"tag":"image","attrs":{"class":"dsx-settings-row-glyph","visible-if":"dsx.variable.rowLeading == 'plain'","icon":"{{ dsx.attribute.icon }}","aria-hidden":"true","__fontSize":"var(--dsx-settings-row-glyph-size, 27px)","__css":"c468"},"children":[],"text":"","reactive":true,"nid":23},{"tag":"image","attrs":{"class":"dsx-settings-row-glyph dsx-settings-row-glyph-system","visible-if":"dsx.variable.rowLeading == 'system'","icon":"{{ dsx.attribute.icon }}","aria-hidden":"true","__fontSize":"var(--dsx-settings-row-glyph-size, 27px)","__css":"c468"},"children":[],"text":"","reactive":true,"nid":24},{"tag":"image","attrs":{"class":"dsx-settings-row-image","visible-if":"dsx.variable.rowLeading == 'image'","src":"{{ dsx.attribute.image }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":25},{"tag":"image","attrs":{"class":"dsx-settings-row-glyph dsx-settings-row-status dsx-settings-row-status-{{ dsx.variable.rowPhase }}","visible-if":"dsx.variable.rowLeading == 'status'","icon":"{{ dsx.variable.rowStatusIcon }}","aria-label":"{{ dsx.variable.rowStatusSay }}","__fontSize":"var(--dsx-settings-row-glyph-size, 27px)","__css":"c468"},"children":[],"text":"","reactive":true,"nid":26},{"tag":"spinner","attrs":{"class":"dsx-settings-row-spinner","visible-if":"dsx.variable.rowLeading == 'spinner'","aria-label":"In progress"},"children":[],"text":"","reactive":true,"nid":27},{"tag":"slot","attrs":{"name":"leading"},"children":[],"text":"","reactive":false,"nid":28},{"tag":"stack","attrs":{"class":"dsx-settings-row-copy","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-settings-row-title-line","__row":"1","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-settings-row-title dsx-settings-row-tone-{{ dsx.attribute.tone || 'label' }}","value":"{{ dsx.variable.rowTitleText }}"},"children":[],"text":"","reactive":true,"nid":31},{"tag":"chip","attrs":{"class":"dsx-settings-row-badge","visible-if":"dsx.attribute.badge","label":"{{ dsx.attribute.badge }}","role":"{{ dsx.attribute.badgeRole }}"},"children":[],"text":"","reactive":true,"nid":32}],"text":"\n          \n          \n        ","reactive":true,"nid":30},{"tag":"text","attrs":{"class":"dsx-settings-row-subtitle","visible-if":"dsx.attribute.subtitle","value":"{{ dsx.variable.rowSubtitleText }}","line-limit":"{{ dsx.attribute.lines || 0 }}"},"children":[],"text":"","reactive":true,"nid":33},{"tag":"button","attrs":{"class":"dsx-settings-row-more","visible-if":"dsx.attribute.lines && dsx.attribute.more","variant":"plain","label":"{{ dsx.attribute.more }}","on:tap":"dsx.event('more')"},"children":[],"text":"","reactive":true,"nid":34},{"tag":"text","attrs":{"class":"dsx-settings-row-code","visible-if":"dsx.attribute.code","value":"{{ dsx.variable.rowCodeText }}"},"children":[],"text":"","reactive":true,"nid":35},{"tag":"button","attrs":{"class":"dsx-settings-row-link","visible-if":"dsx.attribute.link","variant":"bordered","control-size":"small","label":"{{ dsx.attribute.link }}","icon":"{{ dsx.variable.rowLinkIcon }}","disabled-if":"dsx.variable.rowLinkOff","on:tap":"dsx.action.activate()"},"children":[],"text":"","reactive":true,"nid":36}],"text":"\n        \n        \n        \n        \n        \n      ","reactive":true,"nid":29},{"tag":"spacer","attrs":{"class":"dsx-settings-row-spacer"},"children":[],"text":"","reactive":false,"nid":37},{"tag":"text","attrs":{"class":"dsx-settings-row-value","visible-if":"dsx.variable.rowValue !== ''","value":"{{ dsx.variable.rowValueText }}"},"children":[],"text":"","reactive":true,"nid":38},{"tag":"image","attrs":{"class":"dsx-settings-row-value-icon","visible-if":"dsx.attribute.valueIcon","icon":"{{ dsx.attribute.valueIcon }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":39},{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":40},{"tag":"text","attrs":{"class":"dsx-settings-row-count","visible-if":"dsx.attribute.count","value":"{{ dsx.attribute.count }}"},"children":[],"text":"","reactive":true,"nid":41},{"tag":"image","attrs":{"class":"dsx-settings-row-opens","visible-if":"dsx.variable.rowLeaves","icon":"arrow.up.right","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":42},{"tag":"image","attrs":{"class":"dsx-settings-row-check {{ dsx.variable.rowChecked ? '' : 'dsx-settings-row-check-off' }}","visible-if":"dsx.variable.rowSelectable","icon":"checkmark","aria-hidden":"true","__fontSize":"20px","__css":"c366"},"children":[],"text":"","reactive":true,"nid":43},{"tag":"image","attrs":{"class":"dsx-settings-row-chevron","visible-if":"dsx.variable.rowChevron","icon":"chevron.forward","aria-hidden":"true","__fontSize":"17.5px","__css":"c469"},"children":[],"text":"","reactive":true,"nid":44}],"text":"\n      \n      \n      \n      \n      \n      \n      \n      \n      \n      \n      \n      \n      \n      \n      \n      \n      \n    ","reactive":true,"nid":20},{"tag":"stack","attrs":{"class":"dsx-settings-row-wash","visible-if":"dsx.variable.rowTappable","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":45}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":18},{"tag":"stack","attrs":{"class":"dsx-settings-row-separator dsx-settings-row-separator-{{ dsx.variable.rowLeading }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":46}],"text":"\n  \n\n  \n\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.SidebarItem":{"name":"SidebarItem","scheme":"foundation","head":{"attributes":[{"as":"value"},{"as":"icon"},{"as":"title"},{"as":"badge"},{"as":"count"},{"as":"disabled"},{"as":"menu"},{"as":"shortcut"}],"apis":[],"expects":[],"events":[{"as":"select","payload":["value"]}],"inputs":[],"tools":[],"variables":[{"as":"itemSelected","body":"\n      return dsx.context.sidebarValue != null &amp;&amp; dsx.attribute.value != null &amp;&amp; String(dsx.context.sidebarValue) === String(dsx.attribute.value)\n    ","computed":true},{"as":"itemWithin","body":"\n      return dsx.context.sidebarValue != null &amp;&amp; dsx.attribute.value != null &amp;&amp; String(dsx.attribute.value) !== '' &amp;&amp; String(dsx.context.sidebarValue).startsWith(String(dsx.attribute.value) + '/')\n    ","computed":true},{"as":"itemIsRoot","body":"return dsx.context.sectionRoot != null &amp;&amp; dsx.attribute.value != null &amp;&amp; String(dsx.context.sectionRoot) === String(dsx.attribute.value)","computed":true},{"as":"itemOff","body":"return dsx.attribute.disabled === true || dsx.attribute.disabled === 'true'","computed":true}],"formulas":[],"actions":[{"as":"itemSelect","inputs":{},"body":"\n      if (dsx.variable.itemOff) { return }\n      if (dsx.context.sidebarValue != null) { dsx.context.sidebarSelect({ item: dsx.attribute.value }) }\n      dsx.event('select', { value: dsx.attribute.value })\n    "}],"watches":[],"scripts":[],"globalScripts":[],"contexts":[{"from":"sidebar","optional":"true","use":["sidebarValue","sidebarSelect","sidebarCollapsed"]},{"from":"sidebarsection","optional":"true","use":["sectionRoot"]}]},"root":{"tag":"stack","attrs":{"class":"dsx-sidebar-item{{ dsx.variable.itemWithin ? ' dsx-sidebar-item-within' : '' }}{{ dsx.variable.itemIsRoot ? ' dsx-sidebar-item-root' : '' }}"},"children":[{"tag":"contextmenu","attrs":{"class":"dsx-sidebar-item-menu","menu":"{{ dsx.attribute.menu || [] }}"},"children":[{"tag":"pressable","attrs":{"class":"dsx-sidebar-item-action","role":"option","aria-selected":"{{ dsx.variable.itemSelected }}","data-destination":"{{ dsx.attribute.value }}","aria-current":"{{ dsx.variable.itemSelected ? 'page' : 'false' }}","aria-label":"{{ dsx.attribute.title }}","disabled-if":"dsx.variable.itemOff","tooltip":"{{ dsx.context.sidebarCollapsed === true ? dsx.attribute.title : '' }}","tooltip-side":"trailing","shortcut":"{{ dsx.attribute.shortcut || '' }}","on:tap":"dsx.action.itemSelect()","__row":"1","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"dsx-sidebar-item-icon","visible-if":"dsx.attribute.icon","icon":"{{ dsx.attribute.icon }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"text","attrs":{"class":"dsx-sidebar-item-title","value":"{{ dsx.attribute.title }}"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"stack","attrs":{"class":"dsx-spacer dsx-sidebar-item-badge-slot","__steers":"1"},"children":[{"tag":"chip","attrs":{"class":"dsx-sidebar-item-badge","visible-if":"dsx.attribute.badge","label":"{{ dsx.attribute.badge }}"},"children":[],"text":"","reactive":true,"nid":6}],"text":"\n        \n      ","reactive":true,"nid":5},{"tag":"text","attrs":{"class":"dsx-sidebar-item-count","visible-if":"dsx.attribute.count != null && dsx.attribute.count !== ''","value":"{{ dsx.attribute.count }}"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"image","attrs":{"class":"dsx-sidebar-item-chevron","icon":"chevron.forward","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":8}],"text":"\n      \n      \n      \n      \n      \n    ","reactive":true,"nid":2}],"text":"\n    \n    \n  ","reactive":true,"nid":1},{"tag":"slot","attrs":{"name":"accessory"},"children":[],"text":"","reactive":false,"nid":9}],"text":"\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.SidebarList":{"name":"SidebarList","scheme":"foundation","head":{"attributes":[{"as":"value"},{"as":"collapse","default":"'none'"},{"as":"collapsed"},{"as":"aria-label"}],"apis":[],"expects":[],"events":[{"as":"change","payload":["value"]},{"as":"collapse","payload":["collapsed"]}],"inputs":[],"tools":[],"variables":[{"as":"sidebarValue","body":"return dsx.attribute.value == null ? null : dsx.attribute.value","computed":false,"context":"sidebar"},{"as":"sidebarCollapsed","body":"return false","computed":false,"persist":"device","context":"sidebar"}],"formulas":[],"actions":[{"as":"sidebarSelect","inputs":{"item":"''"},"body":"\n      dsx.event('change', { value: item })\n    ","context":"sidebar"},{"as":"sidebarToggle","inputs":{},"body":"\n      dsx.variable.sidebarCollapsed = !dsx.variable.sidebarCollapsed\n      dsx.event('collapse', { collapsed: dsx.variable.sidebarCollapsed })\n    "}],"watches":[{"value":"dsx.attribute.value","handler":"dsx.variable.sidebarValue = dsx.this.value","immediate":true},{"value":"dsx.attribute.collapsed","handler":"dsx.variable.sidebarCollapsed = dsx.this.value === true || dsx.this.value === 'true'"}],"scripts":[],"globalScripts":[],"contexts":[{"as":"sidebar"}]},"root":{"tag":"stack","attrs":{"class":"dsx-sidebar-list dsx-sidebar-list-{{ dsx.variable.sidebarCollapsed && dsx.attribute.collapse != 'none' ? dsx.attribute.collapse : 'expanded' }}","role":"listbox","aria-label":"{{ dsx.attribute.ariaLabel || localize('Sidebar') }}","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-sidebar-list-bar","visible-if":"(dsx.attribute.collapse == 'icons' || dsx.attribute.collapse == 'hide') && dsx.platform.os != 'ios' && dsx.platform.os != 'macos'","__row":"1","__steers":"1"},"children":[{"tag":"button","attrs":{"class":"dsx-sidebar-toggle","icon":"sidebar.left","shortcut":"cmd+alt+s","aria-label":"{{ dsx.variable.sidebarCollapsed ? localize('Show Sidebar') : localize('Hide Sidebar') }}","tooltip":"{{ dsx.variable.sidebarCollapsed ? localize('Show Sidebar') : localize('Hide Sidebar') }}","on:tap":"dsx.action.sidebarToggle()"},"children":[],"text":"","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"dsx-sidebar-list-header","__steers":"1"},"children":[{"tag":"slot","attrs":{"name":"top"},"children":[],"text":"","reactive":false,"nid":4}],"text":"","reactive":false,"nid":3},{"tag":"stack","attrs":{"class":"dsx-sidebar-list-sections","__steers":"1"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":6}],"text":"","reactive":false,"nid":5},{"tag":"stack","attrs":{"class":"dsx-sidebar-list-footer","__steers":"1"},"children":[{"tag":"slot","attrs":{"name":"bottom"},"children":[],"text":"","reactive":false,"nid":8}],"text":"","reactive":false,"nid":7}],"text":"\n  \n\n  \n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.SidebarSection":{"name":"SidebarSection","scheme":"foundation","head":{"attributes":[{"as":"title"},{"as":"footer"},{"as":"collapsible","default":"false"},{"as":"expanded"},{"as":"tab"},{"as":"tab-icon"},{"as":"root"},{"as":"claims"}],"apis":[],"expects":[],"events":[{"as":"toggle","payload":["expanded"]}],"inputs":[],"tools":[],"variables":[{"as":"sectionOpen","body":"return true","computed":false,"context":"sidebarsection"},{"as":"sectionRoot","body":"return dsx.attribute.root == null ? null : dsx.attribute.root","computed":false,"context":"sidebarsection"},{"as":"sectionCollapsible","body":"return dsx.attribute.collapsible === true || dsx.attribute.collapsible === 'true'","computed":true},{"as":"tabMode","body":"return dsx.attribute.tab == null || dsx.attribute.tab === '' ? 'none' : (dsx.attribute.tab === 'items' ? 'items' : 'group')","computed":true},{"as":"sectionHere","body":"\n      if (dsx.attribute.root == null || dsx.attribute.root === '' || dsx.context.sidebarValue == null || String(dsx.context.sidebarValue) !== String(dsx.attribute.root)) { return false }\n      const bare = (p) => String(p).length &gt; 1 &amp;&amp; String(p).endsWith('/') ? String(p).slice(0, -1) : String(p)\n      return dsx.path == null || dsx.path === '' || bare(dsx.path) === bare(dsx.attribute.root)\n    ","computed":true},{"as":"sectionClaimed","body":"\n      if (dsx.attribute.claims == null || dsx.attribute.claims === '' || dsx.path == null) { return false }\n      const at = String(dsx.path)\n      return String(dsx.attribute.claims).split(' ').some((p) =&gt; p !== '' &amp;&amp; (at === p || at.startsWith(p.endsWith('/') ? p : p + '/')))\n    ","computed":true}],"formulas":[],"actions":[{"as":"openRoot","inputs":{},"body":"\n      if (dsx.context.sidebarValue != null) { dsx.context.sidebarSelect({ item: dsx.attribute.root }) }\n    "},{"as":"sectionToggle","inputs":{},"body":"\n      dsx.variable.sectionOpen = !dsx.variable.sectionOpen\n      dsx.event('toggle', { expanded: dsx.variable.sectionOpen })\n    "}],"watches":[{"value":"dsx.attribute.root","handler":"dsx.variable.sectionRoot = dsx.this.value","immediate":true},{"value":"dsx.attribute.expanded","handler":"dsx.variable.sectionOpen = !(dsx.this.value === false || dsx.this.value === 'false')","immediate":true}],"scripts":[],"globalScripts":[],"contexts":[{"as":"sidebarsection"},{"from":"sidebar","optional":"true","use":["sidebarValue","sidebarSelect"]}]},"root":{"tag":"list","attrs":{"class":"dsx-sidebar-section dsx-sidebar-section-tab-{{ dsx.variable.tabMode }}{{ dsx.variable.sectionHere ? ' dsx-sidebar-section-here' : '' }}{{ dsx.variable.sectionClaimed ? ' dsx-sidebar-section-claimed' : '' }}"},"children":[{"tag":"section-header","attrs":{"class":"dsx-sidebar-section-tabhead","visible-if":"dsx.variable.tabMode == 'group'"},"children":[{"tag":"pressable","attrs":{"class":"dsx-sidebar-section-tab","aria-label":"{{ dsx.attribute.tab }}","on:tap":"dsx.action.openRoot()"},"children":[{"tag":"image","attrs":{"icon":"{{ dsx.attribute.tabIcon || 'square.grid.2x2' }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":3}],"text":"\n      \n    ","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1},{"tag":"section-header","attrs":{"value":"{{ dsx.variable.sectionCollapsible ? '' : (dsx.attribute.title || '') }}"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"accordion","attrs":{"visible-if":"dsx.variable.sectionCollapsible","class":"dsx-sidebar-section-disclosure dsx-sidebar-section-foldable","open":"{{ dsx.variable.sectionOpen }}","on:toggle":"dsx.action.sectionToggle()"},"children":[{"tag":"stack","attrs":{"slot":"header","class":"dsx-sidebar-section-toggle"},"children":[{"tag":"text","attrs":{"class":"dsx-sidebar-section-title","value":"{{ dsx.attribute.title || '' }}"},"children":[],"text":"","reactive":true,"nid":7}],"text":"\n      \n    ","reactive":true,"nid":6},{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":8}],"text":"\n    \n    \n  ","reactive":true,"nid":5},{"tag":"slot","attrs":{"visible-if":"!dsx.variable.sectionCollapsible"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"section-footer","attrs":{"value":"{{ dsx.variable.sectionOpen ? (dsx.attribute.footer || '') : '' }}"},"children":[],"text":"","reactive":true,"nid":10}],"text":"\n  \n\n  \n  \n  \n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.StepPage":{"name":"StepPage","scheme":"foundation","head":{"attributes":[{"as":"step","type":"number"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"stepPagePlace","body":"\n      const n = Number(dsx.attribute.step)\n      const at = dsx.context.stepPagesAt == null ? 0 : Number(dsx.context.stepPagesAt)\n      if (at &lt;= 0 || isNaN(n)) { return 'current' }\n      if (n &lt; at) { return 'before' }\n      if (n &gt; at) { return 'after' }\n      return 'current'\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[],"contexts":[{"from":"step.pages","optional":"true","use":["stepPagesAt"]}]},"root":{"tag":"stack","attrs":{"class":"dsx-step-page dsx-step-page-{{ dsx.variable.stepPagePlace }}","aria-current":"{{ dsx.variable.stepPagePlace == 'current' ? 'step' : 'false' }}","__steers":"1"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":1}],"text":"\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.StepPages":{"name":"StepPages","scheme":"foundation","head":{"attributes":[{"as":"current","type":"number"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"stepPagesAt","body":"\n      const n = Number(dsx.attribute.current)\n      return isNaN(n) ? 1 : Math.max(1, Math.floor(n))\n    ","computed":true,"context":"step.pages"}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[],"contexts":[{"as":"step.pages"}]},"root":{"tag":"stack","attrs":{"class":"dsx-step-pages"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":1}],"text":"\n  \n  \n","reactive":false,"nid":0},"reactive":true,"language":"1"},"foundation.Steps":{"name":"Steps","scheme":"foundation","head":{"attributes":[{"as":"bind","type":"array"},{"as":"current","default":"1"},{"as":"clickable","default":"'false'"},{"as":"aria-label"}],"apis":[],"expects":[],"events":[{"as":"select","payload":["step","label"]}],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"Timeline","attrs":{"class":"dsx-timeline-horizontal dsx-timeline-numbered","bind":"{{ dsx.attribute.bind }}","current":"{{ dsx.attribute.current }}","clickable":"{{ dsx.attribute.clickable }}","aria-label":"{{ dsx.attribute.ariaLabel || localize('Progress') }}","on:select":"dsx.event('select', { step: dsx.this.index + 1, label: dsx.this.title })"},"children":[],"text":"\n  \n","reactive":true},"reactive":true,"language":"1"},"foundation.SummaryHeader":{"name":"SummaryHeader","scheme":"foundation","head":{"attributes":[{"as":"title"},{"as":"subtitle"},{"as":"image"},{"as":"icon"},{"as":"status"},{"as":"status-role"},{"as":"status-icon"},{"as":"status-href"},{"as":"facts"},{"as":"page"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"summaryFacts","body":"\n      const f = dsx.attribute.facts\n      const rows = Array.isArray(f) ? f : (f &amp;&amp; String(f).trim().startsWith('[') ? (JSON.parse(f) || []) : [])\n      return rows.filter(r => r != null &amp;&amp; r.label != null &amp;&amp; r.value != null &amp;&amp; String(r.value) != '').map((r, i) => ({\n        key: 'f' + i, label: String(r.label), value: String(r.value), hint: r.hint == null ? '' : String(r.hint),\n        mono: r.mono === true || r.mono === 'true',\n        say: String(r.label) + ', ' + (r.hint == null || String(r.hint) == '' ? String(r.value) : String(r.value) + ', ' + String(r.hint))\n      }))\n    ","computed":true},{"as":"summaryHasArt","body":"return !!(dsx.attribute.image || dsx.attribute.icon)","computed":true},{"as":"summaryStatusRole","body":"\n      const r = String(dsx.attribute.statusRole == null ? '' : dsx.attribute.statusRole).trim()\n      return ['success', 'danger', 'warning', 'info', 'accent', 'progress'].includes(r) ? r : 'neutral'\n    ","computed":true},{"as":"summaryStatusSymbol","body":"\n      const own = String(dsx.attribute.statusIcon == null ? '' : dsx.attribute.statusIcon).trim()\n      if (own != '') { return own }\n      const symbols = { success: 'checkmark.circle.fill', danger: 'xmark.octagon.fill', warning: 'exclamationmark.triangle.fill',\n        info: 'info.circle.fill', accent: 'info.circle.fill', progress: 'pause.circle.fill', neutral: 'circle.dashed' }\n      return symbols[dsx.variable.summaryStatusRole]\n    ","computed":true},{"as":"summaryStatusHref","body":"return dsx.attribute.statusHref == null ? '' : String(dsx.attribute.statusHref)","computed":true},{"as":"summaryStatusSpins","body":"return dsx.variable.summaryStatusRole == 'progress' &amp;&amp; String(dsx.attribute.statusIcon == null ? '' : dsx.attribute.statusIcon).trim() == ''","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-summary-header{{ dsx.attribute.page === true || dsx.attribute.page === 'true' ? ' dsx-summary-header-page' : '' }}"},"children":[{"tag":"stack","attrs":{"class":"dsx-summary-header-top"},"children":[{"tag":"IconTile","attrs":{"class":"dsx-summary-header-icon","visible-if":"dsx.variable.summaryHasArt","src":"{{ dsx.attribute.image }}","icon":"{{ dsx.attribute.icon }}","name":"{{ dsx.attribute.title }}"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"stack","attrs":{"class":"dsx-summary-header-heading"},"children":[{"tag":"stack","attrs":{"class":"dsx-summary-header-title-line","__row":"1","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-summary-header-title dsx-content-title","value":"{{ dsx.attribute.title }}","line-limit":"2","role":"heading"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"stack","attrs":{"class":"dsx-summary-header-status dsx-summary-header-status-{{ dsx.variable.summaryStatusRole }} {{ dsx.variable.summaryStatusSpins ? 'dsx-summary-header-status-spins' : '' }}","visible-if":"dsx.attribute.status && dsx.variable.summaryStatusHref == ''","tooltip":"{{ dsx.attribute.status }}","aria-label":"{{ dsx.attribute.status }}","role":"group","__row":"1","__steers":"1"},"children":[{"tag":"spinner","attrs":{"class":"dsx-summary-header-spinner","visible-if":"dsx.variable.summaryStatusSpins","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"image","attrs":{"class":"dsx-summary-header-status-icon","icon":"{{ dsx.variable.summaryStatusSymbol }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":8}],"text":"\n          \n          \n        ","reactive":true,"nid":6},{"tag":"stack","attrs":{"class":"dsx-summary-header-status dsx-summary-header-status-link dsx-summary-header-status-{{ dsx.variable.summaryStatusRole }} {{ dsx.variable.summaryStatusSpins ? 'dsx-summary-header-status-spins' : '' }}","visible-if":"dsx.attribute.status && dsx.variable.summaryStatusHref != ''","href":"{{ dsx.variable.summaryStatusHref }}","role":"link","tooltip":"{{ dsx.attribute.status }}","aria-label":"{{ dsx.attribute.status }}","__row":"1","__steers":"1"},"children":[{"tag":"spinner","attrs":{"class":"dsx-summary-header-spinner","visible-if":"dsx.variable.summaryStatusSpins","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":10},{"tag":"image","attrs":{"class":"dsx-summary-header-status-icon","icon":"{{ dsx.variable.summaryStatusSymbol }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":11}],"text":"\n          \n          \n        ","reactive":true,"nid":9}],"text":"\n        \n        \n        \n      ","reactive":true,"nid":4},{"tag":"stack","attrs":{"class":"dsx-summary-header-subtitle-space"},"children":[{"tag":"text","attrs":{"class":"dsx-summary-header-subtitle","visible-if":"dsx.attribute.subtitle","value":"{{ dsx.attribute.subtitle }}","line-limit":"2"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n        \n      ","reactive":true,"nid":12}],"text":"\n      \n      \n    ","reactive":true,"nid":3},{"tag":"stack","attrs":{"class":"dsx-summary-header-actions","__row":"1","__steers":"1"},"children":[{"tag":"slot","attrs":{"name":"trailing"},"children":[],"text":"","reactive":false,"nid":15}],"text":"\n      \n    ","reactive":false,"nid":14}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"dsx-summary-header-rule","aria-hidden":"true"},"children":[],"text":"","reactive":false,"nid":16},{"tag":"stack","attrs":{"class":"dsx-summary-header-notices dsx-callout-group"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":18}],"text":"\n                        \n  ","reactive":false,"nid":17},{"tag":"hstack","attrs":{"class":"dsx-summary-header-facts","visible-if":"dsx.variable.summaryFacts.length > 0"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.variable.summaryFacts","key":"key","class":"dsx-summary-header-fact","tooltip":"{{ dsx.this.hint }}","aria-label":"{{ dsx.this.say }}","role":"group"},"children":[{"tag":"text","attrs":{"class":"dsx-summary-header-fact-label","value":"{{ dsx.this.label }}","line-limit":"1","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":21},{"tag":"text","attrs":{"class":"dsx-summary-header-fact-value {{ dsx.this.mono ? 'dsx-summary-header-fact-mono' : '' }}","value":"{{ dsx.this.value }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":22}],"text":"\n      \n      \n    ","reactive":true,"nid":20}],"text":"\n    \n  ","reactive":true,"nid":19}],"text":"\n  \n\n  \n\n\n  \n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.TaskRow":{"name":"TaskRow","scheme":"foundation","head":{"attributes":[{"as":"title","default":"''"},{"as":"status","default":"'queued'"},{"as":"detail","default":"''"},{"as":"duration","default":"''"},{"as":"retry-label","default":"'Retry'"},{"as":"retry","default":"false","type":"bool"}],"apis":[],"expects":[],"events":[{"as":"retry","payload":[]}],"inputs":[],"tools":[],"variables":[],"formulas":[{"as":"state","inputs":{},"body":"\n      const s = String(dsx.attribute.status == null ? '' : dsx.attribute.status).toLowerCase()\n      if (s === 'running' || s === 'done' || s === 'failed') { return s }\n      if (s === 'completed' || s === 'success' || s === 'ok') { return 'done' }\n      if (s === 'error' || s === 'fail') { return 'failed' }\n      return 'queued'\n    "},{"as":"word","inputs":{},"body":"\n      const words = { queued: 'queued', running: 'running', done: 'done', failed: 'failed' }\n      return words[dsx.formula.state]\n    "},{"as":"say","inputs":{},"body":"\n      let out = String(dsx.attribute.title) + ', ' + dsx.formula.word\n      if (dsx.attribute.detail !== '') { out = out + ', ' + dsx.attribute.detail }\n      if (dsx.attribute.duration !== '' && dsx.formula.state === 'done') { out = out + ', ' + dsx.attribute.duration }\n      return out\n    "}],"actions":[],"watches":[],"scripts":[],"globalScripts":[],"sheets":[".dsx-task-row-mark { opacity: 1; transform: scale(1); transition: opacity 180ms ease-out, transform 180ms ease-out }\n      @starting-style {\n        .dsx-task-row-mark { opacity: 0; transform: scale(0.6) }\n      }\n      .dsx-task-row-title { transition: color 180ms ease-out }"]},"root":{"tag":"hstack","attrs":{"class":"dsx-task-row","aria-label":"{{ dsx.formula.say }}","role":"group","__steers":"1","__css":"c490"},"children":[{"tag":"zstack","attrs":{"aria-hidden":"true","__steers":"1","__css":"c167"},"children":[{"tag":"stack","attrs":{"class":"dsx-task-row-mark","visible-if":"{{ dsx.formula.state === 'queued' }}","__css":"c491"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"spinner","attrs":{"class":"dsx-task-row-mark","visible-if":"{{ dsx.formula.state === 'running' }}","__css":"c492"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"image","attrs":{"class":"dsx-task-row-mark","visible-if":"{{ dsx.formula.state === 'done' }}","icon":"checkmark.circle.fill","__inkAuthored":"true","__fontSize":"18px","__css":"c493"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"image","attrs":{"class":"dsx-task-row-mark","visible-if":"{{ dsx.formula.state === 'failed' }}","icon":"exclamationmark.circle.fill","__inkAuthored":"true","__fontSize":"18px","__css":"c494"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n    \n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"vstack","attrs":{"aria-hidden":"true","__css":"c170"},"children":[{"tag":"text","attrs":{"class":"dsx-task-row-title","value":"{{ dsx.attribute.title }}","__style_reactive":"--dsx-rx-color:{{ dsx.formula.state === 'queued' ? 'var(--dsx-secondary-label)' : 'var(--dsx-label)' }}","__css":"c495"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"text","attrs":{"visible-if":"{{ dsx.attribute.detail !== '' }}","value":"{{ dsx.attribute.detail }}","__style_reactive":"--dsx-rx-color:{{ dsx.formula.state === 'failed' ? 'var(--dsx-task-row-failed, var(--dsx-destructive))' : 'var(--dsx-secondary-label)' }}","__css":"c496"},"children":[],"text":"","reactive":true,"nid":8}],"text":"\n    \n    \n  ","reactive":true,"nid":6},{"tag":"text","attrs":{"visible-if":"{{ dsx.attribute.duration !== '' && dsx.formula.state === 'done' }}","aria-hidden":"true","value":"{{ dsx.attribute.duration }}","__css":"c329"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"button","attrs":{"visible-if":"{{ dsx.attribute.retry && dsx.formula.state === 'failed' }}","label":"{{ dsx.attribute.retryLabel }}","on:tap":"dsx.event('retry')","__css":"c497"},"children":[],"text":"","reactive":true,"nid":10}],"text":"\n  \n\n  \n\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.ThinkingOrb":{"name":"ThinkingOrb","scheme":"foundation","head":{"attributes":[{"as":"label"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"hstack","attrs":{"class":"dsx-thinking-orb","aria-label":"{{ dsx.attribute.label || 'Working' }}","role":"group","__steers":"1","__css":"c240"},"children":[{"tag":"hstack","attrs":{"class":"dsx-thinking-dots","aria-hidden":"true","__steers":"1","__css":"c352"},"children":[{"tag":"vstack","attrs":{"class":"dsx-thinking-dot dsx-thinking-dot-1","__css":"c500"},"children":[],"text":"","reactive":false,"nid":2},{"tag":"vstack","attrs":{"class":"dsx-thinking-dot dsx-thinking-dot-2","__css":"c500"},"children":[],"text":"","reactive":false,"nid":3},{"tag":"vstack","attrs":{"class":"dsx-thinking-dot dsx-thinking-dot-3","__css":"c500"},"children":[],"text":"","reactive":false,"nid":4}],"text":"\n    \n    \n    \n  ","reactive":false,"nid":1},{"tag":"text","attrs":{"visible-if":"dsx.attribute.label","value":"{{ dsx.attribute.label }}","type":"footnote","__css":"c237"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n  \n\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.ThreadPane":{"name":"ThreadPane","scheme":"foundation","head":{"attributes":[{"as":"label","default":"'Messages'"},{"as":"count","default":"null"},{"as":"latest-label","default":"'Latest'"},{"as":"latest","default":"''"}],"apis":[],"expects":[],"events":[{"as":"pinned","payload":["pinned"]}],"inputs":[],"tools":[],"variables":[{"as":"atNewest","body":"return true","computed":false},{"as":"baseline","body":"return null","computed":false},{"as":"seek","body":"return 0","computed":false},{"as":"jump","body":"\n      const raw = dsx.attribute.count\n      const known = raw !== null &amp;&amp; raw !== undefined &amp;&amp; raw !== '' &amp;&amp; !isNaN(Number(raw))\n      if (dsx.variable.atNewest) { return { show: false, unread: 0 } }\n      if (!known) { return { show: true, unread: 0 } }\n      const base = dsx.variable.baseline == null ? Number(raw) : dsx.variable.baseline\n      const unread = Math.max(0, Math.floor(Number(raw) - base))\n      return { show: unread &gt; 0, unread: unread }\n    ","computed":true},{"as":"pillLabel","body":"return dsx.variable.jump.unread &gt; 0 ? dsx.variable.jump.unread + ' new' : dsx.attribute.latestLabel","computed":true}],"formulas":[],"actions":[{"as":"track","inputs":{"pinned":"dsx.this.pinned"},"body":"\n      const at = pinned === true || pinned === 'true'\n      const raw = dsx.attribute.count\n      const known = raw !== null &amp;&amp; raw !== undefined &amp;&amp; raw !== '' &amp;&amp; !isNaN(Number(raw))\n      dsx.variable.baseline = at || !known ? null : Number(raw)\n      dsx.variable.atNewest = at\n      dsx.event('pinned', { pinned: at })\n    "},{"as":"toLatest","inputs":{},"body":"\n      dsx.variable.seek = dsx.variable.seek + 1\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"vstack","attrs":{"class":"dsx-threadpane"},"children":[{"tag":"stack","attrs":{"class":"dsx-threadpane-body"},"children":[{"tag":"scroll","attrs":{"class":"dsx-threadpane-scroll","overscroll":"never","aria-label":"{{ dsx.attribute.label }}","latest":"{{ dsx.attribute.latest + '|' + dsx.variable.seek }}","on:pinned":"dsx.action.track({ pinned: dsx.this.pinned })"},"children":[{"tag":"vstack","attrs":{"class":"dsx-threadpane-thread"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false,"nid":4}],"text":"","reactive":false,"nid":3}],"text":"\n      \n    ","reactive":true,"nid":2},{"tag":"button","attrs":{"class":"dsx-threadpane-jump","variant":"bordered","control-size":"small","icon":"arrow.down","label":"{{ dsx.variable.pillLabel }}","aria-label":"Jump to latest","transition":"slide-bottom","visible-if":"dsx.variable.jump.show","on:tap":"dsx.action.toLatest()"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n    \n    \n  ","reactive":true,"nid":1},{"tag":"vstack","attrs":{"class":"dsx-threadpane-composer"},"children":[{"tag":"slot","attrs":{"name":"bottom"},"children":[],"text":"","reactive":false,"nid":7}],"text":"","reactive":false,"nid":6}],"text":"\n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.Timeline":{"name":"Timeline","scheme":"foundation","head":{"attributes":[{"as":"bind","type":"array"},{"as":"title-field","default":"'title'"},{"as":"detail-field","default":"'detail'"},{"as":"trailing-field","default":"'trailing'"},{"as":"time-field"},{"as":"state-field","default":"'state'"},{"as":"icon-field","default":"'icon'"},{"as":"states"},{"as":"current"},{"as":"expand","default":"'current'"},{"as":"clickable","default":"'false'"},{"as":"aria-label"}],"apis":[],"expects":[],"events":[{"as":"select","payload":["key","index","state","title"]},{"as":"action","payload":["key","index","state","title"]}],"inputs":[],"tools":[],"variables":[{"as":"timelineStates","body":"\n      const stock = {\n        done: { icon: 'checkmark.circle.fill', say: 'completed', phase: 'done' },\n        complete: { icon: 'checkmark.circle.fill', say: 'completed', phase: 'done' },\n        completed: { icon: 'checkmark.circle.fill', say: 'completed', phase: 'done' },\n        success: { icon: 'checkmark.circle.fill', say: 'completed', phase: 'done' },\n        running: { icon: 'spinner', say: 'in progress', phase: 'current' },\n        active: { icon: '', say: 'in progress', phase: 'current' },\n        current: { icon: '', say: 'current', phase: 'current' },\n        queued: { icon: 'clock', say: 'queued', phase: 'upcoming' },\n        pending: { icon: '', say: 'not started', phase: 'upcoming' },\n        todo: { icon: 'circle', say: 'not done', phase: 'upcoming' },\n        upcoming: { icon: '', say: 'not started', phase: 'upcoming' },\n        failed: { icon: 'xmark.circle.fill', say: 'failed', phase: 'failed' },\n        error: { icon: 'xmark.circle.fill', say: 'failed', phase: 'failed' },\n        skipped: { icon: 'minus.circle', say: 'skipped', phase: 'skipped' },\n        cancelled: { icon: 'minus.circle', say: 'cancelled', phase: 'skipped' },\n        warning: { icon: 'exclamationmark.triangle.fill', say: 'needs attention', phase: 'done' },\n        info: { icon: 'info.circle.fill', say: '', phase: 'done' }\n      }\n      let custom = {}\n      if (dsx.attribute.states != null &amp;&amp; typeof dsx.attribute.states == 'object') { custom = dsx.attribute.states }\n      else if (dsx.attribute.states &amp;&amp; String(dsx.attribute.states).trim().startsWith('{')) { custom = JSON.parse(dsx.attribute.states) || {} }\n      return Object.assign({}, stock, custom)\n    ","computed":true},{"as":"timelineRaw","body":"\n      if (Array.isArray(dsx.attribute.bind)) { return dsx.attribute.bind }\n      if (dsx.attribute.bind &amp;&amp; String(dsx.attribute.bind).trim().startsWith('[')) { return JSON.parse(dsx.attribute.bind) || [] }\n      return []\n    ","computed":true},{"as":"timelineAt","body":"\n      const raw = dsx.variable.timelineRaw\n      const c = dsx.attribute.current\n      const sk = dsx.attribute.stateField || 'state'\n      if (c != null &amp;&amp; String(c) != '') {\n        for (let i = 0; i &lt; raw.length; i++) {\n          const r = raw[i]\n          if (typeof r == 'object' &amp;&amp; r != null &amp;&amp; r.key != null &amp;&amp; String(r.key) == String(c)) { return i }\n        }\n        const n = Number(c)\n        if (n &gt;= 1 &amp;&amp; n &lt;= raw.length) { return Math.floor(n) - 1 }\n        return -1\n      }\n      const states = dsx.variable.timelineStates\n      for (let i = 0; i &lt; raw.length; i++) {\n        const r = raw[i]\n        const s = typeof r == 'object' &amp;&amp; r != null ? String(r[sk] == null ? '' : r[sk]) : ''\n        const def = states[s]\n        if (def != null &amp;&amp; (def.phase == 'current' || def.phase == 'failed')) { return i }\n      }\n      return -1\n    ","computed":true},{"as":"timelineRows","body":"\n      const raw = dsx.variable.timelineRaw\n      const states = dsx.variable.timelineStates\n      const at = dsx.variable.timelineAt\n      const tk = dsx.attribute.titleField || 'title'\n      const dk = dsx.attribute.detailField || 'detail'\n      const rk = dsx.attribute.timeField || dsx.attribute.trailingField || 'trailing'\n      const sk = dsx.attribute.stateField || 'state'\n      const ik = dsx.attribute.iconField || 'icon'\n      const expand = String(dsx.attribute.expand || 'current')\n      const text = (v) => v == null ? '' : String(v)\n      const rows = raw.map((r, i) => {\n        const o = (typeof r == 'object' &amp;&amp; r != null) ? r : { title: r }\n        let state = text(o[sk])\n        if (state == '') { state = at &lt; 0 ? 'upcoming' : (i &lt; at ? 'done' : (i == at ? 'current' : 'upcoming')) }\n        const def = states[state] || { icon: '', say: '', phase: 'upcoming' }\n        const icon = text(o[ik]) != '' ? text(o[ik]) : text(def.icon)\n        const image = text(o.image)\n        const isCurrent = i == at\n        const expanded = expand == 'all' || (expand == 'current' &amp;&amp; (isCurrent || def.phase == 'failed'))\n        const items = Array.isArray(o.items) ? o.items.map((s, j) => ({ key: 'n' + j, title: text(typeof s == 'object' &amp;&amp; s != null ? s.title : s), trailing: text(typeof s == 'object' &amp;&amp; s != null ? s.trailing : '') })) : []\n        const title = text(tk == 'title' ? (o.title != null ? o.title : o.label) : o[tk])\n        const trailing = text(o[rk] != null ? o[rk] : (rk == 'trailing' ? o.time : null))\n        let say = title\n        if (text(def.say) != '') { say = say + ', ' + localize(text(def.say)) }\n        if (isCurrent &amp;&amp; def.phase != 'current') { say = say + ', ' + localize('current') }\n        if (trailing != '') { say = say + ', ' + trailing }\n        say = say + ', ' + (i + 1) + ' ' + localize('of') + ' ' + raw.length\n        return {\n          key: text(o.key) != '' ? text(o.key) : 'r' + i,\n          index: i,\n          number: String(i + 1),\n          title: title,\n          detail: text(o[dk]),\n          trailing: trailing,\n          state: state,\n          phase: def.phase,\n          marker: image != '' ? 'image' : (icon == 'spinner' ? 'spinner' : (icon != '' ? 'icon' : 'plain')),\n          icon: icon == 'spinner' ? '' : icon,\n          image: image,\n          action: text(o.action),\n          reason: text(o.reason),\n          fix: text(o.fix),\n          items: items,\n          current: isCurrent,\n          actionable: dsx.variable.timelineClickable == 'all' || (dsx.variable.timelineClickable == 'done' &amp;&amp; def.phase == 'done' &amp;&amp; !isCurrent),\n          expanded: expanded,\n          first: i == 0,\n          last: i == raw.length - 1,\n          say: say\n        }\n      })\n      return rows.map((r, i) => Object.assign(r, { afterDone: i &gt; 0 &amp;&amp; rows[i - 1].phase == 'done' }))\n    ","computed":true},{"as":"timelineDone","body":"\n      return dsx.variable.timelineRows.filter(r => r.phase == 'done').length\n    ","computed":true},{"as":"timelineCounter","body":"\n      const rows = dsx.variable.timelineRows\n      const at = dsx.variable.timelineAt\n      if (rows.length == 0) { return '' }\n      const n = at &lt; 0 ? Math.min(rows.length, dsx.variable.timelineDone + 1) : at + 1\n      return localize('Step') + ' ' + n + ' ' + localize('of') + ' ' + rows.length\n    ","computed":true},{"as":"timelineDoneCounter","body":"\n      return dsx.variable.timelineDone + ' ' + localize('of') + ' ' + dsx.variable.timelineRows.length\n    ","computed":true},{"as":"timelineProgressSay","body":"\n      const rows = dsx.variable.timelineRows\n      const at = dsx.variable.timelineAt\n      if (at &lt; 0 || at &gt;= rows.length) { return dsx.variable.timelineCounter }\n      return dsx.variable.timelineCounter + ': ' + rows[at].title\n    ","computed":true},{"as":"timelineClickable","body":"\n      const c = dsx.attribute.clickable\n      if (c === 'true' || c === true || c === '1') { return 'all' }\n      if (c === 'done') { return 'done' }\n      return 'none'\n    ","computed":true}],"formulas":[],"actions":[{"as":"pick","inputs":{"key":"dsx.this.key","index":"dsx.this.index","state":"dsx.this.state","title":"dsx.this.title","actionable":"dsx.this.actionable"},"body":"\n      if (!actionable) { return }\n      dsx.event('select', { key: key, index: index, state: state, title: title })\n    "},{"as":"act","inputs":{"key":"dsx.this.key","index":"dsx.this.index","state":"dsx.this.state","title":"dsx.this.title"},"body":"\n      dsx.event('action', { key: key, index: index, state: state, title: title })\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"stack","attrs":{"class":"dsx-timeline {{ dsx.variable.timelineClickable == 'none' ? '' : 'dsx-timeline-actionable' }}","role":"list","aria-label":"{{ dsx.attribute.ariaLabel || localize('Timeline') }}","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-timeline-header","aria-label":"{{ dsx.variable.timelineProgressSay }}","aria-live":"polite","role":"status","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-timeline-step-count","value":"{{ dsx.variable.timelineCounter }}"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"text","attrs":{"class":"dsx-timeline-done-count","value":"{{ dsx.variable.timelineDoneCounter }}"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"stack","attrs":{"class":"dsx-timeline-segments","aria-hidden":"true","__row":"1","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-timeline-segment dsx-timeline-phase-{{ dsx.this.phase }} {{ dsx.this.current ? 'dsx-timeline-current' : '' }}","repeat":"dsx.variable.timelineRows","key":"key"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n      \n    ","reactive":true,"nid":4}],"text":"\n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"stack","attrs":{"class":"dsx-timeline-items","__steers":"1"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.variable.timelineRows","key":"key","class":"dsx-timeline-row dsx-timeline-state-{{ dsx.this.state }} dsx-timeline-phase-{{ dsx.this.phase }} {{ dsx.this.current ? 'dsx-timeline-current' : '' }} {{ dsx.this.first ? 'dsx-timeline-first' : '' }} {{ dsx.this.last ? 'dsx-timeline-last' : '' }} {{ dsx.this.afterDone ? 'dsx-timeline-after-done' : '' }}","role":"listitem","aria-label":"{{ dsx.this.actionable ? '' : dsx.this.say }}","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-timeline-rail","aria-hidden":"true","__row":"1","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-timeline-link dsx-timeline-link-lead","__row":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-timeline-link-fill"},"children":[],"text":"","reactive":false,"nid":10}],"text":"","reactive":false,"nid":9},{"tag":"stack","attrs":{"class":"dsx-timeline-rail-marker"},"children":[],"text":"","reactive":false,"nid":11},{"tag":"stack","attrs":{"class":"dsx-timeline-link dsx-timeline-link-trail","__row":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-timeline-link-fill"},"children":[],"text":"","reactive":false,"nid":13}],"text":"","reactive":false,"nid":12}],"text":"\n        \n        \n        \n      ","reactive":false,"nid":8},{"tag":"stack","attrs":{"class":"dsx-timeline-step","__row":"1","__steers":"1"},"children":[{"tag":"zstack","attrs":{"class":"dsx-timeline-marker","aria-hidden":"true","__steers":"1"},"children":[{"tag":"image","attrs":{"class":"dsx-timeline-avatar","visible-if":"dsx.this.marker == 'image'","src":"{{ dsx.this.image }}"},"children":[],"text":"","reactive":true,"nid":16},{"tag":"spinner","attrs":{"class":"dsx-timeline-spinner","visible-if":"dsx.this.marker == 'spinner'"},"children":[],"text":"","reactive":true,"nid":17},{"tag":"image","attrs":{"class":"dsx-timeline-icon","visible-if":"dsx.this.marker == 'icon'","icon":"{{ dsx.this.icon }}"},"children":[],"text":"","reactive":true,"nid":18},{"tag":"stack","attrs":{"class":"dsx-timeline-dot","visible-if":"dsx.this.marker == 'plain'","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-timeline-number","value":"{{ dsx.this.number }}"},"children":[],"text":"","reactive":true,"nid":20}],"text":"\n            \n          ","reactive":true,"nid":19}],"text":"\n          \n          \n          \n          \n        ","reactive":true,"nid":15},{"tag":"stack","attrs":{"class":"dsx-timeline-copy","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-timeline-headline","__row":"1","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-timeline-title","value":"{{ dsx.this.title }}"},"children":[],"text":"","reactive":true,"nid":23},{"tag":"text","attrs":{"class":"dsx-timeline-trailing","visible-if":"dsx.this.trailing != ''","value":"{{ dsx.this.trailing }}"},"children":[],"text":"","reactive":true,"nid":24}],"text":"\n            \n            \n          ","reactive":true,"nid":22},{"tag":"text","attrs":{"class":"dsx-timeline-detail","visible-if":"dsx.this.detail != '' && dsx.this.expanded","value":"{{ dsx.this.detail }}"},"children":[],"text":"","reactive":true,"nid":25},{"tag":"text","attrs":{"class":"dsx-timeline-reason","visible-if":"dsx.this.reason != '' && dsx.this.expanded","value":"{{ dsx.this.reason }}"},"children":[],"text":"","reactive":true,"nid":26},{"tag":"text","attrs":{"class":"dsx-timeline-fix","visible-if":"dsx.this.fix != '' && dsx.this.expanded","value":"{{ dsx.this.fix }}"},"children":[],"text":"","reactive":true,"nid":27},{"tag":"stack","attrs":{"class":"dsx-timeline-subitems","visible-if":"dsx.this.items.length > 0 && dsx.this.expanded","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"dsx-timeline-subitem","repeat":"dsx.this.items","key":"key","__row":"1","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-timeline-subitem-title","value":"{{ dsx.this.title }}"},"children":[],"text":"","reactive":true,"nid":30},{"tag":"text","attrs":{"class":"dsx-timeline-trailing","visible-if":"dsx.this.trailing != ''","value":"{{ dsx.this.trailing }}"},"children":[],"text":"","reactive":true,"nid":31}],"text":"\n              \n              \n            ","reactive":true,"nid":29}],"text":"\n            \n          ","reactive":true,"nid":28}],"text":"\n          \n          \n          \n          \n          \n        ","reactive":true,"nid":21},{"tag":"button","attrs":{"class":"dsx-timeline-hit","visible-if":"dsx.this.actionable","label":"","aria-label":"{{ dsx.this.say }}","on:tap":"dsx.action.pick()"},"children":[],"text":"","reactive":true,"nid":32},{"tag":"button","attrs":{"class":"dsx-timeline-action","visible-if":"dsx.this.action != '' && dsx.this.expanded","variant":"plain","label":"{{ dsx.this.action }}","on:tap":"dsx.action.act()"},"children":[],"text":"","reactive":true,"nid":33}],"text":"\n        \n        \n        \n        \n      ","reactive":true,"nid":14},{"tag":"stack","attrs":{"class":"dsx-timeline-connector","aria-hidden":"true"},"children":[{"tag":"stack","attrs":{"class":"dsx-timeline-connector-fill"},"children":[],"text":"","reactive":false,"nid":35}],"text":"\n        \n      ","reactive":false,"nid":34}],"text":"\n      \n      \n      \n      \n    ","reactive":true,"nid":7}],"text":"\n    \n    \n  ","reactive":true,"nid":6}],"text":"\n  \n\n  \n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"foundation.ToggleButton":{"name":"ToggleButton","scheme":"foundation","head":{"attributes":[{"as":"label"},{"as":"icon"},{"as":"pressed","default":"'false'"},{"as":"disabled","default":"'false'"},{"as":"aria-label"}],"apis":[],"expects":[],"events":[{"as":"tap","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"togglePressed","body":"\n      const raw = dsx.attribute.pressed\n      return raw === true || raw == 'true'\n    ","computed":true},{"as":"toggleM3","body":"\n      return dsx.platform.os == 'android'\n    ","computed":true},{"as":"toggleFill","body":"\n      if (dsx.variable.toggleM3) {\n        return dsx.variable.togglePressed ? 'var(--dsx-toggle-button-selected-background, var(--dsx-accent))' : 'var(--dsx-fill)'\n      }\n      return dsx.variable.togglePressed\n        ? 'var(--dsx-toggle-button-selected-background, color-mix(in srgb, var(--dsx-accent) 18%, transparent))'\n        : 'transparent'\n    ","computed":true},{"as":"toggleTint","body":"\n      if (dsx.attribute.disabled == 'true') { return 'tertiary' }\n      if (!dsx.variable.toggleM3) { return 'var(--dsx-toggle-button-selected-color, var(--dsx-accent))' }\n      return dsx.variable.togglePressed\n        ? 'var(--dsx-toggle-button-selected-color, var(--dsx-background))'\n        : 'var(--dsx-label)'\n    ","computed":true},{"as":"toggleSay","body":"\n      const name = String(dsx.attribute.ariaLabel || dsx.attribute.label || dsx.attribute.icon || 'Toggle')\n      return name\n    ","computed":true}],"formulas":[],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"pressable","attrs":{"class":"dsx-toggle-button","aria-label":"{{ dsx.variable.toggleSay }}","role":"button","aria-pressed":"{{ dsx.variable.togglePressed }}","disabled-if":"dsx.attribute.disabled == 'true'","on:tap":"dsx.event('tap')","__row":"1","__steers":"1","__style_reactive":"gap:{{ dsx.variable.toggleM3 ? '0.375rem' : '0.5rem' }};--dsx-rx-padding:var(--dsx-toggle-button-padding-block, {{ dsx.variable.toggleM3 ? '0.5rem' : '7px' }}) var(--dsx-toggle-button-padding-inline, 0.75rem);--dsx-rx-border-radius:{{ dsx.variable.toggleM3 ? '0.5rem' : '999px' }};--dsx-rx-background:{{ dsx.variable.toggleFill }}","__css":"c501"},"children":[{"tag":"image","attrs":{"visible-if":"dsx.attribute.icon","icon":"{{ dsx.attribute.icon }}","aria-hidden":"true","__inkAuthored":"true","__fontSize":"{{ dsx.variable.toggleM3 ? 15 : 17 }}px","__style_reactive":"--dsx-rx-color:{{ dsx.variable.toggleTint }};--dsx-rx-font-weight:{{ dsx.variable.toggleM3 ? 600 : 400 }};font-size:{{ dsx.variable.toggleM3 ? 15 : 17 }}px","__css":"c502"},"children":[],"text":"","reactive":true},{"tag":"text","attrs":{"visible-if":"dsx.attribute.label","value":"{{ dsx.attribute.label }}","type":"{{ dsx.variable.toggleM3 ? 'callout' : 'body' }}","aria-hidden":"true","line-limit":"1","__style_reactive":"--dsx-rx-font-weight:{{ dsx.variable.toggleM3 ? 600 : 400 }};--dsx-rx-color:{{ dsx.variable.toggleTint }}","__css":"c503"},"children":[],"text":"","reactive":true}],"text":"\n  \n\n  \n  \n","reactive":true},"reactive":true,"language":"1"},"blocks.Block":{"name":"Block","scheme":"blocks","head":{"attributes":[{"as":"doc","default":"'main'"},{"as":"row","sample":"{\"id\":\"b1\",\"type\":\"paragraph\",\"kind\":\"paragraph\",\"depth\":0,\"text\":\"A paragraph\",\"attrs\":{},\"path\":[],\"last\":true,\"number\":0,\"source\":\"\",\"placeholder\":\"\",\"editable\":true,\"empty\":false,\"focused\":false}"},{"as":"read-only","default":"false","type":"bool"},{"as":"touch","default":"false","type":"bool"},{"as":"handles","default":"true","type":"bool"},{"as":"todo-label","default":"'To-do'"},{"as":"expand-label","default":"'Expand'"},{"as":"collapse-label","default":"'Collapse'"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"caretX","body":"return 0","computed":false},{"as":"caretView","body":"return null","computed":false}],"formulas":[{"as":"r","inputs":{},"body":"return dsx.attribute.row == null ? { id: '', type: 'paragraph', kind: 'paragraph', depth: 0, text: '', attrs: {}, path: [], last: true, number: 0, source: '', placeholder: '' } : dsx.attribute.row"},{"as":"counts","inputs":{},"body":"\n      const c = { list: 0, quote: 0, callout: 0 }\n      for (const p of dsx.formula.r.path) {\n        if (p.kind === 'quote') { c.quote = c.quote + 1 } else if (p.kind === 'callout') { c.callout = c.callout + 1 } else { c.list = c.list + 1 }\n      }\n      return c\n    "},{"as":"indent","inputs":{},"body":"\n      const c = dsx.formula.counts\n      return 'calc(var(--dsx-blocks-indent) * ' + c.list + ' + var(--dsx-blocks-quote-indent) * ' + c.quote + ' + var(--dsx-blocks-callout-indent) * ' + c.callout + ')'\n    "},{"as":"bands","inputs":{},"body":"\n      const out = []\n      let list = 0\n      let quote = 0\n      let callout = 0\n      const at = (l, q, c) => { return 'calc(var(--dsx-blocks-indent) * ' + l + ' + var(--dsx-blocks-quote-indent) * ' + q + ' + var(--dsx-blocks-callout-indent) * ' + c + ')' }\n      const all = dsx.module.blocks.context.documents[dsx.attribute.doc]\n      const nameOf = (id) => { const hit = all ? all.rows.find((x) => x.id === id) : null; return hit ? hit.attrs.name : '' }\n      for (const p of dsx.formula.r.path) {\n        if (p.kind === 'quote' || p.kind === 'callout' || p.kind === 'details') { out.push({ id: p.id, kind: p.kind, name: p.kind === 'callout' ? nameOf(p.id) : '', left: at(list, quote, callout), first: false, last: p.last }) }\n        if (p.kind === 'quote') { quote = quote + 1 } else if (p.kind === 'callout') { callout = callout + 1 } else { list = list + 1 }\n      }\n      const k = dsx.formula.r.kind\n      if (k === 'quote' || k === 'callout') { out.push({ id: dsx.formula.r.id, kind: k, name: k === 'callout' ? dsx.formula.r.attrs.name : '', left: at(list, quote, callout), first: true, last: dsx.formula.r.last }) }\n      return out.map((b) => ({ id: b.id, kind: b.kind, left: b.left, first: b.first, last: b.last, cls: 'dsx-blocks-band dsx-blocks-band-' + b.kind + (b.name ? ' dsx-blocks-band-callout-' + b.name : '') + (b.first ? ' dsx-blocks-band-first' : '') + (b.last ? ' dsx-blocks-band-last' : '') }))\n    "},{"as":"bottom","inputs":{},"body":"\n      let n = 0\n      for (const b of dsx.formula.bands) { if (b.kind === 'callout' &amp;&amp; b.last) { n = n + 1 } }\n      return 'calc(var(--dsx-blocks-callout-padding) * ' + n + ')'\n    "},{"as":"rowClass","inputs":{},"body":"\n      const r = dsx.formula.r\n      let c = 'dsx-blocks-row dsx-blocks-type-' + r.type + ' dsx-blocks-kind-' + r.kind\n      if (r.type === 'heading') { c = c + ' dsx-blocks-h' + (r.attrs.level || 1) }\n      if (r.focused) { c = c + ' dsx-blocks-row-focused' }\n      if (dsx.formula.dragging) { c = c + ' dsx-blocks-row-dragging' }\n      if (r.selected) { c = c + ' dsx-blocks-row-selected' }\n      if (r.type === 'todo' &amp;&amp; r.attrs.checked) { c = c + ' dsx-blocks-row-checked' }\n      if (r.kind === 'callout') { c = c + ' dsx-blocks-callout-head dsx-blocks-callout-' + r.attrs.name }\n      if (dsx.attribute.touch) { c = c + ' dsx-blocks-touch' }\n      return c\n    "},{"as":"marker","inputs":{},"body":"\n      const r = dsx.formula.r\n      if (r.type === 'bullet') { return ['•', '◦', '▪'][r.path.filter((p) => p.kind === 'bullet').length % 3] }\n      if (r.type === 'numbered') { return r.number + '.' }\n      return ''\n    "},{"as":"calloutMark","inputs":{},"body":"\n      const p = dsx.formula.r.attrs.props\n      return p &amp;&amp; typeof p.icon === 'string' ? p.icon : ''\n    "},{"as":"calloutSymbol","inputs":{},"body":"\n      const symbols = { note: 'exclamationmark.circle', tip: 'lightbulb', important: 'exclamationmark.circle', warning: 'exclamationmark.triangle', caution: 'exclamationmark.triangle', info: 'info.circle', check: 'checkmark.circle', danger: 'exclamationmark.octagon' }\n      return symbols[dsx.formula.r.attrs.name] || 'lightbulb'\n    "},{"as":"markerClass","inputs":{},"body":"return dsx.formula.r.type === 'numbered' ? 'dsx-blocks-marker dsx-blocks-number' : 'dsx-blocks-marker dsx-blocks-bullet'"},{"as":"say","inputs":{},"body":"\n      const r = dsx.formula.r\n      if (r.type === 'heading') { return 'Heading ' + (r.attrs.level || 1) }\n      if (r.type === 'bullet') { return 'Bullet' }\n      if (r.type === 'numbered') { return 'Item ' + r.number }\n      if (r.type === 'todo') { return r.attrs.checked ? 'To-do, done' : 'To-do' }\n      if (r.type === 'quote') { return 'Quote' }\n      if (r.type === 'code') { return 'Code' + (r.attrs.language ? ', ' + r.attrs.language : '') }\n      if (r.kind === 'callout') { return 'Callout' }\n      if (r.kind === 'details') { return r.folded ? 'Toggle, collapsed' : 'Toggle, expanded' }\n      return ''\n    "},{"as":"slash","inputs":{},"body":"\n      const d = dsx.module.blocks.context.documents[dsx.attribute.doc]\n      return d &amp;&amp; d.slash.open &amp;&amp; d.slash.block === dsx.formula.r.id ? d.slash : null\n    "},{"as":"dragging","inputs":{},"body":"\n      const d = dsx.module.blocks.context.documents[dsx.attribute.doc]\n      if (d == null || !d.dragging) { return false }\n      const carried = d.dragBlocks\n      return carried.includes(dsx.formula.r.id) || dsx.formula.r.path.some((p) => carried.includes(p.id))\n    "},{"as":"lift","inputs":{},"body":"\n      const d = dsx.module.blocks.context.documents[dsx.attribute.doc]\n      return dsx.formula.dragging ? 'translate(' + Math.round(d.dragDx / 4) + 'px, ' + d.dragDy + 'px)' : 'none'\n    "},{"as":"drop","inputs":{},"body":"\n      const d = dsx.module.blocks.context.documents[dsx.attribute.doc]\n      return d &amp;&amp; d.drop &amp;&amp; d.drop.target === dsx.formula.r.id ? d.drop.position : ''\n    "},{"as":"linking","inputs":{},"body":"\n      const d = dsx.module.blocks.context.documents[dsx.attribute.doc]\n      return d != null &amp;&amp; d.prompt != null &amp;&amp; d.prompt.kind === 'link' &amp;&amp; d.prompt.block === dsx.formula.r.id\n    "},{"as":"ranged","inputs":{},"body":"\n      const d = dsx.module.blocks.context.documents[dsx.attribute.doc]\n      return !dsx.attribute.touch &amp;&amp; d &amp;&amp; d.selection &amp;&amp; d.selection.block === dsx.formula.r.id &amp;&amp; d.selection.to > d.selection.from\n    "}],"actions":[{"as":"check","inputs":{},"body":"\n      await dsx.module.blocks.set({ doc: dsx.attribute.doc, block: dsx.formula.r.id, attrs: { checked: !dsx.formula.r.attrs.checked } })\n    "},{"as":"fold","inputs":{},"body":"\n      await dsx.module.blocks.fold({ doc: dsx.attribute.doc, block: dsx.formula.r.id })\n    "},{"as":"caret","inputs":{},"body":"\n      dsx.variable.caretX = dsx.this.x\n      dsx.variable.caretView = dsx.this.view == null ? null : dsx.this.view\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"vstack","attrs":{"class":"{{ dsx.formula.rowClass }}","aria-label":"{{ dsx.formula.say }}","__steers":"1","__style_reactive":"--dsx-rx-padding-left:{{ dsx.formula.indent }};--dsx-rx-padding-bottom:{{ dsx.formula.bottom }};transform:{{ dsx.formula.lift }};z-index:{{ dsx.formula.dragging ? 30 : 'auto' }}","__css":"c565"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.formula.bands","key":"id","aria-hidden":"true","class":"{{ dsx.this.cls }}","__style_reactive":"left:{{ dsx.this.left }}","__css":"c566"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"stack","attrs":{"visible-if":"{{ dsx.formula.drop !== '' }}","aria-hidden":"true","class":"dsx-blocks-drop","__style_reactive":"left:{{ dsx.formula.drop === 'inside' ? 'calc(' + dsx.formula.indent + ' + var(--dsx-blocks-indent))' : dsx.formula.indent }};top:{{ dsx.formula.drop === 'before' ? '-2px' : 'auto' }};bottom:{{ dsx.formula.drop === 'before' ? 'auto' : '-2px' }}","__css":"c567"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"hstack","attrs":{"class":"dsx-blocks-line","__steers":"1","__css":"c568"},"children":[{"tag":"blocks.Handle","attrs":{"visible-if":"{{ dsx.attribute.handles && !dsx.attribute.readOnly }}","doc":"{{ dsx.attribute.doc }}","row":"{{ dsx.formula.r }}","touch":"{{ dsx.attribute.touch }}"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"text","attrs":{"visible-if":"{{ dsx.formula.marker !== '' }}","value":"{{ dsx.formula.marker }}","aria-hidden":"true","class":"{{ dsx.formula.markerClass }}"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"button","attrs":{"visible-if":"{{ dsx.formula.r.type === 'todo' }}","class":"dsx-blocks-marker dsx-blocks-check-hit","aria-label":"{{ dsx.attribute.todoLabel }}","aria-pressed":"{{ dsx.formula.r.attrs.checked ? 'true' : 'false' }}","disabled-if":"{{ dsx.attribute.readOnly }}","on:tap":"dsx.action.check()","__steers":"1"},"children":[{"tag":"stack","attrs":{"class":"{{ dsx.formula.r.attrs.checked ? 'dsx-blocks-check dsx-blocks-check-on' : 'dsx-blocks-check' }}"},"children":[{"tag":"image","attrs":{"visible-if":"{{ dsx.formula.r.attrs.checked }}","icon":"checkmark","class":"dsx-blocks-check-glyph","__fontSize":"11px","__css":"c333"},"children":[],"text":"","reactive":true,"nid":8}],"text":"\n        \n      ","reactive":true,"nid":7}],"text":"\n      \n    ","reactive":true,"nid":6},{"tag":"button","attrs":{"visible-if":"{{ dsx.formula.r.kind === 'details' }}","class":"dsx-blocks-marker dsx-blocks-chevron-hit","aria-label":"{{ dsx.formula.r.folded ? dsx.attribute.expandLabel : dsx.attribute.collapseLabel }}","on:tap":"dsx.action.fold()","__steers":"1"},"children":[{"tag":"image","attrs":{"icon":"chevron.right","class":"{{ dsx.formula.r.folded ? 'dsx-blocks-chevron' : 'dsx-blocks-chevron dsx-blocks-chevron-open' }}","__fontSize":"13px","__css":"c228"},"children":[],"text":"","reactive":true,"nid":10}],"text":"\n      \n    ","reactive":true,"nid":9},{"tag":"text","attrs":{"visible-if":"{{ dsx.formula.r.kind === 'callout' && dsx.formula.calloutMark !== '' }}","class":"dsx-blocks-marker dsx-blocks-callout-icon","aria-hidden":"true","value":"{{ dsx.formula.calloutMark }}","__steers":"1"},"children":[],"text":"","reactive":true,"nid":11},{"tag":"stack","attrs":{"visible-if":"{{ dsx.formula.r.kind === 'callout' && dsx.formula.calloutMark === '' }}","class":"dsx-blocks-marker dsx-blocks-callout-icon","aria-hidden":"true","__steers":"1"},"children":[{"tag":"image","attrs":{"icon":"{{ dsx.formula.calloutSymbol }}","class":"dsx-blocks-callout-symbol"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n      \n    ","reactive":true,"nid":12},{"tag":"blocks.Text","attrs":{"visible-if":"{{ dsx.formula.r.editable }}","class":"dsx-blocks-text","doc":"{{ dsx.attribute.doc }}","block":"{{ dsx.formula.r.id }}","placeholder":"{{ dsx.formula.r.placeholder }}","read-only":"{{ dsx.attribute.readOnly }}","multiline":"{{ dsx.formula.r.type === 'code' }}","on:select":"dsx.action.caret({ x: dsx.this.rect.x, view: dsx.this.view })","__css":"c531"},"children":[],"text":"","reactive":true,"nid":14},{"tag":"stack","attrs":{"visible-if":"{{ dsx.formula.r.type === 'rule' }}","class":"dsx-blocks-rule","__css":"c199"},"children":[{"tag":"divider","attrs":{},"children":[],"text":"","reactive":false,"nid":16}],"text":"\n      \n    ","reactive":true,"nid":15},{"tag":"image","attrs":{"visible-if":"{{ dsx.formula.r.type === 'image' && dsx.formula.r.attrs.src !== '' }}","class":"dsx-blocks-image","src":"{{ dsx.formula.r.attrs.src }}","aria-label":"{{ dsx.formula.r.attrs.alt }}","__css":"c207"},"children":[],"text":"","reactive":true,"nid":17},{"tag":"text","attrs":{"visible-if":"{{ dsx.formula.r.type === 'image' && dsx.formula.r.attrs.src === '' }}","class":"dsx-blocks-empty-media","value":"Add an image"},"children":[],"text":"","reactive":true,"nid":18},{"tag":"markdown","attrs":{"visible-if":"{{ !dsx.formula.r.editable && dsx.formula.r.type !== 'rule' && dsx.formula.r.type !== 'image' }}","class":"dsx-blocks-rich","value":"{{ dsx.formula.r.source }}","__css":"c569"},"children":[],"text":"","reactive":true,"nid":19}],"text":"\n    \n\n    \n\n    \n\n    \n\n    \n    \n\n    \n\n    \n\n    \n\n    \n\n    \n  ","reactive":true,"nid":3},{"tag":"blocks.SlashMenu","attrs":{"visible-if":"{{ dsx.formula.slash != null && !dsx.attribute.touch }}","doc":"{{ dsx.attribute.doc }}","x":"{{ dsx.variable.caretX }}","view":"{{ dsx.variable.caretView }}"},"children":[],"text":"","reactive":true,"nid":20},{"tag":"blocks.FormatBar","attrs":{"visible-if":"{{ dsx.formula.ranged }}","doc":"{{ dsx.attribute.doc }}","x":"{{ dsx.variable.caretX }}","view":"{{ dsx.variable.caretView }}","floating":"true"},"children":[],"text":"","reactive":true,"nid":21},{"tag":"blocks.LinkEditor","attrs":{"visible-if":"{{ !dsx.attribute.touch && dsx.formula.linking }}","doc":"{{ dsx.attribute.doc }}","block":"{{ dsx.formula.r.id }}","view":"{{ dsx.variable.caretView }}"},"children":[],"text":"","reactive":true,"nid":22}],"text":"\n  \n\n  \n\n  \n\n  \n\n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"blocks.BlockMenu":{"name":"BlockMenu","scheme":"blocks","head":{"attributes":[{"as":"doc","default":"'main'"},{"as":"row","sample":"{\"id\":\"b1\",\"type\":\"paragraph\",\"kind\":\"paragraph\",\"depth\":0,\"text\":\"A paragraph\",\"attrs\":{},\"path\":[],\"last\":true,\"number\":0,\"source\":\"\",\"placeholder\":\"\",\"editable\":true,\"empty\":false,\"focused\":false}"},{"as":"delete-label","default":"'Delete'"},{"as":"duplicate-label","default":"'Duplicate'"},{"as":"turn-into-label","default":"'Turn into'"},{"as":"move-up-label","default":"'Move up'"},{"as":"move-down-label","default":"'Move down'"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[],"formulas":[{"as":"items","inputs":{},"body":"\n      const r = dsx.attribute.row\n      if (r == null) { return [] }\n      const doc = dsx.attribute.doc\n      const one = [r.id]\n      const into = [\n        { title: 'Text', icon: 'textformat', type: 'paragraph', attrs: {} },\n        { title: 'Heading 1', icon: 'textformat.size.larger', type: 'heading', attrs: { level: 1 } },\n        { title: 'Heading 2', icon: 'textformat.size', type: 'heading', attrs: { level: 2 } },\n        { title: 'Heading 3', icon: 'textformat.size.smaller', type: 'heading', attrs: { level: 3 } },\n        { title: 'Bulleted list', icon: 'list.bullet', type: 'bullet', attrs: {} },\n        { title: 'Numbered list', icon: 'list.number', type: 'numbered', attrs: {} },\n        { title: 'To-do list', icon: 'checklist', type: 'todo', attrs: { checked: false } },\n        { title: 'Toggle list', icon: 'list.triangle', type: 'directive', attrs: { name: 'details', kind: 'container', props: {} } },\n        { title: 'Quote', icon: 'text.quote', type: 'quote', attrs: {} },\n        { title: 'Callout', icon: 'lightbulb', type: 'directive', attrs: { name: 'callout', kind: 'container', props: {} } },\n        { title: 'Code', icon: 'chevron.left.forwardslash.chevron.right', type: 'code', attrs: { language: '' } }\n      ]\n      const items = []\n      if (r.editable) {\n        items.push({ title: dsx.attribute.turnIntoLabel, icon: 'arrow.triangle.2.circlepath', items: into.map((t) => ({ title: t.title, icon: t.icon, action: 'blocks.turnInto', args: { doc: doc, blocks: one, type: t.type, attrs: t.attrs } })) })\n      }\n      items.push({ title: dsx.attribute.duplicateLabel, icon: 'plus.square.on.square', action: 'blocks.duplicate', args: { doc: doc, blocks: one } })\n      items.push({ title: dsx.attribute.moveUpLabel, icon: 'arrow.up', action: 'blocks.key', args: { doc: doc, key: 'ArrowUp', mod: true, shift: true, block: r.id, from: 0, to: 0 } })\n      items.push({ title: dsx.attribute.moveDownLabel, icon: 'arrow.down', action: 'blocks.key', args: { doc: doc, key: 'ArrowDown', mod: true, shift: true, block: r.id, from: 0, to: 0 } })\n      items.push({ title: dsx.attribute.deleteLabel, icon: 'trash', role: 'destructive', action: 'blocks.remove', args: { doc: doc, blocks: one } })\n      return items\n    "}],"actions":[],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"menu","attrs":{"menu":"{{ dsx.formula.items }}"},"children":[{"tag":"slot","attrs":{},"children":[],"text":"","reactive":false}],"text":"\n  \n  \n","reactive":true},"reactive":true,"language":"1"},"blocks.Editor":{"name":"Editor","scheme":"blocks","head":{"attributes":[{"as":"doc","default":"'main'"},{"as":"value","default":"''"},{"as":"placeholder","default":"'Type \\'/\\' for commands'"},{"as":"read-only","default":"false","type":"bool"},{"as":"slash","type":"array"},{"as":"aria-label","default":"'Document'"},{"as":"picker-title","default":"'Add a block'"}],"apis":[],"expects":[],"events":[{"as":"change","payload":[]}],"inputs":[],"tools":[],"variables":[{"as":"written","body":"return null","computed":false},{"as":"picker","body":"return false","computed":false}],"formulas":[{"as":"os","inputs":{},"body":"const known = { ios: 'ios', android: 'android' }; return known[dsx.platform.os] || 'web'"},{"as":"touch","inputs":{},"body":"return dsx.formula.os !== 'web' &amp;&amp; dsx.screen.width &lt; 700"},{"as":"d","inputs":{},"body":"return dsx.module.blocks.context.documents[dsx.attribute.doc]"},{"as":"rows","inputs":{},"body":"return dsx.formula.d ? dsx.formula.d.rows : []"},{"as":"version","inputs":{},"body":"return dsx.formula.d ? dsx.formula.d.version : -1"},{"as":"editing","inputs":{},"body":"return dsx.formula.d != null &amp;&amp; dsx.formula.d.selection != null &amp;&amp; dsx.formula.d.selection.block != null"},{"as":"slashOpen","inputs":{},"body":"return dsx.formula.d != null &amp;&amp; dsx.formula.d.slash.open"},{"as":"catalog","inputs":{},"body":"return dsx.formula.d ? dsx.formula.d.catalog : []"}],"actions":[{"as":"open","inputs":{},"body":"\n      const args = { doc: dsx.attribute.doc, markdown: dsx.attribute.value, placeholder: dsx.attribute.placeholder }\n      if (Array.isArray(dsx.attribute.slash)) { args.slash = dsx.attribute.slash }\n      await dsx.module.blocks.open(args)\n      dsx.variable.written = dsx.attribute.value\n    "},{"as":"boot","inputs":{},"body":"\n      if (dsx.formula.d == null || dsx.variable.written === null) { await dsx.action.open() }\n    "},{"as":"incoming","inputs":{},"body":"\n      if (dsx.variable.written === null || dsx.attribute.value === dsx.variable.written) { return }\n      await dsx.action.open()\n    "},{"as":"emit","inputs":{},"body":"\n      if (dsx.formula.version &lt;= 0) { return }\n      const out = await dsx.module.blocks.markdown({ doc: dsx.attribute.doc })\n      if (!out.ok || out.data.markdown === dsx.variable.written) { return }\n      dsx.variable.written = out.data.markdown\n      dsx.event('change', { markdown: out.data.markdown })\n    "},{"as":"pick","inputs":{},"body":"\n      dsx.variable.picker = false\n      const d = dsx.formula.d\n      const after = d &amp;&amp; d.selection &amp;&amp; d.selection.block != null ? d.selection.block : ''\n      await dsx.module.blocks.insert({ doc: dsx.attribute.doc, type: dsx.this.type, attrs: dsx.this.attrs, after: after })\n    "},{"as":"leave","inputs":{},"body":"\n      const d = dsx.formula.d\n      if (d == null || d.prompt == null || d.prompt.kind !== 'link' || d.selection == null) { return }\n      if (d.selection.block != null &amp;&amp; d.selection.block !== d.prompt.block) { await dsx.module.blocks.dismiss({ doc: dsx.attribute.doc }) }\n    "}],"watches":[{"value":"dsx.module.blocks.context.documents[dsx.attribute.doc].selection","handler":"dsx.action.leave()"},{"value":"dsx.attribute.value","handler":"dsx.action.incoming()"},{"value":"dsx.module.blocks.context.documents[dsx.attribute.doc].version","handler":"dsx.action.emit()"}],"scripts":[],"globalScripts":[]},"root":{"tag":"vstack","attrs":{"class":"{{ 'dsx-blocks-editor dsx-blocks-' + dsx.formula.os + (dsx.formula.touch ? ' dsx-blocks-compact' : '') }}","aria-label":"{{ dsx.attribute.ariaLabel }}","on:appear":"dsx.action.boot()","__steers":"1","__css":"c570"},"children":[{"tag":"stack","attrs":{"repeat":"dsx.formula.rows","key":"id","__css":"c571"},"children":[{"tag":"blocks.Block","attrs":{"doc":"{{ dsx.attribute.doc }}","row":"{{ dsx.this }}","read-only":"{{ dsx.attribute.readOnly }}","touch":"{{ dsx.formula.touch }}","handles":"{{ !dsx.formula.touch || dsx.this.focused }}"},"children":[],"text":"","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1},{"tag":"blocks.LinkEditor","attrs":{"visible-if":"{{ dsx.formula.touch }}","doc":"{{ dsx.attribute.doc }}","sheet":"true"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"vstack","attrs":{"visible-if":"{{ dsx.formula.touch && dsx.formula.editing && !dsx.attribute.readOnly }}","class":"dsx-blocks-keyboard","__steers":"1","__css":"c572"},"children":[{"tag":"blocks.SlashMenu","attrs":{"visible-if":"{{ dsx.formula.slashOpen }}","doc":"{{ dsx.attribute.doc }}","placement":"docked"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"blocks.FormatBar","attrs":{"doc":"{{ dsx.attribute.doc }}","block-button":"true","on:add-block":"dsx.variable.picker = true"},"children":[],"text":"","reactive":true,"nid":6}],"text":"\n    \n    \n  ","reactive":true,"nid":4},{"tag":"sheet","attrs":{"visible-if":"{{ dsx.formula.touch }}","present":"{{ dsx.variable.picker }}","detents":"medium,large","title":"{{ dsx.attribute.pickerTitle }}","on:dismiss":"dsx.variable.picker = false"},"children":[{"tag":"vstack","attrs":{"__steers":"1","__css":"c573"},"children":[{"tag":"hstack","attrs":{"repeat":"dsx.formula.catalog","key":"id","class":"dsx-blocks-picker-item","role":"button","aria-label":"{{ dsx.this.label }}","on:tap":"dsx.action.pick({ type: dsx.this.type, attrs: dsx.this.attrs })","__steers":"1"},"children":[{"tag":"IconTile","attrs":{"visible-if":"{{ dsx.this.glyph === '' || dsx.this.glyph == null }}","class":"dsx-blocks-slash-tile","icon":"{{ dsx.this.icon }}","name":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":10},{"tag":"stack","attrs":{"visible-if":"{{ dsx.this.glyph !== '' && dsx.this.glyph != null }}","class":"dsx-blocks-slash-tile dsx-blocks-slash-tile-text","aria-hidden":"true"},"children":[{"tag":"text","attrs":{"class":"dsx-blocks-slash-glyph","value":"{{ dsx.this.glyph }}"},"children":[],"text":"","reactive":true,"nid":12}],"text":"\n          \n        ","reactive":true,"nid":11},{"tag":"vstack","attrs":{"class":"dsx-blocks-slash-copy","__steers":"1","__css":"c574"},"children":[{"tag":"text","attrs":{"class":"dsx-blocks-slash-label","value":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":14},{"tag":"text","attrs":{"visible-if":"{{ dsx.this.description }}","class":"dsx-blocks-slash-description","value":"{{ dsx.this.description }}"},"children":[],"text":"","reactive":true,"nid":15}],"text":"\n          \n          \n        ","reactive":true,"nid":13}],"text":"\n        \n        \n        \n      ","reactive":true,"nid":9}],"text":"\n      \n    ","reactive":true,"nid":8}],"text":"\n    \n  ","reactive":true,"nid":7}],"text":"\n  \n\n  \n\n  \n  \n\n  \n\n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"blocks.FormatBar":{"name":"FormatBar","scheme":"blocks","head":{"attributes":[{"as":"doc","default":"'main'"},{"as":"x","default":"0","type":"number"},{"as":"floating","default":"false","type":"bool"},{"as":"view"},{"as":"aria-label","default":"'Formatting'"},{"as":"block-button","default":"false","type":"bool"}],"apis":[],"expects":[],"events":[{"as":"addBlock","payload":[]}],"inputs":[],"tools":[],"variables":[],"formulas":[{"as":"left","inputs":{},"body":"return Math.max(0, dsx.attribute.x - 120)"},{"as":"place","inputs":{},"body":"\n      if (!dsx.attribute.floating) { return 'align-self: stretch' }\n      const v = dsx.attribute.view\n      if (v == null || typeof v.top !== 'number') { return 'position: absolute; bottom: 100%; left: ' + dsx.formula.left + 'px' }\n      const left = Math.max(8, Math.min(v.x - 120, v.width - 330))\n      return v.above\n        ? 'position: fixed; left: ' + left + 'px; top: ' + (v.top - 6) + 'px; transform: translateY(-100%); margin-bottom: 0px'\n        : 'position: fixed; left: ' + left + 'px; top: ' + (v.bottom + 6) + 'px; margin-bottom: 0px'\n    "},{"as":"d","inputs":{},"body":"return dsx.module.blocks.context.documents[dsx.attribute.doc]"},{"as":"on","inputs":{},"body":"\n      const d = dsx.formula.d\n      const on = { strong: false, em: false, del: false, code: false, a: false }\n      if (!d || !d.selection || d.selection.block == null) { return on }\n      const row = d.rows.find((r) => r.id === d.selection.block)\n      if (!row) { return on }\n      const from = d.selection.from\n      const to = d.selection.to\n      for (const t of ['strong', 'em', 'del', 'code', 'a']) {\n        if (to > from) {\n          let at = from\n          const ms = row.marks.filter((m) => m.type === t).sort((x, y) => x.from - y.from)\n          for (const m of ms) { if (m.from &lt;= at &amp;&amp; m.to > at) { at = m.to } }\n          on[t] = at >= to\n        } else {\n          const pend = d.pending || []\n          const active = row.marks.some((m) => m.type === t &amp;&amp; m.from &lt; from &amp;&amp; from &lt;= m.to)\n          on[t] = pend.includes(t) || (active &amp;&amp; !pend.includes('-' + t))\n        }\n      }\n      return on\n    "}],"actions":[{"as":"toggle","inputs":{},"body":"\n      await dsx.module.blocks.mark({ doc: dsx.attribute.doc, mark: dsx.this.mark })\n    "},{"as":"link","inputs":{},"body":"\n      const d = dsx.formula.d\n      if (!d || !d.selection || d.selection.block == null) { return }\n      await dsx.module.blocks.key({ doc: dsx.attribute.doc, key: 'k', mod: true, block: d.selection.block, from: d.selection.from, to: d.selection.to })\n    "},{"as":"indent","inputs":{},"body":"\n      await dsx.module.blocks.indent({ doc: dsx.attribute.doc })\n    "},{"as":"outdent","inputs":{},"body":"\n      await dsx.module.blocks.outdent({ doc: dsx.attribute.doc })\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"hstack","attrs":{"class":"{{ dsx.attribute.floating ? 'dsx-blocks-formatbar dsx-blocks-formatbar-floating' : 'dsx-blocks-formatbar' }}","aria-label":"{{ dsx.attribute.ariaLabel }}","__style_list":"{{ dsx.formula.place }}"},"children":[{"tag":"button","attrs":{"visible-if":"{{ dsx.attribute.blockButton }}","class":"dsx-blocks-fmt","icon":"plus","aria-label":"Add block","on:tap":"dsx.event('addBlock', {})","__css":"c575"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"button","attrs":{"class":"{{ dsx.formula.on.strong ? 'dsx-blocks-fmt dsx-blocks-fmt-b dsx-blocks-fmt-on' : 'dsx-blocks-fmt dsx-blocks-fmt-b' }}","icon":"bold","aria-label":"Bold","aria-pressed":"{{ dsx.formula.on.strong ? 'true' : 'false' }}","on:tap":"dsx.action.toggle({ mark: 'strong' })"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"button","attrs":{"class":"{{ dsx.formula.on.em ? 'dsx-blocks-fmt dsx-blocks-fmt-i dsx-blocks-fmt-on' : 'dsx-blocks-fmt dsx-blocks-fmt-i' }}","icon":"italic","aria-label":"Italic","aria-pressed":"{{ dsx.formula.on.em ? 'true' : 'false' }}","on:tap":"dsx.action.toggle({ mark: 'em' })"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"button","attrs":{"class":"{{ dsx.formula.on.del ? 'dsx-blocks-fmt dsx-blocks-fmt-s dsx-blocks-fmt-on' : 'dsx-blocks-fmt dsx-blocks-fmt-s' }}","icon":"strikethrough","aria-label":"Strikethrough","aria-pressed":"{{ dsx.formula.on.del ? 'true' : 'false' }}","on:tap":"dsx.action.toggle({ mark: 'del' })"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"button","attrs":{"class":"{{ dsx.formula.on.code ? 'dsx-blocks-fmt dsx-blocks-fmt-code dsx-blocks-fmt-on' : 'dsx-blocks-fmt dsx-blocks-fmt-code' }}","icon":"curlybraces","aria-label":"Inline code","aria-pressed":"{{ dsx.formula.on.code ? 'true' : 'false' }}","on:tap":"dsx.action.toggle({ mark: 'code' })"},"children":[],"text":"","reactive":true,"nid":5},{"tag":"button","attrs":{"class":"{{ dsx.formula.on.a ? 'dsx-blocks-fmt dsx-blocks-fmt-link dsx-blocks-fmt-on' : 'dsx-blocks-fmt dsx-blocks-fmt-link' }}","icon":"link","aria-label":"Link","aria-pressed":"{{ dsx.formula.on.a ? 'true' : 'false' }}","on:tap":"dsx.action.link()"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"button","attrs":{"visible-if":"{{ !dsx.attribute.floating }}","class":"dsx-blocks-fmt dsx-blocks-fmt-indent","icon":"increase.indent","aria-label":"Indent","on:tap":"dsx.action.indent()"},"children":[],"text":"","reactive":true,"nid":7},{"tag":"button","attrs":{"visible-if":"{{ !dsx.attribute.floating }}","class":"dsx-blocks-fmt dsx-blocks-fmt-indent","icon":"decrease.indent","aria-label":"Outdent","on:tap":"dsx.action.outdent()"},"children":[],"text":"","reactive":true,"nid":8}],"text":"\n  \n  \n  \n  \n  \n  \n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"blocks.Handle":{"name":"Handle","scheme":"blocks","head":{"attributes":[{"as":"doc","default":"'main'"},{"as":"row","sample":"{\"id\":\"b1\",\"type\":\"paragraph\",\"kind\":\"paragraph\",\"depth\":0,\"text\":\"A paragraph\",\"attrs\":{},\"path\":[],\"last\":true,\"number\":0,\"source\":\"\",\"placeholder\":\"\",\"editable\":true,\"empty\":false,\"focused\":false}"},{"as":"touch","default":"false","type":"bool"},{"as":"add-label","default":"'Add block below'"},{"as":"drag-label","default":"'Drag to move, or open the block menu'"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[],"formulas":[],"actions":[{"as":"add","inputs":{},"body":"\n      const r = dsx.attribute.row\n      if (r.editable &amp;&amp; r.empty &amp;&amp; r.type === 'paragraph') {\n        await dsx.module.blocks.select({ doc: dsx.attribute.doc, block: r.id, from: 0, to: 0 })\n        await dsx.module.blocks.edit({ doc: dsx.attribute.doc, block: r.id, from: 0, to: 0, text: '/' })\n        return\n      }\n      const made = await dsx.module.blocks.insert({ doc: dsx.attribute.doc, type: 'paragraph', after: r.id })\n      if (made.ok) { await dsx.module.blocks.edit({ doc: dsx.attribute.doc, block: made.data.block, from: 0, to: 0, text: '/' }) }\n    "},{"as":"hold","inputs":{},"body":"\n      await dsx.module.blocks.select({ doc: dsx.attribute.doc, blocks: [dsx.attribute.row.id] })\n    "},{"as":"drag","inputs":{},"body":"\n      await dsx.module.blocks.drag({ doc: dsx.attribute.doc, block: dsx.attribute.row.id, phase: dsx.this.phase, dy: dsx.this.dy, dx: dsx.this.dx, clientY: dsx.this.clientY, shift: dsx.this.shiftKey, cmd: dsx.this.cmdKey })\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"hstack","attrs":{"class":"dsx-blocks-handles","__steers":"1","__css":"c576"},"children":[{"tag":"button","attrs":{"class":"dsx-blocks-handle dsx-blocks-add","icon":"plus","aria-label":"{{ dsx.attribute.addLabel }}","on:tap":"dsx.action.add()","__css":"c577"},"children":[],"text":"","reactive":true,"nid":1},{"tag":"blocks.BlockMenu","attrs":{"doc":"{{ dsx.attribute.doc }}","row":"{{ dsx.attribute.row }}"},"children":[{"tag":"button","attrs":{"class":"dsx-blocks-handle dsx-blocks-grip","icon":"line.3.horizontal","aria-label":"{{ dsx.attribute.dragLabel }}","on:long-press":"dsx.action.hold()","on:drag":"dsx.action.drag({ phase: dsx.this.phase, dy: dsx.this.dy, dx: dsx.this.dx, clientY: dsx.this.clientY, shiftKey: dsx.this.shiftKey, cmdKey: dsx.this.cmdKey })","__css":"c577"},"children":[],"text":"","reactive":true,"nid":3}],"text":"\n    \n  ","reactive":true,"nid":2}],"text":"\n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"blocks.LinkEditor":{"name":"LinkEditor","scheme":"blocks","head":{"attributes":[{"as":"doc","default":"'main'"},{"as":"sheet","default":"false","type":"bool"},{"as":"placeholder","default":"'Paste or type a link'"},{"as":"done-label","default":"'Link'"},{"as":"remove-label","default":"'Remove link'"},{"as":"cancel-label","default":"'Cancel'"},{"as":"title","default":"'Link'"},{"as":"block","default":"''"},{"as":"view"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[{"as":"href","body":"return ''","computed":false}],"formulas":[{"as":"place","inputs":{},"body":"\n      const v = dsx.attribute.view\n      if (dsx.attribute.block === '' || v == null || typeof v.top !== 'number') { return 'align-items: center' }\n      const left = Math.max(8, Math.min(v.x - 8, v.width - 428))\n      return !v.below &amp;&amp; v.above\n        ? 'align-items: center; position: fixed; z-index: 20; left: ' + left + 'px; top: ' + (v.top - 6) + 'px; transform: translateY(-100%)'\n        : 'align-items: center; position: fixed; z-index: 20; left: ' + left + 'px; top: ' + (v.bottom + 6) + 'px'\n    "},{"as":"p","inputs":{},"body":"\n      const d = dsx.module.blocks.context.documents[dsx.attribute.doc]\n      return d &amp;&amp; d.prompt &amp;&amp; d.prompt.kind === 'link' ? d.prompt : null\n    "},{"as":"shown","inputs":{},"body":"return dsx.formula.p != null"}],"actions":[{"as":"seed","inputs":{},"body":"dsx.variable.href = dsx.formula.p == null ? '' : dsx.formula.p.href"},{"as":"apply","inputs":{},"body":"\n      const p = dsx.formula.p\n      if (p == null) { return }\n      const href = dsx.variable.href.trim()\n      if (href === '') {\n        await dsx.module.blocks.mark({ doc: dsx.attribute.doc, mark: 'a', href: '', clear: true, block: p.block, from: p.from, to: p.to })\n      } else {\n        await dsx.module.blocks.mark({ doc: dsx.attribute.doc, mark: 'a', href: href, block: p.block, from: p.from, to: p.to })\n      }\n      await dsx.module.blocks.dismiss({ doc: dsx.attribute.doc })\n      await dsx.module.blocks.select({ doc: dsx.attribute.doc, block: p.block, from: p.to, to: p.to })\n    "},{"as":"remove","inputs":{},"body":"\n      dsx.variable.href = ''\n      await dsx.action.apply()\n    "},{"as":"cancel","inputs":{},"body":"\n      const p = dsx.formula.p\n      await dsx.module.blocks.dismiss({ doc: dsx.attribute.doc })\n      if (p != null) { await dsx.module.blocks.select({ doc: dsx.attribute.doc, block: p.block, from: p.to, to: p.to }) }\n    "}],"watches":[{"value":"dsx.formula.p","handler":"dsx.action.seed()","immediate":true}],"scripts":[],"globalScripts":[]},"root":{"tag":"vstack","attrs":{"class":"dsx-blocks-link","__steers":"1","__css":"c578"},"children":[{"tag":"hstack","attrs":{"visible-if":"{{ dsx.formula.shown && !dsx.attribute.sheet }}","class":"dsx-blocks-link-panel","__style_list":"{{ dsx.formula.place }}"},"children":[{"tag":"textfield","attrs":{"class":"dsx-blocks-link-field","bind":"dsx.variable.href","placeholder":"{{ dsx.attribute.placeholder }}","keyboard":"url","autocapitalize":"off","enterkeyhint":"done","on:submit":"dsx.action.apply()","__css":"c199"},"children":[],"text":"","reactive":true,"nid":2},{"tag":"button","attrs":{"class":"dsx-blocks-link-button","label":"{{ dsx.attribute.doneLabel }}","on:tap":"dsx.action.apply()"},"children":[],"text":"","reactive":true,"nid":3},{"tag":"button","attrs":{"visible-if":"{{ dsx.formula.p != null && dsx.formula.p.href !== '' }}","class":"dsx-blocks-link-button","icon":"link.badge.minus","aria-label":"{{ dsx.attribute.removeLabel }}","on:tap":"dsx.action.remove()","__css":"c144"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"button","attrs":{"class":"dsx-blocks-link-button","icon":"xmark","aria-label":"{{ dsx.attribute.cancelLabel }}","on:tap":"dsx.action.cancel()","__css":"c180"},"children":[],"text":"","reactive":true,"nid":5}],"text":"\n    \n    \n    \n    \n  ","reactive":true,"nid":1},{"tag":"sheet","attrs":{"visible-if":"{{ dsx.attribute.sheet }}","present":"{{ dsx.formula.shown }}","detents":"medium","title":"{{ dsx.attribute.title }}","on:dismiss":"dsx.action.cancel()"},"children":[{"tag":"vstack","attrs":{"__steers":"1","__css":"c579"},"children":[{"tag":"textfield","attrs":{"bind":"dsx.variable.href","placeholder":"{{ dsx.attribute.placeholder }}","keyboard":"url","autocapitalize":"off","enterkeyhint":"done","on:submit":"dsx.action.apply()"},"children":[],"text":"","reactive":true,"nid":8},{"tag":"button","attrs":{"label":"{{ dsx.attribute.doneLabel }}","variant":"prominent","on:tap":"dsx.action.apply()"},"children":[],"text":"","reactive":true,"nid":9},{"tag":"button","attrs":{"visible-if":"{{ dsx.formula.p != null && dsx.formula.p.href !== '' }}","label":"{{ dsx.attribute.removeLabel }}","role":"destructive","on:tap":"dsx.action.remove()"},"children":[],"text":"","reactive":true,"nid":10}],"text":"\n      \n      \n      \n    ","reactive":true,"nid":7}],"text":"\n    \n  ","reactive":true,"nid":6}],"text":"\n  \n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"},"blocks.SlashMenu":{"name":"SlashMenu","scheme":"blocks","head":{"attributes":[{"as":"doc","default":"'main'"},{"as":"x","default":"0","type":"number"},{"as":"placement","default":"'anchored'"},{"as":"view"},{"as":"aria-label","default":"'Blocks'"},{"as":"empty-label","default":"'No results'"}],"apis":[],"expects":[],"events":[],"inputs":[],"tools":[],"variables":[],"formulas":[{"as":"s","inputs":{},"body":"\n      const d = dsx.module.blocks.context.documents[dsx.attribute.doc]\n      return d ? d.slash : { open: false, items: [], index: 0, query: '' }\n    "},{"as":"left","inputs":{},"body":"return Math.max(0, dsx.attribute.x - 8)"},{"as":"place","inputs":{},"body":"\n      if (dsx.attribute.placement === 'docked') { return 'align-self: stretch' }\n      const v = dsx.attribute.view\n      if (v == null || typeof v.top !== 'number') { return 'position: absolute; top: 100%; left: ' + dsx.formula.left + 'px' }\n      const left = Math.max(8, Math.min(v.x - 8, v.width - 332))\n      return !v.below &amp;&amp; v.above\n        ? 'position: fixed; left: ' + left + 'px; top: ' + (v.top - 4) + 'px; transform: translateY(-100%); margin-top: 0px'\n        : 'position: fixed; left: ' + left + 'px; top: ' + (v.bottom + 4) + 'px; margin-top: 0px'\n    "},{"as":"items","inputs":{},"body":"\n      const s = dsx.formula.s\n      const out = []\n      let group = ''\n      let i = 0\n      for (const entry of s.items) {\n        const g = entry.group || ''\n        out.push({ id: entry.id, label: entry.label, icon: entry.icon || '', glyph: entry.glyph || '', description: entry.description || '', shortcut: entry.shortcut || '', group: g !== group &amp;&amp; s.query === '' ? g : '', on: i === s.index })\n        group = g\n        i = i + 1\n      }\n      return out\n    "}],"actions":[{"as":"choose","inputs":{},"body":"\n      await dsx.module.blocks.slash({ doc: dsx.attribute.doc, op: 'choose', item: dsx.this.id })\n    "}],"watches":[],"scripts":[],"globalScripts":[]},"root":{"tag":"vstack","attrs":{"class":"{{ dsx.attribute.placement === 'docked' ? 'dsx-blocks-slash dsx-blocks-slash-docked' : 'dsx-blocks-slash' }}","aria-label":"{{ dsx.attribute.ariaLabel }}","__style_list":"{{ dsx.formula.place }}"},"children":[{"tag":"scroll","attrs":{"class":"dsx-blocks-slash-scroll","__css":"c149"},"children":[{"tag":"vstack","attrs":{"__steers":"1","__css":"c580"},"children":[{"tag":"vstack","attrs":{"repeat":"dsx.formula.items","key":"id","__steers":"1","__css":"c580"},"children":[{"tag":"text","attrs":{"visible-if":"{{ dsx.this.group !== '' }}","class":"dsx-blocks-slash-group","value":"{{ dsx.this.group }}"},"children":[],"text":"","reactive":true,"nid":4},{"tag":"hstack","attrs":{"class":"{{ dsx.this.on ? 'dsx-blocks-slash-item dsx-blocks-slash-item-on' : 'dsx-blocks-slash-item' }}","role":"button","aria-pressed":"{{ dsx.this.on ? 'true' : 'false' }}","aria-label":"{{ dsx.this.label }}","on:tap":"dsx.action.choose({ id: dsx.this.id })"},"children":[{"tag":"IconTile","attrs":{"visible-if":"{{ dsx.this.glyph === '' }}","class":"dsx-blocks-slash-tile","icon":"{{ dsx.this.icon }}","name":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":6},{"tag":"stack","attrs":{"visible-if":"{{ dsx.this.glyph !== '' }}","class":"dsx-blocks-slash-tile dsx-blocks-slash-tile-text","aria-hidden":"true","__steers":"1"},"children":[{"tag":"text","attrs":{"class":"dsx-blocks-slash-glyph","value":"{{ dsx.this.glyph }}"},"children":[],"text":"","reactive":true,"nid":8}],"text":"\n            \n          ","reactive":true,"nid":7},{"tag":"vstack","attrs":{"class":"dsx-blocks-slash-copy","__steers":"1","__css":"c574"},"children":[{"tag":"text","attrs":{"class":"dsx-blocks-slash-label","value":"{{ dsx.this.label }}"},"children":[],"text":"","reactive":true,"nid":10},{"tag":"text","attrs":{"visible-if":"{{ dsx.this.description !== '' }}","class":"dsx-blocks-slash-description","value":"{{ dsx.this.description }}"},"children":[],"text":"","reactive":true,"nid":11}],"text":"\n            \n            \n          ","reactive":true,"nid":9},{"tag":"text","attrs":{"visible-if":"{{ dsx.this.shortcut !== '' }}","class":"dsx-blocks-slash-shortcut","value":"{{ dsx.this.shortcut }}","aria-hidden":"true"},"children":[],"text":"","reactive":true,"nid":12}],"text":"\n          \n          \n          \n          \n        ","reactive":true,"nid":5}],"text":"\n        \n        \n      ","reactive":true,"nid":3},{"tag":"text","attrs":{"visible-if":"{{ dsx.formula.items.length === 0 }}","class":"dsx-blocks-slash-empty","value":"{{ dsx.attribute.emptyLabel }}"},"children":[],"text":"","reactive":true,"nid":13}],"text":"\n      \n      \n    ","reactive":true,"nid":2}],"text":"\n    \n  ","reactive":true,"nid":1}],"text":"\n  \n  \n","reactive":true,"nid":0},"reactive":true,"language":"1"}},"globalPool":{"About":"platform.About","Activate":"platform.Activate","AddPackageSheet":"platform.AddPackageSheet","AffectedApps":"platform.AffectedApps","AgentCard":"platform.AgentCard","AgentConnectCard":"platform.AgentConnectCard","AgentHistory":"platform.AgentHistory","AgentSetupCard":"platform.AgentSetupCard","AgentSketch":"platform.AgentSketch","AgentSkillsSheet":"platform.AgentSkillsSheet","AgentThreads":"platform.AgentThreads","AgentVisual":"platform.AgentVisual","AiTerms":"platform.AiTerms","AnnouncementSheet":"platform.AnnouncementSheet","AppJourney":"platform.AppJourney","AppRow":"platform.AppRow","AppStoresScreen":"platform.AppStoresScreen","AppleSetup":"platform.AppleSetup","AskDespia":"platform.AskDespia","AskDespiaProgress":"platform.AskDespiaProgress","AskDespiaSheet":"platform.AskDespiaSheet","BillingScreen":"platform.BillingScreen","BuildDetail":"platform.BuildDetail","BuildList":"platform.BuildList","BuildLog":"platform.BuildLog","BuildsScreen":"platform.BuildsScreen","ComingSoon":"platform.ComingSoon","ConnectProvider":"platform.ConnectProvider","ConnectionConfirm":"platform.ConnectionConfirm","ConnectionsScreen":"platform.ConnectionsScreen","ConvertProject":"platform.ConvertProject","ConvertSheet":"platform.ConvertSheet","DashboardNotice":"platform.DashboardNotice","DedicatedCloudScreen":"platform.DedicatedCloudScreen","DemoAccountCard":"platform.DemoAccountCard","DependencyView":"platform.DependencyView","Diagnosis":"platform.Diagnosis","EmailButton":"platform.EmailButton","ExploreScreen":"platform.ExploreScreen","ExtensionCard":"platform.ExtensionCard","ExtensionConnect":"platform.ExtensionConnect","ExtensionHandoff":"platform.ExtensionHandoff","ExtensionInstallSheet":"platform.ExtensionInstallSheet","FeatureReview":"platform.FeatureReview","FileList":"platform.FileList","Go":"platform.Go","Goodbye":"platform.Goodbye","GoogleProgress":"platform.GoogleProgress","GroupChat":"platform.GroupChat","HelpSheet":"platform.HelpSheet","IconEditor":"platform.IconEditor","IntegrationDetail":"platform.IntegrationDetail","InviteInbox":"platform.InviteInbox","InviteScreen":"platform.InviteScreen","LegalPage":"platform.LegalPage","Login":"platform.Login","McpBeta":"platform.McpBeta","McpConsent":"platform.McpConsent","MembersScreen":"platform.MembersScreen","Migrate":"platform.Migrate","MigrateApps":"platform.MigrateApps","MigrateDetail":"platform.MigrateDetail","MigrateIcon":"platform.MigrateIcon","MigrationPreview":"platform.MigrationPreview","NativeStrings":"platform.NativeStrings","NativeStringsGroup":"platform.NativeStringsGroup","NewApp":"platform.NewApp","NotFound":"platform.NotFound","OAuthHeader":"platform.OAuthHeader","PackageCatalog":"platform.PackageCatalog","PackageConfig":"platform.PackageConfig","PackageDestination":"platform.PackageDestination","PackageDetail":"platform.PackageDetail","PackageDocs":"platform.PackageDocs","PackageExplorer":"platform.PackageExplorer","PackageProviders":"platform.PackageProviders","PackageScreen":"platform.PackageScreen","PlayContentSheet":"platform.PlayContentSheet","PrivacyPolicy":"platform.PrivacyPolicy","ProjectConnections":"platform.ProjectConnections","ProjectIdentity":"platform.ProjectIdentity","ProjectLanguages":"platform.ProjectLanguages","ProjectPackages":"platform.ProjectPackages","ProjectReleases":"platform.ProjectReleases","ProjectSecrets":"platform.ProjectSecrets","ProjectSigning":"platform.ProjectSigning","ProjectsScreen":"platform.ProjectsScreen","PublishSheet":"platform.PublishSheet","ReadinessBar":"platform.ReadinessBar","ReadinessPanel":"platform.ReadinessPanel","RejectionAssist":"platform.RejectionAssist","ResellerScreen":"platform.ResellerScreen","ScreenshotEditor":"platform.ScreenshotEditor","SettingsScreen":"platform.SettingsScreen","Shell":"platform.Shell","SoonCard":"platform.SoonCard","StaffConversation":"platform.StaffConversation","StaffEmail":"platform.StaffEmail","StaffInbox":"platform.StaffInbox","StaffMigrations":"platform.StaffMigrations","StaffRequests":"platform.StaffRequests","StepHead":"platform.StepHead","StoreCard":"platform.StoreCard","StoreConnect":"platform.StoreConnect","StoreConnectChooser":"platform.StoreConnectChooser","StoreFixSheet":"platform.StoreFixSheet","StoreInfoSheet":"platform.StoreInfoSheet","StoreListing":"platform.StoreListing","StoreListingPublish":"platform.StoreListingPublish","StorePolicies":"platform.StorePolicies","StoreScreenshotSetCard":"platform.StoreScreenshotSetCard","StoreScreenshotsCard":"platform.StoreScreenshotsCard","StoreSetup":"platform.StoreSetup","StoreTesters":"platform.StoreTesters","StoreWebhook":"platform.StoreWebhook","SubmissionDetail":"platform.SubmissionDetail","SubmitSheet":"platform.SubmitSheet","Subprocessors":"platform.Subprocessors","SupportChat":"platform.SupportChat","TemplateLedger":"platform.TemplateLedger","TemplateSetup":"platform.TemplateSetup","TemplateTip":"platform.TemplateTip","TestOnPhone":"platform.TestOnPhone","TokensScreen":"platform.TokensScreen","Unsubscribe":"platform.Unsubscribe","WorkspaceScreen":"platform.WorkspaceScreen","Accept":"consent.Accept","Banner":"consent.Banner","Choose":"consent.Choose","Decline":"consent.Decline","Message":"consent.Message","Preferences":"consent.Preferences","Actions":"foundation.Actions","Answer":"foundation.Answer","AppPreview":"foundation.AppPreview","Attachment":"foundation.Attachment","AudioLevel":"foundation.AudioLevel","AuthPage":"foundation.AuthPage","Avatar":"foundation.Avatar","AvatarGroup":"foundation.AvatarGroup","Badge":"foundation.Badge","Breadcrumbs":"foundation.Breadcrumbs","Callout":"foundation.Callout","Card":"foundation.Card","CodeBlock":"foundation.CodeBlock","CopyButton":"foundation.CopyButton","CopyRow":"foundation.CopyRow","Diff":"foundation.Diff","EmptyState":"foundation.EmptyState","Explainer":"foundation.Explainer","FieldRow":"foundation.FieldRow","Figure":"foundation.Figure","Gallery":"foundation.Gallery","Guide":"foundation.Guide","IconTile":"foundation.IconTile","ImageViewer":"foundation.ImageViewer","ItemCard":"foundation.ItemCard","LinkCard":"foundation.LinkCard","ListGroup":"foundation.ListGroup","Loader":"foundation.Loader","MarkdownItem":"foundation.MarkdownItem","MarkdownList":"foundation.MarkdownList","MarkdownStep":"foundation.MarkdownStep","MarkdownSteps":"foundation.MarkdownSteps","MarkdownTab":"foundation.MarkdownTab","MarkdownTable":"foundation.MarkdownTable","MarkdownTabs":"foundation.MarkdownTabs","NavBar":"foundation.NavBar","Panel":"foundation.Panel","PlatformSection":"foundation.PlatformSection","ProductHeader":"foundation.ProductHeader","PromptInput":"foundation.PromptInput","Quote":"foundation.Quote","Rating":"foundation.Rating","ReadMore":"foundation.ReadMore","ScrollFade":"foundation.ScrollFade","SettingsRow":"foundation.SettingsRow","SidebarItem":"foundation.SidebarItem","SidebarList":"foundation.SidebarList","SidebarSection":"foundation.SidebarSection","StepPage":"foundation.StepPage","StepPages":"foundation.StepPages","Steps":"foundation.Steps","SummaryHeader":"foundation.SummaryHeader","TaskRow":"foundation.TaskRow","ThinkingOrb":"foundation.ThinkingOrb","ThreadPane":"foundation.ThreadPane","Timeline":"foundation.Timeline","ToggleButton":"foundation.ToggleButton","Block":"blocks.Block","BlockMenu":"blocks.BlockMenu","Editor":"blocks.Editor","FormatBar":"blocks.FormatBar","Handle":"blocks.Handle","LinkEditor":"blocks.LinkEditor","SlashMenu":"blocks.SlashMenu"},"css":"@layer dsx-defaults, dsx-tokens, dsx-elements, dsx-theme, dsx-library.sheets, dsx-library.inline, dsx-sheets, dsx-inline;\n\n@layer dsx-tokens{[dir=rtl]{--dsx-origin-start:100%;--dsx-origin-end:0%}[dir=ltr]{--dsx-origin-start:0%;--dsx-origin-end:100%}}\n\n@property --dsx-lh-l{syntax:\"<length>\";inherits:true;initial-value:0px}@property --dsx-lh-pn{syntax:\"<number>\";inherits:false;initial-value:0}@property --dsx-lh-pl{syntax:\"<length>\";inherits:false;initial-value:0px}\n\n@layer dsx-theme {\n/* Keep keyboard focus and the stock focus tint; suppress browser outlines on containers and inputs (Firefox focuses\n   scroll containers and the sidebar pane on Tab and draws outline:auto on them). */\nmain:focus,\n.dsx-scroll:focus,\n.dsx-scaffold-pane:focus,\n.dsx-list:focus,\ninput:focus {\n  outline: none;\n}\n\n/* The console's notices are blue: the console's own chrome is the purple accent, so an info notice in the secondary\n   accent stands out from it. Set once on the root through the stock Callout's info knobs; the other tones and the\n   hairline (22% of the tone) come from the stock Callout. The ink is the AA text step on the wash. */\n:root {\n  --dsx-callout-info: light-dark(#007aff, #0a84ff);\n  --dsx-callout-info-ink: light-dark(#0062cc, #64acff);\n}\n\n/* A phone tab root has no Back, even while the router's chrome settles after a tab switch. */\nbody:has(.shell-phone-tab-root) > .dsx-route-chrome > .dsx-route-back {\n  display: none;\n}\n\n/* Package adds can finish with the catalog still open. Feedback stays above nested sheets and menus. */\n.dsx-toast-host {\n  z-index: calc(var(--dsx-overlay-z-index, 10000) + 200);\n}\n\n/* THE ONE INSPECTOR beside an app's pages (ReadinessPanel, which hosts Ask Despia): docked as a column that reflows the page\n   once the page keeps its reading width beside it (sidebar 320 + page 480 + inspector 360: about 1170px); narrower, a panel\n   over the right edge that the page's buttons open; on a phone the full-height sheet. ONE width, 360, at every breakpoint:\n   what the panel holds wraps inside it and never resizes it. Only the person changes it: docked, its leading edge drags\n   between 360 and 600 (the framework's resize handle remembers it per device). */\n:root {\n  --dsx-inspector-min: 360px;\n  --dsx-inspector-ideal: 360px;\n  --dsx-inspector-max: 600px;\n  --dsx-inspector-presentation: sheet;\n}\n@media (min-width: 768px) {\n  :root { --dsx-inspector-presentation: overlay; }\n}\n@media (min-width: 1170px) {\n  :root { --dsx-inspector-presentation: column; }\n}\n/* the scrim under the overlay: quiet, over the page and its bar, under the panel */\n.ask-despia-scrim {\n  position: fixed;\n  inset: 0px;\n  z-index: 40;\n  background: light-dark(rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.4));\n  animation: ask-despia-scrim-in 180ms ease-out;\n}\n@keyframes ask-despia-scrim-in {\n  from { opacity: 0; }\n  to { opacity: 1; }\n}\n/* the page's bar (crumbs and its buttons) rides a layer of its own above the page; while the panel lies over the page the bar\n   goes under the scrim with the rest of the page, so nothing of the page floats over the panel */\nbody:has(.ask-despia-scrim) .dsx-route-chrome {\n  z-index: auto;\n}\n.dsx-scaffold-shell[data-dsx-inspector=\"overlay\"][data-dsx-inspector-open] > .dsx-scaffold-inspector {\n  z-index: 41;\n  box-shadow: -12px 0px 32px rgba(0, 0, 0, 0.12);\n}\n/* Ask Despia's bar is the inspector's top row, level with the page's own bar (in ask mode: the space the scaffold keeps there is for\n   its inspector toggle, which the chat replaces with its own close) */\n.dsx-scaffold-shell > .dsx-scaffold-inspector:has(.ask-despia-chat) {\n  padding-top: 0px;\n}\n.dsx-scaffold-inspector .ask-despia-bar {\n  min-height: 48px;\n}\n/* in ask mode the chat brings its own close, so the scaffold's own inspector toggle is not drawn beside it */\n.dsx-scaffold-shell:has(.ask-despia-chat) .dsx-scaffold-inspector-toggle,\nbody:has(.ask-despia-chat) > .dsx-scaffold-inspector-toggle {\n  display: none;\n}\n/* on a phone Ask Despia is a full-height sheet whose own bar is the panel's (title, New Conversation, close): the room the\n   stock sheet keeps above its content for a header of its own is not needed */\n.dsx-sheet-panel:has(> .dsx-sheet-content > .ask-despia-in-sheet) {\n  padding-top: 8px;\n}\n/* the inspector is a block of the window's height: the panel it hosts (the Readiness panel, Ask Despia in its ask slot) takes\n   that whole height, so the chat's stream fills it and its composer sits at the foot */\n.dsx-scaffold-inspector .readiness-host {\n  height: 100%;\n}\n/* Narrower than the docked column, the Next bar under the page's header is the way into the panel, so the scaffold's own\n   toggle stays out of the top bar, where it would sit over the page's own buttons. */\n@media (max-width: 1169.98px) {\n  body > .dsx-scaffold-inspector-toggle { display: none; }\n}\n/* the Agent button's mark: plain like every bar icon, the brand purple only while pressed */\n.dsx-route-chrome .dsx-button:has(svg[data-icon=\"agent.mark\"]):active {\n  color: var(--dsx-accent);\n}\n/* Temporary: mirrors framework fw-polish d308d00154 until that framework release; remove then.\n   The filled primary (stock Button, variant prominent) rests slightly raised: one light inner top edge and one soft,\n   diffuse accent shadow, no dark rim. Pressed is the same hue about a tenth darker (12% in dark) with the label at full\n   opacity, never the pale disabled look; disabled stays flat. Corner shapes are untouched. */\n.dsx-button[data-dsx-variant=\"prominent\"] {\n  --dsx-button-shadow:\n    inset 0 1px 0 light-dark(rgb(255 255 255 / 0.20), rgb(255 255 255 / 0.14)),\n    0 2px 10px -2px light-dark(color-mix(in srgb, var(--dsx-accent) 24%, transparent), color-mix(in srgb, var(--dsx-accent) 24%, rgb(0 0 0 / 0.40)));\n  transition:\n    background-color var(--dsx-dur-fast) var(--dsx-ease),\n    color var(--dsx-dur-fast) var(--dsx-ease),\n    opacity var(--dsx-dur-fast) var(--dsx-ease),\n    box-shadow var(--dsx-dur-fast) var(--dsx-ease);\n}\n/* a filled button's press is never the state layer's whole-control dim */\n.dsx-button:is([data-dsx-variant=\"bordered\"], [data-dsx-variant=\"prominent\"], [data-dsx-variant=\"glass\"], [data-dsx-variant=\"glass-prominent\"]):not(:disabled):not([aria-disabled=\"true\"]):active {\n  opacity: 1;\n}\n.dsx-button[data-dsx-variant=\"prominent\"]:not(:disabled):not([aria-disabled=\"true\"]):active {\n  --dsx-button-shadow:\n    inset 0 1px 1px light-dark(rgb(0 0 0 / 0.10), rgb(0 0 0 / 0.20)),\n    0 1px 4px -2px light-dark(color-mix(in srgb, var(--dsx-accent) 20%, transparent), color-mix(in srgb, var(--dsx-accent) 20%, rgb(0 0 0 / 0.40)));\n  background-image: linear-gradient(0deg, light-dark(rgb(0 0 0 / 0.10), rgb(0 0 0 / 0.12)), light-dark(rgb(0 0 0 / 0.10), rgb(0 0 0 / 0.12)));\n}\n.dsx-button[data-dsx-variant=\"prominent\"]:not(:disabled):not([aria-disabled=\"true\"]):active > * {\n  opacity: 1;\n}\n@media (prefers-contrast: more) {\n  .dsx-button[data-dsx-variant=\"prominent\"] {\n    --dsx-button-shadow: inset 0 1px 0 light-dark(rgb(255 255 255 / 0.22), rgb(255 255 255 / 0.16));\n  }\n}\n.dsx-button[data-dsx-variant=\"prominent\"]:is(:disabled, [aria-disabled=\"true\"]) {\n  --dsx-button-shadow: inset 0 0 0 0 transparent;\n}\n\n/* A swipe down at the top of a page must not reload it. Android's pull-to-refresh fires when the page's scroller is at its top and\n   the overscroll reaches the document; it reloaded /apps, /settings, /members and /builds and threw away the state of the page.\n   Safari on iPhone does the same (a spinner over a black void, then a reload) and measured on iOS 26.5 Safari it ignores `contain`\n   here but honours `none`, on the vertical axis only so the edge swipe back keeps working. The page column and the document keep\n   their overscroll to themselves. */\nhtml, body, .dsx-scaffold-content {\n  overscroll-behavior-y: none;\n}\n\n/* The body wears the surface the page shows, and the document canvas takes it from the body (the root has no background of\n   its own). Without it the canvas was the browser's own black in dark mode and white in light mode, so a phone's rubber band\n   past the top or bottom of the page drew a void in a different colour from the page, most of all on a grouped page, whose\n   ground is not the plain surface. Both schemes follow the page's own tokens. */\nbody {\n  background: var(--dsx-background);\n}\nbody:has(.dsx-scaffold-pane[data-dsx-ground=\"grouped\"]) {\n  background: var(--dsx-list-ground);\n}\n\n/* Readable row text grows with its content, including an address or other unbroken token. A title breaks only a word\n   that cannot fit (break-word) and so does a subtitle: anywhere lowers the row's min-content width, so text beside a\n   field or a wide accessory (a status chip) breaks inside a short word. */\n.dsx-settings-row-title,\n.dsx-settings-row-subtitle {\n  max-inline-size: 100%;\n  overflow-wrap: break-word;\n}\n\n/* Store media: every store screenshot, slide preview and screen picture in the console is drawn with one stock corner, smoothed\n   and scaled to its size (a 40 px thumbnail about 6 px, a 300 px slide about 22 px), so a picture never shows a hard edge.\n   Set --media-w to the element's width (any CSS length); the radius follows it. A picture that fills a fluid column sets\n   --media-w: 100% and --media-size to its typical drawn width, which the radius follows. A tile that can be chosen wraps its picture in\n   .media-pick: the selection ring sits outside the picture with the stock gap and is concentric with it. */\n.media-frame {\n  --media-r: clamp(6px, calc(var(--media-size, var(--media-w, 120px)) * 0.075), 30px);\n  width: var(--media-w, 100%);\n  aspect-ratio: var(--media-ratio, 1320 / 2868);\n  overflow: hidden;\n  object-fit: cover;\n  border-radius: var(--media-r);\n  corner-shape: var(--dsx-corner-shape, superellipse(1.6));\n  box-shadow: 0 0 0 0.5px var(--dsx-separator);\n}\n.media-pick {\n  --media-gap: 2px;\n  --media-ring: 2px;\n  --media-r: clamp(6px, calc(var(--media-size, var(--media-w, 120px)) * 0.075), 30px);\n  padding: var(--media-gap);\n  border: var(--media-ring) solid transparent;\n  border-radius: calc(var(--media-r) + var(--media-gap) + var(--media-ring));\n  corner-shape: var(--dsx-corner-shape, superellipse(1.6));\n  background: transparent;\n}\n.media-pick[aria-selected=\"true\"] {\n  border-color: var(--dsx-accent);\n}\n.media-pick > .media-frame {\n  width: var(--media-w, 100%);\n}\n\n/* Instruction lists (Guide): a UI name in **bold** sits quietly in its sentence, a semibold weight in the sentence's colour\n   (never the heaviest weight). A compact Guide is a list of sentences, so its step line reads at the regular weight with the\n   UI names above it, and the step number matches the line instead of shouting over it. */\n.dsx-guide strong {\n  font-weight: 600;\n  color: inherit;\n}\n.dsx-guide-compact .dsx-markdown-step-title {\n  font-weight: 400;\n}\n.dsx-guide-compact .dsx-markdown-step-number {\n  font-weight: 500;\n}\n\n/* Reserve the stock app heading and collapsed Advanced section while their content mounts. */\n@media (min-width: 768px) {\n  .shell-advanced { min-height: 88.5px; }\n  .shell-app-heading > .dsx-list-section-header:not(.dsx-sidebar-section-tabhead) {\n    display: block;\n    box-sizing: border-box;\n    min-height: calc(var(--dsx-list-header-leading) + var(--dsx-list-header-pad-top) + var(--dsx-list-header-pad-bottom));\n  }\n}\n\n/* THE AGENT OPENS AND CLOSES IN MOTION. Wide windows: the panel slides in from the trailing edge on the compositor\n   (transform); the page's column takes its new width in one layout and its boxes glide there on the compositor (the\n   scaffold's inspector glide), never a track animated per frame. Phones: the stock sheet rises. Reduced motion: no travel. */\n.agent-ready .ask-despia-dock {\n  animation: ask-despia-dock-in 350ms var(--dsx-ease-spring, cubic-bezier(0.2, 0.8, 0.2, 1)) both;\n}\n@keyframes ask-despia-dock-in {\n  from { transform: translateX(100%); opacity: 0; }\n  to { transform: none; opacity: 1; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .ask-despia-scrim,\n  .agent-ready .ask-despia-dock {\n    animation: none;\n  }\n}\n}\n\n@layer dsx-library.sheets {\n[data-dsx-owner~=\"Accept\"] .dsx-consent-button, [data-dsx-owner~=\"Accept\"]:is(.dsx-consent-button) { align-items: stretch; flex: 1 1 0; min-width: 0; }\n[data-dsx-owner~=\"Accept\"] .dsx-consent-button > *, [data-dsx-owner~=\"Accept\"]:is(.dsx-consent-button > *) { width: 100%; }\n\n@property --dsx-consent-radius { syntax: \"<length>\"; inherits: true; initial-value: 16px; }\n@property --dsx-consent-gap { syntax: \"<length>\"; inherits: true; initial-value: 14px; }\n@property --dsx-consent-pad { syntax: \"<length>\"; inherits: true; initial-value: 16px; }\n@property --dsx-consent-button-gap { syntax: \"<length>\"; inherits: true; initial-value: 10px; }\n@property --dsx-consent-max-width { syntax: \"<length>\"; inherits: true; initial-value: 720px; }\n[data-dsx-owner~=\"Banner\"] .dsx-consent-overlay, [data-dsx-owner~=\"Banner\"]:is(.dsx-consent-overlay) { width: 100%; height: 100%; min-width: 0; min-height: 0; align-items: center; }\n[data-dsx-owner~=\"Banner\"] .dsx-consent-bar, [data-dsx-owner~=\"Banner\"]:is(.dsx-consent-bar) { --dsx-button-control-min-height: 44px; --dsx-focus-ring-width: 0px; box-sizing: border-box; width: min(100% - 32px, var(--dsx-consent-max-width)); margin-block-end: calc(16px + max(env(safe-area-inset-bottom, 0px), var(--dsx-consent-lift, 0px))); gap: var(--dsx-consent-gap); padding: var(--dsx-consent-pad); border-radius: calc(var(--dsx-consent-radius) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); background: var(--dsx-consent-surface, var(--dsx-surface-raised, var(--dsx-secondary-grouped-background, var(--dsx-background, Canvas)))); border: 0.5px solid var(--dsx-separator, rgba(127, 127, 127, 0.28)); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14); align-items: stretch; }\n[data-dsx-owner~=\"Banner\"] .dsx-consent-button .dsx-button:focus-visible, [data-dsx-owner~=\"Banner\"]:is(.dsx-consent-button .dsx-button:focus-visible) { --dsx-focus-ring-outline: none; --dsx-button-shadow: none; outline: none; box-shadow: none; }\n[data-dsx-owner~=\"Banner\"] .dsx-consent-actions, [data-dsx-owner~=\"Banner\"]:is(.dsx-consent-actions) { gap: var(--dsx-consent-button-gap); align-items: stretch; }\n[data-dsx-owner~=\"Banner\"] .dsx-consent-actions > .dsx-consent-button, [data-dsx-owner~=\"Banner\"]:is(.dsx-consent-actions > .dsx-consent-button) { flex: 1 1 0; min-width: 0; }\n@media (max-width: 399px) {\n[data-dsx-owner~=\"Banner\"] .dsx-consent-button .dsx-button, [data-dsx-owner~=\"Banner\"]:is(.dsx-consent-button .dsx-button) { white-space: nowrap; padding-inline: 10px; }\n}\n@media (max-width: 359px) {\n[data-dsx-owner~=\"Banner\"] .dsx-consent-actions, [data-dsx-owner~=\"Banner\"]:is(.dsx-consent-actions) { flex-direction: column; }\n[data-dsx-owner~=\"Banner\"] .dsx-consent-actions > .dsx-consent-button, [data-dsx-owner~=\"Banner\"]:is(.dsx-consent-actions > .dsx-consent-button) { flex: 0 0 auto; width: 100%; }\n}\n@media (max-height: 699px) {\n[data-dsx-owner~=\"Banner\"] .dsx-consent-bar, [data-dsx-owner~=\"Banner\"]:is(.dsx-consent-bar) { padding: 12px; gap: 8px; margin-block-end: calc(8px + max(env(safe-area-inset-bottom, 0px), var(--dsx-consent-lift, 0px))); }\n[data-dsx-owner~=\"Banner\"] .dsx-consent-actions, [data-dsx-owner~=\"Banner\"]:is(.dsx-consent-actions) { flex-direction: row; gap: 8px; }\n[data-dsx-owner~=\"Banner\"] .dsx-consent-actions > .dsx-consent-button, [data-dsx-owner~=\"Banner\"]:is(.dsx-consent-actions > .dsx-consent-button) { flex: 1 1 0; min-width: 0; width: auto; }\n[data-dsx-owner~=\"Banner\"] .dsx-consent-button .dsx-button, [data-dsx-owner~=\"Banner\"]:is(.dsx-consent-button .dsx-button) { min-height: 44px; white-space: nowrap; padding-inline: 8px; }\n}\n@media (min-width: 640px) {\n[data-dsx-owner~=\"Banner\"] .dsx-consent-bar, [data-dsx-owner~=\"Banner\"]:is(.dsx-consent-bar) { flex-direction: row; align-items: center; }\n[data-dsx-owner~=\"Banner\"] .dsx-consent-bar > .dsx-consent-message, [data-dsx-owner~=\"Banner\"]:is(.dsx-consent-bar > .dsx-consent-message) { flex: 1 1 auto; }\n[data-dsx-owner~=\"Banner\"] .dsx-consent-actions, [data-dsx-owner~=\"Banner\"]:is(.dsx-consent-actions) { flex: 0 0 auto; }\n[data-dsx-owner~=\"Banner\"] .dsx-consent-actions > .dsx-consent-button, [data-dsx-owner~=\"Banner\"]:is(.dsx-consent-actions > .dsx-consent-button) { flex: 0 0 8.5rem; width: 8.5rem; }\n}\n\n[data-dsx-owner~=\"Choose\"] .dsx-consent-button, [data-dsx-owner~=\"Choose\"]:is(.dsx-consent-button) { align-items: stretch; flex: 1 1 0; min-width: 0; }\n[data-dsx-owner~=\"Choose\"] .dsx-consent-button > *, [data-dsx-owner~=\"Choose\"]:is(.dsx-consent-button > *) { width: 100%; }\n\n[data-dsx-owner~=\"Decline\"] .dsx-consent-button, [data-dsx-owner~=\"Decline\"]:is(.dsx-consent-button) { align-items: stretch; flex: 1 1 0; min-width: 0; }\n[data-dsx-owner~=\"Decline\"] .dsx-consent-button > *, [data-dsx-owner~=\"Decline\"]:is(.dsx-consent-button > *) { width: 100%; }\n\n@property --dsx-consent-text-gap { syntax: \"<length>\"; inherits: true; initial-value: 4px; }\n[data-dsx-owner~=\"Message\"] .dsx-consent-message, [data-dsx-owner~=\"Message\"]:is(.dsx-consent-message) { gap: var(--dsx-consent-text-gap); align-items: stretch; min-width: 0; }\n[data-dsx-owner~=\"Message\"] .dsx-consent-message-title, [data-dsx-owner~=\"Message\"]:is(.dsx-consent-message-title) { font-size: 1.0625rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; }\n\n[data-dsx-owner~=\"Preferences\"] .dsx-consent-sheet-body, [data-dsx-owner~=\"Preferences\"]:is(.dsx-consent-sheet-body) { align-items: stretch; padding-block-end: 1rem; }\n[data-dsx-owner~=\"Preferences\"] .dsx-consent-sheet-actions, [data-dsx-owner~=\"Preferences\"]:is(.dsx-consent-sheet-actions) { gap: 10px; padding: 0.5rem 1.25rem 0; align-items: stretch; }\n[data-dsx-owner~=\"Preferences\"] .dsx-consent-sheet-actions > *, [data-dsx-owner~=\"Preferences\"]:is(.dsx-consent-sheet-actions > *) { flex: 0 0 auto; }\n[data-dsx-owner~=\"Preferences\"] .dsx-consent-sheet-row, [data-dsx-owner~=\"Preferences\"]:is(.dsx-consent-sheet-row) { gap: 10px; }\n[data-dsx-owner~=\"Preferences\"] .dsx-consent-sheet-row > *, [data-dsx-owner~=\"Preferences\"]:is(.dsx-consent-sheet-row > *) { flex: 1 1 0; min-width: 0; }\n\n[data-dsx-owner~=\"Actions\"] .dsx-actions-button, [data-dsx-owner~=\"Actions\"]:is(.dsx-actions-button) { --dsx-appearance: none; width: 36px; height: 36px; color: var(--dsx-actions-ink, var(--dsx-secondary-label)); transition: color 160ms ease-out; }\n\n[data-dsx-owner~=\"Answer\"] .dsx-answer-next, [data-dsx-owner~=\"Answer\"]:is(.dsx-answer-next) { opacity: 1; transform: translateY(0px); transition: opacity 220ms ease-out, transform 220ms ease-out; }\n@starting-style {\n[data-dsx-settled] [data-dsx-owner~=\"Answer\"] .dsx-answer-next, [data-dsx-settled] [data-dsx-owner~=\"Answer\"]:is(.dsx-answer-next) { opacity: 0; transform: translateY(4px); }\n}\n\n@property --dsx-app-preview-body { syntax: \"<color>\"; inherits: true; initial-value: #1C1C1E; }\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview) { flex: 0 0 auto; align-self: stretch; align-items: center; gap: 16px; min-width: 0; }\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-bar, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-bar) { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; max-width: 100%; }\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-device, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-device) { flex: 0 0 auto; box-sizing: border-box; width: calc((var(--dsx-app-preview-w) + 2 * var(--dsx-app-preview-bezel)) * var(--dsx-app-preview-scale)); height: calc((var(--dsx-app-preview-h) + 2 * var(--dsx-app-preview-bezel)) * var(--dsx-app-preview-scale)); padding: calc(var(--dsx-app-preview-bezel) * var(--dsx-app-preview-scale)); border-radius: calc(calc((var(--dsx-app-preview-radius) + var(--dsx-app-preview-bezel)) * var(--dsx-app-preview-scale)) * var(--dsx-corner-fallback, 1)); corner-shape: superellipse(1.38); --dsx-corner-shape-k: 1.38 1.38 1.38 1.38; --dsx-corner-fallback: calc(1 - var(--dsx-corner-unsupported) * .2017); background: var(--dsx-app-preview-body); box-shadow: 0 0 0 var(--dsx-hairline, 1px) var(--dsx-separator); }\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-screen, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-screen) { position: relative; overflow: hidden; width: calc(var(--dsx-app-preview-w) * var(--dsx-app-preview-scale)); height: calc(var(--dsx-app-preview-h) * var(--dsx-app-preview-scale)); border-radius: calc(calc(var(--dsx-app-preview-radius) * var(--dsx-app-preview-scale)) * var(--dsx-corner-fallback, 1)); corner-shape: superellipse(1.38); --dsx-corner-shape-k: 1.38 1.38 1.38 1.38; --dsx-corner-fallback: calc(1 - var(--dsx-corner-unsupported) * .2017); background: var(--dsx-background); color: var(--dsx-label); }\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-stage, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-stage) { position: absolute; top: 0; inset-inline-start: 0; width: var(--dsx-app-preview-w); height: var(--dsx-app-preview-h); transform: scale(var(--dsx-app-preview-scale)); transform-origin: 0 0; }\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-stage:dir(rtl), [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-stage:dir(rtl)) { transform-origin: 100% 0; }\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-home, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-home), [data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-launch, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-launch), [data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-app, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-app) { position: absolute; inset: 0; }\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-app > *, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-app > *) { flex: 1 1 auto; align-self: stretch; min-height: 0; width: 100%; height: 100%; }\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-home, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-home) { background: var(--dsx-app-preview-wallpaper, var(--dsx-grouped-background)); padding: 76px 26px 0; }\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-tablet .dsx-app-preview-home, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-tablet .dsx-app-preview-home) { padding: 88px 72px 0; }\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-grid, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-grid) { display: grid; row-gap: 26px; column-gap: 22px; align-content: start; }\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-tablet .dsx-app-preview-grid, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-tablet .dsx-app-preview-grid) { row-gap: 44px; column-gap: 48px; }\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-cell, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-cell) { align-items: center; gap: 6px; min-width: 0; }\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-tile, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-tile) { --dsx-icon-tile-size: 64px; }\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-tablet .dsx-app-preview-tile, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-tablet .dsx-app-preview-tile) { --dsx-icon-tile-size: 74px; }\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-neighbour, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-neighbour) { width: 64px; height: 64px; border-radius: calc(calc(64px * 0.277) * var(--dsx-corner-fallback, 1)); corner-shape: superellipse(1.38); --dsx-corner-shape-k: 1.38 1.38 1.38 1.38; --dsx-corner-fallback: calc(1 - var(--dsx-corner-unsupported) * .2017); background: var(--dsx-fill); }\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-tablet .dsx-app-preview-neighbour, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-tablet .dsx-app-preview-neighbour) { width: 74px; height: 74px; border-radius: calc(74px * 0.277); }\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-label, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-label) { max-width: 100%; font-size: 12px; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 14px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); text-align: center; }\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-launch, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-launch) { align-items: center; justify-content: center; }\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview-launch-icon, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview-launch-icon) { --dsx-icon-tile-size: 112px; }\n@media (forced-colors: active) {\n[data-dsx-owner~=\"AppPreview\"] .dsx-app-preview, [data-dsx-owner~=\"AppPreview\"]:is(.dsx-app-preview) { border: 1px solid CanvasText; }\n}\n\n[data-dsx-owner~=\"AuthPage\"] .dsx-auth-page, [data-dsx-owner~=\"AuthPage\"]:is(.dsx-auth-page) { align-self: stretch; flex-grow: 1; min-height: 0; min-width: 0; }\n[data-dsx-owner~=\"AuthPage\"] .dsx-auth-page-column, [data-dsx-owner~=\"AuthPage\"]:is(.dsx-auth-page-column) { --dsx-auth-page-inset: 16px; width: 100%; max-width: var(--dsx-auth-page-width, 35rem); align-self: center; align-items: stretch; min-width: 0; gap: 1.25rem; padding-block: 1.75rem 2rem; }\n@media (min-width: 48rem) {\n[data-dsx-owner~=\"AuthPage\"] .dsx-auth-page-column, [data-dsx-owner~=\"AuthPage\"]:is(.dsx-auth-page-column) { --dsx-auth-page-inset: 20px; padding-block-start: clamp(2rem, 10vh, 6rem); }\n}\n[data-dsx-owner~=\"AuthPage\"] .dsx-auth-page-brand, [data-dsx-owner~=\"AuthPage\"]:is(.dsx-auth-page-brand) { display: grid; align-self: flex-start; padding: 1.25rem 16px 0; }\n@media (min-width: 48rem) {\n[data-dsx-owner~=\"AuthPage\"] .dsx-auth-page-brand, [data-dsx-owner~=\"AuthPage\"]:is(.dsx-auth-page-brand) { padding: 1.5rem 1.75rem 0; }\n}\n[data-dsx-owner~=\"AuthPage\"] .dsx-auth-page-logo, [data-dsx-owner~=\"AuthPage\"]:is(.dsx-auth-page-logo) { grid-area: 1 / 1; height: var(--dsx-auth-page-logo-height, 24px); width: var(--dsx-auth-page-logo-width, calc(var(--dsx-auth-page-logo-height, 24px) * 720 / 158.32)); }\n[data-dsx-owner~=\"AuthPage\"] .dsx-auth-page-logo-dark, [data-dsx-owner~=\"AuthPage\"]:is(.dsx-auth-page-logo-dark) { display: none; }\n@media (prefers-color-scheme: dark) {\n:root:not([data-dsx-theme=\"light\"]) .dsx-auth-page-twin > .dsx-auth-page-logo-light { display: none; }\n:root:not([data-dsx-theme=\"light\"]) .dsx-auth-page-twin > .dsx-auth-page-logo-dark { display: flex; }\n}\n:root[data-dsx-theme=\"dark\"] .dsx-auth-page-twin > .dsx-auth-page-logo-light { display: none; }\n:root[data-dsx-theme=\"dark\"] .dsx-auth-page-twin > .dsx-auth-page-logo-dark { display: flex; }\n[data-dsx-owner~=\"AuthPage\"] .dsx-auth-page-heading, [data-dsx-owner~=\"AuthPage\"]:is(.dsx-auth-page-heading) { gap: 0.25rem; align-items: flex-start; min-width: 0; padding-inline: var(--dsx-auth-page-inset); }\n[data-dsx-owner~=\"AuthPage\"] .dsx-auth-page-title, [data-dsx-owner~=\"AuthPage\"]:is(.dsx-auth-page-title) { font-size: var(--dsx-route-large-title-size, var(--dsx-type-title1-size-fluid)); font-weight: var(--dsx-route-title-weight, var(--dsx-type-headline-weight)); --dsx-lh-n: var(--dsx-type-title2-leading); --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); letter-spacing: var(--dsx-type-display-tracking); color: var(--dsx-label); }\n[data-dsx-owner~=\"AuthPage\"] .dsx-auth-page-subtitle, [data-dsx-owner~=\"AuthPage\"]:is(.dsx-auth-page-subtitle) { font-size: var(--dsx-type-body-size); --dsx-lh-n: var(--dsx-type-body-leading); --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"AuthPage\"] .dsx-auth-page-body, [data-dsx-owner~=\"AuthPage\"]:is(.dsx-auth-page-body) { align-items: stretch; align-self: stretch; min-width: 0; gap: 0; }\n[data-dsx-owner~=\"AuthPage\"] .dsx-auth-page-body > :not(.dsx-list-group, .dsx-step-pages, .dsx-spinner), [data-dsx-owner~=\"AuthPage\"]:is(.dsx-auth-page-body > :not(.dsx-list-group, .dsx-step-pages, .dsx-spinner)), [data-dsx-owner~=\"AuthPage\"] .dsx-auth-page-body .dsx-step-page > :not(.dsx-list-group), [data-dsx-owner~=\"AuthPage\"]:is(.dsx-auth-page-body .dsx-step-page > :not(.dsx-list-group)) { margin-inline: var(--dsx-auth-page-inset); }\n[data-dsx-owner~=\"AuthPage\"] .dsx-auth-page-body .dsx-step-page, [data-dsx-owner~=\"AuthPage\"]:is(.dsx-auth-page-body .dsx-step-page) { gap: 0; align-items: stretch; padding-block: 0.375rem; }\n[data-dsx-owner~=\"AuthPage\"] .dsx-auth-page-body .dsx-step-pages, [data-dsx-owner~=\"AuthPage\"]:is(.dsx-auth-page-body .dsx-step-pages) { margin-block: -0.375rem; }\n[data-dsx-owner~=\"AuthPage\"] .dsx-auth-page-fine, [data-dsx-owner~=\"AuthPage\"]:is(.dsx-auth-page-fine) { gap: 0.125rem; align-items: center; padding-inline: var(--dsx-auth-page-inset); }\n[data-dsx-owner~=\"AuthPage\"] .dsx-auth-page-fine-text, [data-dsx-owner~=\"AuthPage\"]:is(.dsx-auth-page-fine-text) { font-size: var(--dsx-type-footnote-size); --dsx-lh-n: var(--dsx-type-footnote-leading); --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); text-align: center; color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"AuthPage\"] .dsx-auth-page-fine-links, [data-dsx-owner~=\"AuthPage\"]:is(.dsx-auth-page-fine-links) { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0 0.75rem; }\n[data-dsx-owner~=\"AuthPage\"] .dsx-auth-page-fine-link, [data-dsx-owner~=\"AuthPage\"]:is(.dsx-auth-page-fine-link) { font-size: var(--dsx-type-footnote-size); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-accent); }\n\n[data-dsx-owner~=\"Avatar\"] .dsx-avatar > .dsx-image:not([data-dsx-pending]) + .dsx-avatar-initials, [data-dsx-owner~=\"Avatar\"]:is(.dsx-avatar > .dsx-image:not([data-dsx-pending]) + .dsx-avatar-initials) { visibility: hidden; }\n\n[data-dsx-owner~=\"Badge\"] .dsx-badge, [data-dsx-owner~=\"Badge\"]:is(.dsx-badge) { min-width: 1.2rem; min-height: 1.2rem; padding-inline: 0.3rem; border-radius: calc(var(--dsx-radius-full) * var(--dsx-corner-fallback, 1)); color: inherit; font-family: inherit; --dsx-face-normal: inherit; font-size: inherit; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"Badge\"] .dsx-badge-dot, [data-dsx-owner~=\"Badge\"]:is(.dsx-badge-dot) { width: 0.6rem; height: 0.6rem; border-radius: calc(var(--dsx-radius-full) * var(--dsx-corner-fallback, 1)); }\n\n[data-dsx-owner~=\"Breadcrumbs\"] .dsx-breadcrumbs, [data-dsx-owner~=\"Breadcrumbs\"]:is(.dsx-breadcrumbs) { flex-direction: row; align-items: center; min-width: 0; max-width: 100%; }\n[data-dsx-owner~=\"Breadcrumbs\"] .dsx-breadcrumbs-list, [data-dsx-owner~=\"Breadcrumbs\"]:is(.dsx-breadcrumbs-list) { flex-direction: row; flex-wrap: wrap; max-width: 100%; align-items: center; gap: 0.125rem; min-width: 0; font-size: var(--dsx-type-callout-size, 0.9375rem); --dsx-lh-n: 1.25; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"Breadcrumbs\"] .dsx-breadcrumbs-item, [data-dsx-owner~=\"Breadcrumbs\"]:is(.dsx-breadcrumbs-item) { max-width: 100%; flex-direction: row; align-items: center; gap: 0.125rem; min-width: 0; }\n[data-dsx-owner~=\"Breadcrumbs\"] .dsx-breadcrumbs-separator, [data-dsx-owner~=\"Breadcrumbs\"]:is(.dsx-breadcrumbs-separator) { width: 0.875rem; height: 0.875rem; flex-shrink: 0; font-size: 0.75rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label, var(--dsx-secondary-label)); }\n[data-dsx-owner~=\"Breadcrumbs\"] .dsx-breadcrumbs-link, [data-dsx-owner~=\"Breadcrumbs\"]:is(.dsx-breadcrumbs-link), [data-dsx-owner~=\"Breadcrumbs\"] .dsx-breadcrumbs-current, [data-dsx-owner~=\"Breadcrumbs\"]:is(.dsx-breadcrumbs-current), [data-dsx-owner~=\"Breadcrumbs\"] .dsx-breadcrumbs-more, [data-dsx-owner~=\"Breadcrumbs\"]:is(.dsx-breadcrumbs-more) { flex-direction: row; align-items: center; gap: 0.25rem; min-width: 0; max-width: 14rem; padding: 0.25rem 0.375rem; border-radius: calc(var(--dsx-radius-control, 0.5rem) * var(--dsx-corner-fallback, 1)); background: transparent; }\n[data-dsx-owner~=\"Breadcrumbs\"] .dsx-breadcrumbs-link, [data-dsx-owner~=\"Breadcrumbs\"]:is(.dsx-breadcrumbs-link), [data-dsx-owner~=\"Breadcrumbs\"] .dsx-breadcrumbs-more, [data-dsx-owner~=\"Breadcrumbs\"]:is(.dsx-breadcrumbs-more) { color: var(--dsx-secondary-label); transition: background-color var(--dsx-dur-fast, 120ms) ease, color var(--dsx-dur-fast, 120ms) ease; }\n[data-dsx-owner~=\"Breadcrumbs\"] .dsx-breadcrumbs-current, [data-dsx-owner~=\"Breadcrumbs\"]:is(.dsx-breadcrumbs-current) { color: var(--dsx-label); font-weight: var(--dsx-type-label-weight, 600); }\n[data-dsx-owner~=\"Breadcrumbs\"] .dsx-breadcrumbs-title, [data-dsx-owner~=\"Breadcrumbs\"]:is(.dsx-breadcrumbs-title) { min-width: 0; white-space: normal; overflow-wrap: anywhere; font-size: inherit; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: inherit; color: inherit; }\n[data-dsx-owner~=\"Breadcrumbs\"] .dsx-breadcrumbs-icon, [data-dsx-owner~=\"Breadcrumbs\"]:is(.dsx-breadcrumbs-icon) { font-size: 0.875rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: inherit; }\n[data-dsx-owner~=\"Breadcrumbs\"] .dsx-breadcrumbs-more, [data-dsx-owner~=\"Breadcrumbs\"]:is(.dsx-breadcrumbs-more) { min-width: 1.75rem; --dsx-button-icon-size: 15px; }\n[data-dsx-owner~=\"Breadcrumbs\"] .dsx-breadcrumbs-link:active, [data-dsx-owner~=\"Breadcrumbs\"]:is(.dsx-breadcrumbs-link:active), [data-dsx-owner~=\"Breadcrumbs\"] .dsx-breadcrumbs-more:active, [data-dsx-owner~=\"Breadcrumbs\"]:is(.dsx-breadcrumbs-more:active) { background-color: var(--dsx-state-layer-pressed); }\n[data-dsx-owner~=\"Breadcrumbs\"] .dsx-breadcrumbs-link:focus-visible, [data-dsx-owner~=\"Breadcrumbs\"]:is(.dsx-breadcrumbs-link:focus-visible), [data-dsx-owner~=\"Breadcrumbs\"] .dsx-breadcrumbs-more:focus-visible, [data-dsx-owner~=\"Breadcrumbs\"]:is(.dsx-breadcrumbs-more:focus-visible) { outline: none; background-color: var(--dsx-focus-row, transparent); }\nhtml[dir=\"rtl\"] .dsx-breadcrumbs-separator { transform: scaleX(-1); }\n\n[data-dsx-owner~=\"Callout\"] .dsx-callout, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout) { position: relative; flex-direction: row; flex-shrink: 0; gap: 10px; padding: 14px 16px; border: var(--dsx-hairline, 1px) solid var(--dsx-callout-rim, color-mix(in srgb, var(--dsx-callout-tone) 22%, transparent)); border-radius: calc(var(--dsx-callout-border-radius, var(--dsx-surface-corner, 26px)) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); background: var(--dsx-callout-background, color-mix(in srgb, var(--dsx-callout-tone) var(--dsx-callout-wash, 8%), var(--dsx-list-cell, var(--dsx-secondary-grouped-background)))); align-self: stretch; align-items: flex-start; --dsx-callout-tone: var(--dsx-callout-info, var(--dsx-info-fill, var(--dsx-tone-info-ink))); --dsx-callout-link: var(--dsx-callout-info-ink, var(--dsx-tone-info-ink, var(--dsx-callout-tone))); --dsx-callout-type: 0.9375rem; --dsx-callout-symbol: 17px; color: var(--dsx-callout-ink, var(--dsx-label)); }\n@media (prefers-color-scheme: dark) {\n[data-dsx-owner~=\"Callout\"] .dsx-callout, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout) { --dsx-callout-wash: 14%; }\n}\n@media (min-width: 48rem) {\n[data-dsx-owner~=\"Callout\"] .dsx-callout, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout) { gap: 12px; padding: 16px 20px; --dsx-callout-type: 0.875rem; --dsx-callout-symbol: 16px; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-close, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-close) { top: 14px; inset-inline-end: 14px; }\n}\n[data-dsx-owner~=\"Callout\"] .dsx-callout-dismissed, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-dismissed) { display: none; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-is-none, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-is-none) { --dsx-callout-tone: var(--dsx-secondary-label); --dsx-callout-link: var(--dsx-label); }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-is-success, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-is-success) { --dsx-callout-tone: var(--dsx-success-fill, var(--dsx-tone-success-ink)); --dsx-callout-link: var(--dsx-tone-success-ink, var(--dsx-callout-tone)); }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-is-warning, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-is-warning) { --dsx-callout-tone: var(--dsx-warning-fill, var(--dsx-tone-warning-ink)); --dsx-callout-link: var(--dsx-tone-warning-ink, var(--dsx-callout-tone)); }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-is-error, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-is-error) { --dsx-callout-tone: var(--dsx-danger-fill, var(--dsx-tone-danger-ink)); --dsx-callout-link: var(--dsx-tone-danger-ink, var(--dsx-callout-tone)); }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-row, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-row) { flex-direction: row; flex-grow: 1; flex-shrink: 1; gap: inherit; align-items: flex-start; min-width: 0; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-accent-bar, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-accent-bar) { display: var(--dsx-callout-accent-display, none); width: var(--dsx-callout-accent-width, 4px); border-radius: calc(var(--dsx-callout-accent-width, 4px) / 2); background: var(--dsx-callout-tone); align-self: stretch; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-icon, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-icon) { flex-shrink: 0; width: var(--dsx-callout-symbol); height: 20px; margin-top: 0; margin-inline: var(--dsx-callout-icon-margin, 0px); align-items: center; justify-content: center; font-size: var(--dsx-callout-symbol); font-weight: 500; --dsx-lh-n: 1; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-callout-tone); }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-body, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-body) { gap: 2px; padding-inline-start: var(--dsx-callout-text-inset, 0px); padding-inline-end: var(--dsx-callout-body-end, 0px); flex-grow: 1; flex-shrink: 1; min-width: 0; max-width: var(--dsx-callout-measure, 65ch); align-items: start; justify-items: start; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-body-blocks, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-body-blocks) { align-items: stretch; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-title, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-title) { font-size: var(--dsx-callout-type); --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 20px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-callout-title-ink, inherit); }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-dismissible, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-dismissible) { --dsx-callout-body-end: 20px; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-message, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-message) { font-size: var(--dsx-callout-type); --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 20px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 400; color: var(--dsx-callout-message-ink, inherit); }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-body:not(:has(> .dsx-callout-message)) > .dsx-callout-title, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-body:not(:has(> .dsx-callout-message)) > .dsx-callout-title) { font-weight: 400; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-titled, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-titled) { --dsx-callout-message-ink: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-action, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-action) { align-self: flex-start; margin-top: 8px; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-link > svg[data-dsx-part=\"icon\"], [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-link > svg[data-dsx-part=\"icon\"]) { order: 1; }\n[data-dsx-owner~=\"Callout\"] :is(a, .dsx-text a, .dsx-markdown a, [role=\"link\"]), [data-dsx-owner~=\"Callout\"]:is(:is(a, .dsx-text a, .dsx-markdown a, [role=\"link\"])) { color: var(--dsx-callout-link); text-decoration-line: none; text-decoration-color: var(--dsx-callout-link); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }\n[data-dsx-owner~=\"Callout\"] :is(a, .dsx-text a, .dsx-markdown a, [role=\"link\"]):active, [data-dsx-owner~=\"Callout\"]:is(:is(a, .dsx-text a, .dsx-markdown a, [role=\"link\"]):active) { color: var(--dsx-callout-link); opacity: 0.8; }\n[data-dsx-owner~=\"Callout\"] :is(a, .dsx-markdown a, [role=\"link\"]):focus-visible, [data-dsx-owner~=\"Callout\"]:is(:is(a, .dsx-markdown a, [role=\"link\"]):focus-visible) { outline: none; }\nhtml[data-dsx-modality=\"keyboard\"] :is(a, .dsx-markdown a, [role=\"link\"]):focus-visible { text-decoration-line: underline; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-close, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-close) { position: absolute; top: 12px; inset-inline-end: 12px; width: 24px; height: 24px; min-width: 24px; min-height: 24px; padding: 0px; border-radius: calc(var(--dsx-surface-inner-radius, 14px) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); background: transparent; color: var(--dsx-list-secondary-label, var(--dsx-secondary-label)); font-size: 12px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 700; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-article, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-article) { align-self: stretch; padding: 16px 20px 32px; max-width: var(--dsx-callout-article-measure, 70ch); margin-inline: auto; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-compact, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-compact) { padding: 10px 12px; gap: 10px; align-items: center; --dsx-callout-type: 0.8125rem; --dsx-callout-symbol: 16px; --dsx-callout-wash: 7%; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-compact .dsx-callout-icon, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-compact .dsx-callout-icon) { margin-top: 0; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-compact .dsx-callout-body, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-compact .dsx-callout-body) { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 0; max-width: none; padding-inline-end: 0; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-compact .dsx-callout-title, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-compact .dsx-callout-title) { order: 1; font-size: 0.9375rem; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 20px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-compact .dsx-callout-message, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-compact .dsx-callout-message) { order: 3; flex: 1 1 100%; min-width: 0; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 18px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-compact .dsx-callout-action, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-compact .dsx-callout-action) { order: 2; margin-top: 0; margin-inline-start: auto; white-space: nowrap; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 20px; font-size: 0.875rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n@media (min-width: 48rem) {\n[data-dsx-owner~=\"Callout\"] .dsx-callout-compact, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-compact) { padding: 10px 14px; }\n}\n[data-dsx-owner~=\"Callout\"] .dsx-callout-close, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-close) { top: 2px; inset-inline-end: 2px; width: 44px; height: 44px; min-width: 44px; min-height: 44px; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-dismissible.dsx-callout-compact .dsx-callout-body, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-dismissible.dsx-callout-compact .dsx-callout-body) { padding-inline-end: 34px; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-compact .dsx-callout-close, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-compact .dsx-callout-close) { top: 50%; translate: 0 -50%; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout:not(.dsx-callout-compact), [data-dsx-owner~=\"Callout\"]:is(.dsx-callout:not(.dsx-callout-compact)) { container-type: inline-size; container-name: dsx-callout; }\n@container dsx-callout (min-width: 34rem) {\n[data-dsx-owner~=\"Callout\"] .dsx-callout-dismissible:not(.dsx-callout-compact) .dsx-callout-close, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-dismissible:not(.dsx-callout-compact) .dsx-callout-close) { top: 50%; translate: 0 -50%; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-dismissible:not(.dsx-callout-compact) .dsx-callout-body, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-dismissible:not(.dsx-callout-compact) .dsx-callout-body) { padding-inline-end: 32px; }\n}\n[data-dsx-owner~=\"Callout\"] .dsx-callout-group > .dsx-callout, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-group > .dsx-callout) { margin: 0px; --dsx-callout-border-radius: 0; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-group > .dsx-callout:not([data-dsx-stack-last][data-dsx-stack-last]), [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-group > .dsx-callout:not([data-dsx-stack-last][data-dsx-stack-last])) { border-bottom-width: 0px; }\n[data-dsx-owner~=\"Callout\"] .dsx-callout-group > .dsx-callout:not([hidden], [style*=\"display: none\"], [style*=\"display:none\"], .dsx-callout-dismissed) ~ .dsx-callout, [data-dsx-owner~=\"Callout\"]:is(.dsx-callout-group > .dsx-callout:not([hidden], [style*=\"display: none\"], [style*=\"display:none\"], .dsx-callout-dismissed) ~ .dsx-callout) { border-top-color: var(--dsx-callout-group-separator, var(--dsx-separator)); }\n\n[data-dsx-owner~=\"Card\"] .dsx-card, [data-dsx-owner~=\"Card\"]:is(.dsx-card) { box-shadow: none; corner-shape: var(--dsx-card-corner-shape, var(--dsx-surface-corner-shape, superellipse(1.6))); --dsx-corner-shape-k: var(--dsx-card-corner-shape, var(--dsx-surface-corner-shape, superellipse(1.6))); --dsx-corner-fallback: var(--dsx-card-corner-shape-fallback, var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021))); }\n[data-dsx-owner~=\"Card\"] .dsx-card:has(> .dsx-list-bleed:only-child), [data-dsx-owner~=\"Card\"]:is(.dsx-card:has(> .dsx-list-bleed:only-child)) { --dsx-card-padding: 0px; --dsx-platter-nested-radius: 0px; --dsx-platter-nested-fill: transparent; --dsx-platter-nested-pad: 0px; --dsx-platter-nested-inset: 16px; --dsx-platter-nested-inset-end: 16px; overflow: hidden; }\n[data-dsx-owner~=\"Card\"] .dsx-card-cut, [data-dsx-owner~=\"Card\"]:is(.dsx-card-cut) { box-shadow: inset 0 1px 2px color-mix(in srgb, var(--dsx-label) 8%, transparent),\n    inset 0 0 0 var(--dsx-hairline, 1px) var(--dsx-outline-soft, var(--dsx-separator)); }\n@media (forced-colors: active) {\n[data-dsx-owner~=\"Card\"] .dsx-card, [data-dsx-owner~=\"Card\"]:is(.dsx-card) { border: 1px solid CanvasText; }\n}\n[data-dsx-owner~=\"Card\"] .dsx-card-title, [data-dsx-owner~=\"Card\"]:is(.dsx-card-title) { font-size: 1.0625rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: inherit; }\n[data-dsx-owner~=\"Card\"] .dsx-card-link, [data-dsx-owner~=\"Card\"]:is(.dsx-card-link) { flex-direction: row; gap: 0.375rem; align-self: stretch; align-items: center; }\n[data-dsx-owner~=\"Card\"] .dsx-card-link-title, [data-dsx-owner~=\"Card\"]:is(.dsx-card-link-title) { flex-grow: 1; flex-shrink: 1; min-width: 0; }\n[data-dsx-owner~=\"Card\"] .dsx-card-link-chevron, [data-dsx-owner~=\"Card\"]:is(.dsx-card-link-chevron) { flex-shrink: 0; color: var(--dsx-tertiary-label); }\n\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock), [data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-sheet, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-sheet) { --dsx-codeblock-surface: #f7f7f7; --dsx-codeblock-edge: rgba(0, 0, 0, 0.09); --dsx-codeblock-ink: #1f1f1f; --dsx-codeblock-muted: #696969; --dsx-codeblock-keyword: #4d4d4d; --dsx-codeblock-string: #2a6b52; --dsx-codeblock-comment: #696969; --dsx-codeblock-number: var(--dsx-codeblock-string); --dsx-codeblock-literal: var(--dsx-codeblock-keyword); --dsx-codeblock-call: var(--dsx-codeblock-ink); --dsx-codeblock-type: var(--dsx-codeblock-ink); --dsx-codeblock-property: var(--dsx-codeblock-ink); --dsx-codeblock-tag: var(--dsx-codeblock-keyword); --dsx-codeblock-attribute: var(--dsx-codeblock-ink); --dsx-codeblock-regex: var(--dsx-codeblock-string); --dsx-codeblock-meta: var(--dsx-codeblock-muted); --dsx-codeblock-heading: var(--dsx-codeblock-ink); --dsx-codeblock-inserted: #1a6b34; --dsx-codeblock-deleted: #a3222a; --dsx-codeblock-operator: var(--dsx-codeblock-muted); --dsx-codeblock-punct: var(--dsx-codeblock-muted); --dsx-codeblock-inserted-tint: rgba(31, 136, 61, 0.10); --dsx-codeblock-deleted-tint: rgba(207, 34, 46, 0.09); --dsx-codeblock-wash: rgba(0, 0, 0, 0.045); --dsx-codeblock-meta-tint: var(--dsx-codeblock-wash); --dsx-codeblock-marked-tint: var(--dsx-codeblock-wash); --dsx-codeblock-error-tint: color-mix(in srgb, var(--dsx-destructive) 12%, transparent); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock) { position: relative; align-self: stretch; gap: 0rem; border-radius: calc(var(--dsx-codeblock-radius, var(--dsx-surface-radius, 36.5px)) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); overflow: hidden; background: var(--dsx-codeblock-background, var(--dsx-codeblock-surface)); box-shadow: inset 0 0 0 var(--dsx-hairline, 1px) var(--dsx-codeblock-border, var(--dsx-codeblock-edge)); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-list .dsx-codeblock, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-list .dsx-codeblock), [data-dsx-owner~=\"CodeBlock\"] .dsx-list-group .dsx-codeblock, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-list-group .dsx-codeblock) { border-radius: calc(var(--dsx-codeblock-radius, var(--dsx-surface-inner-radius, 14px)) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-list > .dsx-row > .dsx-codeblock:only-child, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-list > .dsx-row > .dsx-codeblock:only-child) { border-radius: calc(var(--dsx-codeblock-radius, var(--dsx-surface-radius, 36.5px)) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); }\n@media (prefers-color-scheme: dark) {\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock), [data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-sheet, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-sheet) { --dsx-codeblock-surface: #161616; --dsx-codeblock-edge: rgba(255, 255, 255, 0.10); --dsx-codeblock-ink: #e6e6e6; --dsx-codeblock-muted: #9a9a9a; --dsx-codeblock-keyword: #b8b8b8; --dsx-codeblock-string: #8fc4a9; --dsx-codeblock-comment: #8c8c8c; --dsx-codeblock-inserted: #8fd19e; --dsx-codeblock-deleted: #ffa8a3; --dsx-codeblock-inserted-tint: rgba(46, 160, 67, 0.16); --dsx-codeblock-deleted-tint: rgba(248, 81, 73, 0.15); --dsx-codeblock-wash: rgba(255, 255, 255, 0.06); }\n}\n[data-dsx-owner~=\"CodeBlock\"] [data-dsx-theme=\"light\"] .dsx-codeblock, [data-dsx-owner~=\"CodeBlock\"]:is([data-dsx-theme=\"light\"] .dsx-codeblock), [data-dsx-owner~=\"CodeBlock\"] [data-dsx-theme=\"light\"] .dsx-codeblock-sheet, [data-dsx-owner~=\"CodeBlock\"]:is([data-dsx-theme=\"light\"] .dsx-codeblock-sheet) { --dsx-codeblock-surface: #f7f7f7; --dsx-codeblock-edge: rgba(0, 0, 0, 0.09); --dsx-codeblock-ink: #1f1f1f; --dsx-codeblock-muted: #696969; --dsx-codeblock-keyword: #4d4d4d; --dsx-codeblock-string: #2a6b52; --dsx-codeblock-comment: #696969; --dsx-codeblock-inserted: #1a6b34; --dsx-codeblock-deleted: #a3222a; --dsx-codeblock-inserted-tint: rgba(31, 136, 61, 0.10); --dsx-codeblock-deleted-tint: rgba(207, 34, 46, 0.09); --dsx-codeblock-wash: rgba(0, 0, 0, 0.045); }\n[data-dsx-owner~=\"CodeBlock\"] [data-dsx-theme=\"dark\"] .dsx-codeblock, [data-dsx-owner~=\"CodeBlock\"]:is([data-dsx-theme=\"dark\"] .dsx-codeblock), [data-dsx-owner~=\"CodeBlock\"] [data-dsx-theme=\"dark\"] .dsx-codeblock-sheet, [data-dsx-owner~=\"CodeBlock\"]:is([data-dsx-theme=\"dark\"] .dsx-codeblock-sheet) { --dsx-codeblock-surface: #161616; --dsx-codeblock-edge: rgba(255, 255, 255, 0.10); --dsx-codeblock-ink: #e6e6e6; --dsx-codeblock-muted: #9a9a9a; --dsx-codeblock-keyword: #b8b8b8; --dsx-codeblock-string: #8fc4a9; --dsx-codeblock-comment: #8c8c8c; --dsx-codeblock-inserted: #8fd19e; --dsx-codeblock-deleted: #ffa8a3; --dsx-codeblock-inserted-tint: rgba(46, 160, 67, 0.16); --dsx-codeblock-deleted-tint: rgba(248, 81, 73, 0.15); --dsx-codeblock-wash: rgba(255, 255, 255, 0.06); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-bar, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-bar) { flex-direction: row; align-items: center; gap: 0.25rem; min-height: 2.75rem; padding: 0rem 0.5rem 0rem 1rem; border-bottom: var(--dsx-hairline, 1px) solid var(--dsx-codeblock-border, var(--dsx-codeblock-edge)); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-corner, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-corner) { position: absolute; z-index: 2; top: 0px; inset-inline-end: 0px; min-height: 0; padding: 0.5rem; gap: 0rem; border-bottom: none; border-end-start-radius: calc(var(--dsx-radius-control, 10px) * var(--dsx-corner-fallback, 1)); background: var(--dsx-codeblock-background, var(--dsx-codeblock-surface)); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-corner > .dsx-codeblock-action, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-corner > .dsx-codeblock-action) { min-width: 1.75rem; min-height: 1.75rem; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-label, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-label) { font-family: var(--dsx-font); --dsx-face-normal: var(--dsx-font--dsx-face-normal, 1.2); font-size: 0.75rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 500; color: var(--dsx-codeblock-bar-ink, var(--dsx-codeblock-muted)); flex-shrink: 1; min-width: 0; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-tabs, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-tabs) { flex-direction: row; align-items: stretch; align-self: stretch; gap: 1rem; flex-shrink: 1; min-width: 0; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-tab, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-tab) { font-family: var(--dsx-font); --dsx-face-normal: var(--dsx-font--dsx-face-normal, 1.2); justify-content: center; min-height: 2.25rem; padding: 0rem; border-radius: 0px; font-size: 0.75rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 500; color: var(--dsx-codeblock-bar-ink, var(--dsx-codeblock-muted)); background: transparent; box-shadow: none; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-tab-label, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-tab-label) { font-family: var(--dsx-font); --dsx-face-normal: var(--dsx-font--dsx-face-normal, 1.2); font-size: 0.75rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 500; color: inherit; white-space: nowrap; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-tab-on, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-tab-on) { color: var(--dsx-codeblock-ink); box-shadow: inset 0 -1.5px 0 var(--dsx-codeblock-ink); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-action, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-action) { flex-shrink: 0; gap: 0.25rem; min-width: 1.75rem; min-height: 1.75rem; padding: 0.25rem 0.375rem; justify-content: center; border-radius: calc(var(--dsx-radius-sm, 6px) * var(--dsx-corner-fallback, 1)); font-size: 0.75rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 500; --dsx-button-icon-size: 14px; color: var(--dsx-codeblock-bar-ink, var(--dsx-codeblock-muted)); background: transparent; transition: color 180ms ease-out, background-color 180ms ease-out; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-copy-states, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-copy-states) { display: grid; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-copy-state, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-copy-state) { grid-area: 1 / 1; flex-direction: row; align-items: center; justify-content: flex-end; gap: 0.25rem; transition: opacity var(--dsx-dur-fast, 120ms) var(--dsx-ease-out, ease-out), visibility 0s; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-copy-state > .dsx-image, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-copy-state > .dsx-image) { font-size: var(--dsx-button-icon-size, 14px); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); transition: transform var(--dsx-dur-fast, 120ms) var(--dsx-ease-out, ease-out); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-copy:not(.dsx-codeblock-copied) .dsx-codeblock-copy-done, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-copy:not(.dsx-codeblock-copied) .dsx-codeblock-copy-done), [data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-copied .dsx-codeblock-copy-rest, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-copied .dsx-codeblock-copy-rest) { opacity: 0; visibility: hidden; transition: opacity var(--dsx-dur-fast, 120ms) var(--dsx-ease-out, ease-out), visibility 0s var(--dsx-dur-fast, 120ms); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-copy:not(.dsx-codeblock-copied) .dsx-codeblock-copy-done > .dsx-image, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-copy:not(.dsx-codeblock-copied) .dsx-codeblock-copy-done > .dsx-image), [data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-copied .dsx-codeblock-copy-rest > .dsx-image, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-copied .dsx-codeblock-copy-rest > .dsx-image) { transform: scale(0.8); }\n@media (prefers-reduced-motion: reduce) {\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-copy-state, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-copy-state), [data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-copy-state > .dsx-image, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-copy-state > .dsx-image) { transition: none; }\n}\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-copied-note, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-copied-note) { font-family: var(--dsx-font); --dsx-face-normal: var(--dsx-font--dsx-face-normal, 1.2); font-size: 0.75rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 500; white-space: nowrap; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-copied, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-copied) { color: var(--dsx-codeblock-copied-ink, var(--dsx-codeblock-bar-ink, var(--dsx-codeblock-muted))); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-on, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-on) { color: var(--dsx-codeblock-ink); background: var(--dsx-codeblock-wash); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-viewport, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-viewport) { position: relative; align-self: stretch; gap: 0rem; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-body, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-body) { align-self: stretch; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-lines, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-lines) { gap: 0rem; padding: 0.875rem 0rem; align-items: stretch; min-width: 100%; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-line, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-line) { flex-direction: row; align-items: flex-start; gap: 0rem; margin: 0rem 0.5rem; padding: 0rem 0.5rem; border-radius: 4px; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-line-inserted, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-line-inserted) { background: var(--dsx-codeblock-inserted-tint); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-line-deleted, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-line-deleted) { background: var(--dsx-codeblock-deleted-tint); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-line-meta, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-line-meta) { background: var(--dsx-codeblock-meta-tint); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-line-marked, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-line-marked) { background: var(--dsx-codeblock-marked-tint); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-line-marked > .dsx-codeblock-no, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-line-marked > .dsx-codeblock-no) { color: var(--dsx-codeblock-ink); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-line-error, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-line-error) { background: var(--dsx-codeblock-error-tint); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-line-error > .dsx-codeblock-no, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-line-error > .dsx-codeblock-no) { color: var(--dsx-destructive); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-capped, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-capped) { align-self: stretch; max-height: var(--dsx-codeblock-max-height, 20rem); overscroll-behavior: contain; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-capped > .dsx-codeblock-body, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-capped > .dsx-codeblock-body) { flex-shrink: 0; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-follow, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-follow) { flex-direction: column-reverse; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-no, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-no) { flex-shrink: 0; box-sizing: content-box; padding-inline-end: 1rem; text-align: end; font-family: ui-monospace, \"SF Mono\", Menlo, Consolas, monospace; --dsx-face-normal: 1.2; font-size: var(--dsx-codeblock-font-size, 0.8125rem); --dsx-lh-pn: var(--dsx-codeblock-line-height, 1.375rem); --dsx-lh-pl: var(--dsx-codeblock-line-height, 1.375rem); --dsx-lh-n: var(--dsx-lh-pn); --dsx-lh-k: 0; --dsx-lh-l: var(--dsx-lh-pl); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-codeblock-muted); -webkit-user-select: none; user-select: none; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-code, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-code) { flex-direction: row; align-items: flex-start; gap: 0rem; flex-shrink: 0; font-family: ui-monospace, \"SF Mono\", Menlo, Consolas, monospace; --dsx-face-normal: 1.2; font-size: var(--dsx-codeblock-font-size, 0.8125rem); --dsx-lh-pn: var(--dsx-codeblock-line-height, 1.375rem); --dsx-lh-pl: var(--dsx-codeblock-line-height, 1.375rem); --dsx-lh-n: var(--dsx-lh-pn); --dsx-lh-k: 0; --dsx-lh-l: var(--dsx-lh-pl); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-wrapped, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-wrapped) { flex-wrap: wrap; flex-shrink: 1; min-width: 0; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-tok, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-tok) { font-family: ui-monospace, \"SF Mono\", Menlo, Consolas, monospace; --dsx-face-normal: 1.2; font-size: var(--dsx-codeblock-font-size, 0.8125rem); --dsx-lh-pn: var(--dsx-codeblock-line-height, 1.375rem); --dsx-lh-pl: var(--dsx-codeblock-line-height, 1.375rem); --dsx-lh-n: var(--dsx-lh-pn); --dsx-lh-k: 0; --dsx-lh-l: var(--dsx-lh-pl); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); white-space: pre; color: var(--dsx-codeblock-ink); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-tok-wrap, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-tok-wrap) { white-space: pre-wrap; overflow-wrap: anywhere; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-k-comment, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-k-comment) { color: var(--dsx-codeblock-comment); font-style: italic; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-k-string, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-k-string) { color: var(--dsx-codeblock-string); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-k-number, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-k-number) { color: var(--dsx-codeblock-number); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-k-regex, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-k-regex) { color: var(--dsx-codeblock-regex); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-k-keyword, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-k-keyword) { color: var(--dsx-codeblock-keyword); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-k-literal, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-k-literal) { color: var(--dsx-codeblock-literal); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-k-call, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-k-call) { color: var(--dsx-codeblock-call); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-k-property, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-k-property) { color: var(--dsx-codeblock-property); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-k-operator, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-k-operator) { color: var(--dsx-codeblock-operator); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-k-punct, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-k-punct) { color: var(--dsx-codeblock-punct); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-k-type, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-k-type) { color: var(--dsx-codeblock-type); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-k-tag, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-k-tag) { color: var(--dsx-codeblock-tag); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-k-attribute, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-k-attribute) { color: var(--dsx-codeblock-attribute); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-k-inserted, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-k-inserted) { color: var(--dsx-codeblock-inserted); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-k-deleted, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-k-deleted) { color: var(--dsx-codeblock-deleted); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-k-meta, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-k-meta) { color: var(--dsx-codeblock-meta); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-k-heading, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-k-heading) { color: var(--dsx-codeblock-heading); font-weight: 600; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-fade, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-fade) { position: absolute; inset-inline-start: 0px; inset-inline-end: 0px; bottom: 0px; height: 3rem; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--dsx-codeblock-background, var(--dsx-codeblock-surface))); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-foot, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-foot) { align-items: center; padding: 0rem 0.5rem 0.375rem; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-more, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-more) { gap: 0.375rem; min-height: 2rem; padding: 0.25rem 0.75rem; border-radius: calc(var(--dsx-radius-control, 10px) * var(--dsx-corner-fallback, 1)); font-size: 0.8125rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 500; color: var(--dsx-codeblock-muted); background: transparent; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-sheet, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-sheet) { gap: 0rem; align-self: stretch; flex-grow: 1; min-height: 0; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-sheet-bar, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-sheet-bar) { flex-direction: row; align-items: center; gap: 0.25rem; padding: 0.25rem 0.75rem; border-bottom: var(--dsx-hairline, 1px) solid var(--dsx-separator); }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-sheet-body, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-sheet-body) { flex-grow: 1; min-height: 0; align-self: stretch; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-sheet-lines, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-sheet-lines) { align-self: stretch; }\n[data-dsx-owner~=\"CodeBlock\"] .dsx-codeblock-action:focus-visible, [data-dsx-owner~=\"CodeBlock\"]:is(.dsx-codeblock-action:focus-visible) { outline-offset: calc(-1 * var(--dsx-focus-ring-width, 3px)); }\n\n[data-dsx-owner~=\"CopyButton\"] .dsx-copybutton, [data-dsx-owner~=\"CopyButton\"]:is(.dsx-copybutton) { flex-shrink: 0; min-width: 2rem; min-height: 2rem; padding: 0; background: transparent; font-size: 1rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-copybutton-ink, var(--dsx-secondary-label)); }\n[data-dsx-owner~=\"CopyButton\"] .dsx-copybutton-done, [data-dsx-owner~=\"CopyButton\"]:is(.dsx-copybutton-done) { color: var(--dsx-copybutton-done-ink, var(--dsx-success, #34c759)); }\n[data-dsx-owner~=\"CopyButton\"] .dsx-copybutton-fail, [data-dsx-owner~=\"CopyButton\"]:is(.dsx-copybutton-fail) { color: var(--dsx-copybutton-fail-ink, var(--dsx-destructive, var(--dsx-danger, #ff3b30))); }\n\n[data-dsx-owner~=\"CopyRow\"] .dsx-copyrow, [data-dsx-owner~=\"CopyRow\"]:is(.dsx-copyrow) { flex-direction: row; align-items: center; align-self: stretch; gap: 0.25rem; min-height: var(--dsx-list-row-height, 2.75rem); padding-block: var(--dsx-list-row-pad-block, 0.375rem); padding-inline: var(--dsx-copyrow-leading, var(--dsx-list-padding-inline, 1rem)) var(--dsx-list-padding-inline, 1rem); color: var(--dsx-label); font-family: var(--dsx-font); --dsx-face-normal: var(--dsx-font--dsx-face-normal, 1.2); font-size: 1.0625rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"CopyRow\"] .dsx-copyrow-text, [data-dsx-owner~=\"CopyRow\"]:is(.dsx-copyrow-text) { flex-direction: row; flex-grow: 1; flex-shrink: 1; min-width: 0; gap: 1rem; align-items: baseline; justify-content: space-between; }\n[data-dsx-owner~=\"CopyRow\"] .dsx-copyrow-label, [data-dsx-owner~=\"CopyRow\"]:is(.dsx-copyrow-label) { flex-shrink: 0; max-width: var(--dsx-copyrow-label-max, 50%); font-family: inherit; --dsx-face-normal: inherit; font-size: inherit; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 1.375rem; line-height: round(nearest, 1.375rem, 1px); color: var(--dsx-label); }\n[data-dsx-owner~=\"CopyRow\"] .dsx-copyrow-value, [data-dsx-owner~=\"CopyRow\"]:is(.dsx-copyrow-value) { flex-shrink: 1; min-width: 0; overflow-wrap: anywhere; text-align: end; font-family: inherit; --dsx-face-normal: inherit; font-size: inherit; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 1.375rem; line-height: round(nearest, 1.375rem, 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"CopyRow\"] .dsx-copyrow-text.dsx-copyrow-stacked, [data-dsx-owner~=\"CopyRow\"]:is(.dsx-copyrow-text.dsx-copyrow-stacked) { flex-direction: column; align-items: flex-start; gap: 0.125rem; }\n[data-dsx-owner~=\"CopyRow\"] .dsx-copyrow-stacked .dsx-copyrow-label, [data-dsx-owner~=\"CopyRow\"]:is(.dsx-copyrow-stacked .dsx-copyrow-label) { max-width: 100%; }\n[data-dsx-owner~=\"CopyRow\"] .dsx-copyrow-stacked .dsx-copyrow-value, [data-dsx-owner~=\"CopyRow\"]:is(.dsx-copyrow-stacked .dsx-copyrow-value) { text-align: start; }\n[data-dsx-owner~=\"CopyRow\"] .dsx-copyrow-value-split, [data-dsx-owner~=\"CopyRow\"]:is(.dsx-copyrow-value-split) { flex-direction: row; align-items: baseline; justify-content: flex-end; gap: 0rem; overflow-wrap: normal; }\n[data-dsx-owner~=\"CopyRow\"] .dsx-copyrow-value-head, [data-dsx-owner~=\"CopyRow\"]:is(.dsx-copyrow-value-head) { flex-shrink: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: inherit; --dsx-lh-n: inherit; --dsx-lh-k: inherit; --dsx-lh-l: inherit; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: inherit; }\n[data-dsx-owner~=\"CopyRow\"] .dsx-copyrow-value-tail, [data-dsx-owner~=\"CopyRow\"]:is(.dsx-copyrow-value-tail) { flex-shrink: 0; white-space: nowrap; font-size: inherit; --dsx-lh-n: inherit; --dsx-lh-k: inherit; --dsx-lh-l: inherit; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: inherit; }\n[data-dsx-owner~=\"CopyRow\"] .dsx-copyrow-action, [data-dsx-owner~=\"CopyRow\"]:is(.dsx-copyrow-action) { flex-shrink: 0; min-width: 2rem; min-height: 2rem; padding: 0; background: transparent; font-size: 1rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"CopyRow\"] .dsx-copyrow-trail, [data-dsx-owner~=\"CopyRow\"]:is(.dsx-copyrow-trail) { flex-direction: row; flex-shrink: 0; gap: 0.25rem; align-items: center; margin-block: -0.25rem; }\n\n[data-dsx-owner~=\"EmptyState\"] .dsx-empty-state, [data-dsx-owner~=\"EmptyState\"]:is(.dsx-empty-state) { min-height: 10rem; }\n[data-dsx-owner~=\"EmptyState\"] .dsx-empty-state-link, [data-dsx-owner~=\"EmptyState\"]:is(.dsx-empty-state-link) { min-height: 2.75rem; padding: 0 0.5rem; font-size: 0.8125rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-empty-state-link-color, var(--dsx-accent)); background: transparent; }\n[data-dsx-owner~=\"EmptyState\"] .dsx-empty-state-icon, [data-dsx-owner~=\"EmptyState\"]:is(.dsx-empty-state-icon) { opacity: 0.82; }\n\n[data-dsx-owner~=\"Explainer\"] .dsx-explainer, [data-dsx-owner~=\"Explainer\"]:is(.dsx-explainer) { align-self: stretch; align-items: stretch; min-width: 0; margin-block: var(--dsx-explainer-margin-block, 0.25rem); }\n[data-dsx-owner~=\"Explainer\"] .dsx-explainer-article, [data-dsx-owner~=\"Explainer\"]:is(.dsx-explainer-article) { gap: 1.25rem; align-items: stretch; padding: var(--dsx-explainer-padding, 0.5rem 1.25rem 1.5rem); }\n[data-dsx-owner~=\"Explainer\"] .dsx-explainer-body, [data-dsx-owner~=\"Explainer\"]:is(.dsx-explainer-body) { max-width: var(--dsx-explainer-measure, 40rem); font-size: var(--dsx-explainer-body-size, var(--dsx-type-body-size)); --dsx-lh-n: 1.45; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); gap: 0.75rem; }\n[data-dsx-owner~=\"Explainer\"] .dsx-explainer-body strong, [data-dsx-owner~=\"Explainer\"]:is(.dsx-explainer-body strong) { font-weight: 600; }\n[data-dsx-owner~=\"Explainer\"] .dsx-explainer-body code, [data-dsx-owner~=\"Explainer\"]:is(.dsx-explainer-body code) { font-size: 0.875em; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"Explainer\"] .dsx-explainer, [data-dsx-owner~=\"Explainer\"]:is(.dsx-explainer) { --dsx-callout-text-inset: 6px; }\n@media (min-width: 48rem) {\n[data-dsx-owner~=\"Explainer\"] .dsx-explainer, [data-dsx-owner~=\"Explainer\"]:is(.dsx-explainer) { --dsx-callout-text-inset: 5px; }\n}\n\n[data-dsx-owner~=\"FieldRow\"] .dsx-field-row, [data-dsx-owner~=\"FieldRow\"]:is(.dsx-field-row) { align-self: stretch; align-items: stretch; color: var(--dsx-label); font-size: 1.0625rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"FieldRow\"] .dsx-field-row-content, [data-dsx-owner~=\"FieldRow\"]:is(.dsx-field-row-content) { flex-direction: row; gap: 0.75rem; min-height: 3.25rem; padding: 0 1rem; align-items: center; }\n[data-dsx-owner~=\"FieldRow\"] .dsx-field-row-label, [data-dsx-owner~=\"FieldRow\"]:is(.dsx-field-row-label) { width: var(--dsx-field-row-label-width, 4rem); flex-shrink: 0; font-size: inherit; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: inherit; }\n[data-dsx-owner~=\"FieldRow\"] .dsx-field-row-slot, [data-dsx-owner~=\"FieldRow\"]:is(.dsx-field-row-slot) { --dsx-field-well-fill: transparent; --dsx-field-well-border: 0 solid transparent; --dsx-field-well-radius: 0; --dsx-field-well-shadow: none; --dsx-field-well-focus-fill: transparent; --dsx-field-well-focus-border: transparent; --dsx-field-well-focus-ring: none; --dsx-field-density-pad: 1px; --dsx-field-density-type: 1.0625rem; --dsx-control-height: 2.75rem; flex-grow: 1; min-width: 0; align-items: stretch; }\n[data-dsx-owner~=\"FieldRow\"] .dsx-field-row-separator, [data-dsx-owner~=\"FieldRow\"]:is(.dsx-field-row-separator) { display: var(--dsx-list-group-separator-display, none); height: var(--dsx-hairline, 1px); margin-inline-start: 1rem; background: var(--dsx-separator); }\n[data-dsx-owner~=\"FieldRow\"] .dsx-field-row:last-child > .dsx-field-row-separator, [data-dsx-owner~=\"FieldRow\"]:is(.dsx-field-row:last-child > .dsx-field-row-separator) { display: none; }\n[data-dsx-owner~=\"FieldRow\"] .dsx-list .dsx-field-row-content, [data-dsx-owner~=\"FieldRow\"]:is(.dsx-list .dsx-field-row-content), [data-dsx-owner~=\"FieldRow\"] .dsx-list-group .dsx-field-row-content, [data-dsx-owner~=\"FieldRow\"]:is(.dsx-list-group .dsx-field-row-content) { min-height: 0; padding: 0; }\n\n[data-dsx-owner~=\"Figure\"] .dsx-figure, [data-dsx-owner~=\"Figure\"]:is(.dsx-figure) { gap: 0.5rem; align-self: stretch; align-items: stretch; }\n[data-dsx-owner~=\"Figure\"] .dsx-figure-frame, [data-dsx-owner~=\"Figure\"]:is(.dsx-figure-frame) { align-self: stretch; overflow: hidden; border-radius: calc(var(--dsx-figure-radius, var(--dsx-radius-control, 10px)) * var(--dsx-corner-fallback, 1)); background: var(--dsx-figure-placeholder, var(--dsx-fill)); }\n[data-dsx-owner~=\"Figure\"] .dsx-figure-image, [data-dsx-owner~=\"Figure\"]:is(.dsx-figure-image) { width: 100%; height: 100%; }\n[data-dsx-owner~=\"Figure\"] .dsx-figure-caption, [data-dsx-owner~=\"Figure\"]:is(.dsx-figure-caption) { gap: 0.25rem; align-items: center; color: var(--dsx-figure-caption-ink, var(--dsx-secondary-label)); font-size: 0.8125rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); text-align: center; }\n[data-dsx-owner~=\"Figure\"] .dsx-figure-in-strip, [data-dsx-owner~=\"Figure\"]:is(.dsx-figure-in-strip) { width: var(--dsx-gallery-item-width, 280px); flex-shrink: 0; align-self: flex-start; }\n[data-dsx-owner~=\"Figure\"] .dsx-figure-in-grid, [data-dsx-owner~=\"Figure\"]:is(.dsx-figure-in-grid) { gap: 0rem; }\n\n[data-dsx-owner~=\"Gallery\"] .dsx-gallery, [data-dsx-owner~=\"Gallery\"]:is(.dsx-gallery) { align-self: stretch; align-items: stretch; }\n[data-dsx-owner~=\"Gallery\"] .dsx-gallery-strip, [data-dsx-owner~=\"Gallery\"]:is(.dsx-gallery-strip) { align-self: stretch; scroll-snap-type: x mandatory; scroll-snap-align: start; }\n[data-dsx-owner~=\"Gallery\"] .dsx-gallery-row, [data-dsx-owner~=\"Gallery\"]:is(.dsx-gallery-row) { flex-direction: row; gap: var(--dsx-gallery-gap, 8px); align-items: flex-start; }\n[data-dsx-owner~=\"Gallery\"] .dsx-gallery-grid, [data-dsx-owner~=\"Gallery\"]:is(.dsx-gallery-grid) { display: grid; gap: var(--dsx-gallery-gap, 4px); align-self: stretch; }\n[data-dsx-owner~=\"Gallery\"] .dsx-gallery-grid-2, [data-dsx-owner~=\"Gallery\"]:is(.dsx-gallery-grid-2) { grid-template-columns: 1fr 1fr; }\n[data-dsx-owner~=\"Gallery\"] .dsx-gallery-grid-3, [data-dsx-owner~=\"Gallery\"]:is(.dsx-gallery-grid-3) { grid-template-columns: 1fr 1fr 1fr; }\n[data-dsx-owner~=\"Gallery\"] .dsx-gallery-grid-4, [data-dsx-owner~=\"Gallery\"]:is(.dsx-gallery-grid-4) { grid-template-columns: 1fr 1fr 1fr 1fr; }\n[data-dsx-owner~=\"Gallery\"] .dsx-gallery-grid-5, [data-dsx-owner~=\"Gallery\"]:is(.dsx-gallery-grid-5) { grid-template-columns: 1fr 1fr 1fr 1fr 1fr; }\n[data-dsx-owner~=\"Gallery\"] .dsx-gallery-grid-6, [data-dsx-owner~=\"Gallery\"]:is(.dsx-gallery-grid-6) { grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; }\n\n[data-dsx-owner~=\"Guide\"] .dsx-guide, [data-dsx-owner~=\"Guide\"]:is(.dsx-guide) { gap: 0rem; align-self: stretch; align-items: stretch; min-width: 0; padding-block: var(--dsx-guide-pad-block, var(--dsx-list-padding-inline, 0px)); --dsx-markdown-step-rail-end: 0.25rem; --dsx-markdown-step-disc: var(--dsx-guide-disc, var(--dsx-fill)); --dsx-markdown-step-number-weight: 600; --dsx-markdown-step-rail-width: 1px; --dsx-markdown-step-rail: var(--dsx-guide-rail, var(--dsx-separator)); --dsx-markdown-step-gap: var(--dsx-guide-gap, 0.375rem); --dsx-markdown-step-spacing: var(--dsx-guide-spacing, 1.5rem); --dsx-markdown-step-last-rail: none; --dsx-markdown-step-last-spacing: 0rem; --dsx-markdown-step-title-size: var(--dsx-guide-title-size, var(--dsx-type-title3-size)); --dsx-markdown-step-title-weight: 600; --dsx-markdown-step-title-leading: 1.3; --dsx-markdown-step-title-offset: 0.0625rem; }\n[data-dsx-owner~=\"Guide\"] .dsx-guide-compact, [data-dsx-owner~=\"Guide\"]:is(.dsx-guide-compact) { --dsx-markdown-step-title-size: var(--dsx-type-body-size); --dsx-markdown-step-spacing: 1rem; --dsx-markdown-step-title-weight: 400; --dsx-markdown-step-number-weight: 500; }\n[data-dsx-owner~=\"Guide\"] .dsx-guide strong, [data-dsx-owner~=\"Guide\"]:is(.dsx-guide strong) { font-weight: 600; color: inherit; }\n[data-dsx-owner~=\"Guide\"] .dsx-guide .dsx-markdown-step-title strong, [data-dsx-owner~=\"Guide\"]:is(.dsx-guide .dsx-markdown-step-title strong) { font-weight: inherit; }\n[data-dsx-owner~=\"Guide\"] .dsx-guide-compact .dsx-markdown-step-title strong, [data-dsx-owner~=\"Guide\"]:is(.dsx-guide-compact .dsx-markdown-step-title strong) { font-weight: 600; }\n[data-dsx-owner~=\"Guide\"] .dsx-guide-body, [data-dsx-owner~=\"Guide\"]:is(.dsx-guide-body) { max-width: var(--dsx-guide-measure, 40rem); font-size: var(--dsx-guide-body-size, var(--dsx-type-body-size)); --dsx-lh-n: 1.45; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); gap: 0.5rem; }\n[data-dsx-owner~=\"Guide\"] .dsx-guide-body .dsx-text, [data-dsx-owner~=\"Guide\"]:is(.dsx-guide-body .dsx-text), [data-dsx-owner~=\"Guide\"] .dsx-guide-body .dsx-markdown-item, [data-dsx-owner~=\"Guide\"]:is(.dsx-guide-body .dsx-markdown-item) { color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"Guide\"] .dsx-guide-body strong, [data-dsx-owner~=\"Guide\"]:is(.dsx-guide-body strong) { font-weight: 600; color: inherit; }\n[data-dsx-owner~=\"Guide\"] .dsx-guide-body code, [data-dsx-owner~=\"Guide\"]:is(.dsx-guide-body code) { font-size: 0.875em; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n[data-dsx-owner~=\"Guide\"] .dsx-guide-action, [data-dsx-owner~=\"Guide\"]:is(.dsx-guide-action) { align-self: flex-start; margin-inline-start: 0; margin-top: 0.25rem; --dsx-button-icon-size: 0.8em; gap: 0.25em; }\n[data-dsx-owner~=\"Guide\"] .dsx-guide-action > svg[data-dsx-part=\"icon\"], [data-dsx-owner~=\"Guide\"]:is(.dsx-guide-action > svg[data-dsx-part=\"icon\"]) { order: 1; }\n\n@property --dsx-icon-tile-dark-background { syntax: \"*\"; inherits: true; }\n@property --dsx-icon-tile-dark-color { syntax: \"<color>\"; inherits: true; initial-value: #FFFFFF; }\n[data-dsx-owner~=\"IconTile\"] .dsx-icon-tile, [data-dsx-owner~=\"IconTile\"]:is(.dsx-icon-tile) { display: grid; flex-shrink: 0; width: var(--dsx-icon-tile-size, 29px); min-width: var(--dsx-icon-tile-size, 29px); height: var(--dsx-icon-tile-size, 29px); min-height: var(--dsx-icon-tile-size, 29px); overflow: hidden; align-items: center; justify-items: center; justify-content: center; border-radius: calc(calc(var(--dsx-icon-tile-size, 29px) * 0.277) * var(--dsx-corner-fallback, 1)); corner-shape: superellipse(1.38); --dsx-corner-shape-k: 1.38 1.38 1.38 1.38; --dsx-corner-fallback: calc(1 - var(--dsx-corner-unsupported) * .2017); box-shadow: inset 0 0 0 var(--dsx-hairline, 1px) var(--dsx-outline-soft, var(--dsx-separator)); }\n[data-dsx-owner~=\"IconTile\"] .dsx-icon-tile-image, [data-dsx-owner~=\"IconTile\"]:is(.dsx-icon-tile-image) { grid-area: 1 / 1; width: var(--dsx-icon-tile-size, 29px); min-width: var(--dsx-icon-tile-size, 29px); height: var(--dsx-icon-tile-size, 29px); min-height: var(--dsx-icon-tile-size, 29px); }\n[data-dsx-owner~=\"IconTile\"] .dsx-icon-tile-ground, [data-dsx-owner~=\"IconTile\"]:is(.dsx-icon-tile-ground) { grid-area: 1 / 1; width: var(--dsx-icon-tile-size, 29px); min-width: var(--dsx-icon-tile-size, 29px); height: var(--dsx-icon-tile-size, 29px); min-height: var(--dsx-icon-tile-size, 29px); }\n[data-dsx-owner~=\"IconTile\"] .dsx-icon-tile-dark, [data-dsx-owner~=\"IconTile\"]:is(.dsx-icon-tile-dark) { display: none; }\n@media (prefers-color-scheme: dark) {\n[data-dsx-owner~=\"IconTile\"] .dsx-icon-tile-twin > .dsx-icon-tile-light, [data-dsx-owner~=\"IconTile\"]:is(.dsx-icon-tile-twin > .dsx-icon-tile-light) { display: none; }\n[data-dsx-owner~=\"IconTile\"] .dsx-icon-tile-dark, [data-dsx-owner~=\"IconTile\"]:is(.dsx-icon-tile-dark) { display: flex; }\n}\n[data-dsx-owner~=\"IconTile\"] .dsx-icon-tile-mark, [data-dsx-owner~=\"IconTile\"]:is(.dsx-icon-tile-mark) { grid-area: 1 / 1; font-size: calc(var(--dsx-icon-tile-size, 29px) * 0.64); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"IconTile\"] .dsx-icon-tile-symbol, [data-dsx-owner~=\"IconTile\"]:is(.dsx-icon-tile-symbol) { grid-area: 1 / 1; font-size: calc(var(--dsx-icon-tile-size, 29px) * 0.5); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-icon-tile-color, #FFFFFF); }\n[data-dsx-owner~=\"IconTile\"] .dsx-icon-tile-monogram, [data-dsx-owner~=\"IconTile\"]:is(.dsx-icon-tile-monogram) { grid-area: 1 / 1; font-size: calc(var(--dsx-icon-tile-size, 29px) * 0.5); font-weight: 600; --dsx-lh-n: 1; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-icon-tile-color, #FFFFFF); }\n@media (forced-colors: active) {\n[data-dsx-owner~=\"IconTile\"] .dsx-icon-tile, [data-dsx-owner~=\"IconTile\"]:is(.dsx-icon-tile) { border: 1px solid CanvasText; }\n}\n\n[data-dsx-owner~=\"ImageViewer\"] .dsx-image-viewer, [data-dsx-owner~=\"ImageViewer\"]:is(.dsx-image-viewer) { height: 100%; align-self: stretch; align-items: stretch; background: var(--dsx-image-viewer-ground, #000); padding-block-start: env(safe-area-inset-top, 0px); padding-block-end: env(safe-area-inset-bottom, 0px); }\n[data-dsx-owner~=\"ImageViewer\"] .dsx-image-viewer-bar, [data-dsx-owner~=\"ImageViewer\"]:is(.dsx-image-viewer-bar) { flex-direction: row; gap: 0.5rem; padding: 0.5rem 1rem; align-items: center; }\n[data-dsx-owner~=\"ImageViewer\"] .dsx-image-viewer-close, [data-dsx-owner~=\"ImageViewer\"]:is(.dsx-image-viewer-close) { color: var(--dsx-image-viewer-ink, #fff); }\n[data-dsx-owner~=\"ImageViewer\"] .dsx-image-viewer-count, [data-dsx-owner~=\"ImageViewer\"]:is(.dsx-image-viewer-count) { font-size: 0.9375rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-variant-numeric: tabular-nums; color: var(--dsx-image-viewer-ink, #fff); }\n[data-dsx-owner~=\"ImageViewer\"] .dsx-image-viewer-pager, [data-dsx-owner~=\"ImageViewer\"]:is(.dsx-image-viewer-pager) { flex-grow: 1; align-self: stretch; }\n[data-dsx-owner~=\"ImageViewer\"] .dsx-image-viewer-page, [data-dsx-owner~=\"ImageViewer\"]:is(.dsx-image-viewer-page) { flex-grow: 1; align-self: stretch; align-items: stretch; justify-content: center; }\n[data-dsx-owner~=\"ImageViewer\"] .dsx-image-viewer-image, [data-dsx-owner~=\"ImageViewer\"]:is(.dsx-image-viewer-image) { width: 100%; height: 100%; }\n\n@property --dsx-icon-tile-dark-background { syntax: \"*\"; inherits: true; }\n@property --dsx-icon-tile-dark-color { syntax: \"<color>\"; inherits: true; initial-value: #FFFFFF; }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card) { --dsx-icon-tile-size: var(--dsx-item-card-icon-size, 44px); display: grid; align-self: stretch; min-width: 0; }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-action, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-action) { grid-area: 1 / 1; z-index: 2; width: 100%; height: 100%; min-height: 0; padding: 0; border-radius: calc(var(--dsx-item-card-radius, var(--dsx-surface-radius, 36.5px)) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-item-card-corner-shape, var(--dsx-surface-corner-shape, superellipse(1.6))); --dsx-corner-shape-k: var(--dsx-item-card-corner-shape, var(--dsx-surface-corner-shape, superellipse(1.6))); --dsx-corner-fallback: var(--dsx-item-card-corner-shape-fallback, var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021))); color: transparent; background: transparent; box-shadow: none; transition: none; }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-action:active, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-action:active), [data-dsx-owner~=\"ItemCard\"] .dsx-item-card-action:focus, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-action:focus), [data-dsx-owner~=\"ItemCard\"] .dsx-item-card-action:focus-visible, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-action:focus-visible) { background: transparent; box-shadow: none; outline: none; }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-face, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-face) { --dsx-card-padding: 0px; --dsx-card-gap: 0px; --dsx-card-border-radius: var(--dsx-item-card-radius, var(--dsx-surface-radius, 36.5px)); --dsx-card-corner-shape: var(--dsx-item-card-corner-shape, var(--dsx-surface-corner-shape, superellipse(1.6))); --dsx-card-corner-shape-fallback: var(--dsx-item-card-corner-shape-fallback, var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021))); --dsx-card-background: var(--dsx-item-card-background, var(--dsx-list-cell, var(--dsx-secondary-grouped-background))); grid-area: 1 / 1; z-index: auto; min-width: 0; overflow: hidden; border-radius: calc(var(--dsx-item-card-radius, var(--dsx-surface-radius, 36.5px)) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-item-card-corner-shape, var(--dsx-surface-corner-shape, superellipse(1.6))); --dsx-corner-shape-k: var(--dsx-item-card-corner-shape, var(--dsx-surface-corner-shape, superellipse(1.6))); --dsx-corner-fallback: var(--dsx-item-card-corner-shape-fallback, var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021))); background: var(--dsx-item-card-background, var(--dsx-list-cell, var(--dsx-secondary-grouped-background))); box-shadow: none; position: relative; }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-face .dsx-item-card-press, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-face .dsx-item-card-press) { position: absolute; inset: 0; pointer-events: none; background: var(--dsx-surface-pressed); box-shadow: inset 0 0 0 var(--dsx-hairline, 1px) var(--dsx-separator); opacity: 0; transition: opacity var(--dsx-dur-fast, 120ms) ease; }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-face > *, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-face > *) { position: relative; }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-cover, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-cover) { align-self: stretch; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dsx-fill); }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-cover-image, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-cover-image) { width: 100%; height: 100%; }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-cover-dark, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-cover-dark) { display: none; }\n@media (prefers-color-scheme: dark) {\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-cover-twin > .dsx-item-card-cover-light, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-cover-twin > .dsx-item-card-cover-light) { display: none; }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-cover-dark, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-cover-dark) { display: flex; }\n}\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-tags, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-tags) { flex-direction: row; flex-wrap: wrap; gap: 0.375rem; align-self: stretch; }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-tag, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-tag) { min-height: 1.5rem; padding: 0 0.625rem; font-size: 0.75rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-body, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-body) { flex-grow: 1; gap: 0.875rem; padding: var(--dsx-item-card-padding, 1rem); align-items: flex-start; }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-heading, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-heading) { gap: 0.1875rem; align-self: stretch; min-width: 0; }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-title-line, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-title-line) { flex-direction: row; gap: 0.5rem; align-items: center; min-width: 0; min-height: 2rem; }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-title, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-title) { flex-shrink: 1; min-width: 0; font-size: 1.0625rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-label); }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-badge, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-badge) { flex-shrink: 0; }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-subtitle, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-subtitle) { font-size: 0.9375rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-summary, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-summary) { align-self: stretch; min-width: 0; font-size: 0.9375rem; --dsx-lh-n: 1.3333; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-details, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-details) { gap: 0.25rem; align-self: stretch; min-width: 0; }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-detail, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-detail) { flex-direction: row; gap: 0.375rem; align-items: center; min-width: 0; }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-detail-icon, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-detail-icon) { flex-shrink: 0; width: 1rem; font-size: 0.75rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-detail-text, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-detail-text) { flex-shrink: 1; min-width: 0; overflow-wrap: anywhere; font-size: 0.8125rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-status, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-status) { flex-direction: row; gap: 0.5rem; align-items: center; min-height: 2.75rem; padding: 0.625rem var(--dsx-item-card-padding, 1rem); border-top: var(--dsx-hairline, 1px) solid var(--dsx-separator); }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-status-icon, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-status-icon) { flex-shrink: 0; font-size: 0.8125rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-status-chip, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-status-chip) { flex-shrink: 0; }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-status-text, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-status-text) { flex-shrink: 1; min-width: 0; font-size: 0.8125rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-arrow, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-arrow) { flex-shrink: 0; font-size: 0.75rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-actions, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-actions) { position: relative; z-index: 3; flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-actions:empty, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-actions:empty) { display: none; }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-accessory, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-accessory) { grid-area: 1 / 1; z-index: 3; flex-direction: row; gap: 0.5rem; align-self: start; justify-self: end; align-items: center; min-height: var(--dsx-icon-tile-size); margin: var(--dsx-item-card-padding, 1rem); }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-action:focus-visible + .dsx-item-card-face, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-action:focus-visible + .dsx-item-card-face) { outline: var(--dsx-focus-ring-outline, 2px solid var(--dsx-accent)); outline-offset: var(--dsx-focus-ring-offset, 2px); }\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-action:active + .dsx-item-card-face .dsx-item-card-press, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-action:active + .dsx-item-card-face .dsx-item-card-press) { opacity: 1; }\n@media (prefers-reduced-motion: reduce) {\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-face .dsx-item-card-press, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-face .dsx-item-card-press) { transition: none; }\n}\n@media (forced-colors: active) {\n[data-dsx-owner~=\"ItemCard\"] .dsx-item-card-face, [data-dsx-owner~=\"ItemCard\"]:is(.dsx-item-card-face) { border: 1px solid CanvasText; }\n}\n\n[data-dsx-owner~=\"LinkCard\"] .dsx-link-card, [data-dsx-owner~=\"LinkCard\"]:is(.dsx-link-card) { flex-direction: row; gap: 0.75rem; padding: var(--dsx-link-card-padding, 1rem); align-self: stretch; align-items: center; border-radius: calc(var(--dsx-link-card-radius, var(--dsx-surface-radius, 36.5px)) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-link-card-corner-shape, var(--dsx-surface-corner-shape, superellipse(1.6))); --dsx-corner-shape-k: var(--dsx-link-card-corner-shape, var(--dsx-surface-corner-shape, superellipse(1.6))); --dsx-corner-fallback: var(--dsx-link-card-corner-shape-fallback, var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021))); background: var(--dsx-link-card-background, var(--dsx-list-cell, var(--dsx-secondary-grouped-background))); box-shadow: none; color: var(--dsx-label); font-size: 0.9375rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"LinkCard\"] .dsx-link-card, [data-dsx-owner~=\"LinkCard\"]:is(.dsx-link-card) { --dsx-state-tint: var(--dsx-label); --dsx-state-pressed: var(--dsx-state-surface-pressed); }\n[data-dsx-owner~=\"LinkCard\"] .dsx-link-card:active, [data-dsx-owner~=\"LinkCard\"]:is(.dsx-link-card:active) { box-shadow: inset 0 0 0 var(--dsx-hairline, 1px) var(--dsx-separator); }\n[data-dsx-owner~=\"LinkCard\"] .dsx-link-card-thumb, [data-dsx-owner~=\"LinkCard\"]:is(.dsx-link-card-thumb) { width: var(--dsx-link-card-thumb-size, 56px); height: var(--dsx-link-card-thumb-size, 56px); flex-shrink: 0; overflow: hidden; border-radius: calc(var(--dsx-surface-inner-radius, 14px) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); background: var(--dsx-fill); }\n[data-dsx-owner~=\"LinkCard\"] .dsx-link-card-image, [data-dsx-owner~=\"LinkCard\"]:is(.dsx-link-card-image) { width: 100%; height: 100%; }\n[data-dsx-owner~=\"LinkCard\"] .dsx-link-card-text, [data-dsx-owner~=\"LinkCard\"]:is(.dsx-link-card-text) { gap: 0.125rem; flex-grow: 1; flex-shrink: 1; min-width: 0; align-items: flex-start; }\n[data-dsx-owner~=\"LinkCard\"] .dsx-link-card-title, [data-dsx-owner~=\"LinkCard\"]:is(.dsx-link-card-title) { font-size: inherit; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: inherit; }\n[data-dsx-owner~=\"LinkCard\"] .dsx-link-card-description, [data-dsx-owner~=\"LinkCard\"]:is(.dsx-link-card-description) { font-size: 0.8125rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"LinkCard\"] .dsx-link-card-host, [data-dsx-owner~=\"LinkCard\"]:is(.dsx-link-card-host) { font-size: 0.75rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"LinkCard\"] .dsx-link-card-arrow, [data-dsx-owner~=\"LinkCard\"]:is(.dsx-link-card-arrow) { flex-shrink: 0; color: var(--dsx-tertiary-label); }\n@media (forced-colors: active) {\n[data-dsx-owner~=\"LinkCard\"] .dsx-link-card, [data-dsx-owner~=\"LinkCard\"]:is(.dsx-link-card) { border: 1px solid LinkText; }\n}\n\n[data-dsx-owner~=\"ListGroup\"] .dsx-list-group, [data-dsx-owner~=\"ListGroup\"]:is(.dsx-list-group) { --dsx-list-ground: transparent; }\n[data-dsx-owner~=\"ListGroup\"] .dsx-list-group-link-row, [data-dsx-owner~=\"ListGroup\"]:is(.dsx-list-group-link-row) { align-items: flex-start; padding-inline: var(--dsx-list-group-text-inset, var(--dsx-list-padding-inline, 1rem)); padding-block: var(--dsx-list-footer-pad-top, 9px) var(--dsx-list-footer-pad-bottom, 6.67px); }\n\n@keyframes dsx-loader-pixel {\n0%, 100% { opacity: 0.16; transform: scale(0.8); }\n35% { opacity: 1; transform: scale(1); }\n70% { opacity: 0.16; transform: scale(0.8); }\n}\n@keyframes dsx-loader-sheen {\n0% { opacity: 0.42; }\n10% { opacity: 1; }\n22% { opacity: 0.42; }\n100% { opacity: 0.42; }\n}\n[data-dsx-owner~=\"Loader\"] .dsx-loader-cell, [data-dsx-owner~=\"Loader\"]:is(.dsx-loader-cell) { width: 5px; height: 5px; border-radius: 1.5px; background-color: var(--dsx-loader-color, var(--dsx-accent)); opacity: 0.55; animation: dsx-loader-pixel 1.5s ease-in-out infinite; }\n[data-dsx-owner~=\"Loader\"] .dsx-loader-d1, [data-dsx-owner~=\"Loader\"]:is(.dsx-loader-d1) { animation-delay: 0.12s; }\n[data-dsx-owner~=\"Loader\"] .dsx-loader-d2, [data-dsx-owner~=\"Loader\"]:is(.dsx-loader-d2) { animation-delay: 0.24s; }\n[data-dsx-owner~=\"Loader\"] .dsx-loader-d3, [data-dsx-owner~=\"Loader\"]:is(.dsx-loader-d3) { animation-delay: 0.36s; }\n[data-dsx-owner~=\"Loader\"] .dsx-loader-d4, [data-dsx-owner~=\"Loader\"]:is(.dsx-loader-d4) { animation-delay: 0.48s; }\n[data-dsx-owner~=\"Loader\"] .dsx-loader-char, [data-dsx-owner~=\"Loader\"]:is(.dsx-loader-char) { font-size: 15px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); white-space: pre; color: var(--dsx-loader-ink, var(--dsx-label)); opacity: 0.6; animation: dsx-loader-sheen 2.4s linear infinite; }\n@media (prefers-reduced-motion: reduce) {\n[data-dsx-owner~=\"Loader\"] .dsx-loader-cell, [data-dsx-owner~=\"Loader\"]:is(.dsx-loader-cell) { animation: none; opacity: 0.55; }\n[data-dsx-owner~=\"Loader\"] .dsx-loader-char, [data-dsx-owner~=\"Loader\"]:is(.dsx-loader-char) { animation: none; opacity: 0.6; }\n}\n\n[data-dsx-owner~=\"MarkdownItem\"] .dsx-markdown-item, [data-dsx-owner~=\"MarkdownItem\"]:is(.dsx-markdown-item) { display: list-item; align-self: stretch; position: relative; }\n[data-dsx-owner~=\"MarkdownItem\"] .dsx-markdown-item-task, [data-dsx-owner~=\"MarkdownItem\"]:is(.dsx-markdown-item-task) { list-style-type: none; }\n[data-dsx-owner~=\"MarkdownItem\"] .dsx-markdown-item-check, [data-dsx-owner~=\"MarkdownItem\"]:is(.dsx-markdown-item-check) { position: absolute; inset-inline-end: 100%; top: 0; margin-inline-end: 0.4rem; color: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"MarkdownItem\"] .dsx-markdown-item-check-on, [data-dsx-owner~=\"MarkdownItem\"]:is(.dsx-markdown-item-check-on) { color: var(--dsx-markdown-item-check-ink, var(--dsx-accent)); }\n[data-dsx-owner~=\"MarkdownItem\"] .dsx-markdown-item-content, [data-dsx-owner~=\"MarkdownItem\"]:is(.dsx-markdown-item-content) { gap: 0.375rem; align-items: stretch; }\n\n[data-dsx-owner~=\"MarkdownList\"] .dsx-markdown-list, [data-dsx-owner~=\"MarkdownList\"]:is(.dsx-markdown-list) { gap: var(--dsx-markdown-list-gap, 0.375rem); align-self: stretch; align-items: stretch; padding-inline-start: var(--dsx-markdown-list-indent, 1.5rem); }\n[data-dsx-owner~=\"MarkdownList\"] .dsx-markdown-list-ordered, [data-dsx-owner~=\"MarkdownList\"]:is(.dsx-markdown-list-ordered) { list-style-type: decimal; }\n\n[data-dsx-owner~=\"MarkdownStep\"] .dsx-markdown-step, [data-dsx-owner~=\"MarkdownStep\"]:is(.dsx-markdown-step) { flex-direction: row; gap: 0.75rem; align-self: stretch; align-items: stretch; }\n[data-dsx-owner~=\"MarkdownStep\"] .dsx-markdown-step-track, [data-dsx-owner~=\"MarkdownStep\"]:is(.dsx-markdown-step-track) { gap: 0.25rem; align-items: center; flex-shrink: 0; }\n[data-dsx-owner~=\"MarkdownStep\"] .dsx-markdown-step-disc, [data-dsx-owner~=\"MarkdownStep\"]:is(.dsx-markdown-step-disc) { display: grid; width: 24px; height: 24px; border-radius: 999px; align-items: center; justify-items: center; justify-content: center; background: var(--dsx-markdown-step-disc, var(--dsx-fill)); }\n[data-dsx-owner~=\"MarkdownStep\"] .dsx-markdown-step-disc-done, [data-dsx-owner~=\"MarkdownStep\"]:is(.dsx-markdown-step-disc-done), [data-dsx-owner~=\"MarkdownStep\"] .dsx-markdown-step-disc-current, [data-dsx-owner~=\"MarkdownStep\"]:is(.dsx-markdown-step-disc-current) { background: var(--dsx-markdown-step-accent, var(--dsx-accent)); }\n[data-dsx-owner~=\"MarkdownStep\"] .dsx-markdown-step-disc-upcoming, [data-dsx-owner~=\"MarkdownStep\"]:is(.dsx-markdown-step-disc-upcoming) { background: transparent; border: 1.5px solid var(--dsx-separator); }\n[data-dsx-owner~=\"MarkdownStep\"] .dsx-markdown-step-tick, [data-dsx-owner~=\"MarkdownStep\"]:is(.dsx-markdown-step-tick) { color: var(--dsx-on-accent, white); }\n[data-dsx-owner~=\"MarkdownStep\"] .dsx-markdown-step-number, [data-dsx-owner~=\"MarkdownStep\"]:is(.dsx-markdown-step-number) { font-size: 0.75rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: var(--dsx-markdown-step-number-weight, 700); font-variant-numeric: tabular-nums; color: var(--dsx-label); }\n[data-dsx-owner~=\"MarkdownStep\"] .dsx-markdown-step-number-current, [data-dsx-owner~=\"MarkdownStep\"]:is(.dsx-markdown-step-number-current) { color: var(--dsx-on-accent, white); }\n[data-dsx-owner~=\"MarkdownStep\"] .dsx-markdown-step-number-upcoming, [data-dsx-owner~=\"MarkdownStep\"]:is(.dsx-markdown-step-number-upcoming) { color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"MarkdownStep\"] .dsx-markdown-step-rail, [data-dsx-owner~=\"MarkdownStep\"]:is(.dsx-markdown-step-rail) { width: var(--dsx-markdown-step-rail-width, 1.5px); flex-grow: 1; min-height: 0.75rem; margin-block-end: var(--dsx-markdown-step-rail-end, 0rem); background: var(--dsx-markdown-step-rail, var(--dsx-separator)); }\n[data-dsx-owner~=\"MarkdownStep\"] .dsx-markdown-step-content, [data-dsx-owner~=\"MarkdownStep\"]:is(.dsx-markdown-step-content) { gap: var(--dsx-markdown-step-gap, 0.375rem); flex-grow: 1; flex-shrink: 1; min-width: 0; padding-bottom: var(--dsx-markdown-step-spacing, 1rem); align-items: stretch; }\n[data-dsx-owner~=\"MarkdownStep\"] .dsx-markdown-step-title, [data-dsx-owner~=\"MarkdownStep\"]:is(.dsx-markdown-step-title) { font-size: var(--dsx-markdown-step-title-size, inherit); font-weight: var(--dsx-markdown-step-title-weight, 600); --dsx-lh-pn: var(--dsx-markdown-step-title-leading, inherit); --dsx-lh-pl: var(--dsx-markdown-step-title-leading, inherit); --dsx-lh-n: var(--dsx-lh-pn); --dsx-lh-k: 0; --dsx-lh-l: var(--dsx-lh-pl); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); padding-top: var(--dsx-markdown-step-title-offset, 0.125rem); }\n[data-dsx-owner~=\"MarkdownStep\"] .dsx-markdown-step:last-child .dsx-markdown-step-rail, [data-dsx-owner~=\"MarkdownStep\"]:is(.dsx-markdown-step:last-child .dsx-markdown-step-rail) { display: var(--dsx-markdown-step-last-rail, flex); }\n[data-dsx-owner~=\"MarkdownStep\"] .dsx-markdown-step:last-child .dsx-markdown-step-content, [data-dsx-owner~=\"MarkdownStep\"]:is(.dsx-markdown-step:last-child .dsx-markdown-step-content) { padding-bottom: var(--dsx-markdown-step-last-spacing, var(--dsx-markdown-step-spacing, 1rem)); }\n\n[data-dsx-owner~=\"MarkdownSteps\"] .dsx-markdown-steps, [data-dsx-owner~=\"MarkdownSteps\"]:is(.dsx-markdown-steps) { gap: 0rem; align-self: stretch; align-items: stretch; }\n\n[data-dsx-owner~=\"MarkdownTab\"] .dsx-markdown-tab, [data-dsx-owner~=\"MarkdownTab\"]:is(.dsx-markdown-tab) { align-self: stretch; align-items: stretch; }\n[data-dsx-owner~=\"MarkdownTab\"] .dsx-markdown-tab-pane, [data-dsx-owner~=\"MarkdownTab\"]:is(.dsx-markdown-tab-pane) { gap: 0.5rem; align-self: stretch; align-items: stretch; }\n\n[data-dsx-owner~=\"MarkdownTable\"] .dsx-markdown-table, [data-dsx-owner~=\"MarkdownTable\"]:is(.dsx-markdown-table) { align-self: stretch; width: 100%; container-name: dsx-markdown-table; container-type: inline-size; }\n[data-dsx-owner~=\"MarkdownTable\"] .dsx-markdown-table-frame, [data-dsx-owner~=\"MarkdownTable\"]:is(.dsx-markdown-table-frame) { gap: 0rem; align-items: stretch; width: 100%; min-width: var(--dsx-markdown-table-min-width, 0px); border-radius: calc(var(--dsx-markdown-table-radius, var(--dsx-radius-control, 10px)) * var(--dsx-corner-fallback, 1)); overflow: hidden; box-shadow: inset 0 0 0 var(--dsx-hairline, 1px) var(--dsx-markdown-table-rule, var(--dsx-separator)); }\n[data-dsx-owner~=\"MarkdownTable\"] .dsx-markdown-table-head, [data-dsx-owner~=\"MarkdownTable\"]:is(.dsx-markdown-table-head) { gap: 0rem; background: var(--dsx-markdown-table-head-background, var(--dsx-secondary-grouped-background)); border-bottom: var(--dsx-hairline, 1px) solid var(--dsx-markdown-table-rule, var(--dsx-separator)); }\n[data-dsx-owner~=\"MarkdownTable\"] .dsx-markdown-table-row, [data-dsx-owner~=\"MarkdownTable\"]:is(.dsx-markdown-table-row) { gap: 0rem; align-items: stretch; border-bottom: var(--dsx-hairline, 1px) solid var(--dsx-markdown-table-rule, var(--dsx-separator)); }\n[data-dsx-owner~=\"MarkdownTable\"] .dsx-markdown-table-row-last, [data-dsx-owner~=\"MarkdownTable\"]:is(.dsx-markdown-table-row-last) { border-bottom-width: 0px; }\n[data-dsx-owner~=\"MarkdownTable\"] .dsx-markdown-table-cell, [data-dsx-owner~=\"MarkdownTable\"]:is(.dsx-markdown-table-cell) { padding: 0.5rem 0.75rem; flex: var(--dsx-markdown-table-grow, 1) 1 0px; min-width: var(--dsx-markdown-table-col-min, 4rem); align-items: flex-start; overflow-wrap: break-word; }\n[data-dsx-owner~=\"MarkdownTable\"] .dsx-markdown-table-th, [data-dsx-owner~=\"MarkdownTable\"]:is(.dsx-markdown-table-th) { font-weight: 600; }\n[data-dsx-owner~=\"MarkdownTable\"] .dsx-markdown-table-label, [data-dsx-owner~=\"MarkdownTable\"]:is(.dsx-markdown-table-label) { display: none; font-size: 0.8125rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 500; color: var(--dsx-secondary-label); }\n@container dsx-markdown-table (max-width: 30rem) {\n[data-dsx-owner~=\"MarkdownTable\"] .dsx-markdown-table-frame.dsx-markdown-table-stackable, [data-dsx-owner~=\"MarkdownTable\"]:is(.dsx-markdown-table-frame.dsx-markdown-table-stackable) { min-width: 0px; }\n[data-dsx-owner~=\"MarkdownTable\"] .dsx-markdown-table-stackable .dsx-markdown-table-head, [data-dsx-owner~=\"MarkdownTable\"]:is(.dsx-markdown-table-stackable .dsx-markdown-table-head) { display: none; }\n[data-dsx-owner~=\"MarkdownTable\"] .dsx-markdown-table-stackable .dsx-markdown-table-row, [data-dsx-owner~=\"MarkdownTable\"]:is(.dsx-markdown-table-stackable .dsx-markdown-table-row) { flex-wrap: wrap; padding-block: 0.375rem; }\n[data-dsx-owner~=\"MarkdownTable\"] .dsx-markdown-table-stackable .dsx-markdown-table-cell, [data-dsx-owner~=\"MarkdownTable\"]:is(.dsx-markdown-table-stackable .dsx-markdown-table-cell) { flex: 0 0 100%; min-width: 0px; padding-block: 0.25rem; gap: 0.125rem; }\n[data-dsx-owner~=\"MarkdownTable\"] .dsx-markdown-table-stackable .dsx-markdown-table-cell-title, [data-dsx-owner~=\"MarkdownTable\"]:is(.dsx-markdown-table-stackable .dsx-markdown-table-cell-title) { font-weight: 600; }\n[data-dsx-owner~=\"MarkdownTable\"] .dsx-markdown-table-stackable .dsx-markdown-table-label, [data-dsx-owner~=\"MarkdownTable\"]:is(.dsx-markdown-table-stackable .dsx-markdown-table-label) { display: flex; }\n}\n\n[data-dsx-owner~=\"MarkdownTabs\"] .dsx-markdown-tabs, [data-dsx-owner~=\"MarkdownTabs\"]:is(.dsx-markdown-tabs) { gap: var(--dsx-markdown-tabs-gap, 0.75rem); align-self: stretch; align-items: stretch; }\n[data-dsx-owner~=\"MarkdownTabs\"] .dsx-markdown-tabs-panes, [data-dsx-owner~=\"MarkdownTabs\"]:is(.dsx-markdown-tabs-panes) { align-items: stretch; }\n\n[data-dsx-owner~=\"NavBar\"] .dsx-navbar-button, [data-dsx-owner~=\"NavBar\"]:is(.dsx-navbar-button) { width: var(--dsx-navbar-button-size, 34px); height: var(--dsx-navbar-button-size, 34px); min-width: var(--dsx-navbar-button-size, 34px); min-height: var(--dsx-navbar-button-size, 34px); padding: 0; flex: none; align-self: center; aspect-ratio: 1; border-radius: 999px; corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; color: var(--dsx-navbar-foreground, var(--dsx-label)); }\n@media (pointer: coarse) {\n[data-dsx-owner~=\"NavBar\"] .dsx-navbar-button, [data-dsx-owner~=\"NavBar\"]:is(.dsx-navbar-button) { min-width: 44px; min-height: 44px; }\n}\n@property --dsx-navigation-style { syntax: \"auto | back | breadcrumbs\"; inherits: true; initial-value: auto; }\n[data-dsx-owner~=\"NavBar\"] .dsx-navbar-trail, [data-dsx-owner~=\"NavBar\"]:is(.dsx-navbar-trail) { display: none; }\n[data-dsx-owner~=\"NavBar\"] .dsx-page-header, [data-dsx-owner~=\"NavBar\"]:is(.dsx-page-header) { align-self: stretch; min-width: 0; padding-block: var(--dsx-page-header-gap, 0.125rem) var(--dsx-page-header-padding-end, 1rem); margin-block-end: var(--dsx-page-header-margin-end, var(--dsx-page-header-spacing, 1.5rem)); border-bottom: var(--dsx-page-header-divider, var(--dsx-hairline, 1px) solid var(--dsx-separator)); }\n[data-dsx-owner~=\"NavBar\"] .dsx-page-header-line, [data-dsx-owner~=\"NavBar\"]:is(.dsx-page-header-line) { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 0.375rem; row-gap: 0; max-width: var(--dsx-page-header-measure, 46rem); }\n[data-dsx-owner~=\"NavBar\"] .dsx-page-header-description, [data-dsx-owner~=\"NavBar\"]:is(.dsx-page-header-description) { font-size: var(--dsx-page-header-size, var(--dsx-type-body-size)); --dsx-lh-n: var(--dsx-type-body-leading); --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); letter-spacing: var(--dsx-type-body-tracking); color: var(--dsx-page-header-ink, var(--dsx-secondary-label)); }\n[data-dsx-owner~=\"NavBar\"] .dsx-page-header-more.dsx-page-header-more, [data-dsx-owner~=\"NavBar\"]:is(.dsx-page-header-more.dsx-page-header-more) { min-height: 0; min-width: 0; padding: 0; background: transparent; font-size: var(--dsx-page-header-size, var(--dsx-type-body-size)); --dsx-lh-n: var(--dsx-type-body-leading); --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 400; color: var(--dsx-accent); --dsx-button-icon-size: 1em; gap: 0.25em; }\n[data-dsx-owner~=\"NavBar\"] .dsx-page-header-more > svg[data-dsx-part=\"icon\"], [data-dsx-owner~=\"NavBar\"]:is(.dsx-page-header-more > svg[data-dsx-part=\"icon\"]) { order: 1; }\n@media (min-width: 48rem) {\n[data-dsx-owner~=\"NavBar\"] .dsx-page-header, [data-dsx-owner~=\"NavBar\"]:is(.dsx-page-header) { padding-block-end: var(--dsx-page-header-padding-end, 1.25rem); }\n}\n[data-dsx-owner~=\"NavBar\"] .dsx-page-header-article, [data-dsx-owner~=\"NavBar\"]:is(.dsx-page-header-article) { gap: 1.25rem; align-items: stretch; padding: 0.5rem 1.25rem 1.5rem; }\n[data-dsx-owner~=\"NavBar\"] .dsx-page-header-body, [data-dsx-owner~=\"NavBar\"]:is(.dsx-page-header-body) { max-width: 40rem; font-size: var(--dsx-type-body-size); --dsx-lh-n: 1.45; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); gap: 0.75rem; }\n[data-dsx-owner~=\"NavBar\"] .dsx-page-header-body strong, [data-dsx-owner~=\"NavBar\"]:is(.dsx-page-header-body strong) { font-weight: 600; }\n[data-dsx-owner~=\"NavBar\"] .dsx-page-header-body code, [data-dsx-owner~=\"NavBar\"]:is(.dsx-page-header-body code) { font-size: 0.875em; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"NavBar\"] .dsx-navbar-large, [data-dsx-owner~=\"NavBar\"]:is(.dsx-navbar-large) { padding-block-start: var(--dsx-chrome-scroll-extra, 0px); }\n\n[data-dsx-owner~=\"Panel\"] .dsx-panel, [data-dsx-owner~=\"Panel\"]:is(.dsx-panel) { gap: 0; align-self: stretch; min-width: 0; }\n[data-dsx-owner~=\"Panel\"] .dsx-panel-header, [data-dsx-owner~=\"Panel\"]:is(.dsx-panel-header) { --dsx-panel-header-pad-start: var(--dsx-panel-section-lead, 1.75rem); --dsx-panel-header-pad-end: 0.5rem; align-self: stretch; flex-direction: row; flex-wrap: nowrap; gap: 0.75rem; align-items: center; min-width: 0; box-sizing: border-box; block-size: calc(var(--dsx-panel-header-row, 2.25rem) + var(--dsx-panel-header-pad-start) + var(--dsx-panel-header-pad-end)); padding-block: var(--dsx-panel-header-pad-start) var(--dsx-panel-header-pad-end); padding-inline: calc(var(--dsx-grid-inset-inline, 1rem) + 1rem); }\n[data-dsx-owner~=\"Panel\"] .dsx-panel-has-subtitle .dsx-panel-header, [data-dsx-owner~=\"Panel\"]:is(.dsx-panel-has-subtitle .dsx-panel-header) { --dsx-panel-header-row: 3.25rem; }\n@media (min-width: 48rem) {\n[data-dsx-owner~=\"Panel\"] .dsx-panel-header, [data-dsx-owner~=\"Panel\"]:is(.dsx-panel-header) { padding-inline: calc(var(--dsx-grid-inset-inline, 1.25rem) + 1.25rem); }\n}\n[data-dsx-owner~=\"Panel\"] .dsx-panel + .dsx-panel > .dsx-panel-header, [data-dsx-owner~=\"Panel\"]:is(.dsx-panel + .dsx-panel > .dsx-panel-header) { --dsx-panel-header-pad-start: 0rem; }\n[data-dsx-owner~=\"Panel\"] .dsx-panel-heading, [data-dsx-owner~=\"Panel\"]:is(.dsx-panel-heading) { flex-grow: 1; flex-shrink: 1; flex-basis: 0; gap: 0.125rem; min-width: 0; justify-content: center; }\n[data-dsx-owner~=\"Panel\"] .dsx-panel-title, [data-dsx-owner~=\"Panel\"]:is(.dsx-panel-title) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.0625rem; --dsx-lh-n: 1.3; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-label); }\n[data-dsx-owner~=\"Panel\"] .dsx-panel-subtitle, [data-dsx-owner~=\"Panel\"]:is(.dsx-panel-subtitle) { font-size: 0.8125rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"Panel\"] .dsx-panel-actions, [data-dsx-owner~=\"Panel\"]:is(.dsx-panel-actions) { flex-direction: row; flex-wrap: nowrap; flex-shrink: 0; gap: 0.75rem; align-items: center; white-space: nowrap; }\n[data-dsx-owner~=\"Panel\"] .dsx-panel-phone .dsx-panel-header, [data-dsx-owner~=\"Panel\"]:is(.dsx-panel-phone .dsx-panel-header) { --dsx-panel-header-pad-end: 0.375rem; }\n[data-dsx-owner~=\"Panel\"] .dsx-panel-phone .dsx-panel-title, [data-dsx-owner~=\"Panel\"]:is(.dsx-panel-phone .dsx-panel-title) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.8125rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 400; color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"Panel\"] .dsx-panel-menu-button, [data-dsx-owner~=\"Panel\"]:is(.dsx-panel-menu-button) { flex-direction: row-reverse; }\n\n[data-dsx-owner~=\"PlatformSection\"] .dsx-platform-section, [data-dsx-owner~=\"PlatformSection\"]:is(.dsx-platform-section) { --dsx-icon-tile-size: var(--dsx-platform-section-icon-size, 28px); align-self: stretch; min-width: 0; gap: 0; padding-top: var(--dsx-platform-section-lead, 1rem); }\n[data-dsx-owner~=\"PlatformSection\"] .dsx-platform-section-header, [data-dsx-owner~=\"PlatformSection\"]:is(.dsx-platform-section-header) { align-self: stretch; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 0.75rem; min-width: 0; box-sizing: border-box; min-block-size: 2.25rem; margin-inline: var(--dsx-list-inset-inline, 16px); padding: 0 1rem 0.5rem; }\n[data-dsx-owner~=\"PlatformSection\"] .dsx-platform-section-heading, [data-dsx-owner~=\"PlatformSection\"]:is(.dsx-platform-section-heading) { flex-grow: 1; flex-shrink: 1; flex-basis: 0; min-width: 0; gap: 0.0625rem; justify-content: center; }\n[data-dsx-owner~=\"PlatformSection\"] .dsx-platform-section-title, [data-dsx-owner~=\"PlatformSection\"]:is(.dsx-platform-section-title) { font-size: 1.0625rem; --dsx-lh-n: 1.3; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-label); }\n[data-dsx-owner~=\"PlatformSection\"] .dsx-platform-section-subtitle, [data-dsx-owner~=\"PlatformSection\"]:is(.dsx-platform-section-subtitle) { font-size: 0.8125rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"PlatformSection\"] :is(.dsx-grid, .dsx-grid > .dsx-row, .dsx-grid > .dsx-grid-aria-row > .dsx-row) > .dsx-platform-section, [data-dsx-owner~=\"PlatformSection\"]:is(:is(.dsx-grid, .dsx-grid > .dsx-row, .dsx-grid > .dsx-grid-aria-row > .dsx-row) > .dsx-platform-section) { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 0; }\n[data-dsx-owner~=\"PlatformSection\"] :is(.dsx-grid, .dsx-grid > .dsx-row, .dsx-grid > .dsx-grid-aria-row > .dsx-row) > .dsx-platform-section > .dsx-platform-section-header, [data-dsx-owner~=\"PlatformSection\"]:is(:is(.dsx-grid, .dsx-grid > .dsx-row, .dsx-grid > .dsx-grid-aria-row > .dsx-row) > .dsx-platform-section > .dsx-platform-section-header) { align-items: flex-start; }\n[data-dsx-owner~=\"PlatformSection\"] .dsx-platform-section-status, [data-dsx-owner~=\"PlatformSection\"]:is(.dsx-platform-section-status) { flex-shrink: 0; }\n[data-dsx-owner~=\"PlatformSection\"] .dsx-platform-section-body, [data-dsx-owner~=\"PlatformSection\"]:is(.dsx-platform-section-body) { align-self: stretch; min-width: 0; }\n[data-dsx-owner~=\"PlatformSection\"] .dsx-platform-section-body .dsx-panel:first-child:not(.dsx-panel-titled) > .dsx-list-group, [data-dsx-owner~=\"PlatformSection\"]:is(.dsx-platform-section-body .dsx-panel:first-child:not(.dsx-panel-titled) > .dsx-list-group) { padding-block-start: 0; }\n[data-dsx-owner~=\"PlatformSection\"] .dsx-platform-section-body .dsx-panel:first-child > .dsx-panel-header, [data-dsx-owner~=\"PlatformSection\"]:is(.dsx-platform-section-body .dsx-panel:first-child > .dsx-panel-header) { --dsx-panel-header-pad-start: 0.5rem; }\n@media (min-width: 48rem) {\n[data-dsx-owner~=\"PlatformSection\"] .dsx-platform-section-header, [data-dsx-owner~=\"PlatformSection\"]:is(.dsx-platform-section-header) { margin-inline: var(--dsx-list-inset-inline, 20px); padding-inline: 1.25rem; }\n}\n\n@property --dsx-icon-tile-dark-background { syntax: \"*\"; inherits: true; }\n@property --dsx-icon-tile-dark-color { syntax: \"<color>\"; inherits: true; initial-value: #FFFFFF; }\n[data-dsx-owner~=\"ProductHeader\"] .dsx-product-header, [data-dsx-owner~=\"ProductHeader\"]:is(.dsx-product-header) { flex-direction: row; gap: 1.25rem; align-items: flex-start; padding: var(--dsx-product-header-padding, 0.5rem var(--dsx-list-inset-inline, 16px) 1rem); --dsx-icon-tile-size: var(--dsx-product-header-icon-size, 96px); }\n@media (min-width: 48rem) {\n[data-dsx-owner~=\"ProductHeader\"] .dsx-product-header, [data-dsx-owner~=\"ProductHeader\"]:is(.dsx-product-header) { --dsx-list-inset-inline: 20px; }\n}\n[data-dsx-owner~=\"ProductHeader\"] .dsx-product-header-copy, [data-dsx-owner~=\"ProductHeader\"]:is(.dsx-product-header-copy) { flex: 1 1 0; min-width: 0; gap: 0.25rem; }\n[data-dsx-owner~=\"ProductHeader\"] .dsx-product-header-title, [data-dsx-owner~=\"ProductHeader\"]:is(.dsx-product-header-title) { font-size: 1.375rem; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 1.75rem; line-height: round(nearest, 1.75rem, 1px); font-weight: 700; color: var(--dsx-label); }\n[data-dsx-owner~=\"ProductHeader\"] .dsx-product-header-subtitle, [data-dsx-owner~=\"ProductHeader\"]:is(.dsx-product-header-subtitle) { font-size: 0.9375rem; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 1.25rem; line-height: round(nearest, 1.25rem, 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"ProductHeader\"] .dsx-product-header-caption, [data-dsx-owner~=\"ProductHeader\"]:is(.dsx-product-header-caption) { font-size: 0.8125rem; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 1.125rem; line-height: round(nearest, 1.125rem, 1px); color: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"ProductHeader\"] .dsx-product-header-actions, [data-dsx-owner~=\"ProductHeader\"]:is(.dsx-product-header-actions) { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; align-items: center; padding-top: 0.5rem; }\n\n[data-dsx-owner~=\"PromptInput\"] .dsx-prompt-input-surface, [data-dsx-owner~=\"PromptInput\"]:is(.dsx-prompt-input-surface) { border-radius: calc(var(--dsx-promptinput-radius, var(--dsx-surface-radius, 36.5px)) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); box-shadow: var(--dsx-promptinput-shadow, var(--dsx-shadow-1)); background: color-mix(in srgb, var(--dsx-promptinput-background, var(--dsx-surface-raised)) 84%, transparent); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); transition: box-shadow var(--dsx-dur-base) var(--dsx-ease), padding var(--dsx-dur-base) var(--dsx-ease-out); }\n@supports selector(:focus-within) {\n[data-dsx-owner~=\"PromptInput\"] .dsx-prompt-input-surface:focus-within, [data-dsx-owner~=\"PromptInput\"]:is(.dsx-prompt-input-surface:focus-within) { box-shadow: var(--dsx-promptinput-shadow-focus, var(--dsx-shadow-2)); }\n}\n[data-dsx-owner~=\"PromptInput\"] .dsx-prompt-input-panel, [data-dsx-owner~=\"PromptInput\"]:is(.dsx-prompt-input-panel) { border-radius: calc(var(--dsx-surface-radius, 36.5px) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); box-shadow: var(--dsx-shadow-3); background: color-mix(in srgb, var(--dsx-promptinput-background, var(--dsx-surface-raised)) 96%, transparent); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); transition: opacity var(--dsx-dur-base) var(--dsx-ease-out), transform var(--dsx-dur-base) var(--dsx-ease-out); }\n@starting-style {\n[data-dsx-settled] [data-dsx-owner~=\"PromptInput\"] .dsx-prompt-input-panel, [data-dsx-settled] [data-dsx-owner~=\"PromptInput\"]:is(.dsx-prompt-input-panel) { opacity: 0; transform: translateY(6px) scale(0.98); }\n}\n[data-dsx-owner~=\"PromptInput\"] .dsx-prompt-input-tool, [data-dsx-owner~=\"PromptInput\"]:is(.dsx-prompt-input-tool) { background-color: var(--dsx-promptinput-tool-background, transparent); color: var(--dsx-label); transition: background-color var(--dsx-dur-fast) var(--dsx-ease), color var(--dsx-dur-fast) var(--dsx-ease); }\n[data-dsx-owner~=\"PromptInput\"] .dsx-prompt-input-pill, [data-dsx-owner~=\"PromptInput\"]:is(.dsx-prompt-input-pill) { background-color: var(--dsx-fill); transition: background-color var(--dsx-dur-fast) var(--dsx-ease); }\n[data-dsx-owner~=\"PromptInput\"] .dsx-prompt-input-chip, [data-dsx-owner~=\"PromptInput\"]:is(.dsx-prompt-input-chip) { background-color: var(--dsx-fill); color: var(--dsx-label); transition: background-color var(--dsx-dur-fast) var(--dsx-ease); }\n@media (prefers-reduced-motion: reduce) {\n[data-dsx-owner~=\"PromptInput\"] .dsx-prompt-input-surface, [data-dsx-owner~=\"PromptInput\"]:is(.dsx-prompt-input-surface), [data-dsx-owner~=\"PromptInput\"] .dsx-prompt-input-panel, [data-dsx-owner~=\"PromptInput\"]:is(.dsx-prompt-input-panel), [data-dsx-owner~=\"PromptInput\"] .dsx-prompt-input-tool, [data-dsx-owner~=\"PromptInput\"]:is(.dsx-prompt-input-tool), [data-dsx-owner~=\"PromptInput\"] .dsx-prompt-input-chip, [data-dsx-owner~=\"PromptInput\"]:is(.dsx-prompt-input-chip) { transition: none; }\n}\n@media (prefers-reduced-transparency: reduce) {\n[data-dsx-owner~=\"PromptInput\"] .dsx-prompt-input-surface, [data-dsx-owner~=\"PromptInput\"]:is(.dsx-prompt-input-surface), [data-dsx-owner~=\"PromptInput\"] .dsx-prompt-input-panel, [data-dsx-owner~=\"PromptInput\"]:is(.dsx-prompt-input-panel) { background: var(--dsx-promptinput-background, var(--dsx-surface-raised)); -webkit-backdrop-filter: none; backdrop-filter: none; backdrop-filter: none; }\n}\n\n[data-dsx-owner~=\"Quote\"] .dsx-quote, [data-dsx-owner~=\"Quote\"]:is(.dsx-quote) { flex-direction: row; gap: 0.75rem; align-self: stretch; align-items: stretch; }\n[data-dsx-owner~=\"Quote\"] .dsx-quote-rail, [data-dsx-owner~=\"Quote\"]:is(.dsx-quote-rail) { width: var(--dsx-quote-rail-width, 3px); border-radius: calc(var(--dsx-quote-rail-width, 3px) / 2); background: var(--dsx-quote-rail, var(--dsx-separator)); align-self: stretch; flex-shrink: 0; }\n[data-dsx-owner~=\"Quote\"] .dsx-quote-body, [data-dsx-owner~=\"Quote\"]:is(.dsx-quote-body) { gap: 0.5rem; flex-grow: 1; flex-shrink: 1; min-width: 0; align-items: stretch; color: var(--dsx-quote-ink, var(--dsx-secondary-label)); }\n@media (forced-colors: active) {\n[data-dsx-owner~=\"Quote\"] .dsx-quote-rail, [data-dsx-owner~=\"Quote\"]:is(.dsx-quote-rail) { background: CanvasText; }\n}\n\n[data-dsx-owner~=\"ReadMore\"] .dsx-read-more, [data-dsx-owner~=\"ReadMore\"]:is(.dsx-read-more) { position: relative; flex: 1 1 auto; align-self: stretch; align-items: stretch; min-width: 0; }\n[data-dsx-owner~=\"ReadMore\"] .dsx-row > .dsx-read-more, [data-dsx-owner~=\"ReadMore\"]:is(.dsx-row > .dsx-read-more) { padding: var(--dsx-list-row-pad-block, 15px) var(--dsx-list-padding-inline, 1rem); }\n[data-dsx-owner~=\"ReadMore\"] .dsx-read-more-clip, [data-dsx-owner~=\"ReadMore\"]:is(.dsx-read-more-clip) { max-height: calc(var(--dsx-read-more-lines, 8) * 1lh); overflow: hidden; align-items: stretch; --dsx-lh-n: 1.45; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"ReadMore\"] .dsx-read-more-body, [data-dsx-owner~=\"ReadMore\"]:is(.dsx-read-more-body) { min-width: 0; --dsx-lh-n: inherit; --dsx-lh-k: inherit; --dsx-lh-l: inherit; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n[data-dsx-owner~=\"ReadMore\"] .dsx-read-more-body > :first-child, [data-dsx-owner~=\"ReadMore\"]:is(.dsx-read-more-body > :first-child) { margin-block-start: 0; }\n[data-dsx-owner~=\"ReadMore\"] .dsx-read-more-button, [data-dsx-owner~=\"ReadMore\"]:is(.dsx-read-more-button) { position: absolute; inset-block-end: var(--dsx-read-more-button-inset-block, 0); inset-inline-end: var(--dsx-read-more-button-inset-inline, 0); min-height: 1lh; color: var(--dsx-read-more-button-ink, var(--dsx-accent)); padding-inline-start: 2.5em; background: linear-gradient(to right, transparent, var(--dsx-read-more-ground, var(--dsx-background)) 2em); }\n[data-dsx-owner~=\"ReadMore\"] .dsx-row > .dsx-read-more, [data-dsx-owner~=\"ReadMore\"]:is(.dsx-row > .dsx-read-more) { --dsx-read-more-ground: var(--dsx-list-cell, var(--dsx-background)); }\n[data-dsx-owner~=\"ReadMore\"] .dsx-row > .dsx-read-more > .dsx-read-more-button, [data-dsx-owner~=\"ReadMore\"]:is(.dsx-row > .dsx-read-more > .dsx-read-more-button) { --dsx-read-more-button-inset-block: var(--dsx-list-row-pad-block, 15px); --dsx-read-more-button-inset-inline: var(--dsx-list-padding-inline, 1rem); }\n@container style(--dsx-section-beside: true) {\n[data-dsx-owner~=\"ReadMore\"] .dsx-read-more-clip, [data-dsx-owner~=\"ReadMore\"]:is(.dsx-read-more-clip) { flex: 1 1 0; max-height: none; min-height: calc(var(--dsx-read-more-lines, 8) * 1lh); contain: size; }\n}\n[data-dsx-owner~=\"ReadMore\"] .dsx-read-more-sheet, [data-dsx-owner~=\"ReadMore\"]:is(.dsx-read-more-sheet) { --dsx-sheet-sizing: page; }\n[data-dsx-owner~=\"ReadMore\"] .dsx-read-more-article, [data-dsx-owner~=\"ReadMore\"]:is(.dsx-read-more-article) { align-items: stretch; padding: var(--dsx-read-more-article-padding, 0.5rem 1.25rem 2rem); }\n[data-dsx-owner~=\"ReadMore\"] .dsx-read-more-full, [data-dsx-owner~=\"ReadMore\"]:is(.dsx-read-more-full) { align-self: center; width: 100%; max-width: var(--dsx-read-more-measure, 42rem); --dsx-lh-n: 1.5; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row) { --dsx-settings-row-min-height: var(--dsx-list-row-height, 54px); --dsx-settings-row-separator-inset: 3.5rem; --dsx-settings-row-surface: transparent; --dsx-settings-row-state: var(--dsx-surface-pressed); position: relative; align-items: stretch; width: 100%; min-height: var(--dsx-settings-row-min-height); border-radius: 0; background: var(--dsx-settings-row-surface); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row:has(.dsx-settings-row-action:focus-visible) .dsx-settings-row-content, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row:has(.dsx-settings-row-action:focus-visible) .dsx-settings-row-content) { background-image: linear-gradient(var(--dsx-focus-row), var(--dsx-focus-row)); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-action, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-action) { position: absolute; z-index: 2; inset: 0; width: 100%; min-height: 0; padding: 0; border-radius: 0; color: transparent; background: transparent; box-shadow: none; transition: none; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-action:active, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-action:active), [data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-action:focus-visible, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-action:focus-visible) { background: transparent; box-shadow: none; outline: none; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content) { position: relative; z-index: 1; width: 100%; min-height: var(--dsx-settings-row-min-height); transition: background-color var(--dsx-dur-fast, 120ms) ease; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-list > .dsx-row > .dsx-settings-row-root, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-list > .dsx-row > .dsx-settings-row-root) { padding: 0; color: inherit; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content > *, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content > *) { transition: opacity var(--dsx-dur-fast, 120ms) ease; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-icon, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-icon) { background: linear-gradient(\n    165deg,\n    var(--dsx-surface-highlight, var(--dsx-surface-level-2)),\n    var(--dsx-surface-recessed, var(--dsx-fill))\n  ); box-shadow: inset 0 0 0 var(--dsx-hairline, 1px) var(--dsx-outline-soft, var(--dsx-separator)),\n    inset 0 1px 0 var(--dsx-inner-highlight, transparent),\n    0 1px 2px color-mix(in srgb, var(--dsx-label) 7%, transparent); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-wash, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-wash) { position: absolute; z-index: 0; inset: 0; pointer-events: none; background: var(--dsx-settings-row-state); opacity: var(--dsx-settings-row-pressed, 0); transition: opacity var(--dsx-settings-row-press-duration, var(--dsx-dur-fast, 120ms)) ease; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row:has(.dsx-settings-row-action:active), [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row:has(.dsx-settings-row-action:active)) { --dsx-settings-row-pressed: 1; --dsx-settings-row-press-duration: 0s; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-action:active + .dsx-settings-row-content > *, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-action:active + .dsx-settings-row-content > *) { opacity: 1; }\n@media (forced-colors: active) {\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row:has(.dsx-settings-row-action:focus-visible) .dsx-settings-row-content, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row:has(.dsx-settings-row-action:focus-visible) .dsx-settings-row-content) { outline: none; outline-offset: -2px; }\n}\n@media (prefers-reduced-motion: reduce) {\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-wash, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-wash), [data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content), [data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content > *, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content > *) { transition: none; }\n}\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-root, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-root) { align-self: stretch; align-items: stretch; color: var(--dsx-label); font-size: 1.0625rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content) { flex-direction: row; gap: var(--dsx-settings-row-gap, 1rem); padding: var(--dsx-list-row-pad-block, 15px) var(--dsx-list-padding-inline, 1rem); align-self: stretch; align-items: center; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content > .dsx-spacer:not(:last-child), [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content > .dsx-spacer:not(:last-child)) { margin-inline-end: calc(var(--dsx-settings-row-gap, 1rem) * -1); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-icon, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-icon) { width: 1.75rem; height: 1.75rem; flex-shrink: 0; border-radius: calc(var(--dsx-radius-control, 10px) * var(--dsx-corner-fallback, 1)); align-items: center; justify-content: center; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-glyph, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-glyph) { width: 1.75rem; flex-shrink: 0; color: var(--dsx-settings-row-glyph-color, var(--dsx-secondary-label)); --dsx-icon-brand-ink: var(--dsx-settings-row-glyph-color); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content > .dsx-settings-row-glyph, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content > .dsx-settings-row-glyph) { width: 1em; margin-inline: calc((var(--dsx-list-leading-icon-slot, 1.5rem) - 1em) / 2); margin-block: calc((1.375rem - 1em) / 2); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-glyph-system, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-glyph-system) { color: var(--dsx-settings-row-glyph-color, var(--dsx-secondary-label)); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-image, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-image) { width: var(--dsx-list-leading-icon-slot, 1.5rem); height: var(--dsx-list-leading-icon-slot, 1.5rem); flex-shrink: 0; border-radius: calc(var(--dsx-radius-control, 10px) * var(--dsx-corner-fallback, 1)); object-fit: contain; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-copy, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-copy) { gap: var(--dsx-settings-row-copy-gap, 1px); flex-shrink: 0.5; min-width: 0; align-items: flex-start; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-title-line, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-title-line) { max-width: 100%; min-width: 0; flex-direction: row; flex-wrap: wrap; gap: 0.5rem; align-items: center; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-title, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-title) { min-width: 0; font-size: inherit; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 1.375rem; line-height: round(nearest, 1.375rem, 1px); color: inherit; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-tone-accent, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-tone-accent) { color: var(--dsx-settings-row-tone-accent, var(--dsx-accent)); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-tone-destructive, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-tone-destructive) { color: var(--dsx-destructive); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-tone-success, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-tone-success) { color: var(--dsx-settings-row-tone-success, var(--dsx-success, #1f9d55)); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(.dsx-settings-row-tone-destructive) .dsx-settings-row-glyph-system, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(.dsx-settings-row-tone-destructive) .dsx-settings-row-glyph-system) { color: var(--dsx-settings-row-glyph-color, var(--dsx-destructive)); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(.dsx-settings-row-tone-success) .dsx-settings-row-glyph-system, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(.dsx-settings-row-tone-success) .dsx-settings-row-glyph-system) { color: var(--dsx-settings-row-glyph-color, var(--dsx-settings-row-tone-success, var(--dsx-success, #1f9d55))); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-subtitle, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-subtitle) { font-size: 0.9375rem; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 1.375rem; line-height: round(nearest, 1.375rem, 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-code, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-code) { font-family: ui-monospace, \"SF Mono\", Menlo, Consolas, monospace; --dsx-face-normal: 1.2; font-size: 0.8125rem; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 1.125rem; line-height: round(nearest, 1.125rem, 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-more-copy, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-more-copy) { gap: 0.125rem; align-items: flex-start; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-more, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-more) { position: relative; z-index: 3; min-height: 0; padding: 0; font-size: 0.9375rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-settings-row-link-color, var(--dsx-accent)); background: transparent; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content > .dsx-spacer ~ :not(.dsx-settings-row-link, .dsx-textfield, .dsx-text), [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content > .dsx-spacer ~ :not(.dsx-settings-row-link, .dsx-textfield, .dsx-text)), [data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content > .dsx-spacer ~ .dsx-overlay-host > *, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content > .dsx-spacer ~ .dsx-overlay-host > *) { flex-shrink: 0; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"])[data-dsx-parts~=\"settings-slot\"][data-dsx-parts~=\"settings-slot\"]:not(:has(> :is(.dsx-picker, .dsx-progress, .dsx-textfield, .dsx-textarea))), [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"])[data-dsx-parts~=\"settings-slot\"][data-dsx-parts~=\"settings-slot\"]:not(:has(> :is(.dsx-picker, .dsx-progress, .dsx-textfield, .dsx-textarea)))) { flex-wrap: wrap; justify-content: flex-end; row-gap: var(--dsx-settings-row-field-gap, 0.5rem); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"])[data-dsx-parts~=\"settings-slot\"][data-dsx-parts~=\"settings-slot\"]:not(:has(> :is(.dsx-picker, .dsx-progress, .dsx-textfield, .dsx-textarea))) > .dsx-settings-row-copy, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"])[data-dsx-parts~=\"settings-slot\"][data-dsx-parts~=\"settings-slot\"]:not(:has(> :is(.dsx-picker, .dsx-progress, .dsx-textfield, .dsx-textarea))) > .dsx-settings-row-copy) { flex: 1 1 0; min-inline-size: auto; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"])[data-dsx-parts~=\"settings-slot\"][data-dsx-parts~=\"settings-slot\"]:not(:has(> :is(.dsx-picker, .dsx-progress, .dsx-textfield, .dsx-textarea))) > .dsx-settings-row-copy > .dsx-settings-row-title-line, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"])[data-dsx-parts~=\"settings-slot\"][data-dsx-parts~=\"settings-slot\"]:not(:has(> :is(.dsx-picker, .dsx-progress, .dsx-textfield, .dsx-textarea))) > .dsx-settings-row-copy > .dsx-settings-row-title-line), [data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"])[data-dsx-parts~=\"settings-slot\"][data-dsx-parts~=\"settings-slot\"]:not(:has(> :is(.dsx-picker, .dsx-progress, .dsx-textfield, .dsx-textarea))) > .dsx-settings-row-copy .dsx-settings-row-title, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"])[data-dsx-parts~=\"settings-slot\"][data-dsx-parts~=\"settings-slot\"]:not(:has(> :is(.dsx-picker, .dsx-progress, .dsx-textfield, .dsx-textarea))) > .dsx-settings-row-copy .dsx-settings-row-title) { min-inline-size: auto; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"])[data-dsx-parts~=\"settings-slot\"][data-dsx-parts~=\"settings-slot\"]:not(:has(> :is(.dsx-picker, .dsx-progress, .dsx-textfield, .dsx-textarea))):has(.dsx-settings-row-subtitle):not([data-dsx-parts~=\"settings-multiple-slots\"][data-dsx-parts~=\"settings-multiple-slots\"][data-dsx-parts~=\"settings-multiple-slots\"]) > .dsx-settings-row-copy, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"])[data-dsx-parts~=\"settings-slot\"][data-dsx-parts~=\"settings-slot\"]:not(:has(> :is(.dsx-picker, .dsx-progress, .dsx-textfield, .dsx-textarea))):has(.dsx-settings-row-subtitle):not([data-dsx-parts~=\"settings-multiple-slots\"][data-dsx-parts~=\"settings-multiple-slots\"][data-dsx-parts~=\"settings-multiple-slots\"]) > .dsx-settings-row-copy) { flex-basis: min(var(--dsx-settings-row-copy-min, 10rem), 100%); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-chip + .dsx-settings-row-chevron), [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-chip + .dsx-settings-row-chevron)), [data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-spacer + .dsx-chip:last-child), [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-spacer + .dsx-chip:last-child)) { --dsx-settings-row-copy-min: var(--dsx-settings-row-chip-copy-min, 15rem); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content > .dsx-chip:has(+ .dsx-settings-row-chevron), [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content > .dsx-chip:has(+ .dsx-settings-row-chevron)) { margin-inline-end: calc(var(--dsx-settings-row-gap, 1rem) + 2rem); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content > .dsx-chip + .dsx-settings-row-chevron, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content > .dsx-chip + .dsx-settings-row-chevron) { margin-inline-start: calc(-9.5px - var(--dsx-settings-row-gap, 1rem) - 2rem); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"])[data-dsx-parts~=\"settings-slot\"][data-dsx-parts~=\"settings-slot\"]:not(:has(> :is(.dsx-picker, .dsx-progress, .dsx-textfield, .dsx-textarea))) > .dsx-settings-row-spacer, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"])[data-dsx-parts~=\"settings-slot\"][data-dsx-parts~=\"settings-slot\"]:not(:has(> :is(.dsx-picker, .dsx-progress, .dsx-textfield, .dsx-textarea))) > .dsx-settings-row-spacer) { display: none; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-settings-row-spacer ~ :not(.dsx-text, .dsx-settings-row-value-icon, .dsx-settings-row-link, .dsx-settings-row-opens, .dsx-settings-row-check, .dsx-settings-row-chevron, .dsx-picker, .dsx-progress, .dsx-textfield, .dsx-textarea, .dsx-overlay-host), [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-settings-row-spacer ~ :not(.dsx-text, .dsx-settings-row-value-icon, .dsx-settings-row-link, .dsx-settings-row-opens, .dsx-settings-row-check, .dsx-settings-row-chevron, .dsx-picker, .dsx-progress, .dsx-textfield, .dsx-textarea, .dsx-overlay-host)) { flex-shrink: 1; min-inline-size: 0; max-inline-size: 100%; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-value, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-value) { flex-shrink: 0; text-align: end; min-inline-size: min-content; max-inline-size: 50%; font-size: 1.0625rem; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 1.375rem; line-height: round(nearest, 1.375rem, 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-value-icon, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-value-icon) { flex-shrink: 0; font-size: 1.0625rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); margin-inline-start: -10px; color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-count, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-count) { flex-shrink: 0; white-space: nowrap; font-size: 1.0625rem; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 1.375rem; line-height: round(nearest, 1.375rem, 1px); color: var(--dsx-settings-row-count-color, var(--dsx-secondary-label)); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-link, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-link) { position: relative; z-index: 3; margin-top: 0.5rem; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-link > svg[data-dsx-part=\"icon\"], [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-link > svg[data-dsx-part=\"icon\"]) { order: 1; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-glyph-material, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-glyph-material) { color: var(--dsx-settings-row-glyph-color, var(--dsx-secondary-label)); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-check, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-check) { flex-shrink: 0; color: var(--dsx-settings-row-check-color, var(--dsx-accent)); transition: opacity 0.2s ease; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-check-off, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-check-off) { opacity: 0; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-chevron, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-chevron) { flex-shrink: 0; margin-inline-start: -9.5px; margin-inline-end: -2.33px; color: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content > .dsx-toggle, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content > .dsx-toggle) { margin-block: -2px; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content > .dsx-toggle:last-child, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content > .dsx-toggle:last-child) { margin-inline-end: -2px; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-separator, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-separator) { display: var(--dsx-list-group-separator-display, none); height: var(--dsx-hairline, 1px); margin-inline-start: 1rem; background: var(--dsx-separator); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-root:last-child > .dsx-settings-row-separator, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-root:last-child > .dsx-settings-row-separator) { display: none; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-separator-tile, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-separator-tile), [data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-separator-plain, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-separator-plain), [data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-separator-system, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-separator-system), [data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-separator-status, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-separator-status), [data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-separator-spinner, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-separator-spinner), [data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-separator-image, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-separator-image) { margin-inline-start: var(--dsx-settings-row-separator-inset, 3.5rem); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-root > .dsx-settings-row .dsx-settings-row-content, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-root > .dsx-settings-row .dsx-settings-row-content) { box-shadow: none; }\n@supports selector(:focus-within) {\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-glyph:not(.dsx-settings-row-glyph-system), [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-glyph:not(.dsx-settings-row-glyph-system)) { color: var(--dsx-settings-row-glyph-color, var(--dsx-list-label, var(--dsx-label))); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-root, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-root) { color: var(--dsx-list-label, var(--dsx-label)); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-tone-label, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-tone-label) { color: inherit; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-subtitle, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-subtitle) { color: var(--dsx-list-secondary-ink, var(--dsx-secondary-label)); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-count, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-count) { color: var(--dsx-settings-row-count-color, var(--dsx-list-secondary-ink, var(--dsx-secondary-label))); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-value, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-value) { color: var(--dsx-list-secondary-label, var(--dsx-secondary-label)); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-chevron, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-chevron) { color: var(--dsx-list-tertiary-label, var(--dsx-tertiary-label)); }\n}\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-disabled, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-disabled) { opacity: var(--dsx-settings-row-disabled-opacity, 0.4); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-scaffold-shell[data-dsx-layout^=\"split\"] > .dsx-scaffold-sidebar .dsx-settings-row, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-scaffold-shell[data-dsx-layout^=\"split\"] > .dsx-scaffold-sidebar .dsx-settings-row), [data-dsx-owner~=\"SettingsRow\"] .dsx-scaffold-shell[data-dsx-layout^=\"split\"] > .dsx-scaffold-sidebar .dsx-settings-row .dsx-settings-row-content, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-scaffold-shell[data-dsx-layout^=\"split\"] > .dsx-scaffold-sidebar .dsx-settings-row .dsx-settings-row-content) { background: transparent; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content > .dsx-settings-row-status-done, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content > .dsx-settings-row-status-done), [data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row .dsx-settings-row-status-done, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row .dsx-settings-row-status-done) { color: var(--dsx-settings-row-done-color, var(--dsx-tone-success-ink)); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content > .dsx-settings-row-status-failed, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content > .dsx-settings-row-status-failed), [data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row .dsx-settings-row-status-failed, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row .dsx-settings-row-status-failed) { color: var(--dsx-destructive); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content > .dsx-settings-row-status-warning, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content > .dsx-settings-row-status-warning), [data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row .dsx-settings-row-status-warning, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row .dsx-settings-row-status-warning) { color: var(--dsx-warning); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content > .dsx-settings-row-status-upcoming, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content > .dsx-settings-row-status-upcoming), [data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content > .dsx-settings-row-status-skipped, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content > .dsx-settings-row-status-skipped), [data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row .dsx-settings-row-status-upcoming, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row .dsx-settings-row-status-upcoming), [data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row .dsx-settings-row-status-skipped, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row .dsx-settings-row-status-skipped) { color: var(--dsx-list-tertiary-label, var(--dsx-tertiary-label)); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-spinner, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-spinner) { width: 20px; height: 20px; flex-shrink: 0; margin-inline: calc((1.75rem - 20px) / 2); color: var(--dsx-list-secondary-label, var(--dsx-secondary-label)); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content > .dsx-settings-row-spinner, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content > .dsx-settings-row-spinner) { width: 22px; height: 22px; margin-inline: calc((var(--dsx-list-leading-icon-slot, 1.5rem) - 22px) / 2); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content > .dsx-settings-row-status[data-dsx-motion=\"leave\"], [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content > .dsx-settings-row-status[data-dsx-motion=\"leave\"]), [data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content > .dsx-settings-row-spinner[data-dsx-motion=\"leave\"], [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content > .dsx-settings-row-spinner[data-dsx-motion=\"leave\"]) { visibility: hidden; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-badge, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-badge) { min-height: 0; padding: 1px 7px; font-size: 0.75rem; font-weight: 600; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 1rem; line-height: round(nearest, 1rem, 1px); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-badge:not([data-dsx-role]), [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-badge:not([data-dsx-role])) { --dsx-chip-color: var(--dsx-list-secondary-label, var(--dsx-secondary-label)); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-accordion-label > .dsx-settings-row-root .dsx-settings-row-content, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-accordion-label > .dsx-settings-row-root .dsx-settings-row-content) { padding-inline-end: 0; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-textfield):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-settings-row-copy, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-textfield):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-settings-row-copy) { min-inline-size: min-content; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-textfield):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-textfield, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-textfield):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-textfield) { min-width: 0; text-align: end; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content[data-dsx-parts~=\"settings-inline-textfield\"][data-dsx-parts~=\"settings-inline-textfield\"][data-dsx-parts~=\"settings-inline-textfield\"][data-dsx-parts~=\"settings-inline-textfield\"] > .dsx-spacer, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content[data-dsx-parts~=\"settings-inline-textfield\"][data-dsx-parts~=\"settings-inline-textfield\"][data-dsx-parts~=\"settings-inline-textfield\"][data-dsx-parts~=\"settings-inline-textfield\"] > .dsx-spacer) { display: none; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content[data-dsx-parts~=\"settings-inline-textfield\"][data-dsx-parts~=\"settings-inline-textfield\"][data-dsx-parts~=\"settings-inline-textfield\"][data-dsx-parts~=\"settings-inline-textfield\"] > .dsx-textfield, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content[data-dsx-parts~=\"settings-inline-textfield\"][data-dsx-parts~=\"settings-inline-textfield\"][data-dsx-parts~=\"settings-inline-textfield\"][data-dsx-parts~=\"settings-inline-textfield\"] > .dsx-textfield) { flex: 1 1 auto; text-align: end; color: var(--dsx-label); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content[data-dsx-parts~=\"settings-inline-textfield\"][data-dsx-parts~=\"settings-inline-textfield\"][data-dsx-parts~=\"settings-inline-textfield\"][data-dsx-parts~=\"settings-inline-textfield\"] > .dsx-textfield::placeholder, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content[data-dsx-parts~=\"settings-inline-textfield\"][data-dsx-parts~=\"settings-inline-textfield\"][data-dsx-parts~=\"settings-inline-textfield\"][data-dsx-parts~=\"settings-inline-textfield\"] > .dsx-textfield::placeholder) { color: var(--dsx-tertiary-label); }\n@property --dsx-settings-row-field-min { syntax: \"<length>\"; inherits: true; initial-value: 12rem; }\n@property --dsx-settings-row-field-gap { syntax: \"<length>\"; inherits: true; initial-value: 0.5rem; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-textfield):has(.dsx-settings-row-subtitle):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]), [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-textfield):has(.dsx-settings-row-subtitle):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"])) { flex-wrap: wrap; row-gap: var(--dsx-settings-row-field-gap, 0.5rem); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-textfield):has(.dsx-settings-row-subtitle):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-settings-row-copy, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-textfield):has(.dsx-settings-row-subtitle):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-settings-row-copy) { flex: 1 1 60%; max-inline-size: 100%; min-inline-size: min(var(--dsx-settings-row-copy-min, 10rem), 100%); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-textfield):has(.dsx-settings-row-subtitle):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-spacer, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-textfield):has(.dsx-settings-row-subtitle):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-spacer) { display: none; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-textfield):has(.dsx-settings-row-subtitle):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-textfield, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-textfield):has(.dsx-settings-row-subtitle):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-textfield) { order: 1; flex: 1 1 100%; min-inline-size: min(var(--dsx-settings-row-field-min, 12rem), 100%); text-align: start; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-spacer ~ .dsx-picker):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-settings-row-copy, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-spacer ~ .dsx-picker):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-settings-row-copy) { flex-shrink: 0; min-inline-size: min-content; max-inline-size: 50%; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-spacer ~ .dsx-picker, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-spacer ~ .dsx-picker) { flex-shrink: 1; min-width: 0; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-spacer ~ .dsx-picker .dsx-picker-select, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-spacer ~ .dsx-picker .dsx-picker-select) { min-width: 0; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-spacer ~ .dsx-progress):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-settings-row-copy, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-spacer ~ .dsx-progress):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-settings-row-copy) { flex-shrink: 0; min-inline-size: min-content; max-inline-size: 50%; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-spacer ~ .dsx-progress, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-spacer ~ .dsx-progress) { flex-shrink: 1; min-width: 2.5rem; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-textarea):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]), [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-textarea):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"])) { flex-wrap: wrap; row-gap: var(--dsx-settings-row-field-gap, 0.5rem); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-textarea):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-settings-row-copy, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-textarea):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-settings-row-copy) { flex: 1 1 0; min-inline-size: min(var(--dsx-settings-row-copy-min, 10rem), 100%); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-textarea):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-spacer, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-textarea):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-spacer) { display: none; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-textarea):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-textarea, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-textarea):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-textarea) { order: 1; flex: 1 1 100%; min-inline-size: 0; max-inline-size: 100%; text-align: start; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-textarea)[data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"] > :is(.dsx-settings-row-copy, .dsx-spacer), [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-textarea)[data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"] > :is(.dsx-settings-row-copy, .dsx-spacer)) { display: none; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-textarea)[data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"] > .dsx-textarea, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-textarea)[data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"] > .dsx-textarea) { flex: 1 1 0; min-width: 0; text-align: start; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-spacer ~ .dsx-text:not(.dsx-settings-row-value, .dsx-settings-row-count)):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]), [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-spacer ~ .dsx-text:not(.dsx-settings-row-value, .dsx-settings-row-count)):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"])) { flex-wrap: wrap; row-gap: var(--dsx-settings-row-field-gap, 0.5rem); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-spacer ~ .dsx-text:not(.dsx-settings-row-value, .dsx-settings-row-count)):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-settings-row-copy, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-spacer ~ .dsx-text:not(.dsx-settings-row-value, .dsx-settings-row-count)):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-settings-row-copy) { flex: 1 1 0; min-inline-size: min(var(--dsx-settings-row-copy-min, 10rem), 100%); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-spacer ~ .dsx-text:not(.dsx-settings-row-value, .dsx-settings-row-count)):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-spacer, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-spacer ~ .dsx-text:not(.dsx-settings-row-value, .dsx-settings-row-count)):not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-spacer) { display: none; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-spacer ~ .dsx-text:not(.dsx-settings-row-value, .dsx-settings-row-count), [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:not([data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"]) > .dsx-spacer ~ .dsx-text:not(.dsx-settings-row-value, .dsx-settings-row-count)) { flex: 0 1 auto; min-inline-size: 0; max-inline-size: 100%; margin-inline-start: auto; overflow-wrap: break-word; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-textfield)[data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"] > :is(.dsx-settings-row-copy, .dsx-spacer), [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-textfield)[data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"] > :is(.dsx-settings-row-copy, .dsx-spacer)) { display: none; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-content:has(> .dsx-textfield)[data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"] > .dsx-textfield, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-content:has(> .dsx-textfield)[data-dsx-parts~=\"settings-untitled\"][data-dsx-parts~=\"settings-untitled\"] > .dsx-textfield) { flex: 1 1 0; min-width: 0; text-align: start; }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row-opens, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row-opens) { flex-shrink: 0; font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-settings-row-opens-color, var(--dsx-secondary-label)); }\n[data-dsx-owner~=\"SettingsRow\"] .dsx-settings-row:has(.dsx-settings-row-tone-accent) .dsx-settings-row-opens, [data-dsx-owner~=\"SettingsRow\"]:is(.dsx-settings-row:has(.dsx-settings-row-tone-accent) .dsx-settings-row-opens) { color: var(--dsx-settings-row-opens-color, var(--dsx-settings-row-tone-accent, var(--dsx-accent))); }\n\n[data-dsx-owner~=\"SidebarItem\"] .dsx-sidebar-item, [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-sidebar-item) { color: var(--dsx-label); font-size: calc(1.0625rem + 0.25rem * var(--dsx-sidebar-density, 0)); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); padding: 0; gap: 0; align-self: stretch; align-items: stretch; flex-direction: row; min-width: 0; }\n[data-dsx-owner~=\"SidebarItem\"] .dsx-sidebar-list .dsx-sidebar-item, [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-sidebar-list .dsx-sidebar-item) { color: inherit; font-size: inherit; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"SidebarItem\"] .dsx-sidebar-item-action, [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-sidebar-item-action) { flex: 1 1 auto; flex-direction: row; align-items: center; gap: calc(10px + 3px * var(--dsx-sidebar-density, 0)); min-width: 0; min-height: calc(var(--dsx-sidebar-row-height, 54px) + 26px * var(--dsx-sidebar-density, 0)); padding-inline: calc(16px + 6px * var(--dsx-sidebar-density, 0)); border-radius: var(--dsx-selection-radius, calc((var(--dsx-sidebar-row-height, 54px) + 26px * var(--dsx-sidebar-density, 0)) / 2)); corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-shape-k: round; --dsx-corner-fallback: 1; color: inherit; background: transparent; }\n[data-dsx-owner~=\"SidebarItem\"] .dsx-sidebar-item-icon, [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-sidebar-item-icon) { width: calc(24px + 4px * var(--dsx-sidebar-density, 0)); flex-shrink: 0; font-size: calc(22px + 6px * var(--dsx-sidebar-density, 0)); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"SidebarItem\"] .dsx-sidebar-item-title, [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-sidebar-item-title) { flex: 0 1 auto; min-width: 0; overflow: hidden; font-size: inherit; --dsx-lh-pn: calc(1.375rem + 0.25rem * var(--dsx-sidebar-density, 0)); --dsx-lh-pl: calc(1.375rem + 0.25rem * var(--dsx-sidebar-density, 0)); --dsx-lh-n: var(--dsx-lh-pn); --dsx-lh-k: 0; --dsx-lh-l: var(--dsx-lh-pl); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); white-space: normal; text-wrap: balance; --dsx-text-wrap-pretty: 0; overflow-wrap: anywhere; max-block-size: 2lh; color: inherit; transition: opacity var(--dsx-dur-fast, 120ms) ease; }\n[data-dsx-owner~=\"SidebarItem\"] .dsx-sidebar-item-badge-slot, [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-sidebar-item-badge-slot) { flex: 1 1 0; align-self: stretch; min-width: 0; align-items: flex-start; justify-content: center; overflow: hidden; }\n[data-dsx-owner~=\"SidebarItem\"] .dsx-sidebar-item-badge-slot > .dsx-sidebar-item-badge, [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-sidebar-item-badge-slot > .dsx-sidebar-item-badge) { max-width: 100%; overflow: hidden; white-space: normal; text-wrap: balance; --dsx-text-wrap-pretty: 0; overflow-wrap: anywhere; max-block-size: 2lh; }\n[data-dsx-owner~=\"SidebarItem\"] .dsx-sidebar-item-count, [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-sidebar-item-count) { color: var(--dsx-secondary-label); font-size: calc(0.9375rem + 0.1875rem * var(--dsx-sidebar-density, 0)); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"SidebarItem\"] .dsx-sidebar-item-chevron, [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-sidebar-item-chevron) { display: none; color: var(--dsx-tertiary-label); font-size: 14px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"SidebarItem\"] .dsx-scaffold-shell[data-dsx-layout^=\"split\"] .dsx-sidebar-item-action[aria-current=\"page\"], [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-scaffold-shell[data-dsx-layout^=\"split\"] .dsx-sidebar-item-action[aria-current=\"page\"]) { background-color: var(--dsx-sidebar-selection, color-mix(in srgb, var(--dsx-secondary-label) 20%, transparent)); color: var(--dsx-label); }\n[data-dsx-owner~=\"SidebarItem\"] .dsx-scaffold-shell[data-dsx-layout^=\"split\"] .dsx-sidebar-item-action[aria-current=\"page\"] .dsx-sidebar-item-icon, [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-scaffold-shell[data-dsx-layout^=\"split\"] .dsx-sidebar-item-action[aria-current=\"page\"] .dsx-sidebar-item-icon) { color: var(--dsx-label); }\n[data-dsx-owner~=\"SidebarItem\"] .dsx-sidebar-item-action:disabled, [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-sidebar-item-action:disabled), [data-dsx-owner~=\"SidebarItem\"] .dsx-sidebar-item-action[aria-disabled=\"true\"], [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-sidebar-item-action[aria-disabled=\"true\"]) { opacity: 0.4; }\n[data-dsx-owner~=\"SidebarItem\"] .dsx-sidebar-item-action:focus-visible, [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-sidebar-item-action:focus-visible) { outline: none; background-image: linear-gradient(var(--dsx-focus-row), var(--dsx-focus-row)); }\n[data-dsx-owner~=\"SidebarItem\"] .dsx-sidebar-item-action:not(:disabled):not([aria-current=\"page\"]):active, [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-sidebar-item-action:not(:disabled):not([aria-current=\"page\"]):active) { background-color: var(--dsx-surface-pressed); }\n@media (forced-colors: active) {\n[data-dsx-owner~=\"SidebarItem\"] .dsx-sidebar-item-action:focus-visible, [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-sidebar-item-action:focus-visible) { outline: none; outline-offset: -2px; }\n}\n[data-dsx-owner~=\"SidebarItem\"] .dsx-scaffold-shell:not([data-dsx-layout^=\"split\"]) .dsx-sidebar-item-action, [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-scaffold-shell:not([data-dsx-layout^=\"split\"]) .dsx-sidebar-item-action) { border-radius: 0; padding-inline: 16px; }\n[data-dsx-owner~=\"SidebarItem\"] .dsx-scaffold-shell:not([data-dsx-layout^=\"split\"]) .dsx-sidebar-item-chevron, [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-scaffold-shell:not([data-dsx-layout^=\"split\"]) .dsx-sidebar-item-chevron) { display: block; }\n[data-dsx-owner~=\"SidebarItem\"] .dsx-sidebar-list-icons .dsx-sidebar-item-action, [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-sidebar-list-icons .dsx-sidebar-item-action) { justify-content: center; padding-inline: 0; gap: 0; }\n[data-dsx-owner~=\"SidebarItem\"] .dsx-sidebar-list-icons :is(.dsx-sidebar-item-title, .dsx-sidebar-item-count, .dsx-sidebar-item-badge), [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-sidebar-list-icons :is(.dsx-sidebar-item-title, .dsx-sidebar-item-count, .dsx-sidebar-item-badge)) { opacity: 0; width: 0; flex: 0 0 0; }\n[data-dsx-owner~=\"SidebarItem\"] .dsx-sidebar-list-icons .dsx-sidebar-item .dsx-spacer, [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-sidebar-list-icons .dsx-sidebar-item .dsx-spacer) { display: none; }\n@media (prefers-reduced-motion: reduce) {\n[data-dsx-owner~=\"SidebarItem\"] .dsx-sidebar-item-title, [data-dsx-owner~=\"SidebarItem\"]:is(.dsx-sidebar-item-title) { transition: none; }\n}\n\n@property --dsx-sidebar-row-height { syntax: \"<length>\"; inherits: true; initial-value: 54px; }\n@property --dsx-sidebar-rail-width { syntax: \"<length>\"; inherits: true; initial-value: 72px; }\n@property --dsx-sidebar-selection { syntax: \"*\"; inherits: true; }\n@property --dsx-sidebar-root-gap { syntax: \"*\"; inherits: true; }\n@property --dsx-sidebar-root-slot-lead { syntax: \"*\"; inherits: true; }\n@property --dsx-sidebar-root-slot-inset { syntax: \"*\"; inherits: true; }\n@property --dsx-sidebar-root-slot-trail { syntax: \"*\"; inherits: true; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-list, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-list) { position: relative; gap: 0; min-height: 100%; align-items: stretch; color: var(--dsx-label); font-size: calc(1.0625rem + 0.25rem * var(--dsx-sidebar-density, 0)); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-list-sections, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-list-sections) { gap: 0; align-items: stretch; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-list-sections > .dsx-list, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-list-sections > .dsx-list) { color: inherit; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-list-header:empty, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-list-header:empty), [data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-list-footer:empty, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-list-footer:empty) { display: none; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-list-header, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-list-header), [data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-list-footer, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-list-footer) { align-items: stretch; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-list-header, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-list-header) { padding: 6px 16px; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-list-footer, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-list-footer) { position: sticky; inset-block-end: 0; z-index: 2; margin-block-start: auto; padding: 10px 16px; background: var(--dsx-sidebar-ground, var(--dsx-secondary-grouped-background)); border-top: var(--dsx-hairline) solid var(--dsx-separator); }\n[data-dsx-owner~=\"SidebarList\"] :is(.dsx-sidebar-list-header, .dsx-sidebar-list-footer) .dsx-avatar, [data-dsx-owner~=\"SidebarList\"]:is(:is(.dsx-sidebar-list-header, .dsx-sidebar-list-footer) .dsx-avatar) { --dsx-avatar-size: 32px; --dsx-avatar-background: var(--dsx-fill); --dsx-avatar-color: var(--dsx-label); }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-list-bar, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-list-bar) { position: absolute; z-index: 4; inset-block-start: 0; inset-inline-end: 8px; block-size: var(--dsx-route-height, 48px); flex-direction: row; align-items: center; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-scaffold-sidebar:has(> .dsx-scaffold-sidebar-title:not(:empty)) .dsx-sidebar-list-bar, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-scaffold-sidebar:has(> .dsx-scaffold-sidebar-title:not(:empty)) .dsx-sidebar-list-bar) { inset-block-start: calc(-1 * var(--dsx-route-height, 48px)); }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-toggle, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-toggle) { min-width: 44px; min-height: 44px; padding: 0; color: var(--dsx-label); background: transparent; box-shadow: none; --dsx-button-icon-size: 22px; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-list-icons .dsx-sidebar-list-bar, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-list-icons .dsx-sidebar-list-bar), [data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-list-hide .dsx-sidebar-list-bar, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-list-hide .dsx-sidebar-list-bar) { position: fixed; inset-block-start: 0; inset-inline-start: 8px; inset-inline-end: auto; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-list-icons .dsx-sidebar-list-sections, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-list-icons .dsx-sidebar-list-sections) { padding-block-start: 48px; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-section-tabhead, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-section-tabhead) { display: none; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-scaffold-shell[data-dsx-layout=\"tabs\"] .dsx-sidebar-list, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-scaffold-shell[data-dsx-layout=\"tabs\"] .dsx-sidebar-list) { min-height: 0; gap: var(--dsx-sidebar-root-gap, 0px); }\n[data-dsx-owner~=\"SidebarList\"] .dsx-scaffold-shell[data-dsx-layout=\"tabs\"] .dsx-sidebar-list-sections, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-scaffold-shell[data-dsx-layout=\"tabs\"] .dsx-sidebar-list-sections) { gap: var(--dsx-sidebar-root-gap, 0px); }\n[data-dsx-owner~=\"SidebarList\"] .dsx-scaffold-shell[data-dsx-layout=\"tabs\"] .dsx-sidebar-list-bar, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-scaffold-shell[data-dsx-layout=\"tabs\"] .dsx-sidebar-list-bar), [data-dsx-owner~=\"SidebarList\"] .dsx-scaffold-shell[data-dsx-layout=\"tabs\"] .dsx-sidebar-list:not(:has(.dsx-sidebar-section-tab-group.dsx-sidebar-section-here)) > :is(.dsx-sidebar-list-header, .dsx-sidebar-list-footer), [data-dsx-owner~=\"SidebarList\"]:is(.dsx-scaffold-shell[data-dsx-layout=\"tabs\"] .dsx-sidebar-list:not(:has(.dsx-sidebar-section-tab-group.dsx-sidebar-section-here)) > :is(.dsx-sidebar-list-header, .dsx-sidebar-list-footer)) { display: none; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-scaffold-shell[data-dsx-layout=\"tabs\"] .dsx-sidebar-list-header, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-scaffold-shell[data-dsx-layout=\"tabs\"] .dsx-sidebar-list-header), [data-dsx-owner~=\"SidebarList\"] .dsx-scaffold-shell[data-dsx-layout=\"tabs\"] .dsx-sidebar-list-footer, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-scaffold-shell[data-dsx-layout=\"tabs\"] .dsx-sidebar-list-footer) { position: static; gap: var(--dsx-sidebar-root-gap, 35px); margin: var(--dsx-sidebar-root-slot-lead, 35px) var(--dsx-sidebar-root-slot-inset, 16px) 0; padding: 0; border: 0; background: none; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-scaffold-shell[data-dsx-layout=\"tabs\"] .dsx-sidebar-list-header, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-scaffold-shell[data-dsx-layout=\"tabs\"] .dsx-sidebar-list-header) { order: -1; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-scaffold-shell[data-dsx-layout=\"tabs\"] .dsx-sidebar-list-footer, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-scaffold-shell[data-dsx-layout=\"tabs\"] .dsx-sidebar-list-footer) { order: 1; margin-block-start: 0; padding-block-end: var(--dsx-sidebar-root-slot-trail, 35px); }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-list-header > .dsx-searchbar-field, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-list-header > .dsx-searchbar-field) { --dsx-list-inset-inline: 0px; margin-inline: calc(var(--dsx-sidebar-gutter, 0px) + 6px * var(--dsx-sidebar-density, 0)) calc(6px * var(--dsx-sidebar-density, 0)); }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-list-header > .dsx-searchbar-field > .dsx-searchbar:not([data-dsx-appearance=\"none\"]), [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-list-header > .dsx-searchbar-field > .dsx-searchbar:not([data-dsx-appearance=\"none\"])) { min-height: calc(44px + 16px * var(--dsx-sidebar-density, 0)); padding-inline: calc(40px + 12px * var(--dsx-sidebar-density, 0)); font-size: calc(var(--dsx-input-type-size) + 0.25rem * var(--dsx-sidebar-density, 0)); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-list-header > .dsx-searchbar-field > .dsx-searchbar-icon, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-list-header > .dsx-searchbar-field > .dsx-searchbar-icon) { inset-inline-start: calc(10px + 2px * var(--dsx-sidebar-density, 0)); }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-list-header > .dsx-searchbar-field > .dsx-searchbar-icon svg, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-list-header > .dsx-searchbar-field > .dsx-searchbar-icon svg) { width: calc(24px + 10px * var(--dsx-sidebar-density, 0)); height: calc(24px + 10px * var(--dsx-sidebar-density, 0)); }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-list-header > .dsx-searchbar-field > .dsx-searchbar-clear, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-list-header > .dsx-searchbar-field > .dsx-searchbar-clear) { inset-inline-end: calc(10px + 2px * var(--dsx-sidebar-density, 0)); }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-section-toggle.dsx-sidebar-section-toggle.dsx-sidebar-section-toggle, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-section-toggle.dsx-sidebar-section-toggle.dsx-sidebar-section-toggle) { flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 8px; min-width: 0; min-height: 0; padding-block: var(--dsx-list-header-pad-top, 6px) var(--dsx-list-header-pad-bottom, 6px); color: var(--dsx-list-secondary-label, var(--dsx-secondary-label)); font-size: var(--dsx-list-header-size, var(--dsx-type-footnote-size)); font-weight: var(--dsx-list-header-weight, var(--dsx-type-headline-weight)); --dsx-lh-pn: var(--dsx-list-header-leading, normal); --dsx-lh-pl: var(--dsx-list-header-leading, normal); --dsx-lh-n: var(--dsx-lh-pn); --dsx-lh-k: 0; --dsx-lh-l: var(--dsx-lh-pl); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); background: transparent; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-row:has(> .dsx-sidebar-section-toggle), [data-dsx-owner~=\"SidebarList\"]:is(.dsx-row:has(> .dsx-sidebar-section-toggle)) { min-height: 0; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-section-toggle > .dsx-sidebar-section-title, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-section-toggle > .dsx-sidebar-section-title) { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; font-size: inherit; font-weight: inherit; --dsx-lh-n: inherit; --dsx-lh-k: inherit; --dsx-lh-l: inherit; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-section-toggle > .dsx-spacer, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-section-toggle > .dsx-spacer) { display: none; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-section-toggle > .dsx-sidebar-section-chevron, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-section-toggle > .dsx-sidebar-section-chevron) { flex: none; inline-size: auto; block-size: auto; font-size: 0.8em; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: inherit; transition: rotate var(--dsx-dur-fast, 120ms) ease; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-section-toggle[aria-expanded=\"false\"] > .dsx-sidebar-section-chevron, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-section-toggle[aria-expanded=\"false\"] > .dsx-sidebar-section-chevron) { rotate: -90deg; }\n@media (prefers-reduced-motion: reduce) {\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-section-toggle > .dsx-sidebar-section-chevron, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-section-toggle > .dsx-sidebar-section-chevron) { transition: none; }\n}\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-section-toggle.dsx-sidebar-section-toggle.dsx-sidebar-section-toggle:is(.dsx-scaffold-shell[data-dsx-layout=\"tabs\"] *), [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-section-toggle.dsx-sidebar-section-toggle.dsx-sidebar-section-toggle:is(.dsx-scaffold-shell[data-dsx-layout=\"tabs\"] *)) { color: var(--dsx-label); font-size: calc(1.0625rem + 0.25rem * var(--dsx-sidebar-density, 0)); font-weight: 400; --dsx-lh-pn: calc(1.375rem + 0.25rem * var(--dsx-sidebar-density, 0)); --dsx-lh-pl: calc(1.375rem + 0.25rem * var(--dsx-sidebar-density, 0)); --dsx-lh-n: var(--dsx-lh-pn); --dsx-lh-k: 0; --dsx-lh-l: var(--dsx-lh-pl); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-section-toggle:is(.dsx-scaffold-shell[data-dsx-layout=\"tabs\"] *) > .dsx-sidebar-section-chevron, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-section-toggle:is(.dsx-scaffold-shell[data-dsx-layout=\"tabs\"] *) > .dsx-sidebar-section-chevron) { color: var(--dsx-list-tertiary-label, var(--dsx-tertiary-label)); }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-section-disclosure.dsx-sidebar-section-disclosure > .dsx-accordion-header, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-section-disclosure.dsx-sidebar-section-disclosure > .dsx-accordion-header) { min-height: 0; padding: 0 var(--dsx-list-padding-inline, 16px); color: var(--dsx-list-secondary-label, var(--dsx-secondary-label)); font-size: var(--dsx-list-header-size, var(--dsx-type-footnote-size)); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-section-disclosure > .dsx-accordion-header .dsx-accordion-chevron, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-section-disclosure > .dsx-accordion-header .dsx-accordion-chevron) { transform: rotate(-90deg); font-size: .8em; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-section-disclosure.dsx-accordion-open > .dsx-accordion-header .dsx-accordion-chevron, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-section-disclosure.dsx-accordion-open > .dsx-accordion-header .dsx-accordion-chevron) { transform: rotate(0deg); }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-section-disclosure.dsx-sidebar-section-disclosure > .dsx-accordion-body, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-section-disclosure.dsx-sidebar-section-disclosure > .dsx-accordion-body) { padding: 0; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-section-disclosure.dsx-sidebar-section-disclosure > .dsx-accordion-body > *, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-section-disclosure.dsx-sidebar-section-disclosure > .dsx-accordion-body > *) { margin-block: 0; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-section-disclosure.dsx-sidebar-section-disclosure > .dsx-accordion-body::before, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-section-disclosure.dsx-sidebar-section-disclosure > .dsx-accordion-body::before) { display: none; }\n[data-dsx-owner~=\"SidebarList\"] .dsx-sidebar-section-disclosure > .dsx-accordion-header .dsx-accordion-chevron svg, [data-dsx-owner~=\"SidebarList\"]:is(.dsx-sidebar-section-disclosure > .dsx-accordion-header .dsx-accordion-chevron svg) { transform: rotate(90deg); }\n\n[data-dsx-owner~=\"StepPage\"] .dsx-step-page, [data-dsx-owner~=\"StepPage\"]:is(.dsx-step-page) { grid-area: 1 / 1; align-self: start; min-width: 0; gap: var(--dsx-step-page-gap, 0rem); align-items: stretch; translate: 0px 0px; clip-path: inset(-100vmax 0% -100vmax -100vmax); z-index: 1; opacity: 1; visibility: visible; transition: translate var(--dsx-step-page-duration, 350ms) cubic-bezier(0.32, 0.72, 0, 1),\n    clip-path var(--dsx-step-page-duration, 350ms) cubic-bezier(0.32, 0.72, 0, 1),\n    opacity var(--dsx-step-page-duration, 350ms) ease,\n    visibility 0s linear 0s; }\n[data-dsx-owner~=\"StepPage\"] .dsx-step-page-before, [data-dsx-owner~=\"StepPage\"]:is(.dsx-step-page-before), [data-dsx-owner~=\"StepPage\"] .dsx-step-page-after, [data-dsx-owner~=\"StepPage\"]:is(.dsx-step-page-after) { visibility: hidden; pointer-events: none; transition: translate var(--dsx-step-page-duration, 350ms) cubic-bezier(0.32, 0.72, 0, 1),\n    clip-path var(--dsx-step-page-duration, 350ms) cubic-bezier(0.32, 0.72, 0, 1),\n    opacity var(--dsx-step-page-duration, 350ms) ease,\n    visibility 0s linear var(--dsx-step-page-duration, 350ms); }\n[data-dsx-owner~=\"StepPage\"] .dsx-step-page-before, [data-dsx-owner~=\"StepPage\"]:is(.dsx-step-page-before) { translate: -30% 0px; clip-path: inset(-100vmax 70% -100vmax -100vmax); z-index: 0; opacity: 0; }\n[data-dsx-owner~=\"StepPage\"] .dsx-step-page-after, [data-dsx-owner~=\"StepPage\"]:is(.dsx-step-page-after) { translate: 100% 0px; z-index: 2; }\n[data-dsx-owner~=\"StepPage\"] .dsx-step-page:dir(rtl), [data-dsx-owner~=\"StepPage\"]:is(.dsx-step-page:dir(rtl)) { clip-path: inset(-100vmax -100vmax -100vmax 0%); }\n[data-dsx-owner~=\"StepPage\"] .dsx-step-page-before:dir(rtl), [data-dsx-owner~=\"StepPage\"]:is(.dsx-step-page-before:dir(rtl)) { translate: 30% 0px; clip-path: inset(-100vmax -100vmax -100vmax 70%); }\n[data-dsx-owner~=\"StepPage\"] .dsx-step-page-after:dir(rtl), [data-dsx-owner~=\"StepPage\"]:is(.dsx-step-page-after:dir(rtl)) { translate: -100% 0px; }\n@media (prefers-reduced-motion: reduce) {\n[data-dsx-owner~=\"StepPage\"] .dsx-step-page, [data-dsx-owner~=\"StepPage\"]:is(.dsx-step-page), [data-dsx-owner~=\"StepPage\"] .dsx-step-page:dir(rtl), [data-dsx-owner~=\"StepPage\"]:is(.dsx-step-page:dir(rtl)), [data-dsx-owner~=\"StepPage\"] .dsx-step-page-before:dir(rtl), [data-dsx-owner~=\"StepPage\"]:is(.dsx-step-page-before:dir(rtl)), [data-dsx-owner~=\"StepPage\"] .dsx-step-page-after:dir(rtl), [data-dsx-owner~=\"StepPage\"]:is(.dsx-step-page-after:dir(rtl)) { translate: 0px 0px; clip-path: none; }\n[data-dsx-owner~=\"StepPage\"] .dsx-step-page-after, [data-dsx-owner~=\"StepPage\"]:is(.dsx-step-page-after) { opacity: 0; }\n}\n\n[data-dsx-owner~=\"StepPages\"] .dsx-step-pages, [data-dsx-owner~=\"StepPages\"]:is(.dsx-step-pages) { display: grid; align-self: stretch; overflow-x: clip; }\n\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header) { --dsx-icon-tile-size: var(--dsx-summary-header-icon-size, 56px); gap: 1.25rem; align-self: stretch; min-width: 0; padding-block: 0.5rem 0.25rem; }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-icon.dsx-icon-tile-symbol, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-icon.dsx-icon-tile-symbol) { --dsx-icon-tile-background: var(--dsx-fill); --dsx-icon-tile-color: var(--dsx-label); }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-stack.dsx-summary-header-top, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-stack.dsx-summary-header-top) { align-self: stretch; flex-direction: row; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; min-width: 0; }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-heading, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-heading) { flex-grow: 1; flex-shrink: 1; flex-basis: 12rem; gap: 0.25rem; min-width: 0; }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-title-line, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-title-line) { flex-direction: row; flex-wrap: nowrap; gap: 0.375rem 0.625rem; align-items: center; min-width: 0; font-size: 1.75rem; --dsx-lh-n: 1.2; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-title, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-title) { flex-shrink: 1; min-width: 0; font-size: inherit; --dsx-lh-n: inherit; --dsx-lh-k: inherit; --dsx-lh-l: inherit; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--dsx-label); }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-status, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-status) { flex-direction: row; flex-shrink: 0; align-items: center; justify-content: center; width: 1.5rem; align-self: flex-start; height: 1lh; color: var(--dsx-summary-header-status-color, var(--dsx-secondary-label)); }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-status-icon, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-status-icon) { font-size: 1.375rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: inherit; }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-spinner, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-spinner) { width: 1.25rem; height: 1.25rem; color: inherit; }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-status-link, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-status-link) { cursor: pointer; border-radius: 50%; }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-status-link:focus-visible, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-status-link:focus-visible) { outline: none; opacity: 0.72; }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-status-spins .dsx-summary-header-status-icon, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-status-spins .dsx-summary-header-status-icon) { display: none; }\n@media (prefers-reduced-motion: reduce) {\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-status-spins .dsx-summary-header-spinner, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-status-spins .dsx-summary-header-spinner) { display: none; }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-status-spins .dsx-summary-header-status-icon, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-status-spins .dsx-summary-header-status-icon) { display: flex; }\n}\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-status-success, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-status-success) { --dsx-summary-header-status-color: var(--dsx-success, #34C759); }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-status-danger, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-status-danger) { --dsx-summary-header-status-color: var(--dsx-danger, #FF3B30); }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-status-warning, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-status-warning) { --dsx-summary-header-status-color: var(--dsx-warning, #FF9500); }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-status-info, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-status-info) { --dsx-summary-header-status-color: var(--dsx-info, #007AFF); }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-status-accent, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-status-accent) { --dsx-summary-header-status-color: var(--dsx-accent, #007AFF); }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-status-progress, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-status-progress) { --dsx-summary-header-status-color: var(--dsx-info, #007AFF); }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-status-neutral, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-status-neutral) { --dsx-summary-header-status-color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-subtitle-space, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-subtitle-space) { align-self: stretch; block-size: 2lh; flex-shrink: 0; font-size: 0.9375rem; --dsx-lh-n: 1.5; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-subtitle, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-subtitle) { --dsx-lh-n: 1.5; --dsx-lh-k: 0; --dsx-lh-l: 0px; font-size: 0.9375rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-actions, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-actions) { flex-direction: row; flex-wrap: wrap; flex-shrink: 0; gap: 1rem; align-items: center; margin-inline-start: auto; }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-facts, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-facts) { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); align-self: stretch; gap: 1rem; padding: 1rem; border-radius: calc(var(--dsx-summary-header-radius, var(--dsx-surface-radius, 36.5px)) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-summary-header-corner-shape, var(--dsx-surface-corner-shape, superellipse(1.6))); --dsx-corner-shape-k: var(--dsx-summary-header-corner-shape, var(--dsx-surface-corner-shape, superellipse(1.6))); --dsx-corner-fallback: var(--dsx-summary-header-corner-shape-fallback, var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021))); background: var(--dsx-summary-header-background, var(--dsx-list-cell, var(--dsx-secondary-grouped-background))); box-shadow: none; }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-fact, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-fact) { gap: 0.125rem; min-width: 0; }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-fact-label, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-fact-label) { font-size: 0.8125rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-fact-value, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-fact-value) { overflow-wrap: anywhere; font-size: 1.0625rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--dsx-label); }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-fact-mono, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-fact-mono) { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; --dsx-face-normal: 1.2; font-size: 0.9375rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n@media (forced-colors: active) {\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-facts, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-facts) { border: 1px solid CanvasText; }\n}\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-rule, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-rule) { display: none; }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-page > .dsx-summary-header-rule, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-page > .dsx-summary-header-rule) { display: flex; align-self: stretch; block-size: 0px; border-bottom: var(--dsx-summary-header-divider, var(--dsx-page-header-divider, var(--dsx-hairline, 1px) solid var(--dsx-separator))); }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-notices, [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-notices) { align-self: stretch; gap: 0px; overflow: hidden; border-radius: calc(var(--dsx-surface-corner, 26px) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); }\n[data-dsx-owner~=\"SummaryHeader\"] .dsx-summary-header-notices:not([data-dsx-visible-notices]), [data-dsx-owner~=\"SummaryHeader\"]:is(.dsx-summary-header-notices:not([data-dsx-visible-notices])) { display: none; }\n\n[data-dsx-owner~=\"TaskRow\"] .dsx-task-row-mark, [data-dsx-owner~=\"TaskRow\"]:is(.dsx-task-row-mark) { opacity: 1; transform: scale(1); transition: opacity 180ms ease-out, transform 180ms ease-out; }\n@starting-style {\n[data-dsx-settled] [data-dsx-owner~=\"TaskRow\"] .dsx-task-row-mark, [data-dsx-settled] [data-dsx-owner~=\"TaskRow\"]:is(.dsx-task-row-mark) { opacity: 0; transform: scale(0.6); }\n}\n[data-dsx-owner~=\"TaskRow\"] .dsx-task-row-title, [data-dsx-owner~=\"TaskRow\"]:is(.dsx-task-row-title) { transition: color 180ms ease-out; }\n\n@keyframes dsx-thinking-pulse {\n0%, 80%, 100% { opacity: 0.28; transform: scale(0.82); }\n40% { opacity: 1; transform: scale(1); }\n}\n[data-dsx-owner~=\"ThinkingOrb\"] .dsx-thinking-dot, [data-dsx-owner~=\"ThinkingOrb\"]:is(.dsx-thinking-dot) { opacity: 0.75; animation: dsx-thinking-pulse 1.2s ease-in-out infinite; }\n[data-dsx-owner~=\"ThinkingOrb\"] .dsx-thinking-dot-2, [data-dsx-owner~=\"ThinkingOrb\"]:is(.dsx-thinking-dot-2) { animation-delay: 0.16s; }\n[data-dsx-owner~=\"ThinkingOrb\"] .dsx-thinking-dot-3, [data-dsx-owner~=\"ThinkingOrb\"]:is(.dsx-thinking-dot-3) { animation-delay: 0.32s; }\n@media (prefers-reduced-motion: reduce) {\n[data-dsx-owner~=\"ThinkingOrb\"] .dsx-thinking-dot, [data-dsx-owner~=\"ThinkingOrb\"]:is(.dsx-thinking-dot) { animation: none; opacity: 0.75; }\n}\n\n@property --dsx-threadpane-gutter { syntax: \"<length>\"; inherits: true; initial-value: 20px; }\n@property --dsx-threadpane-gap { syntax: \"<length>\"; inherits: true; initial-value: 8px; }\n[data-dsx-owner~=\"ThreadPane\"] .dsx-threadpane, [data-dsx-owner~=\"ThreadPane\"]:is(.dsx-threadpane) { align-self: stretch; height: 100%; min-height: 0; gap: 0; }\n[data-dsx-owner~=\"ThreadPane\"] .dsx-threadpane-body, [data-dsx-owner~=\"ThreadPane\"]:is(.dsx-threadpane-body) { position: relative; flex: 1 1 0; min-height: 0; align-self: stretch; }\n[data-dsx-owner~=\"ThreadPane\"] .dsx-threadpane-scroll, [data-dsx-owner~=\"ThreadPane\"]:is(.dsx-threadpane-scroll) { flex: 1 1 0; min-height: 0; align-self: stretch; flex-direction: column-reverse; }\n[data-dsx-owner~=\"ThreadPane\"] .dsx-threadpane-thread, [data-dsx-owner~=\"ThreadPane\"]:is(.dsx-threadpane-thread) { align-self: stretch; gap: var(--dsx-threadpane-gap); padding: 16px var(--dsx-threadpane-gutter); }\n[data-dsx-owner~=\"ThreadPane\"] .dsx-threadpane-composer, [data-dsx-owner~=\"ThreadPane\"]:is(.dsx-threadpane-composer) { align-self: stretch; padding: 8px var(--dsx-threadpane-gutter) 16px; }\n[data-dsx-owner~=\"ThreadPane\"] .dsx-threadpane-jump, [data-dsx-owner~=\"ThreadPane\"]:is(.dsx-threadpane-jump) { position: absolute; bottom: 12px; inset-inline-start: 0px; inset-inline-end: 0px; width: fit-content; margin-inline: auto; z-index: 1; box-shadow: var(--dsx-shadow-2); --dsx-button-bordered-fill: var(--dsx-secondary-grouped-background); }\n\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline) { gap: 0.75rem; align-self: stretch; align-items: stretch; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-progress, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-progress) { --dsx-timeline-header-display: flex; --dsx-timeline-step-count-display: flex; --dsx-timeline-items-display: none; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-checklist, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-checklist) { --dsx-timeline-header-display: flex; --dsx-timeline-done-count-display: flex; --dsx-timeline-connector-visibility: hidden; --dsx-timeline-row-gap: 0.75rem; --dsx-timeline-done-title-ink: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-numbered, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-numbered) { --dsx-timeline-number-display: flex; --dsx-timeline-dot-scale: 1; --dsx-timeline-dot-border: 0px; --dsx-timeline-dot-ground: var(--dsx-fill); --dsx-timeline-current-dot-ground: var(--dsx-label); --dsx-timeline-current-number-ink: var(--dsx-background); --dsx-timeline-icon-scale: 1; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-horizontal, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-horizontal) { --dsx-timeline-axis: row; --dsx-timeline-items-overflow: auto; --dsx-timeline-items-padding: calc(var(--dsx-focus-ring-width, 2px) + var(--dsx-focus-ring-offset, 2px)) 0px; --dsx-timeline-row-align: center; --dsx-timeline-row-grow: 1; --dsx-timeline-row-basis: 0px; --dsx-timeline-row-min: var(--dsx-timeline-track-min, 56px); --dsx-timeline-row-padding: 0px calc(var(--dsx-focus-ring-width, 2px) + var(--dsx-focus-ring-offset, 2px)); --dsx-timeline-track-container: inline-size; --dsx-timeline-rail-display: flex; --dsx-timeline-connector-display: none; --dsx-timeline-step-axis: column; --dsx-timeline-step-align: center; --dsx-timeline-step-self: center; --dsx-timeline-step-padding: 0px 6px 4px 6px; --dsx-timeline-step-gap: 0.5rem; --dsx-timeline-step-grow: 0; --dsx-timeline-copy-grow: 0; --dsx-timeline-copy-align: center; --dsx-timeline-headline-axis: column; --dsx-timeline-headline-align: center; --dsx-timeline-headline-min: 0px; --dsx-timeline-title-size: 0.8125rem; --dsx-timeline-title-line: 1.125rem; --dsx-timeline-title-clamp: 2; --dsx-timeline-title-align: center; --dsx-timeline-action-align: center; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-compact, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-compact) { --dsx-timeline-marker-size: 16px; --dsx-timeline-row-gap: 0.5rem; --dsx-timeline-title-size: 0.9375rem; --dsx-timeline-title-line: 1.25rem; --dsx-timeline-detail-size: 0.8125rem; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-large, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-large) { --dsx-timeline-marker-size: 32px; --dsx-timeline-row-gap: 1.25rem; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-items, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-items) { flex-direction: var(--dsx-timeline-axis, column); display: var(--dsx-timeline-items-display, flex); gap: 0rem; align-items: stretch; overflow-x: var(--dsx-timeline-items-overflow, visible); padding: var(--dsx-timeline-items-padding, 0px); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-row, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-row) { position: relative; flex-direction: column; flex-grow: var(--dsx-timeline-row-grow, 0); flex-shrink: 1; flex-basis: var(--dsx-timeline-row-basis, auto); min-width: var(--dsx-timeline-row-min, 0px); padding: var(--dsx-timeline-row-padding, 0px); gap: 0rem; align-items: var(--dsx-timeline-row-align, stretch); container-name: dsx-timeline-track; container-type: var(--dsx-timeline-track-container, normal); --dsx-timeline-tone: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-rail, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-rail) { display: var(--dsx-timeline-rail-display, none); position: absolute; top: 0px; inset-inline-start: 0px; inset-inline-end: 0px; height: var(--dsx-timeline-marker-size, 24px); flex-direction: row; align-items: center; gap: var(--dsx-timeline-link-gap, 8px); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-rail-marker, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-rail-marker) { flex-shrink: 0; width: var(--dsx-timeline-marker-size, 24px); height: var(--dsx-timeline-marker-size, 24px); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-link, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-link) { display: flex; flex-direction: row; flex-grow: 1; flex-shrink: 1; flex-basis: 0px; min-width: 0px; height: 2px; align-self: center; overflow: hidden; background: var(--dsx-timeline-connector, var(--dsx-separator)); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-link-lead, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-link-lead) { border-radius: 0px 1px 1px 0px; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-link-trail, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-link-trail) { border-radius: 1px 0px 0px 1px; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-first .dsx-timeline-link-lead, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-first .dsx-timeline-link-lead), [data-dsx-owner~=\"Timeline\"] .dsx-timeline-last .dsx-timeline-link-trail, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-last .dsx-timeline-link-trail) { visibility: hidden; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-link-fill, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-link-fill) { flex-grow: 1; align-self: stretch; background: var(--dsx-tertiary-label); scale: 0 1; transform-origin: left center; transition: scale calc(var(--dsx-timeline-duration, 300ms) / 2) linear; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-link-fill:dir(rtl), [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-link-fill:dir(rtl)) { transform-origin: right center; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-link-trail > .dsx-timeline-link-fill, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-link-trail > .dsx-timeline-link-fill) { transition-delay: calc(var(--dsx-timeline-duration, 300ms) / 2); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-phase-done > .dsx-timeline-rail > .dsx-timeline-link-trail > .dsx-timeline-link-fill, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-phase-done > .dsx-timeline-rail > .dsx-timeline-link-trail > .dsx-timeline-link-fill) { scale: 1 1; transition-delay: 0s; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-after-done > .dsx-timeline-rail > .dsx-timeline-link-lead > .dsx-timeline-link-fill, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-after-done > .dsx-timeline-rail > .dsx-timeline-link-lead > .dsx-timeline-link-fill) { scale: 1 1; transition-delay: calc(var(--dsx-timeline-duration, 300ms) / 2); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-step, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-step) { position: relative; flex-direction: var(--dsx-timeline-step-axis, row); flex-grow: var(--dsx-timeline-step-grow, 1); flex-shrink: 1; min-width: 0; max-width: 100%; align-self: var(--dsx-timeline-step-self, auto); padding: var(--dsx-timeline-step-padding, 0px); gap: var(--dsx-timeline-step-gap, 0.75rem); align-items: var(--dsx-timeline-step-align, stretch); border-radius: calc(var(--dsx-timeline-step-radius, var(--dsx-radius-control, 10px)) * var(--dsx-corner-fallback, 1)); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-actionable, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-actionable) { --dsx-timeline-connector-gap: calc(var(--dsx-focus-ring-width, 2px) + var(--dsx-focus-ring-offset, 2px)); padding: calc(var(--dsx-focus-ring-width, 2px) + var(--dsx-focus-ring-offset, 2px)); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-hit, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-hit) { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; min-width: 0; min-height: 0; margin: 0; padding: 0; border-radius: inherit; color: transparent; background: transparent; box-shadow: none; outline: none; opacity: 1; cursor: pointer; transition: none; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-hit:active, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-hit:active), [data-dsx-owner~=\"Timeline\"] .dsx-timeline-hit:focus, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-hit:focus), [data-dsx-owner~=\"Timeline\"] .dsx-timeline-hit:focus-visible, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-hit:focus-visible) { background: transparent; box-shadow: none; outline: none; opacity: 1; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-step:has(> .dsx-timeline-hit:focus-visible), [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-step:has(> .dsx-timeline-hit:focus-visible)) { outline: var(--dsx-focus-ring-outline, 2px solid var(--dsx-accent)); outline-offset: var(--dsx-focus-ring-offset, 2px); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-step > .dsx-timeline-marker, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-step > .dsx-timeline-marker), [data-dsx-owner~=\"Timeline\"] .dsx-timeline-step > .dsx-timeline-copy, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-step > .dsx-timeline-copy) { transition: opacity var(--dsx-dur-fast, 120ms) ease; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-step:has(> .dsx-timeline-hit:active) > .dsx-timeline-marker, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-step:has(> .dsx-timeline-hit:active) > .dsx-timeline-marker), [data-dsx-owner~=\"Timeline\"] .dsx-timeline-step:has(> .dsx-timeline-hit:active) > .dsx-timeline-copy, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-step:has(> .dsx-timeline-hit:active) > .dsx-timeline-copy) { opacity: 0.6; transition-duration: 0s; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-phase-done, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-phase-done) { --dsx-timeline-tone: var(--dsx-tone-success-ink); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-phase-current, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-phase-current) { --dsx-timeline-tone: var(--dsx-label); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-phase-failed, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-phase-failed) { --dsx-timeline-tone: var(--dsx-destructive); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-phase-skipped, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-phase-skipped) { --dsx-timeline-tone: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-state-warning, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-state-warning) { --dsx-timeline-tone: var(--dsx-warning, #ff9500); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-state-info, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-state-info) { --dsx-timeline-tone: var(--dsx-info, var(--dsx-accent)); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-marker, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-marker) { flex-shrink: 0; width: var(--dsx-timeline-marker-size, 24px); height: var(--dsx-timeline-marker-size, 24px); align-items: center; justify-content: center; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-icon, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-icon) { font-size: calc(var(--dsx-timeline-marker-size, 24px) * var(--dsx-timeline-icon-scale, 0.8)); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-timeline-tone); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-spinner, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-spinner) { width: calc(var(--dsx-timeline-marker-size, 24px) * 0.75); height: calc(var(--dsx-timeline-marker-size, 24px) * 0.75); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-avatar, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-avatar) { width: var(--dsx-timeline-marker-size, 24px); height: var(--dsx-timeline-marker-size, 24px); border-radius: 999px; object-fit: cover; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-dot, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-dot) { width: calc(var(--dsx-timeline-marker-size, 24px) * var(--dsx-timeline-dot-scale, 0.5)); height: calc(var(--dsx-timeline-marker-size, 24px) * var(--dsx-timeline-dot-scale, 0.5)); border-radius: 999px; border: var(--dsx-timeline-dot-border, 2px) solid var(--dsx-timeline-tone); background: var(--dsx-timeline-dot-ground, transparent); align-items: center; justify-content: center; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-phase-done .dsx-timeline-dot, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-phase-done .dsx-timeline-dot) { background: var(--dsx-timeline-done-dot-ground, var(--dsx-timeline-tone)); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-current .dsx-timeline-dot, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-current .dsx-timeline-dot) { background: var(--dsx-timeline-current-dot-ground, var(--dsx-timeline-tone)); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-number, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-number) { display: var(--dsx-timeline-number-display, none); font-size: 0.75rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--dsx-secondary-label); transition: color var(--dsx-timeline-duration, 300ms) ease; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-current .dsx-timeline-number, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-current .dsx-timeline-number) { color: var(--dsx-timeline-current-number-ink, var(--dsx-secondary-label)); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-connector, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-connector) { display: var(--dsx-timeline-connector-display, flex); visibility: var(--dsx-timeline-connector-visibility, visible); flex-grow: 0; flex-shrink: 0; align-self: flex-start; width: 2px; min-width: 2px; min-height: calc(var(--dsx-timeline-row-gap, 1rem) - 2 * var(--dsx-timeline-connector-gap, 2px)); margin: var(--dsx-timeline-connector-gap, 2px) 0px var(--dsx-timeline-connector-gap, 2px) calc(var(--dsx-timeline-marker-size, 24px) / 2 - 1px); border-radius: 1px; overflow: hidden; background: var(--dsx-timeline-connector, var(--dsx-separator)); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-connector-fill, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-connector-fill) { flex-grow: 1; align-self: stretch; background: var(--dsx-timeline-tone); scale: 1 0; transform-origin: center top; transition: scale var(--dsx-timeline-duration, 300ms) cubic-bezier(0.32, 0.72, 0, 1); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-phase-done .dsx-timeline-connector-fill, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-phase-done .dsx-timeline-connector-fill) { scale: 1 1; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-last .dsx-timeline-connector, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-last .dsx-timeline-connector) { display: none; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-copy, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-copy) { flex-grow: var(--dsx-timeline-copy-grow, 1); flex-shrink: 1; min-width: 0; max-width: 100%; gap: 0.125rem; align-items: var(--dsx-timeline-copy-align, stretch); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-headline, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-headline) { flex-direction: var(--dsx-timeline-headline-axis, row); gap: 0.5rem; min-height: var(--dsx-timeline-headline-min, var(--dsx-timeline-marker-size, 24px)); align-items: var(--dsx-timeline-headline-align, center); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-title, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-title) { flex-grow: 1; flex-shrink: 1; min-width: 0; font-size: var(--dsx-timeline-title-size, 1.0625rem); --dsx-lh-pn: var(--dsx-timeline-title-line, 1.375rem); --dsx-lh-pl: var(--dsx-timeline-title-line, 1.375rem); --dsx-lh-n: var(--dsx-lh-pn); --dsx-lh-k: 0; --dsx-lh-l: var(--dsx-lh-pl); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); line-clamp: var(--dsx-timeline-title-clamp, none); text-align: var(--dsx-timeline-title-align, start); overflow-wrap: normal; text-overflow: ellipsis; color: var(--dsx-label); transition: color var(--dsx-timeline-duration, 300ms) ease; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-current .dsx-timeline-title, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-current .dsx-timeline-title) { font-weight: 600; }\n@container dsx-timeline-track (max-width: 63.98px) {\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-row:not(.dsx-timeline-current) .dsx-timeline-copy, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-row:not(.dsx-timeline-current) .dsx-timeline-copy) { display: none; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-current .dsx-timeline-copy, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-current .dsx-timeline-copy) { max-width: none; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-current .dsx-timeline-title, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-current .dsx-timeline-title) { white-space: nowrap; line-clamp: none; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-first.dsx-timeline-current .dsx-timeline-copy, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-first.dsx-timeline-current .dsx-timeline-copy) { align-self: flex-start; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-last.dsx-timeline-current .dsx-timeline-copy, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-last.dsx-timeline-current .dsx-timeline-copy) { align-self: flex-end; }\n}\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-phase-skipped .dsx-timeline-title, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-phase-skipped .dsx-timeline-title) { color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-phase-done .dsx-timeline-title, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-phase-done .dsx-timeline-title) { color: var(--dsx-timeline-done-title-ink, var(--dsx-label)); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-trailing, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-trailing) { flex-shrink: 0; white-space: nowrap; text-align: end; font-size: var(--dsx-timeline-detail-size, 0.9375rem); --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 1.25rem; line-height: round(nearest, 1.25rem, 1px); font-variant-numeric: tabular-nums; color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-detail, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-detail), [data-dsx-owner~=\"Timeline\"] .dsx-timeline-fix, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-fix) { font-size: var(--dsx-timeline-detail-size, 0.9375rem); --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 1.25rem; line-height: round(nearest, 1.25rem, 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-reason, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-reason) { font-size: var(--dsx-timeline-detail-size, 0.9375rem); --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 1.25rem; line-height: round(nearest, 1.25rem, 1px); color: var(--dsx-destructive); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-subitems, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-subitems) { flex-direction: column; gap: 0.25rem; padding-top: 0.25rem; align-items: stretch; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-subitem, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-subitem) { flex-direction: row; gap: 0.75rem; align-items: flex-start; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-subitem-title, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-subitem-title) { flex-grow: 1; flex-shrink: 1; min-width: 0; font-size: var(--dsx-timeline-detail-size, 0.9375rem); --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 1.25rem; line-height: round(nearest, 1.25rem, 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-action, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-action) { position: relative; z-index: 2; align-self: var(--dsx-timeline-action-align, flex-start); font-size: 0.9375rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-label); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-header, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-header) { display: var(--dsx-timeline-header-display, none); gap: 0.5rem; align-items: stretch; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-step-count, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-step-count) { display: var(--dsx-timeline-step-count-display, none); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-done-count, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-done-count) { display: var(--dsx-timeline-done-count-display, none); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-step-count, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-step-count), [data-dsx-owner~=\"Timeline\"] .dsx-timeline-done-count, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-done-count) { font-size: 0.8125rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-segments, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-segments) { flex-direction: row; gap: 4px; align-items: stretch; }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-segment, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-segment) { flex-grow: 1; flex-basis: 0; height: var(--dsx-timeline-segment-height, 4px); border-radius: 999px; background: var(--dsx-fill); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-segment.dsx-timeline-phase-done, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-segment.dsx-timeline-phase-done), [data-dsx-owner~=\"Timeline\"] .dsx-timeline-segment.dsx-timeline-current, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-segment.dsx-timeline-current) { background: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-icon, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-icon), [data-dsx-owner~=\"Timeline\"] .dsx-timeline-dot, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-dot) { transition: scale var(--dsx-timeline-duration, 300ms) cubic-bezier(0.34, 1.4, 0.64, 1),\n    opacity var(--dsx-timeline-duration, 300ms) ease,\n    background-color var(--dsx-timeline-duration, 300ms) ease,\n    border-color var(--dsx-timeline-duration, 300ms) ease; }\n@starting-style {\n[data-dsx-settled] [data-dsx-owner~=\"Timeline\"] .dsx-timeline-icon, [data-dsx-settled] [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-icon), [data-dsx-settled] [data-dsx-owner~=\"Timeline\"] .dsx-timeline-dot, [data-dsx-settled] [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-dot) { scale: 0.6; opacity: 0; }\n}\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-icon[data-dsx-leaving], [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-icon)[data-dsx-leaving], [data-dsx-owner~=\"Timeline\"] .dsx-timeline-dot[data-dsx-leaving], [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-dot)[data-dsx-leaving] { scale: 0.6; opacity: 0; }\n@media (prefers-reduced-motion: reduce) {\n[data-dsx-owner~=\"Timeline\"] .dsx-timeline-icon, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-icon), [data-dsx-owner~=\"Timeline\"] .dsx-timeline-dot, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-dot), [data-dsx-owner~=\"Timeline\"] .dsx-timeline-number, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-number), [data-dsx-owner~=\"Timeline\"] .dsx-timeline-title, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-title), [data-dsx-owner~=\"Timeline\"] .dsx-timeline-connector-fill, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-connector-fill), [data-dsx-owner~=\"Timeline\"] .dsx-timeline-link-fill, [data-dsx-owner~=\"Timeline\"]:is(.dsx-timeline-link-fill) { transition: opacity var(--dsx-timeline-duration, 300ms) ease; }\n}\n\n[data-dsx-owner~=\"Block\"] .dsx-blocks-row, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-row) { padding-top: 1px; padding-bottom: 1px; border-radius: 3px; transition: opacity 0.15s ease; --dsx-blocks-text-size: var(--dsx-blocks-font-size, 16px); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-row-dragging, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-row-dragging) { opacity: var(--dsx-blocks-drag-opacity, 0.85); background-color: var(--dsx-blocks-menu-background, var(--dsx-system-background)); border-radius: 6px; box-shadow: 0 0 0 1px rgba(15, 15, 15, 0.05), 0 3px 6px rgba(15, 15, 15, 0.1), 0 9px 24px rgba(15, 15, 15, 0.2); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-row-selected .dsx-blocks-line, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-row-selected .dsx-blocks-line) { background-color: var(--dsx-blocks-selection, rgba(35, 131, 226, 0.14)); border-radius: 3px; }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-line, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-line) { gap: 0px; }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-text, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-text) { padding: 3px 2px; font-size: var(--dsx-blocks-text-size); --dsx-lh-pn: var(--dsx-blocks-line-height, 1.5); --dsx-lh-pl: var(--dsx-blocks-line-height, 1.5); --dsx-lh-n: var(--dsx-lh-pn); --dsx-lh-k: 0; --dsx-lh-l: var(--dsx-lh-pl); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-blocks-ink, var(--dsx-label)); --dsx-blocks-placeholder-ink: var(--dsx-blocks-placeholder, var(--dsx-tertiary-label)); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-marker, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-marker) { width: var(--dsx-blocks-indent, 24px); min-width: var(--dsx-blocks-indent, 24px); flex-shrink: 0; align-items: center; justify-content: center; color: var(--dsx-blocks-ink, var(--dsx-label)); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-bullet, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-bullet) { font-size: 22px; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 30px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); text-align: center; }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-number, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-number) { font-size: var(--dsx-blocks-text-size); --dsx-lh-pn: var(--dsx-blocks-line-height, 1.5); --dsx-lh-pl: var(--dsx-blocks-line-height, 1.5); --dsx-lh-n: var(--dsx-lh-pn); --dsx-lh-k: 0; --dsx-lh-l: var(--dsx-lh-pl); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); padding: 3px 2px 3px 0px; text-align: center; font-variant-numeric: tabular-nums; }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-check-hit, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-check-hit) { height: 30px; padding: 0px; background-color: transparent; }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-check, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-check) { width: 16px; height: 16px; border: 1.5px solid var(--dsx-blocks-ink, var(--dsx-label)); border-radius: 2px; align-items: center; justify-content: center; }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-check-on, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-check-on) { background-color: var(--dsx-blocks-accent, var(--dsx-accent)); border-color: var(--dsx-blocks-accent, var(--dsx-accent)); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-check-glyph, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-check-glyph) { color: #ffffff; }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-row-checked .dsx-blocks-text, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-row-checked .dsx-blocks-text) { text-decoration: line-through; text-decoration-color: var(--dsx-blocks-ink-secondary, var(--dsx-secondary-label)); color: var(--dsx-blocks-ink-secondary, var(--dsx-secondary-label)); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-chevron-hit, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-chevron-hit) { height: 30px; padding: 0px; background-color: transparent; }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-chevron, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-chevron) { color: var(--dsx-blocks-ink-secondary, var(--dsx-secondary-label)); transition: transform 0.2s ease; }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-chevron-open, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-chevron-open) { transform: rotate(90deg); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-h1, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-h1) { padding-top: 32px; --dsx-blocks-text-size: var(--dsx-blocks-h1-size, 30px); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-h2, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-h2) { padding-top: 22px; --dsx-blocks-text-size: var(--dsx-blocks-h2-size, 24px); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-h3, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-h3) { padding-top: 16px; --dsx-blocks-text-size: var(--dsx-blocks-h3-size, 20px); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-h4, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-h4), [data-dsx-owner~=\"Block\"] .dsx-blocks-h5, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-h5), [data-dsx-owner~=\"Block\"] .dsx-blocks-h6, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-h6) { padding-top: 12px; }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-type-heading .dsx-blocks-text, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-type-heading .dsx-blocks-text) { font-weight: var(--dsx-blocks-heading-weight, 600); --dsx-lh-n: 1.3; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-kind-quote .dsx-blocks-line, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-kind-quote .dsx-blocks-line) { padding-left: var(--dsx-blocks-quote-indent, 17px); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-kind-quote .dsx-blocks-text, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-kind-quote .dsx-blocks-text) { --dsx-blocks-text-size: 19px; }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-band-quote, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-quote) { border-left: 3px solid var(--dsx-blocks-ink, var(--dsx-label)); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-band-details, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-details) { margin-left: calc(var(--dsx-blocks-indent, 24px) / 2); border-left: 1px solid var(--dsx-blocks-divider, var(--dsx-separator)); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-band-callout, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-callout) { background-color: var(--dsx-blocks-callout-background, var(--dsx-secondary-system-background)); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-band-callout.dsx-blocks-band-first, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-callout.dsx-blocks-band-first) { border-top-left-radius: calc(var(--dsx-blocks-callout-radius, 4px) * var(--dsx-corner-fallback, 1)); border-top-right-radius: calc(var(--dsx-blocks-callout-radius, 4px) * var(--dsx-corner-fallback, 1)); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-band-callout.dsx-blocks-band-last, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-callout.dsx-blocks-band-last) { border-bottom-left-radius: calc(var(--dsx-blocks-callout-radius, 4px) * var(--dsx-corner-fallback, 1)); border-bottom-right-radius: calc(var(--dsx-blocks-callout-radius, 4px) * var(--dsx-corner-fallback, 1)); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-callout-head, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-callout-head) { padding-top: var(--dsx-blocks-callout-padding, 16px); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-callout-head .dsx-blocks-line, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-callout-head .dsx-blocks-line) { padding-left: 12px; padding-right: 16px; }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-callout-icon, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-callout-icon) { font-size: 21px; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 27px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); width: 24px; min-width: 24px; height: 27px; margin-right: 8px; align-items: center; justify-content: center; }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-callout-symbol, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-callout-symbol) { font-size: 18px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-blocks-callout-tone, var(--dsx-blocks-ink-secondary, var(--dsx-secondary-label))); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-callout-note, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-callout-note), [data-dsx-owner~=\"Block\"] .dsx-blocks-callout-important, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-callout-important), [data-dsx-owner~=\"Block\"] .dsx-blocks-callout-info, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-callout-info), [data-dsx-owner~=\"Block\"] .dsx-blocks-band-callout-note, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-callout-note), [data-dsx-owner~=\"Block\"] .dsx-blocks-band-callout-important, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-callout-important), [data-dsx-owner~=\"Block\"] .dsx-blocks-band-callout-info, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-callout-info) { --dsx-blocks-callout-tone: var(--dsx-info-fill, var(--dsx-accent)); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-callout-tip, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-callout-tip), [data-dsx-owner~=\"Block\"] .dsx-blocks-callout-check, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-callout-check), [data-dsx-owner~=\"Block\"] .dsx-blocks-band-callout-tip, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-callout-tip), [data-dsx-owner~=\"Block\"] .dsx-blocks-band-callout-check, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-callout-check) { --dsx-blocks-callout-tone: var(--dsx-success-fill, var(--dsx-green)); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-callout-warning, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-callout-warning), [data-dsx-owner~=\"Block\"] .dsx-blocks-callout-caution, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-callout-caution), [data-dsx-owner~=\"Block\"] .dsx-blocks-band-callout-warning, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-callout-warning), [data-dsx-owner~=\"Block\"] .dsx-blocks-band-callout-caution, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-callout-caution) { --dsx-blocks-callout-tone: var(--dsx-warning-fill, var(--dsx-orange)); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-callout-danger, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-callout-danger), [data-dsx-owner~=\"Block\"] .dsx-blocks-band-callout-danger, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-callout-danger) { --dsx-blocks-callout-tone: var(--dsx-error-fill, var(--dsx-red)); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-band-callout-note, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-callout-note), [data-dsx-owner~=\"Block\"] .dsx-blocks-band-callout-important, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-callout-important), [data-dsx-owner~=\"Block\"] .dsx-blocks-band-callout-info, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-callout-info), [data-dsx-owner~=\"Block\"] .dsx-blocks-band-callout-tip, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-callout-tip), [data-dsx-owner~=\"Block\"] .dsx-blocks-band-callout-check, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-callout-check), [data-dsx-owner~=\"Block\"] .dsx-blocks-band-callout-warning, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-callout-warning), [data-dsx-owner~=\"Block\"] .dsx-blocks-band-callout-caution, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-callout-caution), [data-dsx-owner~=\"Block\"] .dsx-blocks-band-callout-danger, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-band-callout-danger) { background-color: color-mix(in srgb, var(--dsx-blocks-callout-tone) 8%, var(--dsx-list-cell, var(--dsx-secondary-grouped-background, var(--dsx-secondary-system-background)))); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-type-code .dsx-blocks-line, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-type-code .dsx-blocks-line) { background-color: var(--dsx-blocks-code-background, var(--dsx-secondary-system-background)); border-radius: 4px; margin-top: 4px; margin-bottom: 4px; }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-type-code .dsx-blocks-text, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-type-code .dsx-blocks-text) { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; --dsx-face-normal: 1.2; --dsx-blocks-text-size: 14px; --dsx-lh-n: 1.5; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); padding: 32px 16px 32px 32px; }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-rule, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-rule) { align-self: stretch; padding: 6px 2px; --dsx-separator: var(--dsx-blocks-divider, var(--dsx-separator)); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-image, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-image) { max-width: 100%; border-radius: 3px; margin: 4px 0px; }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-empty-media, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-empty-media) { padding: 12px; border-radius: 3px; background-color: var(--dsx-blocks-hover, var(--dsx-fill)); color: var(--dsx-blocks-ink-secondary, var(--dsx-secondary-label)); flex-grow: 1; }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-rich, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-rich) { padding: 3px 2px; font-size: var(--dsx-blocks-text-size); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"Block\"] .dsx-blocks-drop, [data-dsx-owner~=\"Block\"]:is(.dsx-blocks-drop) { background-color: var(--dsx-blocks-drop, rgba(35, 131, 226, 0.43)); border-radius: 2px; z-index: 5; }\n\n@property --dsx-blocks-font-size { syntax: \"<length>\"; inherits: true; initial-value: 16px; }\n@property --dsx-blocks-line-height { syntax: \"<number>\"; inherits: true; initial-value: 1.5; }\n@property --dsx-blocks-indent { syntax: \"<length>\"; inherits: true; initial-value: 24px; }\n@property --dsx-blocks-quote-indent { syntax: \"<length>\"; inherits: true; initial-value: 17px; }\n@property --dsx-blocks-callout-indent { syntax: \"<length>\"; inherits: true; initial-value: 44px; }\n@property --dsx-blocks-callout-padding { syntax: \"<length>\"; inherits: true; initial-value: 16px; }\n@property --dsx-blocks-callout-radius { syntax: \"<length>\"; inherits: true; initial-value: 4px; }\n@property --dsx-blocks-gutter { syntax: \"<length>\"; inherits: true; initial-value: 48px; }\n@property --dsx-blocks-h1-size { syntax: \"<length>\"; inherits: true; initial-value: 30px; }\n@property --dsx-blocks-h2-size { syntax: \"<length>\"; inherits: true; initial-value: 24px; }\n@property --dsx-blocks-h3-size { syntax: \"<length>\"; inherits: true; initial-value: 20px; }\n@property --dsx-blocks-heading-weight { syntax: \"<number>\"; inherits: true; initial-value: 600; }\n@property --dsx-blocks-drag-opacity { syntax: \"<number>\"; inherits: true; initial-value: 0.85; }\n[data-dsx-owner~=\"Editor\"] .dsx-blocks-editor, [data-dsx-owner~=\"Editor\"]:is(.dsx-blocks-editor) { --dsx-blocks-ink: var(--dsx-label); --dsx-blocks-ink-secondary: var(--dsx-secondary-label); --dsx-blocks-placeholder: var(--dsx-tertiary-label); --dsx-blocks-handle-ink: var(--dsx-tertiary-label); --dsx-blocks-selection: color-mix(in srgb, var(--dsx-accent) 16%, transparent); --dsx-blocks-accent: var(--dsx-accent); --dsx-blocks-divider: var(--dsx-separator); --dsx-blocks-callout-background: var(--dsx-secondary-system-background); --dsx-blocks-code-background: var(--dsx-secondary-system-background); --dsx-blocks-mark-code-background: var(--dsx-fill); --dsx-blocks-mark-code-color: var(--dsx-red); --dsx-blocks-menu-background: var(--dsx-system-background); color: var(--dsx-blocks-ink); gap: 0px; }\n[data-dsx-owner~=\"Editor\"] .dsx-blocks-web, [data-dsx-owner~=\"Editor\"]:is(.dsx-blocks-web) { --dsx-blocks-ink: rgb(55, 53, 47); --dsx-blocks-ink-secondary: rgba(55, 53, 47, 0.65); --dsx-blocks-placeholder: rgba(55, 53, 47, 0.45); --dsx-blocks-handle-ink: rgba(55, 53, 47, 0.35); --dsx-blocks-selection: rgba(35, 131, 226, 0.14); --dsx-blocks-accent: rgb(35, 131, 226); --dsx-blocks-divider: rgba(55, 53, 47, 0.16); --dsx-blocks-callout-background: rgb(241, 241, 239); --dsx-blocks-code-background: rgb(247, 246, 243); --dsx-blocks-mark-code-background: rgba(135, 131, 120, 0.15); --dsx-blocks-mark-code-color: #eb5757; --dsx-blocks-menu-background: #ffffff; font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI Variable Display\", \"Segoe UI\", Helvetica, \"Apple Color Emoji\", Arial, sans-serif, \"Segoe UI Emoji\", \"Segoe UI Symbol\"; --dsx-face-normal: 1.2; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); padding-left: var(--dsx-blocks-gutter); padding-right: 8px; }\n@media (prefers-color-scheme: dark) {\n[data-dsx-owner~=\"Editor\"] .dsx-blocks-web, [data-dsx-owner~=\"Editor\"]:is(.dsx-blocks-web) { --dsx-blocks-ink: rgba(255, 255, 255, 0.81); --dsx-blocks-ink-secondary: rgba(255, 255, 255, 0.46); --dsx-blocks-placeholder: rgba(255, 255, 255, 0.282); --dsx-blocks-handle-ink: rgba(255, 255, 255, 0.282); --dsx-blocks-selection: rgba(35, 131, 226, 0.28); --dsx-blocks-divider: rgba(255, 255, 255, 0.094); --dsx-blocks-callout-background: rgb(37, 37, 37); --dsx-blocks-code-background: rgb(37, 37, 37); --dsx-blocks-mark-code-background: rgba(135, 131, 120, 0.25); --dsx-blocks-mark-code-color: #ff7369; --dsx-blocks-menu-background: rgb(37, 37, 37); }\n}\n[data-dsx-owner~=\"Editor\"] .dsx-blocks-compact, [data-dsx-owner~=\"Editor\"]:is(.dsx-blocks-compact) { padding-left: 0px; }\n[data-dsx-owner~=\"Editor\"] .dsx-blocks-keyboard, [data-dsx-owner~=\"Editor\"]:is(.dsx-blocks-keyboard) { background-color: var(--dsx-blocks-menu-background); }\n[data-dsx-owner~=\"Editor\"] .dsx-blocks-picker-item, [data-dsx-owner~=\"Editor\"]:is(.dsx-blocks-picker-item) { gap: 12px; align-items: center; align-self: stretch; padding: 8px 16px; min-height: 48px; }\n\n[data-dsx-owner~=\"FormatBar\"] .dsx-blocks-formatbar, [data-dsx-owner~=\"FormatBar\"]:is(.dsx-blocks-formatbar) { gap: 0px; align-items: center; padding: 2px; background-color: var(--dsx-blocks-menu-background, var(--dsx-system-background)); }\n[data-dsx-owner~=\"FormatBar\"] .dsx-blocks-formatbar-floating, [data-dsx-owner~=\"FormatBar\"]:is(.dsx-blocks-formatbar-floating) { z-index: 20; margin-bottom: 6px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(15, 15, 15, 0.05), 0 3px 6px rgba(15, 15, 15, 0.1), 0 9px 24px rgba(15, 15, 15, 0.2); }\n[data-dsx-owner~=\"FormatBar\"] .dsx-blocks-fmt, [data-dsx-owner~=\"FormatBar\"]:is(.dsx-blocks-fmt) { --dsx-button-icon-size: 16px; min-width: 32px; height: 28px; padding: 0px 8px; border-radius: 4px; background-color: transparent; color: var(--dsx-blocks-ink, var(--dsx-label)); font-size: 14px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"FormatBar\"] .dsx-blocks-fmt-on, [data-dsx-owner~=\"FormatBar\"]:is(.dsx-blocks-fmt-on) { color: var(--dsx-blocks-accent, var(--dsx-accent)); }\n\n[data-dsx-owner~=\"Handle\"] .dsx-blocks-handles, [data-dsx-owner~=\"Handle\"]:is(.dsx-blocks-handles) { position: absolute; left: calc(0px - var(--dsx-blocks-gutter, 48px)); top: 3px; width: var(--dsx-blocks-gutter, 48px); justify-content: flex-end; padding-right: 2px; }\n[data-dsx-owner~=\"Handle\"] .dsx-blocks-touch .dsx-blocks-handles, [data-dsx-owner~=\"Handle\"]:is(.dsx-blocks-touch .dsx-blocks-handles) { position: relative; left: 0px; top: 0px; width: auto; opacity: 1; }\n[data-dsx-owner~=\"Handle\"] .dsx-blocks-handle, [data-dsx-owner~=\"Handle\"]:is(.dsx-blocks-handle) { width: 22px; height: 24px; padding: 0px; border-radius: 4px; background-color: transparent; color: var(--dsx-blocks-handle-ink, var(--dsx-tertiary-label)); font-size: 14px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"Handle\"] .dsx-blocks-grip, [data-dsx-owner~=\"Handle\"]:is(.dsx-blocks-grip) { width: 18px; }\n@media (pointer: fine) {\n[data-dsx-owner~=\"Handle\"] .dsx-blocks-handles, [data-dsx-owner~=\"Handle\"]:is(.dsx-blocks-handles) { opacity: 0; transition: opacity 0.15s ease; }\n}\n\n[data-dsx-owner~=\"LinkEditor\"] .dsx-blocks-link-panel, [data-dsx-owner~=\"LinkEditor\"]:is(.dsx-blocks-link-panel) { gap: 4px; padding: 6px; border-radius: 6px; background-color: var(--dsx-blocks-menu-background, var(--dsx-system-background)); box-shadow: 0 0 0 1px rgba(15, 15, 15, 0.05), 0 3px 6px rgba(15, 15, 15, 0.1), 0 9px 24px rgba(15, 15, 15, 0.2); max-width: 420px; }\n[data-dsx-owner~=\"LinkEditor\"] .dsx-blocks-link-field, [data-dsx-owner~=\"LinkEditor\"]:is(.dsx-blocks-link-field) { font-size: 14px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"LinkEditor\"] .dsx-blocks-link-button, [data-dsx-owner~=\"LinkEditor\"]:is(.dsx-blocks-link-button) { height: 28px; padding: 0px 8px; border-radius: 4px; font-size: 14px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n\n[data-dsx-owner~=\"SlashMenu\"] .dsx-blocks-slash, [data-dsx-owner~=\"SlashMenu\"]:is(.dsx-blocks-slash) { width: 324px; max-height: 340px; z-index: 20; margin-top: 4px; border-radius: 6px; background-color: var(--dsx-blocks-menu-background, var(--dsx-system-background)); box-shadow: 0 0 0 1px rgba(15, 15, 15, 0.05), 0 3px 6px rgba(15, 15, 15, 0.1), 0 9px 24px rgba(15, 15, 15, 0.2); padding: 6px 0px; align-items: stretch; }\n[data-dsx-owner~=\"SlashMenu\"] .dsx-blocks-slash-docked, [data-dsx-owner~=\"SlashMenu\"]:is(.dsx-blocks-slash-docked) { width: auto; max-height: 220px; margin-top: 0px; border-radius: 0px; box-shadow: none; border-top: 1px solid var(--dsx-separator); }\n[data-dsx-owner~=\"SlashMenu\"] .dsx-blocks-slash-group, [data-dsx-owner~=\"SlashMenu\"]:is(.dsx-blocks-slash-group) { font-size: 12px; font-weight: 500; --dsx-lh-n: 1.2; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-blocks-ink-secondary, var(--dsx-secondary-label)); padding: 8px 14px 6px 14px; }\n[data-dsx-owner~=\"SlashMenu\"] .dsx-blocks-slash-item, [data-dsx-owner~=\"SlashMenu\"]:is(.dsx-blocks-slash-item) { gap: 10px; align-items: center; margin: 0px 4px; padding: 4px 8px; min-height: 44px; border-radius: 6px; }\n[data-dsx-owner~=\"SlashMenu\"] .dsx-blocks-slash-item-on, [data-dsx-owner~=\"SlashMenu\"]:is(.dsx-blocks-slash-item-on) { background-color: var(--dsx-blocks-hover, var(--dsx-fill)); }\n[data-dsx-owner~=\"SlashMenu\"] .dsx-blocks-slash-tile, [data-dsx-owner~=\"SlashMenu\"]:is(.dsx-blocks-slash-tile) { --dsx-icon-tile-size: 36px; --dsx-icon-tile-background: color-mix(in srgb, var(--dsx-blocks-ink, var(--dsx-label)) 6%, var(--dsx-blocks-menu-background, var(--dsx-system-background))); --dsx-outline-soft: color-mix(in srgb, var(--dsx-blocks-ink, var(--dsx-label)) 14%, transparent); --dsx-icon-tile-color: var(--dsx-blocks-ink, var(--dsx-label)); }\n[data-dsx-owner~=\"SlashMenu\"] .dsx-blocks-slash-tile-text, [data-dsx-owner~=\"SlashMenu\"]:is(.dsx-blocks-slash-tile-text) { width: 36px; height: 36px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 10px; background-color: color-mix(in srgb, var(--dsx-blocks-ink, var(--dsx-label)) 6%, var(--dsx-blocks-menu-background, var(--dsx-system-background))); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dsx-blocks-ink, var(--dsx-label)) 14%, transparent); color: var(--dsx-blocks-ink, var(--dsx-label)); }\n[data-dsx-owner~=\"SlashMenu\"] .dsx-blocks-slash-glyph, [data-dsx-owner~=\"SlashMenu\"]:is(.dsx-blocks-slash-glyph) { font-size: 14px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 500; }\n[data-dsx-owner~=\"SlashMenu\"] .dsx-blocks-slash-copy, [data-dsx-owner~=\"SlashMenu\"]:is(.dsx-blocks-slash-copy) { gap: 1px; }\n[data-dsx-owner~=\"SlashMenu\"] .dsx-blocks-slash-label, [data-dsx-owner~=\"SlashMenu\"]:is(.dsx-blocks-slash-label) { font-size: 14px; --dsx-lh-n: 1.3; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-blocks-ink, var(--dsx-label)); }\n[data-dsx-owner~=\"SlashMenu\"] .dsx-blocks-slash-description, [data-dsx-owner~=\"SlashMenu\"]:is(.dsx-blocks-slash-description) { font-size: 12px; --dsx-lh-n: 1.3; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-blocks-ink-secondary, var(--dsx-secondary-label)); }\n[data-dsx-owner~=\"SlashMenu\"] .dsx-blocks-slash-shortcut, [data-dsx-owner~=\"SlashMenu\"]:is(.dsx-blocks-slash-shortcut) { flex-shrink: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; --dsx-face-normal: 1.2; font-size: 12px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-blocks-ink-tertiary, var(--dsx-tertiary-label)); }\n[data-dsx-owner~=\"SlashMenu\"] .dsx-blocks-slash-empty, [data-dsx-owner~=\"SlashMenu\"]:is(.dsx-blocks-slash-empty) { padding: 8px 14px; font-size: 14px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-blocks-ink-secondary, var(--dsx-secondary-label)); }\n}\n\n@layer dsx-sheets {\n[data-dsx-owner~=\"About\"] .about-logo, [data-dsx-owner~=\"About\"]:is(.about-logo) { height: 1.75rem; width: auto; object-fit: contain; }\n[data-dsx-owner~=\"About\"] .about-logo-dark, [data-dsx-owner~=\"About\"]:is(.about-logo-dark) { display: none; }\n@media (prefers-color-scheme: dark) {\n[data-dsx-owner~=\"About\"] .about-logo-light, [data-dsx-owner~=\"About\"]:is(.about-logo-light) { display: none; }\n[data-dsx-owner~=\"About\"] .about-logo-dark, [data-dsx-owner~=\"About\"]:is(.about-logo-dark) { display: block; }\n}\n[data-dsx-owner~=\"About\"] .about-title, [data-dsx-owner~=\"About\"]:is(.about-title) { font-size: 2.125rem; font-weight: 700; letter-spacing: -0.02em; --dsx-lh-n: 1.15; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n@media (max-width: 480px) {\n[data-dsx-owner~=\"About\"] .about-page, [data-dsx-owner~=\"About\"]:is(.about-page) { padding-block-start: 1.5rem; }\n[data-dsx-owner~=\"About\"] .about-title, [data-dsx-owner~=\"About\"]:is(.about-title) { font-size: 1.75rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n}\n\n[data-dsx-owner~=\"Activate\"] .activate-header, [data-dsx-owner~=\"Activate\"]:is(.activate-header) { align-self: stretch; align-items: center; gap: 0.375rem; padding-block: 0.25rem 1.5rem; }\n[data-dsx-owner~=\"Activate\"] .activate-marks, [data-dsx-owner~=\"Activate\"]:is(.activate-marks) { justify-content: center; align-items: center; gap: 16px; padding-block-end: 0.75rem; --dsx-icon-tile-size: 56px; }\n[data-dsx-owner~=\"Activate\"] .activate-marks .dsx-icon-tile, [data-dsx-owner~=\"Activate\"]:is(.activate-marks .dsx-icon-tile) { box-shadow: none; }\n[data-dsx-owner~=\"Activate\"] .activate-link, [data-dsx-owner~=\"Activate\"]:is(.activate-link) { font-size: 20px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"Activate\"] .activate-title, [data-dsx-owner~=\"Activate\"]:is(.activate-title) { font-size: var(--dsx-route-large-title-size, var(--dsx-type-title1-size-fluid)); font-weight: var(--dsx-route-title-weight, var(--dsx-type-headline-weight)); --dsx-lh-n: var(--dsx-type-title2-leading); --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); letter-spacing: var(--dsx-type-display-tracking); color: var(--dsx-label); text-align: center; }\n[data-dsx-owner~=\"Activate\"] .activate-subtitle, [data-dsx-owner~=\"Activate\"]:is(.activate-subtitle) { font-size: var(--dsx-type-body-size); --dsx-lh-n: var(--dsx-type-body-leading); --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); text-align: center; }\n[data-dsx-owner~=\"Activate\"] .activate-actions, [data-dsx-owner~=\"Activate\"]:is(.activate-actions) { align-items: stretch; gap: 0.625rem; margin-block: 1.25rem 0.25rem; }\n\n[data-dsx-owner~=\"AffectedApps\"] .affected-apps, [data-dsx-owner~=\"AffectedApps\"]:is(.affected-apps) { align-self: stretch; gap: 1rem; }\n[data-dsx-owner~=\"AffectedApps\"] .affected-apps-actions, [data-dsx-owner~=\"AffectedApps\"]:is(.affected-apps-actions) { align-items: stretch; gap: 0.625rem; }\n[data-dsx-owner~=\"AffectedApps\"] .dsx-settings-row-content > .dsx-settings-row-status[data-dsx-motion=\"leave\"], [data-dsx-owner~=\"AffectedApps\"]:is(.dsx-settings-row-content > .dsx-settings-row-status[data-dsx-motion=\"leave\"]), [data-dsx-owner~=\"AffectedApps\"] .dsx-settings-row-content > .dsx-settings-row-spinner[data-dsx-motion=\"leave\"], [data-dsx-owner~=\"AffectedApps\"]:is(.dsx-settings-row-content > .dsx-settings-row-spinner[data-dsx-motion=\"leave\"]) { visibility: hidden; }\n[data-dsx-owner~=\"AffectedApps\"] .dsx-settings-row-content > .dsx-settings-row-spinner, [data-dsx-owner~=\"AffectedApps\"]:is(.dsx-settings-row-content > .dsx-settings-row-spinner) { width: 22px; height: 22px; margin-inline: 1px; }\n[data-dsx-owner~=\"AffectedApps\"] .dsx-settings-row-content > .dsx-settings-row-status-done, [data-dsx-owner~=\"AffectedApps\"]:is(.dsx-settings-row-content > .dsx-settings-row-status-done) { color: var(--dsx-tone-success-ink); }\n\n[data-dsx-owner~=\"AgentCard\"] .agent-card, [data-dsx-owner~=\"AgentCard\"]:is(.agent-card) { align-self: stretch; --dsx-card-border-radius: var(--dsx-surface-radius, 36.5px); --dsx-card-gap: 12px; }\n[data-dsx-owner~=\"AgentCard\"] .agent-card-head, [data-dsx-owner~=\"AgentCard\"]:is(.agent-card-head) { gap: 12px; align-items: flex-start; align-self: stretch; }\n[data-dsx-owner~=\"AgentCard\"] .agent-card-tap, [data-dsx-owner~=\"AgentCard\"]:is(.agent-card-tap) { flex-direction: row; align-items: center; justify-content: flex-start; text-align: start; padding: 0px; background: transparent; cursor: pointer; }\n[data-dsx-owner~=\"AgentCard\"] .agent-card-mark, [data-dsx-owner~=\"AgentCard\"]:is(.agent-card-mark) { width: 32px; height: 32px; font-size: 32px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); flex: 0 0 auto; }\n[data-dsx-owner~=\"AgentCard\"] .agent-card-tile, [data-dsx-owner~=\"AgentCard\"]:is(.agent-card-tile) { flex: 0 0 auto; --dsx-icon-tile-size: 40px; }\n[data-dsx-owner~=\"AgentCard\"] .agent-card-words, [data-dsx-owner~=\"AgentCard\"]:is(.agent-card-words) { gap: 2px; min-width: 0; flex: 1 1 auto; }\n[data-dsx-owner~=\"AgentCard\"] .agent-card-title, [data-dsx-owner~=\"AgentCard\"]:is(.agent-card-title) { font-size: 15px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-label); }\n[data-dsx-owner~=\"AgentCard\"] .agent-card-title-row, [data-dsx-owner~=\"AgentCard\"]:is(.agent-card-title-row) { gap: 4px; align-items: center; }\n[data-dsx-owner~=\"AgentCard\"] .agent-card-agent-mark, [data-dsx-owner~=\"AgentCard\"]:is(.agent-card-agent-mark) { flex: 0 0 auto; width: 1.6em; height: 1.6em; margin-inline-start: -0.2em; font-size: inherit; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n[data-dsx-owner~=\"AgentCard\"] .agent-card-body, [data-dsx-owner~=\"AgentCard\"]:is(.agent-card-body) { font-size: 13px; --dsx-lh-n: 1.4; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"AgentCard\"] .agent-card-go, [data-dsx-owner~=\"AgentCard\"]:is(.agent-card-go) { flex: 0 0 auto; width: 16px; height: 16px; font-size: 14px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"AgentCard\"] .agent-card-actions, [data-dsx-owner~=\"AgentCard\"]:is(.agent-card-actions) { gap: 8px; align-items: center; justify-content: flex-start; flex-wrap: wrap; }\n[data-dsx-owner~=\"AgentCard\"] .agent-card-button, [data-dsx-owner~=\"AgentCard\"]:is(.agent-card-button) { flex: 0 0 auto; }\n[data-dsx-owner~=\"AgentCard\"] .agent-card-mark-trail, [data-dsx-owner~=\"AgentCard\"]:is(.agent-card-mark-trail) { flex-direction: row-reverse; }\n[data-dsx-owner~=\"AgentCard\"] .agent-card-button svg, [data-dsx-owner~=\"AgentCard\"]:is(.agent-card-button svg) { color: currentColor; fill: currentColor; }\n[data-dsx-owner~=\"AgentCard\"] .agent-card > *, [data-dsx-owner~=\"AgentCard\"]:is(.agent-card > *) { --dsx-surface-radius: calc(var(--dsx-card-border-radius) - var(--dsx-space-4, 16px)); --dsx-callout-border-radius: calc(var(--dsx-card-border-radius) - var(--dsx-space-4, 16px)); }\n\n[data-dsx-owner~=\"AgentConnectCard\"] .agent-connect-host, [data-dsx-owner~=\"AgentConnectCard\"]:is(.agent-connect-host) { align-self: stretch; }\n[data-dsx-owner~=\"AgentConnectCard\"] .agent-connect-line, [data-dsx-owner~=\"AgentConnectCard\"]:is(.agent-connect-line) { font-size: 13px; --dsx-lh-n: 1.4; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"AgentConnectCard\"] .agent-connect, [data-dsx-owner~=\"AgentConnectCard\"]:is(.agent-connect) { --auto-inner-radius: max(10px, calc(var(--dsx-card-border-radius, 36.5px) - 16px)); }\n[data-dsx-owner~=\"AgentConnectCard\"] .agent-connect .dsx-list-group, [data-dsx-owner~=\"AgentConnectCard\"]:is(.agent-connect .dsx-list-group) { padding: 0; --dsx-list-cell: var(--dsx-grouped-background); --dsx-list-radius: var(--auto-inner-radius); --dsx-list-radius-single-row: var(--auto-inner-radius); }\n[data-dsx-owner~=\"AgentConnectCard\"] .agent-connect .dsx-callout, [data-dsx-owner~=\"AgentConnectCard\"]:is(.agent-connect .dsx-callout) { margin-inline: 0; --dsx-callout-border-radius: var(--auto-inner-radius); }\n\n[data-dsx-owner~=\"AgentHistory\"] .agent-history, [data-dsx-owner~=\"AgentHistory\"]:is(.agent-history) { gap: 0px; align-self: stretch; min-width: 0; min-height: 0; height: 100%; flex-grow: 1; }\n[data-dsx-owner~=\"AgentHistory\"] .agent-history-bar, [data-dsx-owner~=\"AgentHistory\"]:is(.agent-history-bar) { align-self: stretch; gap: 4px; align-items: center; min-height: 52px; padding: 0px 16px 0px 4px; }\n[data-dsx-owner~=\"AgentHistory\"] .agent-history-title, [data-dsx-owner~=\"AgentHistory\"]:is(.agent-history-title) { font-size: 17px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-label); }\n[data-dsx-owner~=\"AgentHistory\"] .agent-history-scroll, [data-dsx-owner~=\"AgentHistory\"]:is(.agent-history-scroll) { align-self: stretch; flex-grow: 1; min-height: 0; transition: opacity 150ms var(--dsx-ease); }\n@starting-style {\n[data-dsx-settled] [data-dsx-owner~=\"AgentHistory\"] .agent-history-scroll, [data-dsx-settled] [data-dsx-owner~=\"AgentHistory\"]:is(.agent-history-scroll) { opacity: 0; }\n}\n[data-dsx-owner~=\"AgentHistory\"] .agent-history-body, [data-dsx-owner~=\"AgentHistory\"]:is(.agent-history-body) { gap: 12px; padding: 0px 16px 16px; }\n[data-dsx-owner~=\"AgentHistory\"] .agent-history-keep, [data-dsx-owner~=\"AgentHistory\"]:is(.agent-history-keep) { font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"AgentHistory\"] .agent-history-actions, [data-dsx-owner~=\"AgentHistory\"]:is(.agent-history-actions) { gap: 8px; align-items: center; flex-shrink: 0; }\n@media (prefers-reduced-motion: reduce) {\n[data-dsx-owner~=\"AgentHistory\"] .agent-history-scroll, [data-dsx-owner~=\"AgentHistory\"]:is(.agent-history-scroll) { transition: none; }\n}\n\n[data-dsx-owner~=\"AgentSetupCard\"] .agent-setup-host, [data-dsx-owner~=\"AgentSetupCard\"]:is(.agent-setup-host) { align-self: stretch; }\n\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-do, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-do) { --agent-sketch-tone: var(--dsx-tone-success-ink); }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-dont, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-dont) { --agent-sketch-tone: var(--dsx-destructive); }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-neutral, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-neutral) { --agent-sketch-tone: var(--dsx-accent); }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-screen, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-screen) { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--dsx-background); }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-content, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-content) { padding: 64px 20px 0px 20px; gap: 20px; }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-part, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-part) { border-radius: calc(var(--dsx-surface-radius, 36.5px) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); background: var(--dsx-fill); }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-part.agent-sketch-lit, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-part.agent-sketch-lit) { box-shadow: 0px 0px 0px 10px var(--agent-sketch-tone); background: color-mix(in srgb, var(--agent-sketch-tone) 16%, var(--dsx-background)); }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-tab-bar.agent-sketch-lit, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-tab-bar.agent-sketch-lit), [data-dsx-owner~=\"AgentSketch\"] .agent-sketch-side-menu.agent-sketch-lit, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-side-menu.agent-sketch-lit), [data-dsx-owner~=\"AgentSketch\"] .agent-sketch-sheet.agent-sketch-lit, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-sheet.agent-sketch-lit) { box-shadow: inset 0px 0px 0px 10px var(--agent-sketch-tone); }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-line, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-line) { height: 18px; width: 70%; border-radius: var(--dsx-radius-full, 999px); corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; background: var(--dsx-tertiary-label); opacity: 0.45; }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-line-title, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-line-title) { height: 26px; width: 50%; border-radius: var(--dsx-radius-full, 999px); corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; opacity: 0.7; }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-header, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-header) { height: 72px; padding: 0px 20px; justify-content: center; background: transparent; }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-search, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-search) { height: 52px; border-radius: var(--dsx-radius-full, 999px); corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-list, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-list) { padding: 8px 20px; }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-row, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-row) { flex-direction: row; align-items: center; gap: 16px; height: 60px; border-bottom: 2px solid var(--dsx-separator); }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-row:last-child, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-row:last-child) { border-bottom-width: 0px; }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-row > .agent-sketch-line, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-row > .agent-sketch-line) { flex: 0 0 auto; width: 220px; }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-dot, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-dot) { flex: 0 0 auto; width: 36px; height: 36px; border-radius: var(--dsx-radius-full, 999px); corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; background: var(--dsx-tertiary-label); opacity: 0.45; }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-card, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-card) { height: 150px; }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-grid, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-grid) { flex-direction: row; flex-wrap: wrap; gap: 16px; background: transparent; }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-cell, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-cell) { width: calc(50% - 8px); height: 110px; border-radius: calc(var(--dsx-surface-radius, 36.5px) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); background: var(--dsx-fill); }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-button, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-button) { height: 56px; border-radius: var(--dsx-radius-full, 999px); corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; background: var(--dsx-tertiary-label); opacity: 0.6; }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-button.agent-sketch-lit, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-button.agent-sketch-lit) { opacity: 1; }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-tab-bar, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-tab-bar) { position: absolute; inset-inline-start: 0px; inset-inline-end: 0px; bottom: 0px; height: 96px; padding: 18px 36px 0px 36px; flex-direction: row; justify-content: space-between; align-items: flex-start; border-radius: 0px; corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; border-top: 2px solid var(--dsx-separator); background: var(--dsx-secondary-grouped-background); }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-tab, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-tab) { width: 40px; height: 40px; border-radius: var(--dsx-radius-full, 999px); corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; background: var(--dsx-tertiary-label); opacity: 0.5; }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-dim, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-dim) { position: absolute; inset: 0px; background: rgba(0, 0, 0, 0.28); }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-side-menu, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-side-menu) { position: absolute; inset-inline-start: 0px; top: 0px; bottom: 0px; width: 270px; padding: 72px 24px 0px 24px; gap: 28px; border-start-start-radius: calc(0px * var(--dsx-corner-fallback, 1)); border-start-end-radius: calc(var(--dsx-surface-radius, 36.5px) * var(--dsx-corner-fallback, 1)); border-end-end-radius: calc(var(--dsx-surface-radius, 36.5px) * var(--dsx-corner-fallback, 1)); border-end-start-radius: calc(0px * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); background: var(--dsx-secondary-grouped-background); }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-sheet, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-sheet) { position: absolute; inset-inline-start: 0px; inset-inline-end: 0px; bottom: 0px; height: 320px; padding: 14px 24px 0px 24px; gap: 24px; align-items: flex-start; border-radius: var(--dsx-surface-radius, 36.5px) var(--dsx-surface-radius, 36.5px) 0px 0px; corner-shape: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); background: var(--dsx-secondary-grouped-background); }\n[data-dsx-owner~=\"AgentSketch\"] .agent-sketch-grabber, [data-dsx-owner~=\"AgentSketch\"]:is(.agent-sketch-grabber) { align-self: center; width: 72px; height: 10px; border-radius: var(--dsx-radius-full, 999px); corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; background: var(--dsx-tertiary-label); opacity: 0.5; }\n\n[data-dsx-owner~=\"AgentThreads\"] .agent-threads, [data-dsx-owner~=\"AgentThreads\"]:is(.agent-threads) { gap: 0px; align-self: stretch; min-width: 0; min-height: 0; height: 100%; flex-grow: 1; }\n[data-dsx-owner~=\"AgentThreads\"] .agent-threads-list, [data-dsx-owner~=\"AgentThreads\"]:is(.agent-threads-list) { gap: 0px; min-height: 0; flex-grow: 1; }\n[data-dsx-owner~=\"AgentThreads\"] .agent-threads-bar, [data-dsx-owner~=\"AgentThreads\"]:is(.agent-threads-bar) { align-self: stretch; gap: 6px; align-items: center; min-height: 52px; padding-block: 0px; padding-inline: 24px 16px; }\n[data-dsx-owner~=\"AgentThreads\"] .agent-threads-thread .group-chat-bar, [data-dsx-owner~=\"AgentThreads\"]:is(.agent-threads-thread .group-chat-bar) { min-height: 52px; padding-block: 0px; padding-inline: 24px 16px; }\n[data-dsx-owner~=\"AgentThreads\"] .agent-threads-title, [data-dsx-owner~=\"AgentThreads\"]:is(.agent-threads-title) { font-size: 17px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-label); }\n[data-dsx-owner~=\"AgentThreads\"] .agent-threads-scroll, [data-dsx-owner~=\"AgentThreads\"]:is(.agent-threads-scroll) { align-self: stretch; flex-grow: 1; min-height: 0; }\n[data-dsx-owner~=\"AgentThreads\"] .agent-threads-body, [data-dsx-owner~=\"AgentThreads\"]:is(.agent-threads-body) { gap: 0px; padding: 0px 16px 16px; }\n[data-dsx-owner~=\"AgentThreads\"] .agent-threads-thread, [data-dsx-owner~=\"AgentThreads\"]:is(.agent-threads-thread) { flex-grow: 1; min-height: 0; }\n[data-dsx-owner~=\"AgentThreads\"] .dsx-list, [data-dsx-owner~=\"AgentThreads\"]:is(.dsx-list) { --dsx-list-inset-inline: 0px; }\n[data-dsx-owner~=\"AgentThreads\"] .agent-threads-scroll, [data-dsx-owner~=\"AgentThreads\"]:is(.agent-threads-scroll), [data-dsx-owner~=\"AgentThreads\"] .agent-threads-thread, [data-dsx-owner~=\"AgentThreads\"]:is(.agent-threads-thread) { transition: opacity 150ms var(--dsx-ease); }\n@starting-style {\n[data-dsx-settled] [data-dsx-owner~=\"AgentThreads\"] .agent-threads-scroll, [data-dsx-settled] [data-dsx-owner~=\"AgentThreads\"]:is(.agent-threads-scroll), [data-dsx-settled] [data-dsx-owner~=\"AgentThreads\"] .agent-threads-thread, [data-dsx-settled] [data-dsx-owner~=\"AgentThreads\"]:is(.agent-threads-thread) { opacity: 0; }\n}\n@media (prefers-reduced-motion: reduce) {\n[data-dsx-owner~=\"AgentThreads\"] .agent-threads-scroll, [data-dsx-owner~=\"AgentThreads\"]:is(.agent-threads-scroll), [data-dsx-owner~=\"AgentThreads\"] .agent-threads-thread, [data-dsx-owner~=\"AgentThreads\"]:is(.agent-threads-thread) { transition: none; }\n}\n\n[data-dsx-owner~=\"AgentVisual\"] .agent-visual-sides, [data-dsx-owner~=\"AgentVisual\"]:is(.agent-visual-sides) { flex-direction: row; flex-wrap: wrap; gap: 12px; align-items: flex-start; }\n[data-dsx-owner~=\"AgentVisual\"] .agent-visual-side, [data-dsx-owner~=\"AgentVisual\"]:is(.agent-visual-side) { flex: 1 1 112px; min-width: 112px; gap: 4px; }\n[data-dsx-owner~=\"AgentVisual\"] .agent-visual-side > .agent-sketch, [data-dsx-owner~=\"AgentVisual\"]:is(.agent-visual-side > .agent-sketch) { margin-bottom: 8px; }\n[data-dsx-owner~=\"AgentVisual\"] .agent-visual-side-good, [data-dsx-owner~=\"AgentVisual\"]:is(.agent-visual-side-good) { --agent-visual-tone: var(--dsx-tone-success-ink); }\n[data-dsx-owner~=\"AgentVisual\"] .agent-visual-side-bad, [data-dsx-owner~=\"AgentVisual\"]:is(.agent-visual-side-bad) { --agent-visual-tone: var(--dsx-destructive); }\n[data-dsx-owner~=\"AgentVisual\"] .agent-visual-verdict-mark, [data-dsx-owner~=\"AgentVisual\"]:is(.agent-visual-verdict-mark) { width: 16px; height: 16px; font-size: 16px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--agent-visual-tone); }\n[data-dsx-owner~=\"AgentVisual\"] .agent-visual-verdict, [data-dsx-owner~=\"AgentVisual\"]:is(.agent-visual-verdict) { font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--agent-visual-tone); }\n[data-dsx-owner~=\"AgentVisual\"] .agent-visual-path, [data-dsx-owner~=\"AgentVisual\"]:is(.agent-visual-path) { --dsx-timeline-row-gap: 1.5rem; }\n[data-dsx-owner~=\"AgentVisual\"] .agent-visual-path .dsx-timeline-state-missing, [data-dsx-owner~=\"AgentVisual\"]:is(.agent-visual-path .dsx-timeline-state-missing), [data-dsx-owner~=\"AgentVisual\"] .agent-visual-path .dsx-timeline-state-missing-broken, [data-dsx-owner~=\"AgentVisual\"]:is(.agent-visual-path .dsx-timeline-state-missing-broken) { --dsx-timeline-tone: var(--dsx-warning, #ff9500); }\n[data-dsx-owner~=\"AgentVisual\"] .agent-visual-path .dsx-timeline-state-ok-broken, [data-dsx-owner~=\"AgentVisual\"]:is(.agent-visual-path .dsx-timeline-state-ok-broken), [data-dsx-owner~=\"AgentVisual\"] .agent-visual-path .dsx-timeline-state-broken-broken, [data-dsx-owner~=\"AgentVisual\"]:is(.agent-visual-path .dsx-timeline-state-broken-broken), [data-dsx-owner~=\"AgentVisual\"] .agent-visual-path .dsx-timeline-state-missing-broken, [data-dsx-owner~=\"AgentVisual\"]:is(.agent-visual-path .dsx-timeline-state-missing-broken), [data-dsx-owner~=\"AgentVisual\"] .agent-visual-path .dsx-timeline-state-neutral-broken, [data-dsx-owner~=\"AgentVisual\"]:is(.agent-visual-path .dsx-timeline-state-neutral-broken) { --dsx-timeline-connector: repeating-linear-gradient(to bottom, var(--dsx-destructive) 0px, var(--dsx-destructive) 4px, transparent 4px, transparent 7px); }\n[data-dsx-owner~=\"AgentVisual\"] .agent-visual-path .dsx-timeline-state-ok-broken .dsx-timeline-connector-fill, [data-dsx-owner~=\"AgentVisual\"]:is(.agent-visual-path .dsx-timeline-state-ok-broken .dsx-timeline-connector-fill), [data-dsx-owner~=\"AgentVisual\"] .agent-visual-path .dsx-timeline-state-broken-broken .dsx-timeline-connector-fill, [data-dsx-owner~=\"AgentVisual\"]:is(.agent-visual-path .dsx-timeline-state-broken-broken .dsx-timeline-connector-fill), [data-dsx-owner~=\"AgentVisual\"] .agent-visual-path .dsx-timeline-state-missing-broken .dsx-timeline-connector-fill, [data-dsx-owner~=\"AgentVisual\"]:is(.agent-visual-path .dsx-timeline-state-missing-broken .dsx-timeline-connector-fill), [data-dsx-owner~=\"AgentVisual\"] .agent-visual-path .dsx-timeline-state-neutral-broken .dsx-timeline-connector-fill, [data-dsx-owner~=\"AgentVisual\"]:is(.agent-visual-path .dsx-timeline-state-neutral-broken .dsx-timeline-connector-fill) { scale: 1 0; }\n\n[data-dsx-owner~=\"AnnouncementSheet\"] .announcement-article, [data-dsx-owner~=\"AnnouncementSheet\"]:is(.announcement-article) { align-items: stretch; gap: 0.75rem; padding: 0.5rem 1.25rem 1.25rem; }\n[data-dsx-owner~=\"AnnouncementSheet\"] .announcement-date, [data-dsx-owner~=\"AnnouncementSheet\"]:is(.announcement-date) { color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"AnnouncementSheet\"] .announcement-cta, [data-dsx-owner~=\"AnnouncementSheet\"]:is(.announcement-cta) { justify-content: flex-start; padding-top: 0.25rem; }\n\n@media (max-width: 599px) {\n[data-dsx-owner~=\"AppJourney\"] .app-journey-actions > *, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-actions > *) { flex: 1 1 0; min-width: max-content; }\n}\n[data-dsx-owner~=\"AppJourney\"] .app-journey-stages, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-stages) { --dsx-timeline-marker-size: 24px; }\n[data-dsx-owner~=\"AppJourney\"] .app-journey-stages :is(.dsx-timeline-phase-done, .dsx-timeline-phase-current), [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-stages :is(.dsx-timeline-phase-done, .dsx-timeline-phase-current)) { --dsx-timeline-tone: var(--dsx-accent); }\n[data-dsx-owner~=\"AppJourney\"] .app-journey-stages .dsx-timeline-link-fill, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-stages .dsx-timeline-link-fill) { background: var(--dsx-accent); }\n[data-dsx-owner~=\"AppJourney\"] .app-journey-stages, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-stages) { --dsx-timeline-detail-size: 12px; }\n[data-dsx-owner~=\"AppJourney\"] .app-journey-stages .dsx-timeline-detail, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-stages .dsx-timeline-detail) { text-align: center; white-space: nowrap; color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"AppJourney\"] .app-journey-hero, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-hero) { border-radius: calc((var(--dsx-surface-radius, 36.5px) - var(--dsx-space-4, 16px)) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-surface-corner-shape-fallback); background: linear-gradient(180deg, color-mix(in srgb, var(--dsx-accent) 12%, transparent), color-mix(in srgb, var(--dsx-accent) 6%, transparent)); }\n[data-dsx-owner~=\"AppJourney\"] .app-journey-hero .dsx-timeline-phase-upcoming, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-hero .dsx-timeline-phase-upcoming) { --dsx-timeline-tone: color-mix(in srgb, var(--dsx-label) 45%, transparent); }\n[data-dsx-owner~=\"AppJourney\"] .app-journey-hero .dsx-timeline-link, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-hero .dsx-timeline-link) { background: color-mix(in srgb, var(--dsx-label) 14%, transparent); }\n@media (prefers-color-scheme: dark) {\n[data-dsx-owner~=\"AppJourney\"] .app-journey-hero, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-hero) { background: linear-gradient(180deg, color-mix(in srgb, var(--dsx-accent) 20%, transparent), color-mix(in srgb, var(--dsx-accent) 10%, transparent)); }\n}\n[data-dsx-owner~=\"AppJourney\"] .app-journey-panel .dsx-list.dsx-list-group, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-panel .dsx-list.dsx-list-group) { --dsx-list-inset-inline: 0px; }\n[data-dsx-owner~=\"AppJourney\"] .app-journey-root, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-root), [data-dsx-owner~=\"AppJourney\"] .app-journey-panel, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-panel), [data-dsx-owner~=\"AppJourney\"] .app-journey-panel > *, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-panel > *) { align-self: stretch; inline-size: auto; min-inline-size: 0; max-inline-size: 100%; }\n[data-dsx-owner~=\"AppJourney\"] .app-journey-ring, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-ring) { --app-journey-ring-color: var(--dsx-accent); }\n[data-dsx-owner~=\"AppJourney\"] .app-journey-ring-success, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-ring-success) { --app-journey-ring-color: var(--dsx-success); }\n[data-dsx-owner~=\"AppJourney\"] .app-journey-ring-danger, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-ring-danger) { --app-journey-ring-color: var(--dsx-destructive); }\n[data-dsx-owner~=\"AppJourney\"] .app-journey-external, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-external) { flex-direction: row-reverse; }\n[data-dsx-owner~=\"AppJourney\"] .app-journey-row .dsx-settings-row-copy, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-row .dsx-settings-row-copy) { flex: 1 1 0; min-width: 0; }\n[data-dsx-owner~=\"AppJourney\"] .app-journey-row .dsx-settings-row-spacer, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-row .dsx-settings-row-spacer) { display: none; }\n[data-dsx-owner~=\"AppJourney\"] .app-journey-row .dsx-settings-row-title-line, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-row .dsx-settings-row-title-line) { align-self: stretch; }\n[data-dsx-owner~=\"AppJourney\"] .app-journey-row .dsx-settings-row-title, [data-dsx-owner~=\"AppJourney\"]:is(.app-journey-row .dsx-settings-row-title) { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }\n\n[data-dsx-owner~=\"AppStoresScreen\"] .dsx-navbar .dsx-route-trailing, [data-dsx-owner~=\"AppStoresScreen\"]:is(.dsx-navbar .dsx-route-trailing) { position: absolute; }\n[data-dsx-owner~=\"AppStoresScreen\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"AppStoresScreen\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"AppStoresScreen\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"AppStoresScreen\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"AppStoresScreen\"] .workspace-notice, [data-dsx-owner~=\"AppStoresScreen\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"AppStoresScreen\"] .app-stores-primary, [data-dsx-owner~=\"AppStoresScreen\"]:is(.app-stores-primary) { --dsx-button-rest-fill: light-dark(color-mix(in srgb, var(--dsx-accent) 12%, transparent), color-mix(in srgb, var(--dsx-accent) 20%, transparent)); --dsx-button-rest-ink: color-mix(in srgb, var(--dsx-accent) 90%, var(--dsx-label)); min-height: 44px; padding-inline: 0.875rem; --dsx-button-padding-inline: 0.875rem; --dsx-button-radius: var(--dsx-radius-full, 999px); }\n\n[data-dsx-owner~=\"AppleSetup\"] .apple-setup-body > *, [data-dsx-owner~=\"AppleSetup\"]:is(.apple-setup-body > *) { margin-block: 0; }\n@media (max-width: 599px) {\n[data-dsx-owner~=\"AppleSetup\"] .apple-setup-actions, [data-dsx-owner~=\"AppleSetup\"]:is(.apple-setup-actions) { flex-direction: column !important; align-items: stretch !important; }\n}\n[data-dsx-owner~=\"AppleSetup\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"AppleSetup\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"AppleSetup\"] .workspace-notice, [data-dsx-owner~=\"AppleSetup\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"AskDespia\"] .ask-despia, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia) { position: relative; gap: 0px; align-self: stretch; min-width: 0; --dsx-presence: none; }\n[data-dsx-owner~=\"AskDespia\"] .dsx-list, [data-dsx-owner~=\"AskDespia\"]:is(.dsx-list) { --dsx-list-inset-inline: 0px; }\n[data-dsx-owner~=\"AskDespia\"] .dsx-list-section-header, [data-dsx-owner~=\"AskDespia\"]:is(.dsx-list-section-header) { font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-chat, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-chat) { height: 100%; min-height: 0; flex-grow: 1; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-title, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-title) { font-size: 17px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-strong, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-strong) { font-size: 15px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-text, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-text) { font-size: 15px; --dsx-lh-n: 1.45; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-quiet, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-quiet) { font-size: 13px; --dsx-lh-n: 1.4; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-entry-body, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-entry-body) { gap: 8px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-bar, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-bar) { align-self: stretch; flex-shrink: 0; gap: 0px; align-items: center; min-height: 52px; padding-block: 0px; padding-inline: 16px 4px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-icon, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-icon) { min-width: 44px; min-height: 44px; color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-thread, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-thread) { flex: 1 1 0; min-height: 0; --dsx-threadpane-gutter: 16px; --dsx-threadpane-gap: 12px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-calm, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-calm) { flex-grow: 1; min-height: 0; gap: 16px; padding: 16px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-calm-body, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-calm-body) { gap: 4px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-hello, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-hello) { gap: 12px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-row, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-row) { gap: 6px; align-self: stretch; min-width: 0; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-run-cont, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-run-cont) { margin-top: -10px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-time, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-time) { align-self: center; font-size: 12px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label); padding-block: 4px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-voiced, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-voiced) { align-self: flex-end; font-size: 12px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-voice-line, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-voice-line) { align-self: stretch; gap: 8px; align-items: flex-start; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-voice-mark, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-voice-mark) { width: 14px; height: 14px; margin-top: 2px; color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-tool, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-tool) { align-self: stretch; --dsx-task-row-done: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-tool .dsx-task-row, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-tool .dsx-task-row) { min-height: 28px; padding: 2px 0px; font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-thinking, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-thinking) { padding: 2px 0px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-problem, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-problem) { gap: 8px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-composer, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-composer) { gap: 8px; padding-top: 10px; border-top: var(--dsx-hairline, 0.5px) solid var(--dsx-separator); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-composer .dsx-prompt-input-surface, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-composer .dsx-prompt-input-surface) { background: var(--dsx-promptinput-background, var(--dsx-surface-raised)); -webkit-backdrop-filter: none; backdrop-filter: none; backdrop-filter: none; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-footnote, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-footnote) { align-self: stretch; width: 100%; gap: 4px; justify-content: center; flex-wrap: wrap; align-items: baseline; text-align: center; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-fine, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-fine) { font-size: 12px; --dsx-lh-n: 1.35; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label); text-align: center; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-fine-link, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-fine-link) { color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-pair, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-pair) { gap: 4px; align-items: center; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-mark, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-mark) { width: 24px; height: 24px; font-size: 24px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-link-mark, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-link-mark) { font-size: 11px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-in-sheet, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-in-sheet) { height: 100%; max-height: calc(100dvh - var(--dsx-inset-top, 0px) - 12px); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-in-sheet .ask-despia-composer, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-in-sheet .ask-despia-composer) { padding-bottom: max(12px, env(safe-area-inset-bottom, 0px), var(--dsx-keyboard-inset, 0px)); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-thread .dsx-threadpane-thread, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-thread .dsx-threadpane-thread) { min-height: 100%; justify-content: flex-end; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-thread-empty .dsx-threadpane-thread, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-thread-empty .dsx-threadpane-thread) { flex-grow: 1; justify-content: flex-start; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-hello, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-hello) { padding-top: 4px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-actions, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-actions) { gap: 8px; align-items: center; flex-wrap: wrap; padding-top: 6px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-card, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-card) { align-self: stretch; gap: 4px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-row > *, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-row > *) { margin-block: 0px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-row .dsx-list, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-row .dsx-list) { padding-block: 0px; }\n[data-dsx-owner~=\"AskDespia\"] .dsx-threadpane-scroll, [data-dsx-owner~=\"AskDespia\"]:is(.dsx-threadpane-scroll) { mask-image: linear-gradient(to bottom, transparent 0px, #000 32px, #000 calc(100% - 16px), transparent 100%); -webkit-mask-image: linear-gradient(to bottom, transparent 0px, #000 32px, #000 calc(100% - 16px), transparent 100%); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-preview, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-preview) { --media-w: 96px; align-self: flex-start; margin-bottom: 8px; overflow: hidden; background: var(--dsx-fill); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-preview-tall, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-preview-tall) { aspect-ratio: 9 / 19.5; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-preview-portrait, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-preview-portrait) { aspect-ratio: 3 / 4; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-preview-square, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-preview-square) { aspect-ratio: 1; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-preview-wide, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-preview-wide) { --media-w: 100%; --media-size: 300px; aspect-ratio: 16 / 9; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-fields, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-fields) { gap: 10px; padding-top: 8px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-field, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-field) { gap: 2px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-field-label, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-field-label) { font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-field-value, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-field-value) { font-size: 15px; --dsx-lh-n: 1.4; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-field-before, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-field-before) { font-size: 13px; --dsx-lh-n: 1.4; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-count, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-count) { font-size: 12px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-variant-numeric: tabular-nums; color: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-count-over, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-count-over) { color: var(--dsx-warning); font-weight: 600; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-issues, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-issues) { gap: 4px; padding-top: 8px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-issue, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-issue) { font-size: 13px; --dsx-lh-n: 1.4; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-warning); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-issue-error, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-issue-error) { color: var(--dsx-destructive); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-plain-list, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-plain-list) { gap: 2px; padding-top: 6px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-radio, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-radio) { padding-top: 6px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-hairline, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-hairline) { align-self: stretch; height: 0px; margin-top: 8px; border-top: var(--dsx-hairline, 0.5px) solid var(--dsx-separator); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-thumbs, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-thumbs) { gap: 10px; flex-wrap: wrap; padding: 10px 4px 2px 4px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-thumb, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-thumb) { position: relative; width: 56px; height: 56px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-thumb-image, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-thumb-image) { --media-w: 56px; height: 56px; overflow: hidden; background: var(--dsx-fill); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-thumb-remove, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-thumb-remove) { position: absolute; top: -14px; inset-inline-end: -14px; min-width: 44px; min-height: 44px; font-size: 18px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-drop, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-drop) { position: absolute; inset: 8px; z-index: 5; gap: 4px; align-items: center; justify-content: center; text-align: center; border: 1.5px dashed var(--dsx-accent); border-radius: calc(var(--dsx-radius-lg) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-corner-shape); --dsx-corner-shape-k: var(--dsx-corner-shape); --dsx-corner-fallback: var(--dsx-corner-shape-fallback); background: var(--dsx-background); pointer-events: none; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-drop-mark, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-drop-mark) { font-size: 28px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-accent); margin-bottom: 4px; }\n[data-dsx-owner~=\"AskDespia\"] .dsx-radio-group, [data-dsx-owner~=\"AskDespia\"]:is(.dsx-radio-group) { padding: 0px; background: transparent; }\n[data-dsx-owner~=\"AskDespia\"] .dsx-radio-option, [data-dsx-owner~=\"AskDespia\"]:is(.dsx-radio-option), [data-dsx-owner~=\"AskDespia\"] .dsx-radio-option:first-of-type, [data-dsx-owner~=\"AskDespia\"]:is(.dsx-radio-option:first-of-type) { min-height: 44px; padding: 0px; background: linear-gradient(var(--dsx-separator), var(--dsx-separator)) 0 0 / 100% var(--dsx-hairline, 0.5px) no-repeat; }\n[data-dsx-owner~=\"AskDespia\"] .dsx-radio-option:first-of-type, [data-dsx-owner~=\"AskDespia\"]:is(.dsx-radio-option:first-of-type) { background: transparent; }\n[data-dsx-owner~=\"AskDespia\"] .dsx-radio-label, [data-dsx-owner~=\"AskDespia\"]:is(.dsx-radio-label) { font-size: 15px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-brand, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-brand) { align-items: center; min-height: 32px; padding-inline-start: 8px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-brand-col, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-brand-col) { gap: 0px; min-width: 0; justify-content: center; min-height: 44px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-helping, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-helping) { padding-inline-start: 8px; font-size: 12px; color: var(--dsx-secondary-label); white-space: normal; overflow-wrap: anywhere; text-wrap: balance; --dsx-text-wrap-pretty: 0; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 18px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); min-height: 36px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-lockup, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-lockup) { height: 20px; width: 73px; background: var(--dsx-label); mask: url(/brand/agent-lockup.svg) no-repeat center / contain; -webkit-mask: url(/brand/agent-lockup.svg) no-repeat center / contain; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-away, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-away) { position: absolute; inset: 0; visibility: hidden; pointer-events: none; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-threads, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-threads) { flex-grow: 1; min-height: 0; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-threads-entry, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-threads-entry) { position: relative; flex-shrink: 0; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-threads-badge, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-threads-badge) { position: absolute; top: 4px; inset-inline-end: 2px; pointer-events: none; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-update, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-update) { flex: 0 0 auto; position: relative; z-index: 1; padding: 0px 16px 12px; --dsx-callout-info: var(--dsx-accent); --dsx-callout-info-ink: var(--dsx-accent); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-thread.dsx-threadpane, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-thread.dsx-threadpane) { height: auto; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-thread .dsx-threadpane-thread, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-thread .dsx-threadpane-thread) { transition: opacity 150ms var(--dsx-ease); }\n@starting-style {\n[data-dsx-settled] [data-dsx-owner~=\"AskDespia\"] .ask-despia-thread .dsx-threadpane-thread, [data-dsx-settled] [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-thread .dsx-threadpane-thread) { opacity: 0; }\n}\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-thread, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-thread) { transition: opacity 150ms var(--dsx-ease); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-thread.ask-despia-away, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-thread.ask-despia-away) { opacity: 0; transition: none; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-row-tool, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-row-tool), [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-row-card, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-row-card), [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-row-summary, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-row-summary), [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-row-time, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-row-time), [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-row-thinking, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-row-thinking) { transition: opacity var(--dsx-dur-base) var(--dsx-ease), translate var(--dsx-dur-slow) var(--dsx-ease-spring-soft); }\n@starting-style {\n[data-dsx-settled] [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-row-tool, [data-dsx-settled] [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-row-tool), [data-dsx-settled] [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-row-card, [data-dsx-settled] [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-row-card), [data-dsx-settled] [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-row-summary, [data-dsx-settled] [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-row-summary), [data-dsx-settled] [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-row-time, [data-dsx-settled] [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-row-time), [data-dsx-settled] [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-row-thinking, [data-dsx-settled] [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-row-thinking) { opacity: 0; translate: 0px 8px; }\n}\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-row-time, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-row-time) { }\n@starting-style {\n[data-dsx-settled] [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-row-time, [data-dsx-settled] [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-row-time) { opacity: 0; translate: 0px 0px; }\n}\n[data-dsx-owner~=\"AskDespia\"] .dsx-threadpane-scroll, [data-dsx-owner~=\"AskDespia\"]:is(.dsx-threadpane-scroll) { scroll-behavior: smooth; }\n@media (prefers-reduced-motion: reduce) {\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-thread, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-thread), [data-dsx-owner~=\"AskDespia\"] .ask-despia-thread .dsx-threadpane-thread, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-thread .dsx-threadpane-thread), [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-row-tool, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-row-tool), [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-row-card, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-row-card), [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-row-summary, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-row-summary), [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-row-time, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-row-time), [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-row-thinking, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-row-thinking) { transition: none; }\n[data-dsx-owner~=\"AskDespia\"] .dsx-threadpane-scroll, [data-dsx-owner~=\"AskDespia\"]:is(.dsx-threadpane-scroll) { scroll-behavior: auto; }\n}\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-bubble, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-bubble) { --dsx-chat-bubble-background: var(--dsx-fill); color: var(--dsx-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-bubble .dsx-chat-bubble-body, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-bubble .dsx-chat-bubble-body) { box-shadow: none; font-size: 15px; --dsx-lh-n: 1.4; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-bubble-run .dsx-chat-bubble-body, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-bubble-run .dsx-chat-bubble-body) { border-end-end-radius: calc(var(--dsx-radius-sheet) * var(--dsx-corner-fallback, 1)); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-says, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-says) { gap: 4px; align-self: stretch; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-says-mark, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-says-mark) { font-size: 15px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); height: 20px; margin-top: 2px; color: var(--dsx-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-head-mark, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-head-mark) { font-size: 15px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); height: 20px; color: var(--dsx-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-typing, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-typing) { align-self: flex-start; align-items: center; gap: 8px; height: 24px; padding-block: 2px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-dots, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-dots) { gap: 4px; align-items: center; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-dot, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-dot) { width: 6px; height: 6px; border-radius: 999px; corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; background: var(--dsx-secondary-label); opacity: 0.35; animation: ask-despia-dot 1200ms var(--dsx-ease) infinite; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-dot:nth-child(2), [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-dot:nth-child(2)) { animation-delay: 150ms; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-dot:nth-child(3), [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-dot:nth-child(3)) { animation-delay: 300ms; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-typing-label, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-typing-label) { font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); animation: ask-despia-breathe var(--dsx-dur-loop-slow, 1350ms) var(--dsx-ease) infinite alternate; }\n@keyframes ask-despia-dot {\n0%, 60%, 100% { opacity: 0.35; scale: 1; }\n30% { opacity: 1; scale: 1.15; }\n}\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-bubble, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-bubble) { transition: opacity var(--dsx-dur-base) var(--dsx-ease), translate var(--dsx-dur-base) var(--dsx-ease-spring-soft); }\n@starting-style {\n[data-dsx-settled] [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-bubble, [data-dsx-settled] [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-bubble) { opacity: 0; translate: 0px 10px; }\n}\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-says, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-says) { transition: opacity var(--dsx-dur-base) var(--dsx-ease), translate var(--dsx-dur-slow) var(--dsx-ease-spring-soft); }\n@starting-style {\n[data-dsx-settled] [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-says, [data-dsx-settled] [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-says) { opacity: 0; translate: 0px 6px; }\n}\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-composer textarea:placeholder-shown, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-composer textarea:placeholder-shown) { animation: ask-despia-cleared var(--dsx-dur-base) var(--dsx-ease); }\n@keyframes ask-despia-cleared {\nfrom { opacity: 0; }\n}\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-suggest .dsx-collection-row, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-suggest .dsx-collection-row) { transition: opacity var(--dsx-dur-base) var(--dsx-ease); }\n@starting-style {\n[data-dsx-settled] [data-dsx-owner~=\"AskDespia\"] .ask-despia-suggest .dsx-collection-row, [data-dsx-settled] [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-suggest .dsx-collection-row) { opacity: 0; }\n}\n@media (prefers-reduced-motion: reduce) {\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-bubble, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-bubble), [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-says, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-says), [data-dsx-owner~=\"AskDespia\"] .ask-despia-suggest .dsx-settings-row-content, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-suggest .dsx-settings-row-content), [data-dsx-owner~=\"AskDespia\"] .ask-despia-suggest .dsx-collection-row, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-suggest .dsx-collection-row) { transition: none; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-composer textarea:placeholder-shown, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-composer textarea:placeholder-shown), [data-dsx-owner~=\"AskDespia\"] .ask-despia-typing-label, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-typing-label), [data-dsx-owner~=\"AskDespia\"] .ask-despia-dot, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-dot) { animation: none; }\n}\n[data-dsx-owner~=\"AskDespia\"] .ask-despia, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia) { --dsx-callout-border-radius: var(--dsx-surface-radius, 36.5px); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-words, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-words) { flex-wrap: wrap; column-gap: 0.28em; row-gap: 0px; align-self: stretch; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-word, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-word) { font-size: 15px; --dsx-lh-n: 1.45; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-word, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-word) { transition: opacity var(--dsx-dur-slow) var(--dsx-ease); }\n@starting-style {\n[data-dsx-settled] [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-word, [data-dsx-settled] [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-word) { opacity: 0; }\n}\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-tool-running, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-tool-running) { animation: ask-despia-breathe var(--dsx-dur-loop-slow, 1350ms) var(--dsx-ease) infinite alternate; }\n@keyframes ask-despia-breathe {\nfrom { opacity: 1; }\nto { opacity: 0.5; }\n}\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-tool-failed, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-tool-failed) { --dsx-tone-danger: var(--dsx-warning); --dsx-destructive: var(--dsx-warning); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-steps, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-steps) { position: relative; flex-direction: row; align-items: center; align-self: flex-start; gap: 4px; height: 24px; padding: 2px 0px; background: transparent; cursor: pointer; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-steps::before, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-steps::before) { content: \"\"; position: absolute; inset: -8px 0px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-steps .ask-despia-head-mark, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-steps .ask-despia-head-mark) { margin-inline-end: 4px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-steps-label, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-steps-label) { font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-steps-warn, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-steps-warn) { color: var(--dsx-warning); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-steps-chevron, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-steps-chevron) { font-size: 11px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label); transition: rotate var(--dsx-dur-base) var(--dsx-ease); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-steps-chevron, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-steps-chevron) { transition: rotate var(--dsx-dur-base) var(--dsx-ease), opacity var(--dsx-dur-base) var(--dsx-ease); }\n@starting-style {\n[data-dsx-settled] [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-steps-chevron, [data-dsx-settled] [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-steps-chevron) { opacity: 0; }\n}\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-steps-open .ask-despia-steps-chevron, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-steps-open .ask-despia-steps-chevron) { rotate: 90deg; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-skeleton, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-skeleton), [data-dsx-owner~=\"AskDespia\"] .ask-despia-skeleton *, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-skeleton *) { transition: none; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-skeleton-setup, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-skeleton-setup), [data-dsx-owner~=\"AskDespia\"] .ask-despia-skeleton-checkout, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-skeleton-checkout), [data-dsx-owner~=\"AskDespia\"] .ask-despia-skeleton-release, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-skeleton-release) { min-height: 260px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-row-skeleton, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-row-skeleton), [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-steps-label, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-steps-label) { transition: opacity var(--dsx-dur-base) var(--dsx-ease); }\n@starting-style {\n[data-dsx-settled] [data-dsx-owner~=\"AskDespia\"] .ask-despia-row-skeleton, [data-dsx-settled] [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-row-skeleton), [data-dsx-settled] [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-steps-label, [data-dsx-settled] [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-steps-label) { opacity: 0; }\n}\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-row-card .dsx-collection-row, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-row-card .dsx-collection-row) { transition: opacity var(--dsx-dur-base) var(--dsx-ease), translate var(--dsx-dur-base) var(--dsx-ease); }\n@starting-style {\n[data-dsx-settled] [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-row-card .dsx-collection-row, [data-dsx-settled] [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-row-card .dsx-collection-row) { opacity: 0; translate: 0px 4px; }\n}\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-row-card .dsx-collection-row:nth-child(2), [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-row-card .dsx-collection-row:nth-child(2)), [data-dsx-owner~=\"AskDespia\"] .ask-despia-suggest .dsx-collection-row:nth-child(2), [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-suggest .dsx-collection-row:nth-child(2)) { transition-delay: 40ms; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-row-card .dsx-collection-row:nth-child(3), [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-row-card .dsx-collection-row:nth-child(3)), [data-dsx-owner~=\"AskDespia\"] .ask-despia-suggest .dsx-collection-row:nth-child(3), [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-suggest .dsx-collection-row:nth-child(3)) { transition-delay: 80ms; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-row-card .dsx-collection-row:nth-child(4), [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-row-card .dsx-collection-row:nth-child(4)), [data-dsx-owner~=\"AskDespia\"] .ask-despia-suggest .dsx-collection-row:nth-child(4), [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-suggest .dsx-collection-row:nth-child(4)) { transition-delay: 120ms; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-row-card .dsx-collection-row:nth-child(n+5), [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-row-card .dsx-collection-row:nth-child(n+5)), [data-dsx-owner~=\"AskDespia\"] .ask-despia-suggest .dsx-collection-row:nth-child(n+5), [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-suggest .dsx-collection-row:nth-child(n+5)) { transition-delay: 160ms; }\n@media (prefers-reduced-motion: reduce) {\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-tool-running, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-tool-running) { animation: none; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-word, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-word), [data-dsx-owner~=\"AskDespia\"] .ask-despia-row-skeleton, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-row-skeleton), [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-steps-label, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-steps-label), [data-dsx-owner~=\"AskDespia\"] .ask-despia-steps-chevron, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-steps-chevron), [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-steps-chevron, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-steps-chevron), [data-dsx-owner~=\"AskDespia\"] .ask-despia-live .ask-despia-row-card .dsx-collection-row, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-live .ask-despia-row-card .dsx-collection-row) { transition: none; }\n}\n[data-dsx-owner~=\"AskDespia\"] .ask-despia > .ask-despia-bar, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia > .ask-despia-bar), [data-dsx-owner~=\"AskDespia\"] .ask-despia > .ask-despia-update, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia > .ask-despia-update) { flex-shrink: 0; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia > .ask-despia-thread, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia > .ask-despia-thread), [data-dsx-owner~=\"AskDespia\"] .ask-despia > .ask-despia-threads, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia > .ask-despia-threads) { flex: 1 1 0; min-height: 0; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-composer, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-composer), [data-dsx-owner~=\"AskDespia\"] .ask-despia-composer > *, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-composer > *) { flex-shrink: 0; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-in-sheet, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-in-sheet) { overflow: hidden; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-in-sheet, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-in-sheet) { container-type: size; container-name: agent-panel; }\n@container agent-panel (max-height: 470px) {\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-update, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-update) { display: none; }\n}\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-pairing, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-pairing) { gap: 12px; flex-wrap: wrap; align-items: flex-end; padding-top: 4px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-pairing-side, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-pairing-side) { gap: 4px; align-items: flex-start; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-pairing-side .ask-despia-preview, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-pairing-side .ask-despia-preview) { margin-bottom: 0px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-diff-group, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-diff-group) { gap: 8px; padding-top: 8px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-diff-label, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-diff-label) { font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-diff-from, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-diff-from) { font-size: 13px; --dsx-lh-n: 1.4; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); text-decoration: line-through; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-shot-pairs, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-shot-pairs) { display: flex; flex-direction: column; gap: 12px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-shot-row, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-shot-row) { gap: 12px; justify-content: center; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-shot, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-shot) { --media-w: 112px; object-fit: cover; overflow: hidden; }\n[data-dsx-owner~=\"AskDespia\"] .agent-icon-previews, [data-dsx-owner~=\"AskDespia\"]:is(.agent-icon-previews) { display: flex; flex-wrap: nowrap; gap: 8px; align-items: flex-end; overflow: hidden; }\n[data-dsx-owner~=\"AskDespia\"] .agent-icon-preview, [data-dsx-owner~=\"AskDespia\"]:is(.agent-icon-preview) { flex: 1 1 0; min-width: 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }\n[data-dsx-owner~=\"AskDespia\"] .agent-icon-previews .agent-icon-preview .agent-icon-preview-image, [data-dsx-owner~=\"AskDespia\"]:is(.agent-icon-previews .agent-icon-preview .agent-icon-preview-image) { width: 56px; min-width: 56px; max-width: 56px; height: 56px; flex: 0 0 auto; border-radius: 0; corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; }\n[data-dsx-owner~=\"AskDespia\"] .agent-icon-previews .agent-icon-preview .agent-icon-preview-home, [data-dsx-owner~=\"AskDespia\"]:is(.agent-icon-previews .agent-icon-preview .agent-icon-preview-home) { width: 40px; min-width: 40px; max-width: 40px; height: 40px; }\n[data-dsx-owner~=\"AskDespia\"] .agent-icon-tiles .agent-icon-tile .agent-icon-tile-picture, [data-dsx-owner~=\"AskDespia\"]:is(.agent-icon-tiles .agent-icon-tile .agent-icon-tile-picture) { border-radius: calc(50% * var(--dsx-corner-fallback, 1)); corner-shape: superellipse(2.32); --dsx-corner-shape-k: 2.32 2.32 2.32 2.32; --dsx-corner-fallback: calc(1 - var(--dsx-corner-unsupported) * .5575); }\n[data-dsx-owner~=\"AskDespia\"] .agent-icon-brief, [data-dsx-owner~=\"AskDespia\"]:is(.agent-icon-brief) { display: flex; flex-direction: column; gap: 12px; }\n[data-dsx-owner~=\"AskDespia\"] .agent-icon-brief-actions, [data-dsx-owner~=\"AskDespia\"]:is(.agent-icon-brief-actions) { gap: 12px; align-items: center; flex-wrap: wrap; }\n[data-dsx-owner~=\"AskDespia\"] .agent-icon-tiles, [data-dsx-owner~=\"AskDespia\"]:is(.agent-icon-tiles) { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 12px; }\n[data-dsx-owner~=\"AskDespia\"] .agent-icon-tile, [data-dsx-owner~=\"AskDespia\"]:is(.agent-icon-tile) { display: flex; flex-direction: column; align-items: center; gap: 8px; background: transparent; cursor: pointer; }\n[data-dsx-owner~=\"AskDespia\"] .agent-icon-tile:focus, [data-dsx-owner~=\"AskDespia\"]:is(.agent-icon-tile:focus), [data-dsx-owner~=\"AskDespia\"] .agent-icon-tile:focus-visible, [data-dsx-owner~=\"AskDespia\"]:is(.agent-icon-tile:focus-visible) { outline: none; }\n[data-dsx-owner~=\"AskDespia\"] .agent-icon-tiles .agent-icon-tile .agent-icon-tile-image, [data-dsx-owner~=\"AskDespia\"]:is(.agent-icon-tiles .agent-icon-tile .agent-icon-tile-image) { width: 64px; min-width: 64px; max-width: 64px; height: 64px; flex: 0 0 auto; border-radius: 0; corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; }\n[data-dsx-owner~=\"AskDespia\"] .agent-icon-tile-label, [data-dsx-owner~=\"AskDespia\"]:is(.agent-icon-tile-label) { font-size: 12px; --dsx-lh-n: 1.35; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); text-align: center; }\n[data-dsx-owner~=\"AskDespia\"] .agent-icon-tile-mark, [data-dsx-owner~=\"AskDespia\"]:is(.agent-icon-tile-mark) { font-size: 18px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label); transition: color var(--dsx-dur-fast) var(--dsx-ease); }\n[data-dsx-owner~=\"AskDespia\"] .agent-icon-tile[aria-selected=\"true\"] .agent-icon-tile-mark, [data-dsx-owner~=\"AskDespia\"]:is(.agent-icon-tile[aria-selected=\"true\"] .agent-icon-tile-mark) { color: var(--dsx-accent); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-listing-section, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-listing-section) { gap: 4px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-listing-section + .ask-despia-listing-section, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-listing-section + .ask-despia-listing-section) { padding-top: 12px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-section-head, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-section-head) { font-size: 15px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-label); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-chip-strip, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-chip-strip) { position: relative; min-width: 0; flex-shrink: 0; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-chips, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-chips) { display: flex; flex-direction: row; flex-wrap: nowrap; flex-shrink: 0; gap: 8px; padding-block-end: 8px; min-height: 38px; overflow-x: auto; scrollbar-width: none; direction: ltr; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-chips:dir(rtl), [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-chips:dir(rtl)) { flex-direction: row-reverse; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-chips:dir(rtl) > *, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-chips:dir(rtl) > *) { direction: rtl; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-chips > *, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-chips > *) { flex-shrink: 0; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-chips-off > *, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-chips-off > *) { visibility: hidden; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-chips-none, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-chips-none) { display: none; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-chip-fade, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-chip-fade) { position: absolute; inset: 0px 0px 8px; direction: ltr; --dsx-scroll-fade-color: var(--dsx-sheet-surface, var(--dsx-list-ground)); }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-switch, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-switch) { flex-shrink: 0; padding: 0px 16px 8px; }\n[data-dsx-owner~=\"AskDespia\"] .ask-despia-plain-card .agent-card-title, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-plain-card .agent-card-title), [data-dsx-owner~=\"AskDespia\"] .ask-despia-plain-card .agent-card-body, [data-dsx-owner~=\"AskDespia\"]:is(.ask-despia-plain-card .agent-card-body) { white-space: pre-wrap; overflow-wrap: anywhere; unicode-bidi: isolate; }\n\n[data-dsx-owner~=\"AskDespiaSheet\"] .ask-despia-sheet-wait, [data-dsx-owner~=\"AskDespiaSheet\"]:is(.ask-despia-sheet-wait) { min-height: 0; height: 100%; align-self: stretch; gap: 0px; }\n[data-dsx-owner~=\"AskDespiaSheet\"] .ask-despia-shell-bar, [data-dsx-owner~=\"AskDespiaSheet\"]:is(.ask-despia-shell-bar) { align-self: stretch; align-items: center; justify-content: space-between; min-height: 52px; padding-block: 0px; padding-inline: 16px 4px; }\n[data-dsx-owner~=\"AskDespiaSheet\"] .ask-despia-shell-brand, [data-dsx-owner~=\"AskDespiaSheet\"]:is(.ask-despia-shell-brand) { align-items: center; justify-content: center; min-height: 44px; padding-inline-start: 8px; }\n[data-dsx-owner~=\"AskDespiaSheet\"] .ask-despia-shell-lockup, [data-dsx-owner~=\"AskDespiaSheet\"]:is(.ask-despia-shell-lockup) { height: 20px; width: 73px; background: var(--dsx-label); mask: url(/brand/agent-lockup.svg) no-repeat center / contain; -webkit-mask: url(/brand/agent-lockup.svg) no-repeat center / contain; }\n[data-dsx-owner~=\"AskDespiaSheet\"] .ask-despia-shell-close, [data-dsx-owner~=\"AskDespiaSheet\"]:is(.ask-despia-shell-close) { min-width: 44px; min-height: 44px; color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"AskDespiaSheet\"] .ask-despia-shell-fill, [data-dsx-owner~=\"AskDespiaSheet\"]:is(.ask-despia-shell-fill) { flex: 1 1 0; min-height: 0; }\n[data-dsx-owner~=\"AskDespiaSheet\"] .ask-despia-shell, [data-dsx-owner~=\"AskDespiaSheet\"]:is(.ask-despia-shell) { align-self: stretch; margin: 0px 16px; margin-bottom: max(12px, env(safe-area-inset-bottom, 0px)); flex-shrink: 0; }\n[data-dsx-owner~=\"AskDespiaSheet\"] .ask-despia-shell .dsx-prompt-input-surface, [data-dsx-owner~=\"AskDespiaSheet\"]:is(.ask-despia-shell .dsx-prompt-input-surface) { background: var(--dsx-promptinput-background, var(--dsx-surface-raised)); -webkit-backdrop-filter: none; backdrop-filter: none; backdrop-filter: none; }\n\n[data-dsx-owner~=\"BillingScreen\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"BillingScreen\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"BillingScreen\"] :is(.dsx-callout, .dsx-explainer) + .page-notice, [data-dsx-owner~=\"BillingScreen\"]:is(:is(.dsx-callout, .dsx-explainer) + .page-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"BillingScreen\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"BillingScreen\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"BillingScreen\"] .workspace-notice, [data-dsx-owner~=\"BillingScreen\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"BuildDetail\"] .dsx-settings-row-content > .dsx-settings-row-status[data-dsx-motion=\"leave\"], [data-dsx-owner~=\"BuildDetail\"]:is(.dsx-settings-row-content > .dsx-settings-row-status[data-dsx-motion=\"leave\"]), [data-dsx-owner~=\"BuildDetail\"] .dsx-settings-row-content > .dsx-settings-row-spinner[data-dsx-motion=\"leave\"], [data-dsx-owner~=\"BuildDetail\"]:is(.dsx-settings-row-content > .dsx-settings-row-spinner[data-dsx-motion=\"leave\"]) { visibility: hidden; }\n[data-dsx-owner~=\"BuildDetail\"] .dsx-settings-row-content > .dsx-settings-row-spinner, [data-dsx-owner~=\"BuildDetail\"]:is(.dsx-settings-row-content > .dsx-settings-row-spinner) { width: 22px; height: 22px; margin-inline: 1px; }\n[data-dsx-owner~=\"BuildDetail\"] .dsx-settings-row-content > .dsx-settings-row-status-done, [data-dsx-owner~=\"BuildDetail\"]:is(.dsx-settings-row-content > .dsx-settings-row-status-done) { color: var(--dsx-tone-success-ink); }\n[data-dsx-owner~=\"BuildDetail\"] .dsx-scroll:has(> .build-tabs), [data-dsx-owner~=\"BuildDetail\"]:is(.dsx-scroll:has(> .build-tabs)) { padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)) !important; row-gap: var(--dsx-page-header-spacing, 1.5rem) !important; }\n@media (min-width: 48rem) {\n[data-dsx-owner~=\"BuildDetail\"] .dsx-scroll:has(> .build-tabs), [data-dsx-owner~=\"BuildDetail\"]:is(.dsx-scroll:has(> .build-tabs)) { padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)) !important; }\n}\n[data-dsx-owner~=\"BuildDetail\"] .build-tabs, [data-dsx-owner~=\"BuildDetail\"]:is(.build-tabs) { margin-block: 0; }\n[data-dsx-owner~=\"BuildDetail\"] .build-tab, [data-dsx-owner~=\"BuildDetail\"]:is(.build-tab) { container: build-detail / inline-size; min-width: 0; }\n[data-dsx-owner~=\"BuildDetail\"] .build-tab-layout, [data-dsx-owner~=\"BuildDetail\"]:is(.build-tab-layout), [data-dsx-owner~=\"BuildDetail\"] .build-diagnosis, [data-dsx-owner~=\"BuildDetail\"]:is(.build-diagnosis) { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"BuildDetail\"] .build-tab-layout > *, [data-dsx-owner~=\"BuildDetail\"]:is(.build-tab-layout > *), [data-dsx-owner~=\"BuildDetail\"] .build-diagnosis > *, [data-dsx-owner~=\"BuildDetail\"]:is(.build-diagnosis > *) { min-width: 0; margin-block: 0 !important; }\n[data-dsx-owner~=\"BuildDetail\"] .build-tab .dsx-panel-header, [data-dsx-owner~=\"BuildDetail\"]:is(.build-tab .dsx-panel-header) { padding-block-start: 0; block-size: auto; min-block-size: 44px; }\n[data-dsx-owner~=\"BuildDetail\"] .build-overview-layout > .build-diagnosis, [data-dsx-owner~=\"BuildDetail\"]:is(.build-overview-layout > .build-diagnosis) { grid-column: 1 / -1; }\n@container build-detail (min-width: 1200px) {\n[data-dsx-owner~=\"BuildDetail\"] .build-tab-layout, [data-dsx-owner~=\"BuildDetail\"]:is(.build-tab-layout), [data-dsx-owner~=\"BuildDetail\"] .build-diagnosis, [data-dsx-owner~=\"BuildDetail\"]:is(.build-diagnosis) { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n[data-dsx-owner~=\"BuildDetail\"] .build-tab-layout > :only-child, [data-dsx-owner~=\"BuildDetail\"]:is(.build-tab-layout > :only-child) { grid-column: 1 / -1; }\n[data-dsx-owner~=\"BuildDetail\"] .build-diagnosis > .diagnosis-fix, [data-dsx-owner~=\"BuildDetail\"]:is(.build-diagnosis > .diagnosis-fix) { grid-column: 1; grid-row: 2; }\n[data-dsx-owner~=\"BuildDetail\"] .build-diagnosis > .diagnosis-checks, [data-dsx-owner~=\"BuildDetail\"]:is(.build-diagnosis > .diagnosis-checks), [data-dsx-owner~=\"BuildDetail\"] .build-diagnosis > .diagnosis-details, [data-dsx-owner~=\"BuildDetail\"]:is(.build-diagnosis > .diagnosis-details) { grid-column: 2; }\n[data-dsx-owner~=\"BuildDetail\"] .build-diagnosis > .diagnosis-details, [data-dsx-owner~=\"BuildDetail\"]:is(.build-diagnosis > .diagnosis-details) { grid-row: 2; }\n}\n[data-dsx-owner~=\"BuildDetail\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"BuildDetail\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"BuildDetail\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"BuildDetail\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"BuildDetail\"] .workspace-notice, [data-dsx-owner~=\"BuildDetail\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"BuildDetail\"] .build-artifact-meta, [data-dsx-owner~=\"BuildDetail\"]:is(.build-artifact-meta) { color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"BuildDetail\"] .build-artifact-download, [data-dsx-owner~=\"BuildDetail\"]:is(.build-artifact-download) { align-self: stretch; }\n[data-dsx-owner~=\"BuildDetail\"] .build-fix-text, [data-dsx-owner~=\"BuildDetail\"]:is(.build-fix-text) { color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"BuildDetail\"] .build-fix-action, [data-dsx-owner~=\"BuildDetail\"]:is(.build-fix-action) { align-self: stretch; }\n@media (max-width: 47.9375rem) {\n[data-dsx-owner~=\"BuildDetail\"] .build-header .dsx-summary-header-actions:has(> .dsx-button), [data-dsx-owner~=\"BuildDetail\"]:is(.build-header .dsx-summary-header-actions:has(> .dsx-button)) { flex-shrink: 1; min-width: 0; flex-basis: 100%; }\n[data-dsx-owner~=\"BuildDetail\"] .build-header .dsx-summary-header-actions > .dsx-button, [data-dsx-owner~=\"BuildDetail\"]:is(.build-header .dsx-summary-header-actions > .dsx-button) { flex: 1 1 auto; }\n}\n[data-dsx-owner~=\"BuildDetail\"] .build-tab, [data-dsx-owner~=\"BuildDetail\"]:is(.build-tab) { --build-step-ground: var(--dsx-list-ground); }\n[data-dsx-owner~=\"BuildDetail\"] .build-log-steps > .dsx-accordion, [data-dsx-owner~=\"BuildDetail\"]:is(.build-log-steps > .dsx-accordion) { position: relative; background: var(--build-step-ground); }\n[data-dsx-owner~=\"BuildDetail\"] .build-log-steps > .dsx-accordion:not(:last-child), [data-dsx-owner~=\"BuildDetail\"]:is(.build-log-steps > .dsx-accordion:not(:last-child)) { box-shadow: 0 var(--dsx-page-header-spacing, 1.5rem) 0 var(--build-step-ground); }\n[data-dsx-owner~=\"BuildDetail\"] .build-log-steps > .dsx-accordion + .dsx-accordion:not(:last-child), [data-dsx-owner~=\"BuildDetail\"]:is(.build-log-steps > .dsx-accordion + .dsx-accordion:not(:last-child)) { box-shadow: 0 calc(-1 * var(--dsx-page-header-spacing, 1.5rem)) 0 var(--build-step-ground), 0 var(--dsx-page-header-spacing, 1.5rem) 0 var(--build-step-ground); }\n[data-dsx-owner~=\"BuildDetail\"] .build-log-steps > .dsx-accordion + .dsx-accordion:last-child, [data-dsx-owner~=\"BuildDetail\"]:is(.build-log-steps > .dsx-accordion + .dsx-accordion:last-child) { box-shadow: 0 calc(-1 * var(--dsx-page-header-spacing, 1.5rem)) 0 var(--build-step-ground); }\n\n[data-dsx-owner~=\"BuildLog\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"BuildLog\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"BuildLog\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"BuildLog\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"BuildLog\"] .workspace-notice, [data-dsx-owner~=\"BuildLog\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"BuildsScreen\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"BuildsScreen\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"BuildsScreen\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"BuildsScreen\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"BuildsScreen\"] .workspace-notice, [data-dsx-owner~=\"BuildsScreen\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"ConnectProvider\"] .gh-permission .dsx-settings-row-title, [data-dsx-owner~=\"ConnectProvider\"]:is(.gh-permission .dsx-settings-row-title) { font-size: 15px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; }\n[data-dsx-owner~=\"ConnectProvider\"] .gh-permission .dsx-settings-row-subtitle, [data-dsx-owner~=\"ConnectProvider\"]:is(.gh-permission .dsx-settings-row-subtitle) { font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"ConnectProvider\"] .dsx-guide strong, [data-dsx-owner~=\"ConnectProvider\"]:is(.dsx-guide strong) { font-weight: 600; color: inherit; }\n[data-dsx-owner~=\"ConnectProvider\"] .dsx-guide-compact .dsx-markdown-step-title, [data-dsx-owner~=\"ConnectProvider\"]:is(.dsx-guide-compact .dsx-markdown-step-title) { font-weight: 400; }\n[data-dsx-owner~=\"ConnectProvider\"] .dsx-guide-compact .dsx-markdown-step-number, [data-dsx-owner~=\"ConnectProvider\"]:is(.dsx-guide-compact .dsx-markdown-step-number) { font-weight: 500; }\n\n[data-dsx-owner~=\"ConnectionConfirm\"] .connection-confirm-header, [data-dsx-owner~=\"ConnectionConfirm\"]:is(.connection-confirm-header) { align-self: stretch; align-items: center; gap: 0.375rem; padding-block: 0.25rem 1.5rem; }\n[data-dsx-owner~=\"ConnectionConfirm\"] .connection-confirm-marks, [data-dsx-owner~=\"ConnectionConfirm\"]:is(.connection-confirm-marks) { justify-content: center; align-items: center; gap: 16px; padding-block-end: 0.75rem; --dsx-icon-tile-size: 56px; }\n[data-dsx-owner~=\"ConnectionConfirm\"] .connection-confirm-marks .dsx-icon-tile, [data-dsx-owner~=\"ConnectionConfirm\"]:is(.connection-confirm-marks .dsx-icon-tile) { box-shadow: none; }\n[data-dsx-owner~=\"ConnectionConfirm\"] .connection-confirm-link, [data-dsx-owner~=\"ConnectionConfirm\"]:is(.connection-confirm-link) { font-size: 20px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"ConnectionConfirm\"] .connection-confirm-title, [data-dsx-owner~=\"ConnectionConfirm\"]:is(.connection-confirm-title) { font-size: var(--dsx-route-large-title-size, var(--dsx-type-title1-size-fluid)); font-weight: var(--dsx-route-title-weight, var(--dsx-type-headline-weight)); --dsx-lh-n: var(--dsx-type-title2-leading); --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); letter-spacing: var(--dsx-type-display-tracking); color: var(--dsx-label); text-align: center; }\n[data-dsx-owner~=\"ConnectionConfirm\"] .connection-confirm-subtitle, [data-dsx-owner~=\"ConnectionConfirm\"]:is(.connection-confirm-subtitle) { font-size: var(--dsx-type-body-size); --dsx-lh-n: var(--dsx-type-body-leading); --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); text-align: center; }\n[data-dsx-owner~=\"ConnectionConfirm\"] .connection-confirm-actions, [data-dsx-owner~=\"ConnectionConfirm\"]:is(.connection-confirm-actions) { align-items: stretch; gap: 0.625rem; margin-block: 1.25rem 0.25rem; }\n\n[data-dsx-owner~=\"ConnectionsScreen\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"ConnectionsScreen\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"ConnectionsScreen\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"ConnectionsScreen\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"ConnectionsScreen\"] .workspace-notice, [data-dsx-owner~=\"ConnectionsScreen\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"ConvertProject\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"ConvertProject\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"ConvertProject\"] .dsx-scroll > .dsx-list-group.features-entry, [data-dsx-owner~=\"ConvertProject\"]:is(.dsx-scroll > .dsx-list-group.features-entry) { padding-block-start: 0; }\n[data-dsx-owner~=\"ConvertProject\"] .dsx-scroll:has(> .page-switch), [data-dsx-owner~=\"ConvertProject\"]:is(.dsx-scroll:has(> .page-switch)) { gap: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"ConvertProject\"] .dsx-scroll:has(> .page-switch) .dsx-page-header, [data-dsx-owner~=\"ConvertProject\"]:is(.dsx-scroll:has(> .page-switch) .dsx-page-header) { margin-block-end: 0; }\n[data-dsx-owner~=\"ConvertProject\"] .dsx-scroll:has(> .page-switch) > :is(.dsx-list-group, .page-notice, .readiness-bar), [data-dsx-owner~=\"ConvertProject\"]:is(.dsx-scroll:has(> .page-switch) > :is(.dsx-list-group, .page-notice, .readiness-bar)) { margin-block: 0; }\n[data-dsx-owner~=\"ConvertProject\"] .dsx-scroll:has(> .page-switch) > :is(.dsx-list-group, .readiness-bar), [data-dsx-owner~=\"ConvertProject\"]:is(.dsx-scroll:has(> .page-switch) > :is(.dsx-list-group, .readiness-bar)) { padding-block: 0; }\n[data-dsx-owner~=\"ConvertProject\"] .page-switch, [data-dsx-owner~=\"ConvertProject\"]:is(.page-switch) { align-self: stretch; }\n[data-dsx-owner~=\"ConvertProject\"] .app-start-url .dsx-settings-row-copy, [data-dsx-owner~=\"ConvertProject\"]:is(.app-start-url .dsx-settings-row-copy) { flex-shrink: 0; min-inline-size: max-content; }\n[data-dsx-owner~=\"ConvertProject\"] .app-start-url .dsx-settings-row-value, [data-dsx-owner~=\"ConvertProject\"]:is(.app-start-url .dsx-settings-row-value) { flex-shrink: 1; min-inline-size: 0; max-inline-size: 100%; overflow-wrap: anywhere; }\n[data-dsx-owner~=\"ConvertProject\"] .dsx-settings-row-content > .dsx-settings-row-status[data-dsx-motion=\"leave\"], [data-dsx-owner~=\"ConvertProject\"]:is(.dsx-settings-row-content > .dsx-settings-row-status[data-dsx-motion=\"leave\"]), [data-dsx-owner~=\"ConvertProject\"] .dsx-settings-row-content > .dsx-settings-row-spinner[data-dsx-motion=\"leave\"], [data-dsx-owner~=\"ConvertProject\"]:is(.dsx-settings-row-content > .dsx-settings-row-spinner[data-dsx-motion=\"leave\"]) { visibility: hidden; }\n[data-dsx-owner~=\"ConvertProject\"] .dsx-settings-row-content > .dsx-settings-row-spinner, [data-dsx-owner~=\"ConvertProject\"]:is(.dsx-settings-row-content > .dsx-settings-row-spinner) { width: 22px; height: 22px; margin-inline: 1px; }\n[data-dsx-owner~=\"ConvertProject\"] .dsx-settings-row-content > .dsx-settings-row-status-done, [data-dsx-owner~=\"ConvertProject\"]:is(.dsx-settings-row-content > .dsx-settings-row-status-done) { color: var(--dsx-tone-success-ink); }\n[data-dsx-owner~=\"ConvertProject\"] .app-home-header .dsx-summary-header-status-icon, [data-dsx-owner~=\"ConvertProject\"]:is(.app-home-header .dsx-summary-header-status-icon) { font-size: 0.625rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"ConvertProject\"] .dsx-scroll:has(> .app-home-header), [data-dsx-owner~=\"ConvertProject\"]:is(.dsx-scroll:has(> .app-home-header)) { gap: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"ConvertProject\"] .dsx-scroll:has(> .app-home-header) > :is(.dsx-list-group, .page-notice), [data-dsx-owner~=\"ConvertProject\"]:is(.dsx-scroll:has(> .app-home-header) > :is(.dsx-list-group, .page-notice)) { margin-block: 0; }\n[data-dsx-owner~=\"ConvertProject\"] .dsx-scroll:has(> .app-home-header) > .dsx-list-group, [data-dsx-owner~=\"ConvertProject\"]:is(.dsx-scroll:has(> .app-home-header) > .dsx-list-group) { padding-block: 0; }\n[data-dsx-owner~=\"ConvertProject\"] .app-home-header, [data-dsx-owner~=\"ConvertProject\"]:is(.app-home-header) { gap: var(--dsx-page-header-spacing, 1.5rem); padding-block-end: 0; }\n[data-dsx-owner~=\"ConvertProject\"] .app-home-header > .dsx-summary-header-top, [data-dsx-owner~=\"ConvertProject\"]:is(.app-home-header > .dsx-summary-header-top) { padding-block-end: var(--dsx-page-header-padding-end, 1rem); border-bottom: var(--dsx-page-header-divider, var(--dsx-hairline, 1px) solid var(--dsx-separator)); }\n[data-dsx-owner~=\"ConvertProject\"] .app-identity-header .dsx-summary-header-actions:has(.dsx-icon-tile), [data-dsx-owner~=\"ConvertProject\"]:is(.app-identity-header .dsx-summary-header-actions:has(.dsx-icon-tile)) { display: contents; }\n[data-dsx-owner~=\"ConvertProject\"] .app-identity-header .dsx-summary-header-actions > :is(.dsx-icon-tile, :has(.dsx-icon-tile)), [data-dsx-owner~=\"ConvertProject\"]:is(.app-identity-header .dsx-summary-header-actions > :is(.dsx-icon-tile, :has(.dsx-icon-tile))) { order: -1; }\n[data-dsx-owner~=\"ConvertProject\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"ConvertProject\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"ConvertProject\"] .workspace-notice, [data-dsx-owner~=\"ConvertProject\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"ConvertProject\"] .app-identity-header .dsx-summary-header-title, [data-dsx-owner~=\"ConvertProject\"]:is(.app-identity-header .dsx-summary-header-title), [data-dsx-owner~=\"ConvertProject\"] .app-identity-header .dsx-summary-header-subtitle, [data-dsx-owner~=\"ConvertProject\"]:is(.app-identity-header .dsx-summary-header-subtitle) { display: block !important; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; max-inline-size: 100%; overflow-wrap: break-word; }\n@media (max-width: 767px) {\nbody:has(.app-identity-header) .dsx-route-chrome:not([data-dsx-large=\"true\"]) { height: auto; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: minmax(48px, auto); }\nbody:has(.app-identity-header) .dsx-route-chrome:not([data-dsx-large=\"true\"]) .dsx-route-title { max-inline-size: 100%; padding-block: 8px; white-space: normal; overflow-wrap: break-word; overflow: visible; text-overflow: clip; }\n}\n\n[data-dsx-owner~=\"DedicatedCloudScreen\"] .cloud-hero, [data-dsx-owner~=\"DedicatedCloudScreen\"]:is(.cloud-hero) { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; padding: 3rem 1.5rem 2.5rem; margin-block-end: 1.5rem; }\n[data-dsx-owner~=\"DedicatedCloudScreen\"] .cloud-art, [data-dsx-owner~=\"DedicatedCloudScreen\"]:is(.cloud-art) { display: block; width: 11.5rem; height: auto; aspect-ratio: 1; margin-block-end: 0.5rem; object-fit: contain; }\n[data-dsx-owner~=\"DedicatedCloudScreen\"] .cloud-art-dark, [data-dsx-owner~=\"DedicatedCloudScreen\"]:is(.cloud-art-dark) { display: none; }\n@media (prefers-color-scheme: dark) {\n[data-dsx-owner~=\"DedicatedCloudScreen\"] .cloud-art-light, [data-dsx-owner~=\"DedicatedCloudScreen\"]:is(.cloud-art-light) { display: none; }\n[data-dsx-owner~=\"DedicatedCloudScreen\"] .cloud-art-dark, [data-dsx-owner~=\"DedicatedCloudScreen\"]:is(.cloud-art-dark) { display: block; }\n}\n[data-dsx-owner~=\"DedicatedCloudScreen\"] .cloud-label, [data-dsx-owner~=\"DedicatedCloudScreen\"]:is(.cloud-label) { margin-block-end: 0.25rem; }\n[data-dsx-owner~=\"DedicatedCloudScreen\"] .cloud-title, [data-dsx-owner~=\"DedicatedCloudScreen\"]:is(.cloud-title) { font-size: clamp(2.25rem, 6vw, 3.5rem); font-weight: 700; letter-spacing: -0.03em; --dsx-lh-n: 1.05; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n[data-dsx-owner~=\"DedicatedCloudScreen\"] .cloud-line, [data-dsx-owner~=\"DedicatedCloudScreen\"]:is(.cloud-line) { max-width: 32rem; margin-block-end: 0.75rem; font-size: 1.125rem; --dsx-lh-n: 1.4; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"DedicatedCloudScreen\"] .cloud-address, [data-dsx-owner~=\"DedicatedCloudScreen\"]:is(.cloud-address) { font-size: 0.8125rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); -webkit-user-select: all; user-select: all; }\n\n[data-dsx-owner~=\"DemoAccountCard\"] .demo-account-host, [data-dsx-owner~=\"DemoAccountCard\"]:is(.demo-account-host) { align-self: stretch; }\n[data-dsx-owner~=\"DemoAccountCard\"] .demo-account-body, [data-dsx-owner~=\"DemoAccountCard\"]:is(.demo-account-body) { font-size: 13px; --dsx-lh-n: 1.4; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"DemoAccountCard\"] .demo-account, [data-dsx-owner~=\"DemoAccountCard\"]:is(.demo-account) { --auto-inner-radius: max(10px, calc(var(--dsx-card-border-radius, 36.5px) - 16px)); }\n[data-dsx-owner~=\"DemoAccountCard\"] .demo-account .dsx-list-group, [data-dsx-owner~=\"DemoAccountCard\"]:is(.demo-account .dsx-list-group) { padding: 0; --dsx-list-cell: var(--dsx-grouped-background); --dsx-list-radius: var(--auto-inner-radius); --dsx-list-radius-single-row: var(--auto-inner-radius); }\n[data-dsx-owner~=\"DemoAccountCard\"] .demo-account .dsx-callout, [data-dsx-owner~=\"DemoAccountCard\"]:is(.demo-account .dsx-callout) { margin-inline: 0; --dsx-callout-border-radius: var(--auto-inner-radius); }\n\n[data-dsx-owner~=\"EmailButton\"] .email-button, [data-dsx-owner~=\"EmailButton\"]:is(.email-button) { align-self: flex-start; }\n\n[data-dsx-owner~=\"ExtensionCard\"] .extension-card, [data-dsx-owner~=\"ExtensionCard\"]:is(.extension-card) { container-type: inline-size; }\n@container (max-width: 20rem) {\n[data-dsx-owner~=\"ExtensionCard\"] .extension-card-actions, [data-dsx-owner~=\"ExtensionCard\"]:is(.extension-card-actions) { flex-direction: column !important; align-items: stretch !important; align-self: stretch; }\n}\n[data-dsx-owner~=\"ExtensionCard\"] .extension-card-highlight, [data-dsx-owner~=\"ExtensionCard\"]:is(.extension-card-highlight) { animation: extension-card-arrive 2.4s var(--dsx-ease, ease-out) 1; }\n@keyframes extension-card-arrive {\n0%, 40% { background: color-mix(in srgb, var(--dsx-accent) 12%, var(--dsx-secondary-grouped-background)); }\n100% { background: var(--dsx-secondary-grouped-background); }\n}\n@media (prefers-reduced-motion: reduce) {\n[data-dsx-owner~=\"ExtensionCard\"] .extension-card-highlight, [data-dsx-owner~=\"ExtensionCard\"]:is(.extension-card-highlight) { animation: none; }\n}\n[data-dsx-owner~=\"ExtensionCard\"] .button-external, [data-dsx-owner~=\"ExtensionCard\"]:is(.button-external) { flex-direction: row-reverse; }\n[data-dsx-owner~=\"ExtensionCard\"] .button-external > svg[data-dsx-part=\"icon\"], [data-dsx-owner~=\"ExtensionCard\"]:is(.button-external > svg[data-dsx-part=\"icon\"]) { width: 0.8em; height: 0.8em; }\n[data-dsx-owner~=\"ExtensionCard\"] .cws-badge-dark, [data-dsx-owner~=\"ExtensionCard\"]:is(.cws-badge-dark) { display: none !important; }\n@media (prefers-color-scheme: dark) {\n[data-dsx-owner~=\"ExtensionCard\"] .cws-badge-light, [data-dsx-owner~=\"ExtensionCard\"]:is(.cws-badge-light) { display: none !important; }\n[data-dsx-owner~=\"ExtensionCard\"] .cws-badge-dark, [data-dsx-owner~=\"ExtensionCard\"]:is(.cws-badge-dark) { display: flex !important; }\n}\n\n[data-dsx-owner~=\"ExtensionConnect\"] .extension-connect-header, [data-dsx-owner~=\"ExtensionConnect\"]:is(.extension-connect-header) { align-self: stretch; align-items: center; gap: 0.375rem; padding-block: 0.25rem 1.5rem; }\n[data-dsx-owner~=\"ExtensionConnect\"] .extension-connect-marks, [data-dsx-owner~=\"ExtensionConnect\"]:is(.extension-connect-marks) { justify-content: center; align-items: center; gap: 16px; padding-block-end: 0.75rem; --dsx-icon-tile-size: 56px; }\n[data-dsx-owner~=\"ExtensionConnect\"] .extension-connect-marks .dsx-icon-tile, [data-dsx-owner~=\"ExtensionConnect\"]:is(.extension-connect-marks .dsx-icon-tile) { box-shadow: none; }\n[data-dsx-owner~=\"ExtensionConnect\"] .extension-connect-link, [data-dsx-owner~=\"ExtensionConnect\"]:is(.extension-connect-link) { font-size: 20px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"ExtensionConnect\"] .extension-connect-title, [data-dsx-owner~=\"ExtensionConnect\"]:is(.extension-connect-title) { font-size: var(--dsx-route-large-title-size, var(--dsx-type-title1-size-fluid)); font-weight: var(--dsx-route-title-weight, var(--dsx-type-headline-weight)); --dsx-lh-n: var(--dsx-type-title2-leading); --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); letter-spacing: var(--dsx-type-display-tracking); color: var(--dsx-label); text-align: center; }\n[data-dsx-owner~=\"ExtensionConnect\"] .extension-connect-subtitle, [data-dsx-owner~=\"ExtensionConnect\"]:is(.extension-connect-subtitle) { font-size: var(--dsx-type-body-size); --dsx-lh-n: var(--dsx-type-body-leading); --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); text-align: center; }\n[data-dsx-owner~=\"ExtensionConnect\"] .extension-connect-actions, [data-dsx-owner~=\"ExtensionConnect\"]:is(.extension-connect-actions) { align-items: stretch; gap: 0.625rem; margin-block: 1.25rem 0.25rem; }\n[data-dsx-owner~=\"ExtensionConnect\"] .dsx-settings-row-content > .dsx-settings-row-status[data-dsx-motion=\"leave\"], [data-dsx-owner~=\"ExtensionConnect\"]:is(.dsx-settings-row-content > .dsx-settings-row-status[data-dsx-motion=\"leave\"]), [data-dsx-owner~=\"ExtensionConnect\"] .dsx-settings-row-content > .dsx-settings-row-spinner[data-dsx-motion=\"leave\"], [data-dsx-owner~=\"ExtensionConnect\"]:is(.dsx-settings-row-content > .dsx-settings-row-spinner[data-dsx-motion=\"leave\"]) { visibility: hidden; }\n[data-dsx-owner~=\"ExtensionConnect\"] .dsx-settings-row-content > .dsx-settings-row-spinner, [data-dsx-owner~=\"ExtensionConnect\"]:is(.dsx-settings-row-content > .dsx-settings-row-spinner) { width: 22px; height: 22px; margin-inline: 1px; }\n[data-dsx-owner~=\"ExtensionConnect\"] .dsx-settings-row-content > .dsx-settings-row-status-done, [data-dsx-owner~=\"ExtensionConnect\"]:is(.dsx-settings-row-content > .dsx-settings-row-status-done) { color: var(--dsx-tone-success-ink); }\n\n[data-dsx-owner~=\"ExtensionHandoff\"] .extension-handoff-token, [data-dsx-owner~=\"ExtensionHandoff\"]:is(.extension-handoff-token) { border-radius: calc(12px * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-surface-corner-shape-fallback); }\n\n[data-dsx-owner~=\"FeatureReview\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"FeatureReview\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"FeatureReview\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"FeatureReview\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"FeatureReview\"] .workspace-notice, [data-dsx-owner~=\"FeatureReview\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"Go\"] .go-header, [data-dsx-owner~=\"Go\"]:is(.go-header) { align-self: stretch; align-items: center; gap: 0.375rem; padding-block: 0.25rem 1.5rem; }\n[data-dsx-owner~=\"Go\"] .go-marks, [data-dsx-owner~=\"Go\"]:is(.go-marks) { justify-content: center; align-items: center; gap: 16px; padding-block-end: 0.75rem; --dsx-icon-tile-size: 56px; }\n[data-dsx-owner~=\"Go\"] .go-marks .dsx-icon-tile, [data-dsx-owner~=\"Go\"]:is(.go-marks .dsx-icon-tile) { box-shadow: none; }\n[data-dsx-owner~=\"Go\"] .go-link, [data-dsx-owner~=\"Go\"]:is(.go-link) { font-size: 20px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"Go\"] .go-title, [data-dsx-owner~=\"Go\"]:is(.go-title) { font-size: var(--dsx-route-large-title-size, var(--dsx-type-title1-size-fluid)); font-weight: var(--dsx-route-title-weight, var(--dsx-type-headline-weight)); --dsx-lh-n: var(--dsx-type-title2-leading); --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); letter-spacing: var(--dsx-type-display-tracking); color: var(--dsx-label); text-align: center; }\n[data-dsx-owner~=\"Go\"] .go-subtitle, [data-dsx-owner~=\"Go\"]:is(.go-subtitle) { font-size: var(--dsx-type-body-size); --dsx-lh-n: var(--dsx-type-body-leading); --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); text-align: center; }\n[data-dsx-owner~=\"Go\"] .go-code input, [data-dsx-owner~=\"Go\"]:is(.go-code input) { letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }\n[data-dsx-owner~=\"Go\"] .go-code-error .dsx-list-section-footer, [data-dsx-owner~=\"Go\"]:is(.go-code-error .dsx-list-section-footer) { color: var(--dsx-destructive); }\n[data-dsx-owner~=\"Go\"] .go-actions, [data-dsx-owner~=\"Go\"]:is(.go-actions) { align-items: stretch; gap: 0.625rem; margin-block: 1.25rem 0.25rem; }\n\n[data-dsx-owner~=\"GoogleProgress\"] .google-progress-steps .dsx-settings-row-status-done, [data-dsx-owner~=\"GoogleProgress\"]:is(.google-progress-steps .dsx-settings-row-status-done), [data-dsx-owner~=\"GoogleProgress\"] .google-progress-steps .dsx-settings-row-content > .dsx-settings-row-status-done, [data-dsx-owner~=\"GoogleProgress\"]:is(.google-progress-steps .dsx-settings-row-content > .dsx-settings-row-status-done) { color: var(--dsx-success); }\n\n[data-dsx-owner~=\"GroupChat\"] .group-chat, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat) { position: relative; gap: 0px; align-self: stretch; min-width: 0; height: 100%; min-height: 0; flex-grow: 1; }\n[data-dsx-owner~=\"GroupChat\"] .dsx-list, [data-dsx-owner~=\"GroupChat\"]:is(.dsx-list) { --dsx-list-inset-inline: 0px; }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-bar, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-bar) { align-self: stretch; gap: 10px; align-items: center; min-height: 56px; padding: 6px 16px; }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-faces, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-faces) { --dsx-avatar-size: 28px; flex: 0 0 auto; }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-who, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-who) { gap: 1px; min-width: 0; }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-title, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-title) { font-size: 15px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-label); }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-strong, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-strong) { font-size: 17px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-label); }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-quiet, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-quiet) { font-size: 13px; --dsx-lh-n: 1.4; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-calm, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-calm) { gap: 12px; padding: 16px; }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-thread, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-thread) { flex-grow: 1; min-height: 0; --dsx-threadpane-gutter: 16px; --dsx-threadpane-gap: 12px; }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-hello, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-hello) { gap: 4px; padding-top: 4px; }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-row, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-row) { gap: 4px; align-self: stretch; min-width: 0; }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-row > *, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-row > *) { margin-block: 0px; }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-you, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-you) { align-self: flex-end; max-width: 85%; padding: 7px 12px; border-radius: calc(var(--dsx-radius-lg) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-corner-shape); --dsx-corner-shape-k: var(--dsx-corner-shape); --dsx-corner-fallback: var(--dsx-corner-shape-fallback); font-size: 15px; --dsx-lh-n: 1.4; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); background: var(--dsx-fill); color: var(--dsx-label); }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-agent, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-agent) { gap: 4px; align-self: stretch; }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-name, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-name) { gap: 6px; align-items: center; }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-agent-mark, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-agent-mark) { font-size: 15px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-bar-mark, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-bar-mark) { flex: 0 0 auto; font-size: 24px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-label, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-label) { font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-text, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-text) { font-size: 15px; --dsx-lh-n: 1.45; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-staff, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-staff) { gap: 8px; align-items: flex-start; align-self: stretch; max-width: 92%; }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-face, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-face) { --dsx-avatar-size: 28px; --dsx-avatar-background: var(--dsx-secondary-label); --dsx-avatar-color: var(--dsx-background); flex: 0 0 auto; margin-top: 2px; }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-face-off, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-face-off) { visibility: hidden; }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-staff-body, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-staff-body) { gap: 4px; min-width: 0; flex: 1 1 auto; }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-staff-bubble, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-staff-bubble) { align-self: flex-start; padding: 8px 12px; border-radius: calc(var(--dsx-radius-lg) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-corner-shape); --dsx-corner-shape-k: var(--dsx-corner-shape); --dsx-corner-fallback: var(--dsx-corner-shape-fallback); background: var(--dsx-secondary-grouped-background); border: var(--dsx-hairline, 0.5px) solid var(--dsx-separator); font-size: 15px; --dsx-lh-n: 1.45; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-system, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-system) { align-self: center; max-width: 85%; padding: 4px 0px; font-size: 13px; --dsx-lh-n: 1.4; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); text-align: center; color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-composer, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-composer) { gap: 8px; padding-top: 10px; border-top: var(--dsx-hairline, 0.5px) solid var(--dsx-separator); }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-chips, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-chips) { gap: 6px; flex-wrap: wrap; align-items: center; }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-chips > *, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-chips > *) { flex: 0 0 auto; width: auto; }\n[data-dsx-owner~=\"GroupChat\"] .dsx-threadpane-scroll, [data-dsx-owner~=\"GroupChat\"]:is(.dsx-threadpane-scroll) { mask-image: linear-gradient(to bottom, transparent 0px, #000 20px, #000 calc(100% - 16px), transparent 100%); -webkit-mask-image: linear-gradient(to bottom, transparent 0px, #000 20px, #000 calc(100% - 16px), transparent 100%); }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-facts, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-facts) { gap: 8px; }\n[data-dsx-owner~=\"GroupChat\"] .group-chat-fact, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat-fact) { gap: 1px; }\n[data-dsx-owner~=\"GroupChat\"] .group-chat, [data-dsx-owner~=\"GroupChat\"]:is(.group-chat) { --dsx-callout-border-radius: var(--dsx-surface-radius, 36.5px); }\n[data-dsx-owner~=\"GroupChat\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"GroupChat\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"GroupChat\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"GroupChat\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"GroupChat\"] .workspace-notice, [data-dsx-owner~=\"GroupChat\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"HelpSheet\"] .help-article, [data-dsx-owner~=\"HelpSheet\"]:is(.help-article) { align-items: stretch; padding: 0.5rem 1.25rem 1rem; }\n[data-dsx-owner~=\"HelpSheet\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"HelpSheet\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"HelpSheet\"] .dsx-threadpane-thread:has(> .help-new), [data-dsx-owner~=\"HelpSheet\"]:is(.dsx-threadpane-thread:has(> .help-new)) { flex: 1 0 auto; justify-content: center; }\n[data-dsx-owner~=\"HelpSheet\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"HelpSheet\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"HelpSheet\"] .workspace-notice, [data-dsx-owner~=\"HelpSheet\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"IconEditor\"] .icon-editor, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor) { display: flex; flex-direction: column; align-self: stretch; gap: 1.5rem; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-previews, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-previews) { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; flex-shrink: 0; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-controls, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-controls) { display: flex; flex-direction: column; align-self: stretch; gap: 1.5rem; min-width: 0px; isolation: isolate; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-controls .dsx-list-group, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-controls .dsx-list-group) { margin-block: 0px; padding-block: 0px; }\n@media (min-width: 600px) {\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-previews, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-previews) { position: sticky; top: 0px; z-index: 1; flex-direction: row; justify-content: center; gap: 2rem; padding-block: 0.5rem 1rem; background: var(--dsx-list-sheet-ground); border-block-end: var(--dsx-hairline, 0.5px) solid var(--dsx-separator); }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-previews::after, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-previews::after) { content: \"\"; position: absolute; inset-inline: 0px; top: 100%; height: 16px; background: linear-gradient(var(--dsx-list-sheet-ground), transparent); pointer-events: none; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-variants, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-variants) { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }\n}\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-hero-plate, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-hero-plate), [data-dsx-owner~=\"IconEditor\"] .icon-editor-home-plate, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-home-plate), [data-dsx-owner~=\"IconEditor\"] .icon-editor-mask-circle .icon-editor-mask-plate, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-mask-circle .icon-editor-mask-plate), [data-dsx-owner~=\"IconEditor\"] .icon-editor-mask-squircle .icon-editor-mask-plate, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-mask-squircle .icon-editor-mask-plate) { background: var(--dsx-fill); border-radius: calc(50% * var(--dsx-corner-fallback, 1)); corner-shape: superellipse(2.32); --dsx-corner-shape-k: 2.32 2.32 2.32 2.32; --dsx-corner-fallback: calc(1 - var(--dsx-corner-unsupported) * .5575); }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-mask-circle .icon-editor-mask-plate, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-mask-circle .icon-editor-mask-plate) { corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-hero-plate, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-hero-plate) { width: 180px; height: 180px; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-hero-plate, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-hero-plate), [data-dsx-owner~=\"IconEditor\"] .icon-editor-mask-plate, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-mask-plate), [data-dsx-owner~=\"IconEditor\"] .icon-editor-home-plate, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-home-plate) { position: relative; aspect-ratio: 1; flex-shrink: 0; overflow: hidden; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-hero, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-hero), [data-dsx-owner~=\"IconEditor\"] .icon-editor-mask-image, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-mask-image), [data-dsx-owner~=\"IconEditor\"] .icon-editor-home-icon, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-home-icon) { position: absolute; object-fit: contain; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-hero, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-hero), [data-dsx-owner~=\"IconEditor\"] .icon-editor-mask-image, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-mask-image), [data-dsx-owner~=\"IconEditor\"] .icon-editor-home-icon, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-home-icon) { background: none; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-home-plate, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-home-plate) { width: 60px; height: 60px; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-stand-in-true .icon-editor-hero, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-stand-in-true .icon-editor-hero), [data-dsx-owner~=\"IconEditor\"] .icon-editor-stand-in-true .icon-editor-home-icon, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-stand-in-true .icon-editor-home-icon), [data-dsx-owner~=\"IconEditor\"] .icon-editor-stand-in-true .icon-editor-mask-squircle .icon-editor-mask-image, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-stand-in-true .icon-editor-mask-squircle .icon-editor-mask-image) { border-radius: calc(50% * var(--dsx-corner-fallback, 1)); corner-shape: superellipse(2.32); --dsx-corner-shape-k: 2.32 2.32 2.32 2.32; --dsx-corner-fallback: calc(1 - var(--dsx-corner-unsupported) * .5575); }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-stand-in-true .icon-editor-mask-circle .icon-editor-mask-image, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-stand-in-true .icon-editor-mask-circle .icon-editor-mask-image) { border-radius: 50%; corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-hero, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-hero) { width: 180px; height: 180px; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-variants, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-variants) { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-masks, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-masks) { display: flex; flex-direction: row; justify-content: center; gap: 1.5rem; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-mask, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-mask) { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-mask-plate, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-mask-plate) { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-mask-image, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-mask-image) { width: 64px; height: 64px; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-mask-themed .icon-editor-mask-plate, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-mask-themed .icon-editor-mask-plate) { border-radius: calc(50% * var(--dsx-corner-fallback, 1)); corner-shape: superellipse(2.32); --dsx-corner-shape-k: 2.32 2.32 2.32 2.32; --dsx-corner-fallback: calc(1 - var(--dsx-corner-unsupported) * .5575); background: light-dark(#dbe4f4, #263042); }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-mask-themed .icon-editor-mask-image, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-mask-themed .icon-editor-mask-image) { width: 44px; height: 44px; }\n@media (prefers-color-scheme: dark) {\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-mask-themed .icon-editor-mask-image:not([data-dsx-theme=\"light\"] *), [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-mask-themed .icon-editor-mask-image:not([data-dsx-theme=\"light\"] *)) { filter: invert(1) hue-rotate(180deg); }\n}\n[data-dsx-owner~=\"IconEditor\"] [data-dsx-theme=\"dark\"] .icon-editor-mask-themed .icon-editor-mask-image, [data-dsx-owner~=\"IconEditor\"]:is([data-dsx-theme=\"dark\"] .icon-editor-mask-themed .icon-editor-mask-image) { filter: invert(1) hue-rotate(180deg); }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-caption, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-caption) { font-size: 12px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-home, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-home) { display: flex; flex-direction: row; justify-content: center; align-items: flex-start; gap: 1.25rem; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-home-app, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-home-app) { display: flex; flex-direction: column; align-items: center; gap: 0.375rem; width: 4.75rem; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-home-icon, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-home-icon) { width: 60px; height: 60px; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-home-name, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-home-name) { max-width: 100%; font-size: 12px; --dsx-lh-n: 1.25; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); text-align: center; overflow-wrap: anywhere; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-section, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-section) { display: flex; flex-direction: column; align-self: stretch; gap: 1.5rem; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-tiles, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-tiles) { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 1.5rem; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-tile, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-tile) { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; background: transparent; cursor: pointer; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-tile:focus, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-tile:focus), [data-dsx-owner~=\"IconEditor\"] .icon-editor-tile:focus-visible, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-tile:focus-visible) { outline: none; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-tile-image, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-tile-image) { width: 72px; height: 72px; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-tile-picture, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-tile-picture) { border-radius: calc(50% * var(--dsx-corner-fallback, 1)); corner-shape: superellipse(2.32); --dsx-corner-shape-k: 2.32 2.32 2.32 2.32; --dsx-corner-fallback: calc(1 - var(--dsx-corner-unsupported) * .5575); }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-tile-mark, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-tile-mark) { font-size: 18px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label); transition: color var(--dsx-dur-fast) var(--dsx-ease); }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-tile:focus-visible .icon-editor-tile-mark, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-tile:focus-visible .icon-editor-tile-mark) { color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-tile[aria-selected=\"true\"] .icon-editor-tile-mark, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-tile[aria-selected=\"true\"] .icon-editor-tile-mark) { color: var(--dsx-accent); }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-tabs, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-tabs) { flex: 1 1 auto; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-slider, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-slider) { flex: 1 1 auto; width: 100%; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-letters, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-letters) { max-width: 6rem; text-align: end; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-actions, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-actions) { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-note, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-note) { font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-fill .dsx-settings-row-copy, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-fill .dsx-settings-row-copy), [data-dsx-owner~=\"IconEditor\"] .icon-editor-fill .dsx-settings-row-spacer, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-fill .dsx-settings-row-spacer) { display: none; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-fill .dsx-settings-row-content > :is(.icon-editor-tabs, .dsx-colorpicker), [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-fill .dsx-settings-row-content > :is(.icon-editor-tabs, .dsx-colorpicker)) { flex: 1 1 auto; width: 100%; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor .dsx-colorpicker-swatch, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor .dsx-colorpicker-swatch), [data-dsx-owner~=\"IconEditor\"] .icon-editor .dsx-colorpicker-well, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor .dsx-colorpicker-well) { corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; }\n[data-dsx-owner~=\"IconEditor\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"IconEditor\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"IconEditor\"] .workspace-notice, [data-dsx-owner~=\"IconEditor\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-generate, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-generate) { display: flex; flex-direction: column; align-items: stretch; gap: 0.5rem; }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-source-tiles, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-source-tiles) { --icon-editor-source-row-height: 100px; min-height: var(--icon-editor-source-row-height); }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-placeholder, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-placeholder) { background: var(--dsx-fill); border-radius: calc(8px * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-corner-shape); --dsx-corner-shape-k: var(--dsx-corner-shape); --dsx-corner-fallback: var(--dsx-corner-shape-fallback); }\n[data-dsx-owner~=\"IconEditor\"] .icon-editor-placeholder-mark, [data-dsx-owner~=\"IconEditor\"]:is(.icon-editor-placeholder-mark) { width: 18px; height: 18px; border-radius: 50%; corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; }\n\n[data-dsx-owner~=\"IntegrationDetail\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"IntegrationDetail\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"IntegrationDetail\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"IntegrationDetail\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"IntegrationDetail\"] .workspace-notice, [data-dsx-owner~=\"IntegrationDetail\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"InviteScreen\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"InviteScreen\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"InviteScreen\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"InviteScreen\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"InviteScreen\"] .workspace-notice, [data-dsx-owner~=\"InviteScreen\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"LegalPage\"] .legal-page, [data-dsx-owner~=\"LegalPage\"]:is(.legal-page) { align-items: center; background: var(--dsx-background); color: var(--dsx-label); padding: 2.5rem 1rem calc(4rem + var(--dsx-consent-room, 0px)); }\n[data-dsx-owner~=\"LegalPage\"] .legal-column, [data-dsx-owner~=\"LegalPage\"]:is(.legal-column) { width: 100%; max-width: 52.5rem; gap: 0.5rem; }\n[data-dsx-owner~=\"LegalPage\"] .legal-brand, [data-dsx-owner~=\"LegalPage\"]:is(.legal-brand) { align-self: flex-start; flex-shrink: 0; height: 1.75rem; margin-block-end: 1.75rem; }\n[data-dsx-owner~=\"LegalPage\"] .legal-logo, [data-dsx-owner~=\"LegalPage\"]:is(.legal-logo) { height: 1.75rem; width: auto; object-fit: contain; }\n[data-dsx-owner~=\"LegalPage\"] .legal-logo-dark, [data-dsx-owner~=\"LegalPage\"]:is(.legal-logo-dark) { display: none; }\n@media (prefers-color-scheme: dark) {\n[data-dsx-owner~=\"LegalPage\"] .legal-logo-light, [data-dsx-owner~=\"LegalPage\"]:is(.legal-logo-light) { display: none; }\n[data-dsx-owner~=\"LegalPage\"] .legal-logo-dark, [data-dsx-owner~=\"LegalPage\"]:is(.legal-logo-dark) { display: block; }\n}\n[data-dsx-owner~=\"LegalPage\"] .legal-title, [data-dsx-owner~=\"LegalPage\"]:is(.legal-title) { font-size: 2.125rem; font-weight: 700; letter-spacing: -0.02em; --dsx-lh-n: 1.15; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n[data-dsx-owner~=\"LegalPage\"] .legal-updated, [data-dsx-owner~=\"LegalPage\"]:is(.legal-updated) { font-size: 0.9375rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); margin-block-end: 1rem; }\n[data-dsx-owner~=\"LegalPage\"] .legal-body, [data-dsx-owner~=\"LegalPage\"]:is(.legal-body) { --dsx-lh-n: 1.6; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n@media (max-width: 480px) {\n[data-dsx-owner~=\"LegalPage\"] .legal-page, [data-dsx-owner~=\"LegalPage\"]:is(.legal-page) { padding-block-start: 1.5rem; }\n[data-dsx-owner~=\"LegalPage\"] .legal-title, [data-dsx-owner~=\"LegalPage\"]:is(.legal-title) { font-size: 1.75rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n}\n[data-dsx-owner~=\"LegalPage\"] .legal-cookies, [data-dsx-owner~=\"LegalPage\"]:is(.legal-cookies) { justify-content: flex-start; margin-block-start: 1rem; }\n\n[data-dsx-owner~=\"MembersScreen\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"MembersScreen\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"MembersScreen\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"MembersScreen\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"MembersScreen\"] .workspace-notice, [data-dsx-owner~=\"MembersScreen\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"MembersScreen\"] .roles-matrix .dsx-settings-row-title, [data-dsx-owner~=\"MembersScreen\"]:is(.roles-matrix .dsx-settings-row-title) { color: var(--dsx-label); }\n\n[data-dsx-owner~=\"MigrateApps\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"MigrateApps\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"MigrateApps\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"MigrateApps\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"MigrateApps\"] .workspace-notice, [data-dsx-owner~=\"MigrateApps\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"MigrationPreview\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"MigrationPreview\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"MigrationPreview\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"MigrationPreview\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"MigrationPreview\"] .workspace-notice, [data-dsx-owner~=\"MigrationPreview\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"NewApp\"] .new-app-gallery, [data-dsx-owner~=\"NewApp\"]:is(.new-app-gallery) { --dsx-item-card-padding: 0.875rem; max-width: 68rem; }\n[data-dsx-owner~=\"NewApp\"] .new-app-gallery .dsx-item-card-body, [data-dsx-owner~=\"NewApp\"]:is(.new-app-gallery .dsx-item-card-body) { gap: 0.5rem; }\n[data-dsx-owner~=\"NewApp\"] .new-app-gallery .dsx-item-card-summary, [data-dsx-owner~=\"NewApp\"]:is(.new-app-gallery .dsx-item-card-summary) { font-size: var(--dsx-type-footnote-size); --dsx-lh-n: var(--dsx-type-footnote-leading); --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n@media (min-width: 48rem) {\n[data-dsx-owner~=\"NewApp\"] .new-app-continue, [data-dsx-owner~=\"NewApp\"]:is(.new-app-continue) { padding-inline: 20px !important; }\n}\n@media (max-width: 47.99rem) {\n[data-dsx-owner~=\"NewApp\"] .new-app-continue > *, [data-dsx-owner~=\"NewApp\"]:is(.new-app-continue > *) { flex: 1 1 auto; }\n}\n[data-dsx-owner~=\"NewApp\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"NewApp\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"NewApp\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"NewApp\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"NewApp\"] .workspace-notice, [data-dsx-owner~=\"NewApp\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"OAuthHeader\"] .oauth-header, [data-dsx-owner~=\"OAuthHeader\"]:is(.oauth-header) { align-self: stretch; align-items: center; gap: 0.375rem; padding-block: 0.25rem 1.5rem; }\n[data-dsx-owner~=\"OAuthHeader\"] .oauth-header-marks, [data-dsx-owner~=\"OAuthHeader\"]:is(.oauth-header-marks) { justify-content: center; align-items: center; gap: 16px; padding-block-end: 0.75rem; --dsx-icon-tile-size: 56px; }\n[data-dsx-owner~=\"OAuthHeader\"] .oauth-header-marks .dsx-icon-tile, [data-dsx-owner~=\"OAuthHeader\"]:is(.oauth-header-marks .dsx-icon-tile) { box-shadow: none; }\n[data-dsx-owner~=\"OAuthHeader\"] .oauth-header-link, [data-dsx-owner~=\"OAuthHeader\"]:is(.oauth-header-link) { font-size: 20px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"OAuthHeader\"] .oauth-header-title, [data-dsx-owner~=\"OAuthHeader\"]:is(.oauth-header-title) { font-size: var(--dsx-route-large-title-size, var(--dsx-type-title1-size-fluid)); font-weight: var(--dsx-route-title-weight, var(--dsx-type-headline-weight)); --dsx-lh-n: var(--dsx-type-title2-leading); --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); letter-spacing: var(--dsx-type-display-tracking); color: var(--dsx-label); text-align: center; text-wrap: balance; --dsx-text-wrap-pretty: 0; }\n[data-dsx-owner~=\"OAuthHeader\"] .oauth-header-subtitle, [data-dsx-owner~=\"OAuthHeader\"]:is(.oauth-header-subtitle) { font-size: var(--dsx-type-body-size); --dsx-lh-n: var(--dsx-type-body-leading); --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); text-align: center; text-wrap: balance; --dsx-text-wrap-pretty: 0; }\n\n[data-dsx-owner~=\"PackageDestination\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"PackageDestination\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"PackageDestination\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"PackageDestination\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"PackageDestination\"] .workspace-notice, [data-dsx-owner~=\"PackageDestination\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"PackageDocs\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"PackageDocs\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"PackageDocs\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"PackageDocs\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"PackageDocs\"] .workspace-notice, [data-dsx-owner~=\"PackageDocs\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"PackageExplorer\"] .package-grid, [data-dsx-owner~=\"PackageExplorer\"]:is(.package-grid) { align-items: stretch; }\n[data-dsx-owner~=\"PackageExplorer\"] .package-grid .dsx-item-card, [data-dsx-owner~=\"PackageExplorer\"]:is(.package-grid .dsx-item-card) { align-self: stretch; }\n[data-dsx-owner~=\"PackageExplorer\"] .package-explorer .dsx-icon-tile, [data-dsx-owner~=\"PackageExplorer\"]:is(.package-explorer .dsx-icon-tile) { position: relative; contain: size; }\n[data-dsx-owner~=\"PackageExplorer\"] .package-explorer .dsx-icon-tile > .dsx-image, [data-dsx-owner~=\"PackageExplorer\"]:is(.package-explorer .dsx-icon-tile > .dsx-image) { position: absolute; }\n[data-dsx-owner~=\"PackageExplorer\"] .package-description, [data-dsx-owner~=\"PackageExplorer\"]:is(.package-description) { align-self: stretch; min-width: 0; font-size: 15px; --dsx-lh-n: 1.3333; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"PackageExplorer\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"PackageExplorer\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"PackageExplorer\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"PackageExplorer\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"PackageExplorer\"] .workspace-notice, [data-dsx-owner~=\"PackageExplorer\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"PackageScreen\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"PackageScreen\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"PackageScreen\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"PackageScreen\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"PackageScreen\"] .workspace-notice, [data-dsx-owner~=\"PackageScreen\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"ProjectConnections\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"ProjectConnections\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"ProjectConnections\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"ProjectConnections\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"ProjectConnections\"] .workspace-notice, [data-dsx-owner~=\"ProjectConnections\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"ProjectIdentity\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"ProjectIdentity\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"ProjectIdentity\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"ProjectIdentity\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"ProjectIdentity\"] .workspace-notice, [data-dsx-owner~=\"ProjectIdentity\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"ProjectLanguages\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"ProjectLanguages\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"ProjectLanguages\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"ProjectLanguages\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"ProjectLanguages\"] .workspace-notice, [data-dsx-owner~=\"ProjectLanguages\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"ProjectPackages\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"ProjectPackages\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"ProjectPackages\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"ProjectPackages\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"ProjectPackages\"] .workspace-notice, [data-dsx-owner~=\"ProjectPackages\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"ProjectReleases\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"ProjectReleases\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"ProjectReleases\"] .release-sections, [data-dsx-owner~=\"ProjectReleases\"]:is(.release-sections) { gap: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"ProjectReleases\"] .release-sections > :is(.dsx-list-group, .page-notice), [data-dsx-owner~=\"ProjectReleases\"]:is(.release-sections > :is(.dsx-list-group, .page-notice)) { margin-block: 0; padding-block: 0; }\n[data-dsx-owner~=\"ProjectReleases\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"ProjectReleases\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"ProjectReleases\"] .workspace-notice, [data-dsx-owner~=\"ProjectReleases\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"ProjectSecrets\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"ProjectSecrets\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"ProjectSecrets\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"ProjectSecrets\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"ProjectSecrets\"] .workspace-notice, [data-dsx-owner~=\"ProjectSecrets\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"ProjectSigning\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"ProjectSigning\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"ProjectSigning\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"ProjectSigning\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"ProjectSigning\"] .workspace-notice, [data-dsx-owner~=\"ProjectSigning\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"ProjectsScreen\"] .apps-row-action .dsx-settings-row-content, [data-dsx-owner~=\"ProjectsScreen\"]:is(.apps-row-action .dsx-settings-row-content) { z-index: 3; pointer-events: none; }\n[data-dsx-owner~=\"ProjectsScreen\"] .apps-row-action .dsx-settings-row-content .dsx-button, [data-dsx-owner~=\"ProjectsScreen\"]:is(.apps-row-action .dsx-settings-row-content .dsx-button) { pointer-events: auto; }\n[data-dsx-owner~=\"ProjectsScreen\"] .apps-search, [data-dsx-owner~=\"ProjectsScreen\"]:is(.apps-search) { flex-shrink: 0; min-height: 44px; }\n[data-dsx-owner~=\"ProjectsScreen\"] .apps-placeholders, [data-dsx-owner~=\"ProjectsScreen\"]:is(.apps-placeholders) { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"ProjectsScreen\"] .apps-placeholders > .dsx-grid-aria-row, [data-dsx-owner~=\"ProjectsScreen\"]:is(.apps-placeholders > .dsx-grid-aria-row) { display: contents; }\n[data-dsx-owner~=\"ProjectsScreen\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"ProjectsScreen\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"ProjectsScreen\"] .dsx-settings-row-content > .dsx-settings-row-status[data-dsx-motion=\"leave\"], [data-dsx-owner~=\"ProjectsScreen\"]:is(.dsx-settings-row-content > .dsx-settings-row-status[data-dsx-motion=\"leave\"]), [data-dsx-owner~=\"ProjectsScreen\"] .dsx-settings-row-content > .dsx-settings-row-spinner[data-dsx-motion=\"leave\"], [data-dsx-owner~=\"ProjectsScreen\"]:is(.dsx-settings-row-content > .dsx-settings-row-spinner[data-dsx-motion=\"leave\"]) { visibility: hidden; }\n[data-dsx-owner~=\"ProjectsScreen\"] .dsx-settings-row-content > .dsx-settings-row-spinner, [data-dsx-owner~=\"ProjectsScreen\"]:is(.dsx-settings-row-content > .dsx-settings-row-spinner) { width: 22px; height: 22px; margin-inline: 1px; }\n[data-dsx-owner~=\"ProjectsScreen\"] .dsx-settings-row-content > .dsx-settings-row-status-done, [data-dsx-owner~=\"ProjectsScreen\"]:is(.dsx-settings-row-content > .dsx-settings-row-status-done) { color: var(--dsx-tone-success-ink); }\n[data-dsx-owner~=\"ProjectsScreen\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"ProjectsScreen\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"ProjectsScreen\"] .workspace-notice, [data-dsx-owner~=\"ProjectsScreen\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"ProjectsScreen\"] .apps-card .dsx-item-card-status, [data-dsx-owner~=\"ProjectsScreen\"]:is(.apps-card .dsx-item-card-status) { min-height: calc(2rem + 1.25rem + var(--dsx-hairline, 1px)); }\n[data-dsx-owner~=\"ProjectsScreen\"] .apps-card .dsx-item-card-title, [data-dsx-owner~=\"ProjectsScreen\"]:is(.apps-card .dsx-item-card-title), [data-dsx-owner~=\"ProjectsScreen\"] .apps-card .dsx-item-card-detail-text, [data-dsx-owner~=\"ProjectsScreen\"]:is(.apps-card .dsx-item-card-detail-text) { display: block !important; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; max-inline-size: 100%; overflow-wrap: break-word; }\n\n[data-dsx-owner~=\"ReadinessBar\"] .readiness-bar, [data-dsx-owner~=\"ReadinessBar\"]:is(.readiness-bar) { min-block-size: 144px; margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"ReadinessBar\"] .readiness-bar-placeholder, [data-dsx-owner~=\"ReadinessBar\"]:is(.readiness-bar-placeholder) { display: block; block-size: 144px; border-radius: inherit; corner-shape: inherit; }\n@media (min-width: 1170px) {\n[data-dsx-owner~=\"ReadinessBar\"] .readiness-bar, [data-dsx-owner~=\"ReadinessBar\"]:is(.readiness-bar) { display: none; }\n}\n[data-dsx-owner~=\"ReadinessBar\"] .readiness-bar-actions, [data-dsx-owner~=\"ReadinessBar\"]:is(.readiness-bar-actions) { padding-inline: 16px; padding-block-end: 16px; }\n\n[data-dsx-owner~=\"ReadinessPanel\"] .readiness-panel, [data-dsx-owner~=\"ReadinessPanel\"]:is(.readiness-panel) { align-self: stretch; padding: 16px 16px 24px; }\n[data-dsx-owner~=\"ReadinessPanel\"] .dsx-sheet-content .readiness-panel, [data-dsx-owner~=\"ReadinessPanel\"]:is(.dsx-sheet-content .readiness-panel) { padding: 0 0 24px; }\n[data-dsx-owner~=\"ReadinessPanel\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"ReadinessPanel\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"ReadinessPanel\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"ReadinessPanel\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"ReadinessPanel\"] .workspace-notice, [data-dsx-owner~=\"ReadinessPanel\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"ResellerScreen\"] .reseller-hero, [data-dsx-owner~=\"ResellerScreen\"]:is(.reseller-hero) { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; padding: 3rem 1.5rem 2.5rem; margin-block-end: 1.5rem; }\n[data-dsx-owner~=\"ResellerScreen\"] .reseller-art, [data-dsx-owner~=\"ResellerScreen\"]:is(.reseller-art) { display: block; width: 11.5rem; height: auto; margin-block-end: 0.5rem; object-fit: contain; }\n[data-dsx-owner~=\"ResellerScreen\"] .reseller-art-dark, [data-dsx-owner~=\"ResellerScreen\"]:is(.reseller-art-dark) { display: none; }\n@media (prefers-color-scheme: dark) {\n[data-dsx-owner~=\"ResellerScreen\"] .reseller-art-light, [data-dsx-owner~=\"ResellerScreen\"]:is(.reseller-art-light) { display: none; }\n[data-dsx-owner~=\"ResellerScreen\"] .reseller-art-dark, [data-dsx-owner~=\"ResellerScreen\"]:is(.reseller-art-dark) { display: block; }\n}\n[data-dsx-owner~=\"ResellerScreen\"] .reseller-title, [data-dsx-owner~=\"ResellerScreen\"]:is(.reseller-title) { font-size: clamp(2.25rem, 6vw, 3.5rem); font-weight: 700; letter-spacing: -0.03em; --dsx-lh-n: 1.05; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n[data-dsx-owner~=\"ResellerScreen\"] .reseller-line, [data-dsx-owner~=\"ResellerScreen\"]:is(.reseller-line) { max-width: 28rem; margin-block-end: 0.75rem; font-size: 1.125rem; --dsx-lh-n: 1.4; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"ResellerScreen\"] .reseller-address, [data-dsx-owner~=\"ResellerScreen\"]:is(.reseller-address) { font-size: 0.8125rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); -webkit-user-select: all; user-select: all; }\n\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor) { display: flex; flex-direction: column; align-self: stretch; container-type: inline-size; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-body, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-body) { display: flex; flex-direction: column; align-self: stretch; gap: 1.5rem; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-stage, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-stage) { display: flex; flex-direction: column; align-items: center; gap: 1rem; min-width: 0px; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-controls, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-controls) { display: flex; flex-direction: column; align-self: stretch; gap: 1.5rem; min-width: 0px; isolation: isolate; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-controls .dsx-list-group, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-controls .dsx-list-group) { margin-block: 0px; padding-block: 0px; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-classes, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-classes) { align-self: stretch; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-preview, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-preview) { --media-w: min(52vw, 230px); display: flex; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-live, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-live), [data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-still, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-still) { width: auto; height: auto; max-width: 100%; max-height: 100%; margin: auto; overflow: hidden; object-fit: contain; background: transparent; box-shadow: none; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-note, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-note) { font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); text-align: center; max-width: 320px; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-render, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-render) { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; align-self: stretch; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-strip, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-strip) { align-self: stretch; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-strip > *, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-strip > *) { display: flex; flex-direction: row; gap: 0.75rem; padding-block: 4px; padding-inline: 4px; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-thumb, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-thumb) { --media-w: 46px; flex: 0 0 auto; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-thumb[aria-selected=\"true\"], [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-thumb[aria-selected=\"true\"]) { border-color: var(--dsx-accent); }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-thumb-image, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-thumb-image) { display: block; overflow: hidden; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-history, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-history) { gap: 0.75rem; justify-content: center; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-fill .dsx-settings-row-copy, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-fill .dsx-settings-row-copy), [data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-fill .dsx-settings-row-spacer, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-fill .dsx-settings-row-spacer) { display: none; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-fill .dsx-settings-row-content > :is(.shot-editor-switch, .shot-editor-field, .dsx-colorpicker), [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-fill .dsx-settings-row-content > :is(.shot-editor-switch, .shot-editor-field, .dsx-colorpicker)) { flex: 1 1 auto; width: 100%; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-slider-row .shot-editor-slider, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-slider-row .shot-editor-slider) { flex: 1 1 auto; width: 100%; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-screens, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-screens) { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 0.75rem; padding: 12px; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-screen, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-screen) { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-screen-frame, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-screen-frame) { --media-w: 76px; width: calc(var(--media-w) + 2 * (var(--media-gap) + var(--media-ring))); align-self: center; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-screen[aria-selected=\"true\"] .shot-editor-screen-frame, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-screen[aria-selected=\"true\"] .shot-editor-screen-frame) { border-color: var(--dsx-accent); }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-screen[aria-selected=\"true\"] .shot-editor-screen-name, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-screen[aria-selected=\"true\"] .shot-editor-screen-name) { color: var(--dsx-accent); font-weight: 600; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-screen-image, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-screen-image) { display: block; overflow: hidden; width: 100%; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-screen-name, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-screen-name) { font-size: 12px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); padding-block-end: 4px; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-actions, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-actions) { justify-content: center; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-order-thumb, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-order-thumb) { --media-w: 32px; flex-shrink: 0; }\n@container (min-width: 600px) {\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-body, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-body) { flex-direction: row; align-items: flex-start; gap: 2rem; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-stage, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-stage) { position: sticky; top: 0px; flex: 0 0 300px; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-preview, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-preview) { --media-w: 260px; }\n[data-dsx-owner~=\"ScreenshotEditor\"] .shot-editor-controls, [data-dsx-owner~=\"ScreenshotEditor\"]:is(.shot-editor-controls) { flex: 1 1 0; }\n}\n\n[data-dsx-owner~=\"SoonCard\"] .soon-card, [data-dsx-owner~=\"SoonCard\"]:is(.soon-card) { --dsx-card-padding: 0px; --dsx-card-gap: 0px; --dsx-card-border-radius: var(--dsx-item-card-radius, var(--dsx-surface-radius, 36.5px)); --dsx-card-corner-shape: var(--dsx-item-card-corner-shape, var(--dsx-surface-corner-shape, superellipse(1.6))); --dsx-card-corner-shape-fallback: var(--dsx-item-card-corner-shape-fallback, var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021))); align-self: stretch; min-width: 0; overflow: hidden; }\n[data-dsx-owner~=\"SoonCard\"] .soon-card-cover, [data-dsx-owner~=\"SoonCard\"]:is(.soon-card-cover) { align-self: stretch; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dsx-fill); }\n[data-dsx-owner~=\"SoonCard\"] .soon-card-cover-image, [data-dsx-owner~=\"SoonCard\"]:is(.soon-card-cover-image) { width: 100%; height: 100%; }\n[data-dsx-owner~=\"SoonCard\"] .soon-card-cover-dark, [data-dsx-owner~=\"SoonCard\"]:is(.soon-card-cover-dark) { display: none; }\n@media (prefers-color-scheme: dark) {\n[data-dsx-owner~=\"SoonCard\"] .soon-card-cover-twin > .soon-card-cover-light, [data-dsx-owner~=\"SoonCard\"]:is(.soon-card-cover-twin > .soon-card-cover-light) { display: none; }\n[data-dsx-owner~=\"SoonCard\"] .soon-card-cover-dark, [data-dsx-owner~=\"SoonCard\"]:is(.soon-card-cover-dark) { display: flex; }\n}\n[data-dsx-owner~=\"SoonCard\"] .soon-card-body, [data-dsx-owner~=\"SoonCard\"]:is(.soon-card-body) { flex-grow: 1; gap: 0.5rem; padding: var(--dsx-item-card-padding, 0.875rem); align-items: flex-start; }\n[data-dsx-owner~=\"SoonCard\"] .soon-card-heading, [data-dsx-owner~=\"SoonCard\"]:is(.soon-card-heading) { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; align-items: center; align-self: stretch; min-width: 0; min-height: 2rem; }\n[data-dsx-owner~=\"SoonCard\"] .soon-card-title, [data-dsx-owner~=\"SoonCard\"]:is(.soon-card-title) { flex-shrink: 1; min-width: 0; font-size: 1.0625rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-label); }\n[data-dsx-owner~=\"SoonCard\"] .soon-card-badge, [data-dsx-owner~=\"SoonCard\"]:is(.soon-card-badge) { flex-shrink: 0; color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"SoonCard\"] .soon-card-summary, [data-dsx-owner~=\"SoonCard\"]:is(.soon-card-summary) { align-self: stretch; min-width: 0; font-size: var(--dsx-type-footnote-size); --dsx-lh-n: var(--dsx-type-footnote-leading); --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"SoonCard\"] .soon-card-notify, [data-dsx-owner~=\"SoonCard\"]:is(.soon-card-notify) { align-items: flex-start; padding-block-start: 0.25rem; }\n[data-dsx-owner~=\"SoonCard\"] .soon-card-notified, [data-dsx-owner~=\"SoonCard\"]:is(.soon-card-notified) { gap: 6px; align-items: center; font-size: var(--dsx-type-subheadline-size, 15px); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n\n[data-dsx-owner~=\"StaffConversation\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"StaffConversation\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat) { --staff-chat-gap: var(--dsx-space-4, 16px); display: flex; flex-direction: column; gap: var(--staff-chat-gap); align-self: stretch; min-width: 0; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-card, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-card) { align-self: stretch; height: max(320px, calc(100dvh - var(--staff-chat-above, 240px) - var(--staff-chat-tabbar, 83px) - env(safe-area-inset-bottom, 0px) - var(--staff-chat-gap))); padding: 0px; overflow: hidden; order: 2; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-side, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-side) { display: flex; flex-direction: column; gap: var(--staff-chat-gap); min-width: 0; order: 1; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-details, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-details) { display: flex; flex-direction: column; gap: var(--staff-chat-gap); min-width: 0; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-shut .staff-chat-details, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-shut .staff-chat-details) { display: none; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-side .dsx-list-group, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-side .dsx-list-group), [data-dsx-owner~=\"StaffConversation\"] .staff-chat-side .dsx-list, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-side .dsx-list) { margin: 0px; }\n@media (min-width: 768px) and (max-width: 1099px) {\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-card, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-card) { height: max(460px, calc(100dvh - 300px)); }\n}\n@media (min-width: 1100px) {\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat) { flex-direction: row; align-items: flex-start; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-card, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-card) { flex: 1 1 auto; order: 1; height: max(520px, calc(100dvh - 220px)); }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-side, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-side) { flex: 0 0 380px; width: 380px; order: 2; position: sticky; top: 0px; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-fold, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-fold) { display: none; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-shut .staff-chat-details, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-shut .staff-chat-details) { display: flex; }\n}\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-thread, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-thread) { flex-grow: 1; min-height: 0; height: 100%; --dsx-threadpane-gutter: 16px; --dsx-threadpane-gap: 12px; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-thread .dsx-threadpane-scroll, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-thread .dsx-threadpane-scroll) { mask-image: linear-gradient(to bottom, transparent 0px, #000 20px, #000 calc(100% - 16px), transparent 100%); -webkit-mask-image: linear-gradient(to bottom, transparent 0px, #000 20px, #000 calc(100% - 16px), transparent 100%); }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-hello, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-hello) { gap: 4px; padding-top: 4px; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-strong, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-strong) { font-size: 15px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-label); }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-quiet, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-quiet) { font-size: 13px; --dsx-lh-n: 1.4; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-row, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-row) { gap: 4px; align-self: stretch; min-width: 0; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-row > *, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-row > *) { margin-block: 0px; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-time, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-time) { align-self: center; padding-top: 4px; font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-name, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-name) { gap: 6px; align-items: center; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-label, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-label) { font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-text, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-text) { font-size: 15px; --dsx-lh-n: 1.45; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-person, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-person) { gap: 8px; align-items: flex-start; align-self: flex-start; max-width: 85%; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-face, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-face) { --dsx-avatar-size: 28px; --dsx-avatar-background: var(--dsx-secondary-label); --dsx-avatar-color: var(--dsx-background); flex: 0 0 auto; margin-top: 2px; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-face-off, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-face-off) { visibility: hidden; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-person-body, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-person-body) { gap: 4px; min-width: 0; flex: 1 1 auto; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-bubble, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-bubble) { align-self: flex-start; padding: 8px 12px; border-radius: calc(var(--dsx-radius-lg) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-corner-shape); --dsx-corner-shape-k: var(--dsx-corner-shape); --dsx-corner-fallback: var(--dsx-corner-shape-fallback); background: var(--dsx-secondary-grouped-background); border: var(--dsx-hairline, 0.5px) solid var(--dsx-separator); font-size: 15px; --dsx-lh-n: 1.45; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-agent, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-agent) { gap: 6px; align-self: stretch; max-width: 92%; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-mark, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-mark) { font-size: 15px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-cards, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-cards) { gap: 8px; align-self: stretch; max-width: 520px; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-staff, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-staff) { gap: 4px; align-self: flex-end; align-items: flex-end; max-width: 85%; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-capsule, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-capsule), [data-dsx-owner~=\"StaffConversation\"] .staff-chat-note, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-note) { padding: 7px 12px; border-radius: calc(var(--dsx-radius-lg) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-corner-shape); --dsx-corner-shape-k: var(--dsx-corner-shape); --dsx-corner-fallback: var(--dsx-corner-shape-fallback); font-size: 15px; --dsx-lh-n: 1.45; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-capsule, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-capsule) { background: var(--dsx-fill); }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-note, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-note) { background: color-mix(in srgb, var(--dsx-warning, #ff9f0a) 14%, transparent); border: var(--dsx-hairline, 0.5px) solid color-mix(in srgb, var(--dsx-warning, #ff9f0a) 40%, transparent); }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-note-mark, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-note-mark) { font-size: 12px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-warning, #ff9f0a); }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-system, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-system) { align-self: center; justify-content: center; align-items: center; gap: 6px; max-width: 85%; padding: 2px 0px; font-size: 13px; --dsx-lh-n: 1.4; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); text-align: center; color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-composer, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-composer) { gap: 8px; padding-top: 10px; border-top: var(--dsx-hairline, 0.5px) solid var(--dsx-separator); }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-tools, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-tools) { gap: 8px; flex-wrap: wrap; align-items: center; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-tools > *, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-tools > *) { flex: 0 0 auto; width: auto; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat-footer, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat-footer) { padding-inline: 4px; }\n[data-dsx-owner~=\"StaffConversation\"] .staff-chat, [data-dsx-owner~=\"StaffConversation\"]:is(.staff-chat) { --dsx-callout-border-radius: var(--dsx-surface-radius, 36.5px); }\n[data-dsx-owner~=\"StaffConversation\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"StaffConversation\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"StaffConversation\"] .workspace-notice, [data-dsx-owner~=\"StaffConversation\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"StaffEmail\"] .staff-email-compose, [data-dsx-owner~=\"StaffEmail\"]:is(.staff-email-compose) { gap: var(--dsx-page-header-spacing, 24px); align-self: stretch; }\n[data-dsx-owner~=\"StaffEmail\"] .staff-email-preview, [data-dsx-owner~=\"StaffEmail\"]:is(.staff-email-preview) { align-self: center; width: 100%; max-width: 600px; gap: 6px; padding: 20px 16px; border-radius: calc(16px * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); background: var(--dsx-background); }\n[data-dsx-owner~=\"StaffEmail\"] .staff-email-preview-phone, [data-dsx-owner~=\"StaffEmail\"]:is(.staff-email-preview-phone) { max-width: 375px; }\n[data-dsx-owner~=\"StaffEmail\"] .staff-email-preview-meta, [data-dsx-owner~=\"StaffEmail\"]:is(.staff-email-preview-meta) { font-weight: var(--dsx-type-headline-weight, 600); color: var(--dsx-label); }\n[data-dsx-owner~=\"StaffEmail\"] .staff-email-preview-pre, [data-dsx-owner~=\"StaffEmail\"]:is(.staff-email-preview-pre) { font-size: var(--dsx-type-footnote-size, 13px); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); margin-bottom: 12px; }\n[data-dsx-owner~=\"StaffEmail\"] .staff-email-preview-card, [data-dsx-owner~=\"StaffEmail\"]:is(.staff-email-preview-card) { gap: 16px; padding: 28px; border-radius: calc(16px * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); background: var(--dsx-secondary-background, #ffffff); border: 1.5px solid var(--dsx-separator, #e5e5e5); }\n[data-dsx-owner~=\"StaffEmail\"] .staff-email-preview-phone .staff-email-preview-card, [data-dsx-owner~=\"StaffEmail\"]:is(.staff-email-preview-phone .staff-email-preview-card) { padding: 20px; }\n[data-dsx-owner~=\"StaffEmail\"] .staff-email-preview-logo, [data-dsx-owner~=\"StaffEmail\"]:is(.staff-email-preview-logo) { width: 40px; height: 40px; border-radius: calc(10px * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); }\n[data-dsx-owner~=\"StaffEmail\"] .staff-email-preview-footer, [data-dsx-owner~=\"StaffEmail\"]:is(.staff-email-preview-footer) { gap: 4px; padding-top: 16px; border-top: 1.5px solid var(--dsx-separator, #e5e5e5); font-size: var(--dsx-type-footnote-size, 13px); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"StaffEmail\"] .staff-email-preview-link, [data-dsx-owner~=\"StaffEmail\"]:is(.staff-email-preview-link) { text-decoration: underline; }\n[data-dsx-owner~=\"StaffEmail\"] .staff-email-actions, [data-dsx-owner~=\"StaffEmail\"]:is(.staff-email-actions) { align-self: stretch; justify-content: flex-end; padding-inline: 20px; padding-bottom: 24px; }\n[data-dsx-owner~=\"StaffEmail\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"StaffEmail\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"StaffEmail\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"StaffEmail\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"StaffEmail\"] .workspace-notice, [data-dsx-owner~=\"StaffEmail\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"StaffInbox\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"StaffInbox\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"StaffInbox\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"StaffInbox\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"StaffInbox\"] .workspace-notice, [data-dsx-owner~=\"StaffInbox\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"StaffMigrations\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"StaffMigrations\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"StaffMigrations\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"StaffMigrations\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"StaffMigrations\"] .workspace-notice, [data-dsx-owner~=\"StaffMigrations\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"StaffRequests\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"StaffRequests\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"StaffRequests\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"StaffRequests\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"StaffRequests\"] .workspace-notice, [data-dsx-owner~=\"StaffRequests\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"StepHead\"] .step-head-number, [data-dsx-owner~=\"StepHead\"]:is(.step-head-number) { width: 24px; height: 24px; flex: none; border-radius: 999px; corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; align-items: center; justify-content: center; background: var(--dsx-fill); color: var(--dsx-secondary-label); font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; font-variant-numeric: tabular-nums; }\n[data-dsx-owner~=\"StepHead\"] .step-head-done .step-head-number, [data-dsx-owner~=\"StepHead\"]:is(.step-head-done .step-head-number) { background: var(--dsx-tone-success-ink, var(--dsx-success)); color: var(--dsx-background); }\n[data-dsx-owner~=\"StepHead\"] .step-head-current .step-head-number, [data-dsx-owner~=\"StepHead\"]:is(.step-head-current .step-head-number) { background: var(--dsx-accent); color: var(--dsx-on-accent); }\n[data-dsx-owner~=\"StepHead\"] .step-head-failed .step-head-number, [data-dsx-owner~=\"StepHead\"]:is(.step-head-failed .step-head-number) { background: var(--dsx-destructive); color: var(--dsx-on-destructive, var(--dsx-background)); }\n\n[data-dsx-owner~=\"StoreCard\"] .store-card-dot, [data-dsx-owner~=\"StoreCard\"]:is(.store-card-dot) { width: 8px; height: 8px; border-radius: var(--dsx-radius-full); corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-shape-k: round; --dsx-corner-fallback: 1; background: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"StoreCard\"] .store-card-state, [data-dsx-owner~=\"StoreCard\"]:is(.store-card-state) { color: var(--dsx-secondary-label); }\n[data-dsx-owner~=\"StoreCard\"] .store-card-busy .store-card-dot, [data-dsx-owner~=\"StoreCard\"]:is(.store-card-busy .store-card-dot) { background: var(--dsx-accent); }\n[data-dsx-owner~=\"StoreCard\"] .store-card-busy .store-card-state, [data-dsx-owner~=\"StoreCard\"]:is(.store-card-busy .store-card-state) { color: var(--dsx-accent); }\n[data-dsx-owner~=\"StoreCard\"] .store-card-done .store-card-dot, [data-dsx-owner~=\"StoreCard\"]:is(.store-card-done .store-card-dot) { background: var(--dsx-success); }\n[data-dsx-owner~=\"StoreCard\"] .store-card-done .store-card-state, [data-dsx-owner~=\"StoreCard\"]:is(.store-card-done .store-card-state) { color: var(--dsx-tone-success-ink); }\n[data-dsx-owner~=\"StoreCard\"] .store-card-attention .store-card-dot, [data-dsx-owner~=\"StoreCard\"]:is(.store-card-attention .store-card-dot) { background: var(--dsx-destructive); }\n[data-dsx-owner~=\"StoreCard\"] .store-card-attention .store-card-state, [data-dsx-owner~=\"StoreCard\"]:is(.store-card-attention .store-card-state) { color: var(--dsx-destructive); }\n[data-dsx-owner~=\"StoreCard\"] .store-card, [data-dsx-owner~=\"StoreCard\"]:is(.store-card) { container-type: inline-size; }\n@container (max-width: 20rem) {\n[data-dsx-owner~=\"StoreCard\"] .store-card-actions, [data-dsx-owner~=\"StoreCard\"]:is(.store-card-actions) { flex-direction: column !important; align-items: stretch !important; align-self: stretch; }\n}\n[data-dsx-owner~=\"StoreCard\"] .button-external, [data-dsx-owner~=\"StoreCard\"]:is(.button-external) { flex-direction: row-reverse; }\n[data-dsx-owner~=\"StoreCard\"] .button-external > svg[data-dsx-part=\"icon\"], [data-dsx-owner~=\"StoreCard\"]:is(.button-external > svg[data-dsx-part=\"icon\"]) { width: 0.8em; height: 0.8em; }\n\n[data-dsx-owner~=\"StoreConnect\"] .store-connect-header, [data-dsx-owner~=\"StoreConnect\"]:is(.store-connect-header) { align-self: stretch; align-items: center; gap: 0.375rem; padding-block: 0.25rem 1.5rem; }\n[data-dsx-owner~=\"StoreConnect\"] .store-connect-marks, [data-dsx-owner~=\"StoreConnect\"]:is(.store-connect-marks) { justify-content: center; align-items: center; gap: 16px; padding-block-end: 0.75rem; }\n[data-dsx-owner~=\"StoreConnect\"] .store-connect-mark, [data-dsx-owner~=\"StoreConnect\"]:is(.store-connect-mark) { width: 48px; height: 48px; font-size: 48px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); flex: none; }\n[data-dsx-owner~=\"StoreConnect\"] .store-connect-despia, [data-dsx-owner~=\"StoreConnect\"]:is(.store-connect-despia) { color: var(--dsx-label); }\n[data-dsx-owner~=\"StoreConnect\"] .store-connect-link, [data-dsx-owner~=\"StoreConnect\"]:is(.store-connect-link) { font-size: 20px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-tertiary-label); }\n[data-dsx-owner~=\"StoreConnect\"] .store-connect-title, [data-dsx-owner~=\"StoreConnect\"]:is(.store-connect-title) { font-size: var(--dsx-route-large-title-size, var(--dsx-type-title1-size-fluid)); font-weight: var(--dsx-route-title-weight, var(--dsx-type-headline-weight)); --dsx-lh-n: var(--dsx-type-title2-leading); --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); letter-spacing: var(--dsx-type-display-tracking); color: var(--dsx-label); text-align: center; }\n[data-dsx-owner~=\"StoreConnect\"] .store-connect-subtitle, [data-dsx-owner~=\"StoreConnect\"]:is(.store-connect-subtitle) { font-size: var(--dsx-type-body-size); --dsx-lh-n: var(--dsx-type-body-leading); --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); text-align: center; }\n[data-dsx-owner~=\"StoreConnect\"] .store-connect-subtitle-pending, [data-dsx-owner~=\"StoreConnect\"]:is(.store-connect-subtitle-pending) { color: transparent; }\n[data-dsx-owner~=\"StoreConnect\"] .store-connect-file .dsx-settings-row-status-done, [data-dsx-owner~=\"StoreConnect\"]:is(.store-connect-file .dsx-settings-row-status-done), [data-dsx-owner~=\"StoreConnect\"] .store-connect-file .dsx-settings-row-content > .dsx-settings-row-status-done, [data-dsx-owner~=\"StoreConnect\"]:is(.store-connect-file .dsx-settings-row-content > .dsx-settings-row-status-done) { color: var(--dsx-success); }\n[data-dsx-owner~=\"StoreConnect\"] .store-connect-actions, [data-dsx-owner~=\"StoreConnect\"]:is(.store-connect-actions) { align-items: stretch; gap: 0.625rem; margin-block: 1.25rem 0.25rem; }\n[data-dsx-owner~=\"StoreConnect\"] .store-connect-ids input, [data-dsx-owner~=\"StoreConnect\"]:is(.store-connect-ids input) { text-overflow: clip; }\n[data-dsx-owner~=\"StoreConnect\"] .store-connect-beta, [data-dsx-owner~=\"StoreConnect\"]:is(.store-connect-beta) { justify-content: center; padding-block-end: 8px; }\n[data-dsx-owner~=\"StoreConnect\"] .dsx-settings-row-content > .dsx-settings-row-status[data-dsx-motion=\"leave\"], [data-dsx-owner~=\"StoreConnect\"]:is(.dsx-settings-row-content > .dsx-settings-row-status[data-dsx-motion=\"leave\"]), [data-dsx-owner~=\"StoreConnect\"] .dsx-settings-row-content > .dsx-settings-row-spinner[data-dsx-motion=\"leave\"], [data-dsx-owner~=\"StoreConnect\"]:is(.dsx-settings-row-content > .dsx-settings-row-spinner[data-dsx-motion=\"leave\"]) { visibility: hidden; }\n[data-dsx-owner~=\"StoreConnect\"] .dsx-settings-row-content > .dsx-settings-row-spinner, [data-dsx-owner~=\"StoreConnect\"]:is(.dsx-settings-row-content > .dsx-settings-row-spinner) { width: 22px; height: 22px; margin-inline: 1px; }\n[data-dsx-owner~=\"StoreConnect\"] .dsx-settings-row-content > .dsx-settings-row-status-done, [data-dsx-owner~=\"StoreConnect\"]:is(.dsx-settings-row-content > .dsx-settings-row-status-done) { color: var(--dsx-tone-success-ink); }\n[data-dsx-owner~=\"StoreConnect\"] .dsx-guide strong, [data-dsx-owner~=\"StoreConnect\"]:is(.dsx-guide strong) { font-weight: 600; color: inherit; }\n[data-dsx-owner~=\"StoreConnect\"] .dsx-guide-compact .dsx-markdown-step-title, [data-dsx-owner~=\"StoreConnect\"]:is(.dsx-guide-compact .dsx-markdown-step-title) { font-weight: 400; }\n[data-dsx-owner~=\"StoreConnect\"] .dsx-guide-compact .dsx-markdown-step-number, [data-dsx-owner~=\"StoreConnect\"]:is(.dsx-guide-compact .dsx-markdown-step-number) { font-weight: 500; }\n[data-dsx-owner~=\"StoreConnect\"] .store-connect-art, [data-dsx-owner~=\"StoreConnect\"]:is(.store-connect-art) { border-radius: calc(22.5% * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); }\n[data-dsx-owner~=\"StoreConnect\"] .store-connect-permission .dsx-toggle-label, [data-dsx-owner~=\"StoreConnect\"]:is(.store-connect-permission .dsx-toggle-label) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }\n[data-dsx-owner~=\"StoreConnect\"] .store-connect-permission.dsx-toggle-labelled, [data-dsx-owner~=\"StoreConnect\"]:is(.store-connect-permission.dsx-toggle-labelled) { width: var(--dsx-toggle-box-width); }\n[data-dsx-owner~=\"StoreConnect\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"StoreConnect\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"StoreConnect\"] .workspace-notice, [data-dsx-owner~=\"StoreConnect\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"StoreFixSheet\"] .store-fix-end, [data-dsx-owner~=\"StoreFixSheet\"]:is(.store-fix-end) { min-height: max(2rem, calc(env(safe-area-inset-bottom, 0px) + 1.25rem)); }\n[data-dsx-owner~=\"StoreFixSheet\"] .dsx-guide strong, [data-dsx-owner~=\"StoreFixSheet\"]:is(.dsx-guide strong) { font-weight: 600; color: inherit; }\n[data-dsx-owner~=\"StoreFixSheet\"] .dsx-guide-compact .dsx-markdown-step-title, [data-dsx-owner~=\"StoreFixSheet\"]:is(.dsx-guide-compact .dsx-markdown-step-title) { font-weight: 400; }\n[data-dsx-owner~=\"StoreFixSheet\"] .dsx-guide-compact .dsx-markdown-step-number, [data-dsx-owner~=\"StoreFixSheet\"]:is(.dsx-guide-compact .dsx-markdown-step-number) { font-weight: 500; }\n\n[data-dsx-owner~=\"StoreListing\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"StoreListing\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"StoreListing\"] .store-field-area, [data-dsx-owner~=\"StoreListing\"]:is(.store-field-area) { align-self: stretch; margin: 0; padding: 11px 20px; background: transparent; border: none; box-shadow: none; }\n[data-dsx-owner~=\"StoreListing\"] .store-field-rtl, [data-dsx-owner~=\"StoreListing\"]:is(.store-field-rtl) { direction: rtl; text-align: start; }\n[data-dsx-owner~=\"StoreListing\"] .store-value-rtl .dsx-settings-row-copy, [data-dsx-owner~=\"StoreListing\"]:is(.store-value-rtl .dsx-settings-row-copy) { flex-grow: 1; }\n[data-dsx-owner~=\"StoreListing\"] .store-value-rtl .dsx-settings-row-content > .dsx-spacer, [data-dsx-owner~=\"StoreListing\"]:is(.store-value-rtl .dsx-settings-row-content > .dsx-spacer) { flex-grow: 0; }\n[data-dsx-owner~=\"StoreListing\"] .store-value-rtl .dsx-settings-row-subtitle, [data-dsx-owner~=\"StoreListing\"]:is(.store-value-rtl .dsx-settings-row-subtitle) { align-self: stretch; direction: rtl; text-align: start; }\n[data-dsx-owner~=\"StoreListing\"] .store-shot-thumb, [data-dsx-owner~=\"StoreListing\"]:is(.store-shot-thumb) { --media-size: 24px; width: auto; --media-ratio: auto; height: 52px; overflow: hidden; }\n[data-dsx-owner~=\"StoreListing\"] .store-shot-preview, [data-dsx-owner~=\"StoreListing\"]:is(.store-shot-preview) { --media-size: 166px; width: auto; --media-ratio: auto; align-self: center; height: 360px; margin-block: 16px; }\n[data-dsx-owner~=\"StoreListing\"] .store-listing-switch, [data-dsx-owner~=\"StoreListing\"]:is(.store-listing-switch) { align-self: stretch; padding-inline: 16px; margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"StoreListing\"] .store-design-grid, [data-dsx-owner~=\"StoreListing\"]:is(.store-design-grid) { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 16px 12px; padding: 12px 16px 16px; }\n[data-dsx-owner~=\"StoreListing\"] .store-design-tile, [data-dsx-owner~=\"StoreListing\"]:is(.store-design-tile) { display: flex; flex-direction: column; align-items: center; gap: 8px; background: transparent; cursor: pointer; }\n[data-dsx-owner~=\"StoreListing\"] .store-design-tile:focus, [data-dsx-owner~=\"StoreListing\"]:is(.store-design-tile:focus), [data-dsx-owner~=\"StoreListing\"] .store-design-tile:focus-visible, [data-dsx-owner~=\"StoreListing\"]:is(.store-design-tile:focus-visible) { outline: none; }\n[data-dsx-owner~=\"StoreListing\"] .store-design-image, [data-dsx-owner~=\"StoreListing\"]:is(.store-design-image) { --media-w: 100%; --media-size: 112px; overflow: hidden; transition: opacity var(--dsx-dur-fast) var(--dsx-ease); }\n[data-dsx-owner~=\"StoreListing\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"StoreListing\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"StoreListing\"] .workspace-notice, [data-dsx-owner~=\"StoreListing\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"StoreListingPublish\"] .store-publish, [data-dsx-owner~=\"StoreListingPublish\"]:is(.store-publish) { align-self: stretch; gap: 1rem; }\n[data-dsx-owner~=\"StoreListingPublish\"] .store-publish-content, [data-dsx-owner~=\"StoreListingPublish\"]:is(.store-publish-content) { --store-publish-min-height: 640px; min-height: var(--store-publish-min-height); align-self: stretch; }\n[data-dsx-owner~=\"StoreListingPublish\"] .store-publish-skeleton-row, [data-dsx-owner~=\"StoreListingPublish\"]:is(.store-publish-skeleton-row) { box-sizing: border-box; min-height: 64px; padding: 16px; gap: 8px; }\n[data-dsx-owner~=\"StoreListingPublish\"] .store-publish-skeleton-line, [data-dsx-owner~=\"StoreListingPublish\"]:is(.store-publish-skeleton-line), [data-dsx-owner~=\"StoreListingPublish\"] .store-publish-skeleton-detail, [data-dsx-owner~=\"StoreListingPublish\"]:is(.store-publish-skeleton-detail) { height: 12px; width: 72%; border-radius: calc(4px * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-corner-shape); --dsx-corner-shape-k: var(--dsx-corner-shape); --dsx-corner-fallback: var(--dsx-corner-shape-fallback); background: var(--dsx-fill); }\n[data-dsx-owner~=\"StoreListingPublish\"] .store-publish-skeleton-detail, [data-dsx-owner~=\"StoreListingPublish\"]:is(.store-publish-skeleton-detail) { width: 44%; }\n\n[data-dsx-owner~=\"StorePolicies\"] .policies-actions, [data-dsx-owner~=\"StorePolicies\"]:is(.policies-actions), [data-dsx-owner~=\"StorePolicies\"] .policies-sheet-actions, [data-dsx-owner~=\"StorePolicies\"]:is(.policies-sheet-actions) { align-self: stretch; justify-content: flex-end; gap: 12px; padding-inline: 20px; }\n[data-dsx-owner~=\"StorePolicies\"] .policies-actions, [data-dsx-owner~=\"StorePolicies\"]:is(.policies-actions) { padding-bottom: 24px; }\n[data-dsx-owner~=\"StorePolicies\"] .policies-sheet-actions, [data-dsx-owner~=\"StorePolicies\"]:is(.policies-sheet-actions) { padding-bottom: 20px; }\n[data-dsx-owner~=\"StorePolicies\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"StorePolicies\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"StorePolicies\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"StorePolicies\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"StorePolicies\"] .workspace-notice, [data-dsx-owner~=\"StorePolicies\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"StoreScreenshotSetCard\"] .store-set-grid, [data-dsx-owner~=\"StoreScreenshotSetCard\"]:is(.store-set-grid) { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 12px; }\n[data-dsx-owner~=\"StoreScreenshotSetCard\"] .store-set-tile, [data-dsx-owner~=\"StoreScreenshotSetCard\"]:is(.store-set-tile) { align-items: center; gap: 12px; min-width: 0; }\n[data-dsx-owner~=\"StoreScreenshotSetCard\"] .store-set-image, [data-dsx-owner~=\"StoreScreenshotSetCard\"]:is(.store-set-image) { width: 64px; max-width: 100%; aspect-ratio: 1320 / 2868; border-radius: calc(var(--dsx-radius-md, 10px) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); box-shadow: 0 0 0 0.5px var(--dsx-separator); overflow: hidden; }\n[data-dsx-owner~=\"StoreScreenshotSetCard\"] .store-set-tile .dsx-chip, [data-dsx-owner~=\"StoreScreenshotSetCard\"]:is(.store-set-tile .dsx-chip) { white-space: normal; }\n\n[data-dsx-owner~=\"StoreScreenshotsCard\"] .store-shots-host, [data-dsx-owner~=\"StoreScreenshotsCard\"]:is(.store-shots-host) { align-self: stretch; }\n[data-dsx-owner~=\"StoreScreenshotsCard\"] :is(.dsx-stack, .dsx-vstack):has(> .dsx-list[data-dsx-axis=\"vertical\"][data-dsx-scroll]:not(.dsx-grid):not([data-dsx-appearance=\"none\"]):not([data-dsx-appearance=\"grouped\"])) > .store-shots-host, [data-dsx-owner~=\"StoreScreenshotsCard\"]:is(:is(.dsx-stack, .dsx-vstack):has(> .dsx-list[data-dsx-axis=\"vertical\"][data-dsx-scroll]:not(.dsx-grid):not([data-dsx-appearance=\"none\"]):not([data-dsx-appearance=\"grouped\"])) > .store-shots-host) { margin-inline: var(--dsx-grid-inset-inline, var(--dsx-space-4)); }\n@media (min-width: 48rem) {\n[data-dsx-owner~=\"StoreScreenshotsCard\"] :is(.dsx-stack, .dsx-vstack):has(> .dsx-list[data-dsx-axis=\"vertical\"][data-dsx-scroll]:not(.dsx-grid):not([data-dsx-appearance=\"none\"]):not([data-dsx-appearance=\"grouped\"])) > .store-shots-host, [data-dsx-owner~=\"StoreScreenshotsCard\"]:is(:is(.dsx-stack, .dsx-vstack):has(> .dsx-list[data-dsx-axis=\"vertical\"][data-dsx-scroll]:not(.dsx-grid):not([data-dsx-appearance=\"none\"]):not([data-dsx-appearance=\"grouped\"])) > .store-shots-host) { margin-inline: var(--dsx-grid-inset-inline, 20px); }\n}\n[data-dsx-owner~=\"StoreScreenshotsCard\"] .store-shots-grid .dsx-figure, [data-dsx-owner~=\"StoreScreenshotsCard\"]:is(.store-shots-grid .dsx-figure) { --dsx-figure-radius: 12px; }\n[data-dsx-owner~=\"StoreScreenshotsCard\"] .store-shots-grid .dsx-figure-frame, [data-dsx-owner~=\"StoreScreenshotsCard\"]:is(.store-shots-grid .dsx-figure-frame) { aspect-ratio: 1320 / 2868; corner-shape: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); position: relative; }\n[data-dsx-owner~=\"StoreScreenshotsCard\"] .store-shots-grid .dsx-figure-frame::after, [data-dsx-owner~=\"StoreScreenshotsCard\"]:is(.store-shots-grid .dsx-figure-frame::after) { content: \"\"; position: absolute; inset: 0; border-radius: inherit; corner-shape: inherit; box-shadow: inset 0 0 0 0.5px var(--dsx-separator); pointer-events: none; }\n[data-dsx-owner~=\"StoreScreenshotsCard\"] .store-shots-grid .dsx-figure-image, [data-dsx-owner~=\"StoreScreenshotsCard\"]:is(.store-shots-grid .dsx-figure-image) { object-fit: cover; }\n[data-dsx-owner~=\"StoreScreenshotsCard\"] .store-shots, [data-dsx-owner~=\"StoreScreenshotsCard\"]:is(.store-shots) { --auto-inner-radius: max(10px, calc(var(--dsx-card-border-radius, 36.5px) - 16px)); }\n[data-dsx-owner~=\"StoreScreenshotsCard\"] .store-shots .dsx-list-group, [data-dsx-owner~=\"StoreScreenshotsCard\"]:is(.store-shots .dsx-list-group) { padding: 0; --dsx-list-cell: var(--dsx-grouped-background); --dsx-list-radius: var(--auto-inner-radius); --dsx-list-radius-single-row: var(--auto-inner-radius); }\n[data-dsx-owner~=\"StoreScreenshotsCard\"] .store-shots .dsx-callout, [data-dsx-owner~=\"StoreScreenshotsCard\"]:is(.store-shots .dsx-callout) { margin-inline: 0; --dsx-callout-border-radius: var(--auto-inner-radius); }\n\n[data-dsx-owner~=\"StoreSetup\"] .store-caps .dsx-settings-row-status-done, [data-dsx-owner~=\"StoreSetup\"]:is(.store-caps .dsx-settings-row-status-done), [data-dsx-owner~=\"StoreSetup\"] .store-caps .dsx-settings-row-content > .dsx-settings-row-status-done, [data-dsx-owner~=\"StoreSetup\"]:is(.store-caps .dsx-settings-row-content > .dsx-settings-row-status-done) { color: var(--dsx-success); }\n[data-dsx-owner~=\"StoreSetup\"] .store-setup-body > *, [data-dsx-owner~=\"StoreSetup\"]:is(.store-setup-body > *) { margin-block: 0 !important; }\n[data-dsx-owner~=\"StoreSetup\"] .store-setup-body > .dsx-list-group, [data-dsx-owner~=\"StoreSetup\"]:is(.store-setup-body > .dsx-list-group) { padding-block-start: 0 !important; }\n[data-dsx-owner~=\"StoreSetup\"] .store-setup-body > .store-cards, [data-dsx-owner~=\"StoreSetup\"]:is(.store-setup-body > .store-cards) { padding-inline: var(--dsx-grid-inset-inline, var(--dsx-space-4, 16px)); }\n@media (min-width: 48rem) {\n[data-dsx-owner~=\"StoreSetup\"] .store-setup-body > .store-cards, [data-dsx-owner~=\"StoreSetup\"]:is(.store-setup-body > .store-cards) { padding-inline: var(--dsx-grid-inset-inline, 20px); }\n}\n[data-dsx-owner~=\"StoreSetup\"] .store-setup-body > .store-cards > *, [data-dsx-owner~=\"StoreSetup\"]:is(.store-setup-body > .store-cards > *) { margin: 0; }\n[data-dsx-owner~=\"StoreSetup\"] .dsx-settings-row-content > .dsx-settings-row-status[data-dsx-motion=\"leave\"], [data-dsx-owner~=\"StoreSetup\"]:is(.dsx-settings-row-content > .dsx-settings-row-status[data-dsx-motion=\"leave\"]), [data-dsx-owner~=\"StoreSetup\"] .dsx-settings-row-content > .dsx-settings-row-spinner[data-dsx-motion=\"leave\"], [data-dsx-owner~=\"StoreSetup\"]:is(.dsx-settings-row-content > .dsx-settings-row-spinner[data-dsx-motion=\"leave\"]) { visibility: hidden; }\n[data-dsx-owner~=\"StoreSetup\"] .dsx-settings-row-content > .dsx-settings-row-spinner, [data-dsx-owner~=\"StoreSetup\"]:is(.dsx-settings-row-content > .dsx-settings-row-spinner) { width: 22px; height: 22px; margin-inline: 1px; }\n[data-dsx-owner~=\"StoreSetup\"] .dsx-settings-row-content > .dsx-settings-row-status-done, [data-dsx-owner~=\"StoreSetup\"]:is(.dsx-settings-row-content > .dsx-settings-row-status-done) { color: var(--dsx-tone-success-ink); }\n[data-dsx-owner~=\"StoreSetup\"] .dsx-guide strong, [data-dsx-owner~=\"StoreSetup\"]:is(.dsx-guide strong) { font-weight: 600; color: inherit; }\n[data-dsx-owner~=\"StoreSetup\"] .dsx-guide-compact .dsx-markdown-step-title, [data-dsx-owner~=\"StoreSetup\"]:is(.dsx-guide-compact .dsx-markdown-step-title) { font-weight: 400; }\n[data-dsx-owner~=\"StoreSetup\"] .dsx-guide-compact .dsx-markdown-step-number, [data-dsx-owner~=\"StoreSetup\"]:is(.dsx-guide-compact .dsx-markdown-step-number) { font-weight: 500; }\n[data-dsx-owner~=\"StoreSetup\"] .button-external, [data-dsx-owner~=\"StoreSetup\"]:is(.button-external) { flex-direction: row-reverse; }\n[data-dsx-owner~=\"StoreSetup\"] .button-external > svg[data-dsx-part=\"icon\"], [data-dsx-owner~=\"StoreSetup\"]:is(.button-external > svg[data-dsx-part=\"icon\"]) { width: 0.8em; height: 0.8em; }\n@media (max-width: 599px) {\n[data-dsx-owner~=\"StoreSetup\"] .store-guide-actions, [data-dsx-owner~=\"StoreSetup\"]:is(.store-guide-actions) { flex-direction: column !important; align-items: stretch !important; }\n}\n[data-dsx-owner~=\"StoreSetup\"] .store-auto .agent-card, [data-dsx-owner~=\"StoreSetup\"]:is(.store-auto .agent-card) { --dsx-card-border-radius: var(--dsx-surface-radius, 36.5px); --dsx-card-padding: 1rem; }\n[data-dsx-owner~=\"StoreSetup\"] .store-auto .agent-card-title, [data-dsx-owner~=\"StoreSetup\"]:is(.store-auto .agent-card-title) { font-size: 17px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"StoreSetup\"] .store-auto .agent-card-body, [data-dsx-owner~=\"StoreSetup\"]:is(.store-auto .agent-card-body), [data-dsx-owner~=\"StoreSetup\"] .store-auto .demo-account-body, [data-dsx-owner~=\"StoreSetup\"]:is(.store-auto .demo-account-body) { font-size: 15px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"StoreSetup\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"StoreSetup\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"StoreSetup\"] .workspace-notice, [data-dsx-owner~=\"StoreSetup\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"StoreSetup\"] .store-step, [data-dsx-owner~=\"StoreSetup\"]:is(.store-step) { align-self: stretch; }\n[data-dsx-owner~=\"StoreSetup\"] .store-step > .dsx-card, [data-dsx-owner~=\"StoreSetup\"]:is(.store-step > .dsx-card), [data-dsx-owner~=\"StoreSetup\"] .store-step > .store-card, [data-dsx-owner~=\"StoreSetup\"]:is(.store-step > .store-card) { flex: 1 1 auto; }\n[data-dsx-owner~=\"StoreSetup\"] .store-steps-count, [data-dsx-owner~=\"StoreSetup\"]:is(.store-steps-count) { min-height: 24px; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 24px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"StoreSetup\"] .store-steps .dsx-timeline-headline, [data-dsx-owner~=\"StoreSetup\"]:is(.store-steps .dsx-timeline-headline) { display: grid; grid-template-columns: minmax(0, 1fr) 104px; align-items: start; }\n[data-dsx-owner~=\"StoreSetup\"] .store-steps .dsx-timeline-title, [data-dsx-owner~=\"StoreSetup\"]:is(.store-steps .dsx-timeline-title) { --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 24px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"StoreSetup\"] .store-steps .dsx-timeline-trailing, [data-dsx-owner~=\"StoreSetup\"]:is(.store-steps .dsx-timeline-trailing) { --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 24px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx-owner~=\"StoreSetup\"] .store-steps .dsx-timeline-detail, [data-dsx-owner~=\"StoreSetup\"]:is(.store-steps .dsx-timeline-detail) { --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 20px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n\n[data-dsx-owner~=\"StoreTesters\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"StoreTesters\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"StoreTesters\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"StoreTesters\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"StoreTesters\"] .workspace-notice, [data-dsx-owner~=\"StoreTesters\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"SubmissionDetail\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"SubmissionDetail\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"SubmissionDetail\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"SubmissionDetail\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"SubmissionDetail\"] .workspace-notice, [data-dsx-owner~=\"SubmissionDetail\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"SupportChat\"] .support-chat-card, [data-dsx-owner~=\"SupportChat\"]:is(.support-chat-card) { align-self: stretch; height: min(720px, calc(100vh - 220px)); min-height: 420px; padding: 0px; overflow: hidden; }\n[data-dsx-owner~=\"SupportChat\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"SupportChat\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"SupportChat\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"SupportChat\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"SupportChat\"] .workspace-notice, [data-dsx-owner~=\"SupportChat\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"TemplateLedger\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"TemplateLedger\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"TemplateLedger\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"TemplateLedger\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"TemplateLedger\"] .workspace-notice, [data-dsx-owner~=\"TemplateLedger\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"TemplateSetup\"] .dsx-settings-row-content > .dsx-settings-row-status[data-dsx-motion=\"leave\"], [data-dsx-owner~=\"TemplateSetup\"]:is(.dsx-settings-row-content > .dsx-settings-row-status[data-dsx-motion=\"leave\"]), [data-dsx-owner~=\"TemplateSetup\"] .dsx-settings-row-content > .dsx-settings-row-spinner[data-dsx-motion=\"leave\"], [data-dsx-owner~=\"TemplateSetup\"]:is(.dsx-settings-row-content > .dsx-settings-row-spinner[data-dsx-motion=\"leave\"]) { visibility: hidden; }\n[data-dsx-owner~=\"TemplateSetup\"] .dsx-settings-row-content > .dsx-settings-row-spinner, [data-dsx-owner~=\"TemplateSetup\"]:is(.dsx-settings-row-content > .dsx-settings-row-spinner) { width: 22px; height: 22px; margin-inline: 1px; }\n[data-dsx-owner~=\"TemplateSetup\"] .dsx-settings-row-content > .dsx-settings-row-status-done, [data-dsx-owner~=\"TemplateSetup\"]:is(.dsx-settings-row-content > .dsx-settings-row-status-done) { color: var(--dsx-tone-success-ink); }\n[data-dsx-owner~=\"TemplateSetup\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"TemplateSetup\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"TemplateSetup\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"TemplateSetup\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"TemplateSetup\"] .workspace-notice, [data-dsx-owner~=\"TemplateSetup\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"TemplateTip\"] .template-tip .dsx-callout-body, [data-dsx-owner~=\"TemplateTip\"]:is(.template-tip .dsx-callout-body) { gap: 8px; }\n\n[data-dsx-owner~=\"TestOnPhone\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"TestOnPhone\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"TestOnPhone\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"TestOnPhone\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"TestOnPhone\"] .workspace-notice, [data-dsx-owner~=\"TestOnPhone\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"TokensScreen\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"TokensScreen\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"TokensScreen\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"TokensScreen\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"TokensScreen\"] .workspace-notice, [data-dsx-owner~=\"TokensScreen\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n\n[data-dsx-owner~=\"WorkspaceScreen\"] .account-email .dsx-settings-row-copy, [data-dsx-owner~=\"WorkspaceScreen\"]:is(.account-email .dsx-settings-row-copy) { flex-shrink: 0; min-inline-size: max-content; }\n[data-dsx-owner~=\"WorkspaceScreen\"] .account-email .dsx-settings-row-value, [data-dsx-owner~=\"WorkspaceScreen\"]:is(.account-email .dsx-settings-row-value) { flex-shrink: 1; min-inline-size: 0; max-inline-size: 100%; }\n[data-dsx-owner~=\"WorkspaceScreen\"] .page-notice:not(:has(+ .dsx-list-group)), [data-dsx-owner~=\"WorkspaceScreen\"]:is(.page-notice:not(:has(+ .dsx-list-group))) { margin-block-end: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx-owner~=\"WorkspaceScreen\"] .dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice, [data-dsx-owner~=\"WorkspaceScreen\"]:is(.dsx-scroll:has(.dsx-callout-is-error:not(.workspace-notice)) > .workspace-notice) { display: none; }\n[data-dsx-owner~=\"WorkspaceScreen\"] .workspace-notice, [data-dsx-owner~=\"WorkspaceScreen\"]:is(.workspace-notice) { margin-block-start: var(--dsx-page-header-spacing, 1.5rem); }\n}\n\n@property --dsx-rx-background { syntax: \"*\"; inherits: false; }\n@property --dsx-rx-background-color { syntax: \"*\"; inherits: false; }\n@property --dsx-rx-border { syntax: \"*\"; inherits: false; }\n@property --dsx-rx-border-color { syntax: \"*\"; inherits: false; }\n@property --dsx-rx-border-radius { syntax: \"*\"; inherits: false; }\n@property --dsx-rx-border-width { syntax: \"*\"; inherits: false; }\n@property --dsx-rx-color { syntax: \"*\"; inherits: false; }\n@property --dsx-rx-font-weight { syntax: \"*\"; inherits: false; }\n@property --dsx-rx-opacity { syntax: \"*\"; inherits: false; }\n@property --dsx-rx-padding { syntax: \"*\"; inherits: false; }\n@property --dsx-rx-padding-bottom { syntax: \"*\"; inherits: false; }\n@property --dsx-rx-padding-inline-end { syntax: \"*\"; inherits: false; }\n@property --dsx-rx-padding-left { syntax: \"*\"; inherits: false; }\n@property --dsx-rx-text-decoration-line { syntax: \"*\"; inherits: false; }\n@layer dsx-library.inline {\n[data-dsx~=\"c142\"] { gap: 2px; align-items: center; margin-inline-start: -8px; }\n[data-dsx~=\"c143\"] { --dsx-button-icon-size: 17px; }\n[data-dsx~=\"c144\"] { --dsx-button-icon-size: 15px; }\n[data-dsx~=\"c145\"] { gap: 0.5rem; }\n[data-dsx~=\"c146\"] { align-self: stretch; color: var(--dsx-answer-ink, var(--dsx-label)); }\n[data-dsx~=\"c147\"] { gap: 0px; align-self: stretch; padding-top: 4px; }\n[data-dsx~=\"c148\"] { font-size: 12px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; padding-bottom: 2px; color: var(--dsx-tertiary-label); }\n[data-dsx~=\"c149\"] { align-self: stretch; }\n[data-dsx~=\"c150\"] { gap: 10px; align-items: center; min-height: 44px; border-top: 0.5px solid var(--dsx-separator); }\n[data-dsx~=\"c151\"] { flex-shrink: 0; color: var(--dsx-tertiary-label); font-size: 12px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx~=\"c152\"] { flex-grow: 1; flex-shrink: 1; min-width: 0; font-size: 15px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n[data-dsx~=\"c153\"] { background: var(--dsx-rx-background); }\n[data-dsx~=\"c167\"] { flex-shrink: 0; width: 20px; height: 20px; align-items: center; justify-content: center; }\n[data-dsx~=\"c170\"] { gap: 2px; flex-grow: 1; flex-shrink: 1; min-width: 0; }\n[data-dsx~=\"c179\"] { color: var(--dsx-tertiary-label); }\n[data-dsx~=\"c180\"] { --dsx-button-icon-size: 13px; }\n[data-dsx~=\"c182\"] { flex-direction: row; align-items: center; gap: 0.625rem; padding: 0.5rem 0.625rem; border-radius: calc(var(--dsx-radius-control, 10px) * var(--dsx-corner-fallback, 1)); background: var(--dsx-fill); }\n[data-dsx~=\"c183\"] { color: var(--dsx-secondary-label); font-size: 18px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx~=\"c184\"] { gap: 0.0625rem; align-items: flex-start; }\n[data-dsx~=\"c185\"] { color: var(--dsx-label); }\n[data-dsx~=\"c186\"] { gap: 0.1875rem; align-items: center; justify-content: center; }\n[data-dsx~=\"c187\"] { gap: 0.1875rem; align-items: center; }\n[data-dsx~=\"c188\"] { background: var(--dsx-audio-level-color, var(--dsx-accent)); width: var(--dsx-audio-level-bar-width, 3px); min-width: var(--dsx-audio-level-bar-width, 3px); border-radius: 999px; }\n[data-dsx~=\"c199\"] { flex-grow: 1; }\n[data-dsx~=\"c207\"] { object-fit: contain; }\n[data-dsx~=\"c208\"] { display: grid; border-radius: 999px; background: transparent; color: var(--dsx-avatar-color, var(--dsx-on-accent)); font-size: calc(var(--dsx-avatar-size, 44px) * 0.4); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); width: var(--dsx-avatar-size, 44px); min-width: var(--dsx-avatar-size, 44px); height: var(--dsx-avatar-size, 44px); min-height: var(--dsx-avatar-size, 44px); align-items: end; justify-items: end; }\n[data-dsx~=\"c209\"] { grid-area: 1 / 1; border-radius: 999px; border-style: solid; border-width: var(--dsx-avatar-ring-width, 0px); border-color: var(--dsx-avatar-ring-color, transparent); width: var(--dsx-avatar-size, 44px); min-width: var(--dsx-avatar-size, 44px); height: var(--dsx-avatar-size, 44px); min-height: var(--dsx-avatar-size, 44px); object-fit: fill; }\n[data-dsx~=\"c210\"] { grid-area: 1 / 1; background: var(--dsx-avatar-background, var(--dsx-accent)); display: grid; border-radius: 999px; border-style: solid; border-width: var(--dsx-avatar-ring-width, 0px); border-color: var(--dsx-avatar-ring-color, transparent); width: var(--dsx-avatar-size, 44px); min-width: var(--dsx-avatar-size, 44px); height: var(--dsx-avatar-size, 44px); min-height: var(--dsx-avatar-size, 44px); align-items: center; justify-items: center; justify-content: center; }\n[data-dsx~=\"c211\"] { font-weight: 600; }\n[data-dsx~=\"c212\"] { grid-area: 1 / 1; display: var(--dsx-avatar-status-display, none); border-radius: 999px; width: calc(var(--dsx-avatar-size, 44px) * 0.28); min-width: calc(var(--dsx-avatar-size, 44px) * 0.28); height: calc(var(--dsx-avatar-size, 44px) * 0.28); min-height: calc(var(--dsx-avatar-size, 44px) * 0.28); background: var(--dsx-avatar-status-background, transparent); border: 2px solid var(--dsx-avatar-status-ring-color, var(--dsx-background)); }\n[data-dsx~=\"c213\"] { align-items: center; }\n[data-dsx~=\"c214\"] { --dsx-avatar-size: var(--dsx-avatar-group-avatar-size, 32px); --dsx-avatar-ring-width: 2px; --dsx-avatar-ring-color: var(--dsx-background); }\n[data-dsx~=\"c215\"] { display: grid; border-radius: 999px; width: var(--dsx-avatar-group-avatar-size, 32px); min-width: var(--dsx-avatar-group-avatar-size, 32px); height: var(--dsx-avatar-group-avatar-size, 32px); min-height: var(--dsx-avatar-group-avatar-size, 32px); align-items: center; justify-items: center; justify-content: center; background: var(--dsx-fill); border: 2px solid var(--dsx-background); }\n[data-dsx~=\"c216\"] { font-weight: 600; font-size: calc(var(--dsx-avatar-group-avatar-size, 32px) * 0.36); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx~=\"c217\"] { font-family: var(--dsx-font); --dsx-face-normal: var(--dsx-font--dsx-face-normal, 1.2); color: var(--dsx-badge-color, var(--dsx-on-destructive, var(--dsx-on-accent))); font-size: 0.72rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); display: grid; align-items: center; justify-items: center; justify-content: center; }\n[data-dsx~=\"c218\"] { background: var(--dsx-badge-background, var(--dsx-destructive)); align-items: center; justify-items: center; justify-content: center; }\n[data-dsx~=\"c219\"] { background: var(--dsx-badge-background, var(--dsx-destructive)); }\n[data-dsx~=\"c221\"] { gap: 0rem; }\n[data-dsx~=\"c222\"] { gap: 0rem; align-items: stretch; }\n[data-dsx~=\"c227\"] { gap: var(--dsx-card-gap, 0.5rem); background: var(--dsx-card-background, var(--dsx-list-cell, var(--dsx-secondary-grouped-background))); border-radius: calc(var(--dsx-card-border-radius, var(--dsx-surface-radius, 36.5px)) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-card-corner-shape, var(--dsx-surface-corner-shape, superellipse(1.6))); --dsx-corner-shape-k: var(--dsx-card-corner-shape, var(--dsx-surface-corner-shape, superellipse(1.6))); --dsx-corner-fallback: var(--dsx-card-corner-shape-fallback, var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021))); padding: var(--dsx-card-padding, 1rem); color: var(--dsx-label); }\n[data-dsx~=\"c228\"] { font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx~=\"c237\"] { color: var(--dsx-secondary-label); }\n[data-dsx~=\"c240\"] { gap: 0.5rem; align-items: center; }\n[data-dsx~=\"c262\"] { gap: 0rem; border-radius: calc(var(--dsx-radius-control, 10px) * var(--dsx-corner-fallback, 1)); overflow: hidden; background: var(--dsx-secondary-grouped-background); }\n[data-dsx~=\"c263\"] { gap: 0rem; padding: 0.625rem; }\n[data-dsx~=\"c264\"] { flex-direction: row; gap: 0.5rem; background: var(--dsx-rx-background); }\n[data-dsx~=\"c265\"] { font-size: 0.8125rem; font-weight: 700; white-space: pre; min-width: 10px; font-family: ui-monospace, monospace; --dsx-face-normal: 1.2; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-rx-color); }\n[data-dsx~=\"c266\"] { font-size: 0.8125rem; white-space: pre; font-family: ui-monospace, monospace; --dsx-face-normal: 1.2; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-rx-color); }\n[data-dsx~=\"c267\"] { flex-direction: row; gap: 0.75rem; }\n[data-dsx~=\"c268\"] { gap: 0rem; flex-grow: 1; align-items: start; justify-items: start; background: var(--dsx-rx-background); }\n[data-dsx~=\"c290\"] { color: var(--dsx-label); font-size: 0.9375rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); gap: 0.625rem; padding: 1.25rem; align-items: center; justify-items: center; justify-content: center; }\n[data-dsx~=\"c291\"] { color: var(--dsx-empty-state-icon-color, var(--dsx-secondary-label)); font-size: 32px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx~=\"c292\"] { gap: 0.25rem; align-items: center; justify-items: center; justify-content: center; }\n[data-dsx~=\"c293\"] { font-weight: 600; text-align: center; }\n[data-dsx~=\"c294\"] { font-size: 0.8125rem; color: var(--dsx-secondary-label); max-width: 280px; text-align: center; --dsx-lh-pn: calc(1em + 2px); --dsx-lh-pl: calc(1em + 2px); --dsx-lh-n: var(--dsx-lh-pn); --dsx-lh-k: 0; --dsx-lh-l: var(--dsx-lh-pl); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx~=\"c298\"] { object-fit: cover; }\n[data-dsx~=\"c299\"] { font-size: 0.75rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx~=\"c311\"] { color: #FFFFFF; }\n[data-dsx~=\"c312\"] { color: var(--dsx-icon-tile-dark-color, #FFFFFF); }\n[data-dsx~=\"c313\"] { color: #000000; }\n[data-dsx~=\"c325\"] { gap: 10px; align-items: center; }\n[data-dsx~=\"c326\"] { flex-shrink: 0; gap: 2px; width: 19px; height: 19px; }\n[data-dsx~=\"c327\"] { gap: 2px; }\n[data-dsx~=\"c328\"] { gap: 0px; align-items: baseline; flex-shrink: 1; min-width: 0; }\n[data-dsx~=\"c329\"] { flex-shrink: 0; font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-variant-numeric: tabular-nums; color: var(--dsx-tertiary-label); }\n[data-dsx~=\"c332\"] { font-size: 17px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx~=\"c333\"] { font-size: 11px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx~=\"c334\"] { --dsx-appearance: none; }\n[data-dsx~=\"c335\"] { --dsx-appearance: none; gap: 0rem; }\n[data-dsx~=\"c341\"] { font-size: 18px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-rx-color); }\n[data-dsx~=\"c342\"] { display: grid; padding-inline-start: var(--dsx-navbar-padding-inline, 0.75rem); padding-inline-end: var(--dsx-navbar-padding-inline, 0.75rem); padding-top: 0.625rem; padding-bottom: 0.625rem; align-self: stretch; }\n[data-dsx~=\"c343\"] { grid-area: 1 / 1; align-self: center; gap: 0.0625rem; padding-inline-start: 3.5rem; padding-inline-end: 3.5rem; align-items: center; justify-items: center; justify-content: center; }\n[data-dsx~=\"c344\"] { font-size: 1.0625rem; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; text-align: center; color: var(--dsx-navbar-foreground, inherit); }\n[data-dsx~=\"c345\"] { grid-area: 1 / 1; align-self: center; flex-direction: row; gap: 0.5rem; justify-self: stretch; align-items: center; justify-items: center; justify-content: center; }\n[data-dsx~=\"c346\"] { --dsx-button-icon-size: 20px; }\n[data-dsx~=\"c347\"] { --dsx-sheet-sizing: form; }\n[data-dsx~=\"c352\"] { gap: 0.25rem; align-items: center; }\n[data-dsx~=\"c366\"] { font-size: 20px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx~=\"c367\"] { position: relative; align-items: stretch; }\n[data-dsx~=\"c368\"] { position: absolute; inset-inline-start: 0; inset-inline-end: 0; bottom: 100%; margin-bottom: 0.5rem; padding: 0.375rem; gap: 0.125rem; align-items: stretch; }\n[data-dsx~=\"c369\"] { color: var(--dsx-tertiary-label); padding: 0.5rem 0.625rem 0.375rem; }\n[data-dsx~=\"c370\"] { --dsx-appearance: none; gap: 0.125rem; }\n[data-dsx~=\"c371\"] { border-radius: calc(var(--dsx-surface-inner-radius, 14px) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); background-color: var(--dsx-rx-background-color); }\n[data-dsx~=\"c372\"] { gap: 0.75rem; align-items: center; padding: 0.5rem 0.625rem; }\n[data-dsx~=\"c373\"] { flex-grow: 1; color: var(--dsx-label); }\n[data-dsx~=\"c374\"] { align-items: stretch; padding: var(--dsx-rx-padding); }\n[data-dsx~=\"c375\"] { color: var(--dsx-label); padding: 0.375rem 0.5rem 0.5rem; }\n[data-dsx~=\"c376\"] { display: grid; grid-template-columns: auto auto auto minmax(0, 1fr) auto auto auto; column-gap: 0.25rem; row-gap: 0; align-items: end; }\n[data-dsx~=\"c377\"] { grid-area: top; gap: 0.25rem; align-items: stretch; }\n[data-dsx~=\"c378\"] { gap: 0.5rem; align-items: center; margin-bottom: 0.25rem; padding: 0.25rem 0.25rem 0.25rem 0.75rem; border-radius: calc(var(--dsx-surface-inner-radius, 14px) * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-surface-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-surface-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); background-color: var(--dsx-fill); }\n[data-dsx~=\"c379\"] { flex-grow: 1; color: var(--dsx-secondary-label); }\n[data-dsx~=\"c380\"] { width: 30px; height: 30px; min-width: 30px; min-height: 30px; padding: 0; border-radius: 999px; corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; flex-shrink: 0; color: var(--dsx-secondary-label); --dsx-button-icon-size: 13px; }\n[data-dsx~=\"c381\"] { grid-area: tray; gap: 0.5rem; padding: 0.125rem 0.125rem 0.25rem; }\n[data-dsx~=\"c382\"] { grid-area: field; min-width: 0; --dsx-appearance: none; background: transparent; border: 0; border-radius: 0; box-shadow: none; outline: none; padding: var(--dsx-rx-padding); }\n[data-dsx~=\"c383\"] { grid-area: plus; width: 36px; height: 36px; min-width: 36px; min-height: 36px; padding: 0; border-radius: 999px; corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; flex-shrink: 0; --dsx-button-icon-size: 20px; }\n[data-dsx~=\"c384\"] { grid-area: plus; }\n[data-dsx~=\"c385\"] { width: 36px; height: 36px; min-width: 36px; min-height: 36px; padding: 0; border-radius: 999px; corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; flex-shrink: 0; --dsx-button-icon-size: 20px; }\n[data-dsx~=\"c386\"] { grid-area: model; align-self: center; border-radius: 999px; corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; }\n[data-dsx~=\"c387\"] { gap: 0.3125rem; align-items: center; padding: 0.4375rem 0.875rem; }\n[data-dsx~=\"c388\"] { grid-area: pills; gap: 0.25rem; align-items: center; align-self: center; }\n[data-dsx~=\"c389\"] { grid-area: model; min-height: 36px; --dsx-appearance: none; background: transparent; border: 0; box-shadow: none; color: var(--dsx-secondary-label); }\n[data-dsx~=\"c390\"] { grid-area: count; align-self: center; padding: 0 0.25rem; color: var(--dsx-rx-color); }\n[data-dsx~=\"c391\"] { grid-area: mic; width: 36px; height: 36px; min-width: 36px; min-height: 36px; padding: 0; border-radius: 999px; corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; flex-shrink: 0; --dsx-button-icon-size: 19px; }\n[data-dsx~=\"c392\"] { grid-area: send; width: 36px; height: 36px; min-width: 36px; min-height: 36px; padding: 0; opacity: 1; border-radius: 999px; corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; flex-shrink: 0; transition: background-color var(--dsx-dur-base) var(--dsx-ease), color var(--dsx-dur-base) var(--dsx-ease); background-color: var(--dsx-promptinput-send-background, var(--dsx-label)); color: var(--dsx-promptinput-send-color, var(--dsx-background)); --dsx-button-icon-size: 17px; }\n[data-dsx~=\"c393\"] { grid-area: send; width: 36px; height: 36px; min-width: 36px; min-height: 36px; padding: 0; opacity: 1; border-radius: 999px; corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; flex-shrink: 0; transition: background-color var(--dsx-dur-base) var(--dsx-ease), color var(--dsx-dur-base) var(--dsx-ease); --dsx-button-icon-size: 16px; background-color: var(--dsx-rx-background-color); color: var(--dsx-rx-color); }\n[data-dsx~=\"c394\"] { --dsx-popover-compact: popover; }\n[data-dsx~=\"c395\"] { width: 36px; height: 36px; min-width: 36px; min-height: 36px; padding: 0; border-radius: 999px; corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; flex-shrink: 0; --dsx-button-icon-size: 15px; }\n[data-dsx~=\"c396\"] { gap: 0.75rem; padding: 1rem; max-width: 16rem; align-items: stretch; }\n[data-dsx~=\"c397\"] { flex-grow: 1; --dsx-audio-level-height: 22px; --dsx-audio-level-color: var(--dsx-label); --dsx-audio-level-bar-width: 2px; }\n[data-dsx~=\"c398\"] { width: 36px; height: 36px; min-width: 36px; min-height: 36px; padding: 0; border-radius: 999px; corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; flex-shrink: 0; --dsx-button-icon-size: 13px; }\n[data-dsx~=\"c399\"] { width: 36px; height: 36px; min-width: 36px; min-height: 36px; padding: 0; opacity: 1; border-radius: 999px; corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; flex-shrink: 0; transition: background-color var(--dsx-dur-base) var(--dsx-ease), color var(--dsx-dur-base) var(--dsx-ease); background-color: var(--dsx-promptinput-send-background, var(--dsx-label)); color: var(--dsx-promptinput-send-color, var(--dsx-background)); --dsx-button-icon-size: 16px; }\n[data-dsx~=\"c404\"] { flex-direction: row; gap: 0.375rem; align-items: center; justify-items: center; justify-content: center; }\n[data-dsx~=\"c405\"] { gap: 0.125rem; align-items: center; }\n[data-dsx~=\"c456\"] { --scroll-fade-color: var(--dsx-scroll-fade-color, var(--dsx-background)); background: linear-gradient(var(--scroll-fade-angle), var(--scroll-fade-color), transparent); opacity: var(--dsx-rx-opacity); }\n[data-dsx~=\"c457\"] { --scroll-fade-color: var(--dsx-scroll-fade-color, var(--dsx-background)); background: linear-gradient(var(--scroll-fade-angle), transparent, var(--scroll-fade-color)); opacity: var(--dsx-rx-opacity); }\n[data-dsx~=\"c466\"] { background: var(--dsx-settings-row-icon-background, var(--dsx-fill)); }\n[data-dsx~=\"c467\"] { color: var(--dsx-label); font-size: 14px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx~=\"c468\"] { font-size: var(--dsx-settings-row-glyph-size, 27px); line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx~=\"c469\"] { font-size: 17.5px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx~=\"c490\"] { gap: 12px; align-items: center; align-self: stretch; min-height: 44px; padding: 8px 0px; }\n[data-dsx~=\"c491\"] { width: 14px; height: 14px; border-radius: calc(var(--dsx-radius-control, 10px) * var(--dsx-corner-fallback, 1)); border: 1.5px solid var(--dsx-tertiary-label); }\n[data-dsx~=\"c492\"] { width: 18px; height: 18px; color: var(--dsx-secondary-label); }\n[data-dsx~=\"c493\"] { color: var(--dsx-task-row-done, light-dark(#1F9D55, #3DD68C)); font-size: 18px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx~=\"c494\"] { color: var(--dsx-task-row-failed, var(--dsx-destructive)); font-size: 18px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx~=\"c495\"] { font-size: 15px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; --dsx-text-shrinkable: 1; white-space: nowrap; text-overflow: ellipsis; color: var(--dsx-rx-color); }\n[data-dsx~=\"c496\"] { font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; --dsx-text-shrinkable: 1; white-space: nowrap; text-overflow: ellipsis; color: var(--dsx-rx-color); }\n[data-dsx~=\"c497\"] { flex-shrink: 0; min-height: 30px; padding: 5px 12px; border-radius: 999px; font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 500; color: var(--dsx-label); background-color: var(--dsx-fill); }\n[data-dsx~=\"c500\"] { width: 7px; height: 7px; border-radius: 4px; background: var(--dsx-thinking-orb-color, var(--dsx-accent)); }\n[data-dsx~=\"c501\"] { flex-direction: row; align-items: center; justify-content: center; padding: var(--dsx-rx-padding); border-radius: var(--dsx-rx-border-radius); background: var(--dsx-rx-background); }\n[data-dsx~=\"c502\"] { color: var(--dsx-rx-color); font-weight: var(--dsx-rx-font-weight); }\n[data-dsx~=\"c503\"] { font-weight: var(--dsx-rx-font-weight); color: var(--dsx-rx-color); }\n[data-dsx~=\"c531\"] { flex-grow: 1; flex-shrink: 1; min-width: 0; }\n[data-dsx~=\"c565\"] { position: relative; flex-shrink: 0; align-self: stretch; align-items: stretch; padding-left: var(--dsx-rx-padding-left); padding-bottom: var(--dsx-rx-padding-bottom); }\n[data-dsx~=\"c566\"] { position: absolute; right: 0px; top: 0px; bottom: 0px; }\n[data-dsx~=\"c567\"] { position: absolute; right: 0px; height: 4px; }\n[data-dsx~=\"c568\"] { align-items: flex-start; align-self: stretch; position: relative; flex-shrink: 0; }\n[data-dsx~=\"c569\"] { flex-grow: 1; min-width: 0; }\n[data-dsx~=\"c570\"] { align-self: stretch; align-items: stretch; flex-shrink: 0; }\n[data-dsx~=\"c571\"] { align-self: stretch; flex-shrink: 0; }\n[data-dsx~=\"c572\"] { position: sticky; bottom: 0px; align-self: stretch; align-items: stretch; }\n[data-dsx~=\"c573\"] { align-items: stretch; padding: 8px 0px; }\n[data-dsx~=\"c574\"] { flex-grow: 1; flex-shrink: 1; min-width: 0; align-items: flex-start; }\n[data-dsx~=\"c575\"] { --dsx-button-icon-size: 16px; }\n[data-dsx~=\"c576\"] { gap: 0px; align-items: center; }\n[data-dsx~=\"c577\"] { --dsx-button-icon-size: 14px; }\n[data-dsx~=\"c578\"] { align-items: stretch; }\n[data-dsx~=\"c579\"] { align-items: stretch; padding: 16px; gap: 12px; }\n[data-dsx~=\"c580\"] { align-items: stretch; align-self: stretch; }\n}\n@layer dsx-inline {\n[data-dsx~=\"c0\"] { height: 100%; background: var(--dsx-background); }\n[data-dsx~=\"c1\"] { align-items: center; background: var(--dsx-background); color: var(--dsx-label); padding: 2.5rem 1rem calc(4rem + var(--dsx-consent-room, 0px)); }\n[data-dsx~=\"c2\"] { width: 100%; max-width: 52.5rem; gap: 0.5rem; }\n[data-dsx~=\"c3\"] { align-self: flex-start; flex-shrink: 0; height: 1.75rem; margin-block-end: 1.75rem; }\n[data-dsx~=\"c4\"] { font-size: 1.0625rem; --dsx-lh-n: 1.5; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); margin-block-end: 1rem; }\n[data-dsx~=\"c5\"] { --dsx-lh-n: 1.6; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx~=\"c6\"] { flex-grow: 1; }\n[data-dsx~=\"c7\"] { font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx~=\"c8\"] { align-self: center; align-items: center; }\n[data-dsx~=\"c9\"] { align-self: stretch; }\n[data-dsx~=\"c10\"] { align-self: stretch; gap: 12px; }\n[data-dsx~=\"c11\"] { gap: 6px; align-items: center; }\n[data-dsx~=\"c12\"] { font-size: 15px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-label); }\n[data-dsx~=\"c13\"] { font-size: 13px; --dsx-lh-n: 1.4; --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx~=\"c14\"] { height: 160px; min-height: 160px; }\n[data-dsx~=\"c15\"] { align-self: stretch; gap: 8px; }\n[data-dsx~=\"c16\"] { align-self: stretch; justify-content: space-between; align-items: baseline; gap: 12px; }\n[data-dsx~=\"c17\"] { font-size: 15px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-label); }\n[data-dsx~=\"c18\"] { font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); font-variant-numeric: tabular-nums; }\n[data-dsx~=\"c19\"] { padding: 20px 8px 16px; }\n[data-dsx~=\"c20\"] { gap: 4px; padding-top: 12px; }\n[data-dsx~=\"c21\"] { font-size: 20px; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 25px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; }\n[data-dsx~=\"c22\"] { color: var(--dsx-secondary-label); max-width: 65ch; }\n[data-dsx~=\"c23\"] { gap: 8px; flex-wrap: wrap; align-items: center; padding-top: 12px; }\n[data-dsx~=\"c24\"] { font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); padding-top: 8px; }\n[data-dsx~=\"c25\"] { gap: 24px; }\n[data-dsx~=\"c26\"] { gap: 16px; align-items: center; }\n[data-dsx~=\"c27\"] { width: 48px; height: 48px; flex: none; color: var(--app-journey-ring-color); --dsx-progress-ring-line-width: 5px; }\n[data-dsx~=\"c28\"] { gap: 2px; flex: 1 1 0; min-width: 0; }\n[data-dsx~=\"c29\"] { gap: 4px; }\n[data-dsx~=\"c30\"] { font-weight: 600; }\n[data-dsx~=\"c31\"] { font-size: 15px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); }\n[data-dsx~=\"c32\"] { gap: 8px; flex-wrap: wrap; padding-top: 8px; }\n[data-dsx~=\"c33\"] { flex: 1 1 auto; }\n[data-dsx~=\"c34\"] { gap: 12px; }\n[data-dsx~=\"c35\"] { gap: var(--dsx-page-header-spacing, 24px); }\n[data-dsx~=\"c36\"] { gap: 8px; flex-direction: row; flex-wrap: wrap; align-items: center; padding-inline: var(--dsx-grid-inset-inline, var(--dsx-space-4, 16px)); }\n[data-dsx~=\"c37\"] { gap: 16px; }\n[data-dsx~=\"c38\"] { height: 44px; width: 60%; align-self: flex-end; }\n[data-dsx~=\"c39\"] { height: 80px; width: 85%; }\n[data-dsx~=\"c40\"] { width: 60%; height: 12px; }\n[data-dsx~=\"c41\"] { width: 90%; height: 12px; }\n[data-dsx~=\"c42\"] { width: 70%; height: 12px; }\n[data-dsx~=\"c43\"] { width: 120px; height: 36px; border-radius: 999px; corner-shape: round; --dsx-corner-shape-k: 1 1 1 1; --dsx-corner-fallback: 1; }\n[data-dsx~=\"c44\"] { object-fit: cover; }\n[data-dsx~=\"c45\"] { object-fit: contain; }\n[data-dsx~=\"c46\"] { gap: 6px; align-items: baseline; }\n[data-dsx~=\"c47\"] { gap: 8px; align-items: baseline; }\n[data-dsx~=\"c48\"] { flex: 1 1 0; }\n[data-dsx~=\"c49\"] { width: 1.5em; height: 1.5em; }\n[data-dsx~=\"c50\"] { flex-grow: 1; min-width: 0; align-items: stretch; gap: 1px; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 1.375rem; line-height: round(nearest, 1.375rem, 1px); }\n[data-dsx~=\"c51\"] { width: 65%; height: 0.75em; margin-block: calc((1lh - 0.75em) / 2); }\n[data-dsx~=\"c52\"] { gap: 0; }\n[data-dsx~=\"c53\"] { width: 100%; height: 0.75em; margin-block: calc((1lh - 0.75em) / 2); }\n[data-dsx~=\"c54\"] { width: 75%; height: 0.75em; margin-block: calc((1lh - 0.75em) / 2); }\n[data-dsx~=\"c55\"] { gap: 1em; flex-shrink: 0; align-self: flex-start; align-items: center; }\n[data-dsx~=\"c56\"] { width: 5em; height: 1.5em; }\n[data-dsx~=\"c57\"] { width: 0.5em; height: 1em; }\n[data-dsx~=\"c58\"] { align-items: center; gap: 12px; padding: 8px 20px 4px; }\n[data-dsx~=\"c59\"] { gap: 12px; align-items: center; }\n[data-dsx~=\"c60\"] { --dsx-icon-tile-size: 52px; }\n[data-dsx~=\"c61\"] { color: var(--dsx-tertiary-label); font-size: 20px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx~=\"c62\"] { font-size: 20px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; color: var(--dsx-label); text-align: center; }\n[data-dsx~=\"c63\"] { font-size: 15px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); text-align: center; }\n[data-dsx~=\"c64\"] { padding: 4px 20px 20px; }\n[data-dsx~=\"c65\"] { --dsx-settings-row-copy-min: 5rem; }\n[data-dsx~=\"c66\"] { flex-grow: 1; min-width: 0; align-items: stretch; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 1.375rem; line-height: round(nearest, 1.375rem, 1px); }\n[data-dsx~=\"c67\"] { width: 55%; height: 0.75em; margin-block: calc((1lh - 0.75em) / 2); }\n[data-dsx~=\"c68\"] { font-size: 22px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); width: 22px; height: 22px; flex: none; color: var(--dsx-success); }\n[data-dsx~=\"c69\"] { flex: 1 1 0; min-width: 0; }\n[data-dsx~=\"c70\"] { gap: 2px; }\n[data-dsx~=\"c71\"] { color: var(--dsx-secondary-label); max-width: 40rem; }\n[data-dsx~=\"c72\"] { font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); max-width: 40rem; }\n[data-dsx~=\"c73\"] { gap: 8px; flex-direction: row; flex-wrap: wrap; align-items: center; padding-top: 4px; }\n[data-dsx~=\"c74\"] { height: 48px; width: auto; max-width: 100%; flex: none; align-self: flex-start; object-fit: contain; cursor: pointer; }\n[data-dsx~=\"c75\"] { font-size: 28px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); width: 32px; height: 32px; flex: none; color: var(--dsx-accent); }\n[data-dsx~=\"c76\"] { gap: 8px; }\n[data-dsx~=\"c77\"] { align-self: flex-start; font-size: 22px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); font-weight: 600; letter-spacing: 0.14em; font-variant-numeric: tabular-nums; color: var(--dsx-label); background: var(--dsx-fill); padding: 6px 14px; }\n[data-dsx~=\"c78\"] { min-height: 52px; padding: 12px 20px 8px; gap: 0px; }\n[data-dsx~=\"c79\"] { height: 16px; width: 100%; }\n[data-dsx~=\"c80\"] { height: 16px; width: 60%; }\n[data-dsx~=\"c81\"] { font-size: 12px; --dsx-lh-n: 0; --dsx-lh-k: 0; --dsx-lh-l: 16px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); white-space: normal; overflow-wrap: anywhere; word-break: break-all; }\n[data-dsx~=\"c82\"] { align-items: stretch; gap: 0.625rem; }\n[data-dsx~=\"c83\"] { font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); color: var(--dsx-secondary-label); text-align: center; }\n[data-dsx~=\"c84\"] { gap: 0.25rem; align-items: center; }\n[data-dsx~=\"c85\"] { width: 1rem; height: 1rem; }\n[data-dsx~=\"c86\"] { --dsx-card-gap: 12px; }\n[data-dsx~=\"c87\"] { gap: 12px; align-items: flex-start; }\n[data-dsx~=\"c88\"] { gap: 2px; min-width: 0; flex: 1 1 auto; }\n[data-dsx~=\"c89\"] { color: var(--dsx-secondary-label); }\n[data-dsx~=\"c90\"] { gap: 8px; flex-wrap: wrap; }\n[data-dsx~=\"c91\"] { --dsx-copyrow-label-width: 6rem; }\n[data-dsx~=\"c92\"] { position: relative; display: inline-flex; flex: none; }\n[data-dsx~=\"c93\"] { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: calc(22.37% * var(--dsx-corner-fallback, 1)); corner-shape: var(--dsx-corner-shape, superellipse(1.6)); --dsx-corner-shape-k: var(--dsx-corner-shape, superellipse(1.6)); --dsx-corner-fallback: var(--dsx-corner-shape-fallback, calc(1 - var(--dsx-corner-unsupported) * .3021)); overflow: hidden; object-fit: cover; }\n[data-dsx~=\"c94\"] { padding-inline: 16px; padding-block-end: 16px; }\n[data-dsx~=\"c95\"] { gap: var(--dsx-page-header-spacing, 1.5rem); }\n[data-dsx~=\"c96\"] { align-self: center; gap: 8px; flex-wrap: wrap; justify-content: center; }\n[data-dsx~=\"c97\"] { width: var(--dsx-icon-tile-size, 29px); height: var(--dsx-icon-tile-size, 29px); }\n[data-dsx~=\"c98\"] { width: 60%; height: 1rem; }\n[data-dsx~=\"c99\"] { gap: 0.5rem; align-items: stretch; }\n[data-dsx~=\"c100\"] { color: var(--dsx-secondary-label); padding-inline: 1rem; }\n[data-dsx~=\"c101\"] { width: 44px; height: 44px; padding: 0; justify-content: center; color: var(--dsx-accent); background: light-dark(color-mix(in srgb, var(--dsx-accent) 12%, transparent), color-mix(in srgb, var(--dsx-accent) 20%, transparent)); }\n[data-dsx~=\"c102\"] { width: 44px; height: 44px; padding: 0; justify-content: center; }\n[data-dsx~=\"c103\"] { gap: 8px; justify-content: center; flex-wrap: wrap; }\n[data-dsx~=\"c104\"] { width: 44px; height: 44px; }\n[data-dsx~=\"c105\"] { width: 60%; height: 20px; }\n[data-dsx~=\"c106\"] { width: 80%; height: 15px; }\n[data-dsx~=\"c107\"] { width: 60%; height: 15px; }\n[data-dsx~=\"c108\"] { flex-grow: 1; height: 20px; }\n[data-dsx~=\"c109\"] { min-height: var(--dsx-list-row-height, 54px); }\n[data-dsx~=\"c110\"] { width: 60%; height: 16px; }\n[data-dsx~=\"c111\"] { --dsx-card-padding: 0px; }\n[data-dsx~=\"c112\"] { gap: 0px; align-self: stretch; min-width: 0; min-height: 0; flex: 1 1 auto; }\n[data-dsx~=\"c113\"] { flex: 1 1 auto; min-height: 0; }\n[data-dsx~=\"c114\"] { --dsx-sidebar-compact: tabs; }\n[data-dsx~=\"c115\"] { min-height: 75px; flex-shrink: 0; align-items: stretch; }\n[data-dsx~=\"c116\"] { gap: 12px; align-items: center; min-height: 30px; }\n[data-dsx~=\"c117\"] { font-size: 13px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx~=\"c118\"] { font-size: 44px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); width: 44px; height: 44px; flex: none; }\n[data-dsx~=\"c119\"] { gap: 4px; flex: 1 1 0; min-width: 0; }\n[data-dsx~=\"c120\"] { gap: 8px; align-items: center; }\n[data-dsx~=\"c121\"] { gap: 8px; flex-direction: row; flex-wrap: wrap; align-items: center; padding-top: 4px; margin-top: auto; }\n[data-dsx~=\"c122\"] { --dsx-list-row-height: 54px; }\n[data-dsx~=\"c123\"] { min-height: var(--dsx-list-row-height); }\n[data-dsx~=\"c124\"] { color: var(--dsx-secondary-label); font-size: var(--dsx-type-footnote-size); --dsx-lh-n: var(--dsx-type-footnote-leading); --dsx-lh-k: 0; --dsx-lh-l: 0px; line-height: round(nearest, calc((var(--dsx-lh-n) + var(--dsx-lh-k) * var(--dsx-face-normal, 1.2)) * 1em + var(--dsx-lh-l)), 1px); }\n[data-dsx~=\"c125\"] { display: grid; align-self: stretch; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 440px; }\n[data-dsx~=\"c126\"] { display: grid; align-self: stretch; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: var(--dsx-page-header-spacing, 24px); align-items: stretch; }\n[data-dsx~=\"c127\"] { display: grid; align-self: stretch; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: var(--dsx-page-header-spacing, 24px); align-items: start; }\n[data-dsx~=\"c128\"] { gap: 16px; padding-inline: var(--dsx-space-4, 16px); }\n[data-dsx~=\"c129\"] { min-height: var(--submit-checks-height); }\n[data-dsx~=\"c130\"] { min-height: 6rem; padding: 1rem; gap: 0.5rem; }\n[data-dsx~=\"c131\"] { height: 1rem; width: 60%; }\n[data-dsx~=\"c132\"] { height: 2rem; }\n[data-dsx~=\"c133\"] { min-height: 16rem; }\n[data-dsx~=\"c134\"] { min-height: 3.5rem; padding: 1rem; }\n[data-dsx~=\"c135\"] { height: 1.5rem; }\n[data-dsx~=\"c136\"] { padding-inline-start: 32px; }\n[data-dsx~=\"c137\"] { width: 104px; color: #000; background: #fff; margin-block: 4px; margin-inline-end: 4px; }\n[data-dsx~=\"c138\"] { gap: 12px; align-items: stretch; min-width: 0; }\n[data-dsx~=\"c139\"] { gap: 12px; min-width: 0; }\n[data-dsx~=\"c140\"] { justify-content: flex-start; }\n}","schemes":["platform","convertdata","consent","datafast","tracking","foundation","lifecycle","routing","appearance","blocks","browser","clipboard","files","toast"],"packageWeb":[{"scheme":"platform","routes":[],"styles":["focus.css"],"assets":[],"dependencies":{},"dir":"/Users/yacinenedjar/despia_dsx/wt-clean/con-batch2246"},{"scheme":"convertdata","routes":[],"styles":[],"assets":[],"dependencies":{},"entry":"web/index.js","boot":true,"dir":"/Users/yacinenedjar/despia_dsx/wt-clean/con-batch2246/Packages/ConvertData"},{"scheme":"consent","routes":[],"styles":[],"assets":[],"dependencies":{},"entry":"web/index.js","boot":true,"dir":"/Users/yacinenedjar/despia_dsx/wt-clean/con-batch2246/Packages/Consent"},{"scheme":"datafast","routes":[],"styles":[],"assets":[],"dependencies":{},"entry":"web/index.js","boot":true,"dir":"/Users/yacinenedjar/despia_dsx/wt-clean/con-batch2246/Packages/Datafast"},{"scheme":"tracking","routes":[],"styles":[],"assets":[],"dependencies":{},"entry":"web/index.js","boot":true,"dir":"/Users/yacinenedjar/despia_dsx/wt-clean/con-batch2246/Packages/Tracking"},{"scheme":"foundation","routes":[],"styles":[],"assets":[],"dependencies":{},"entry":"web/index.js","boot":true,"dir":"/Users/yacinenedjar/despia_dsx/wt-clean/fw-hf5-carousel/ClosedSource/DSX/Modules/Mandatory/Foundation"},{"scheme":"routing","routes":[],"styles":[],"assets":[],"dependencies":{},"entry":"web/index.js","boot":true,"dir":"/Users/yacinenedjar/despia_dsx/wt-clean/fw-hf5-carousel/ClosedSource/DSX/Modules/Mandatory/Routing"},{"scheme":"appearance","routes":[],"styles":[],"assets":[],"dependencies":{},"entry":"web/index.js","boot":true,"dir":"/Users/yacinenedjar/despia_dsx/wt-clean/fw-hf5-carousel/ClosedSource/DSX/Modules/Core/Basics/Appearance"},{"scheme":"blocks","routes":[],"styles":[],"assets":[],"dependencies":{},"entry":"web/index.js","boot":true,"dir":"/Users/yacinenedjar/despia_dsx/wt-clean/fw-hf5-carousel/ClosedSource/DSX/Modules/Core/Blocks"},{"scheme":"browser","routes":[],"styles":[],"assets":[],"dependencies":{},"entry":"web/index.js","boot":true,"dir":"/Users/yacinenedjar/despia_dsx/wt-clean/fw-hf5-carousel/ClosedSource/DSX/Modules/Mandatory/Browser"},{"scheme":"clipboard","routes":[],"styles":[],"assets":[],"dependencies":{},"entry":"web/index.js","boot":true,"dir":"/Users/yacinenedjar/despia_dsx/wt-clean/fw-hf5-carousel/ClosedSource/DSX/Modules/Core/Clipboard"},{"scheme":"files","routes":[],"styles":[],"assets":[],"dependencies":{},"entry":"web/index.js","boot":true,"dir":"/Users/yacinenedjar/despia_dsx/wt-clean/fw-hf5-carousel/ClosedSource/DSX/Modules/Core/Files"},{"scheme":"toast","routes":[],"styles":[],"assets":[],"dependencies":{},"entry":"web/index.js","boot":true,"dir":"/Users/yacinenedjar/despia_dsx/wt-clean/fw-hf5-carousel/ClosedSource/DSX/Modules/Core/Toast"}],"routes":[{"path":"/","redirect":"/apps","status":302},{"path":"/login","component":"platform.Login","meta":{"title":"Sign in · Despia"},"guard":"dsx.cookie.dsx_session != '1'","redirect":"/apps","status":302},{"path":"/go","component":"platform.Go","meta":{"title":"Continue on This Computer · Despia"},"_note":"Continue on your computer: the phone's extension card shows a short code; here the same person types it and lands on that step (POST /v1/handoff/redeem). Unguarded like /activate: signed out, the page keeps the code for the sign in (session storage, never the address) and goes on after it."},{"path":"/activate","component":"platform.Activate","meta":{"title":"Approve sign in · Despia"}},{"path":"/connections/confirm","component":"platform.ConnectionConfirm","meta":{"title":"Confirm connection · Despia"},"_note":"The last step of a connection the CLI started: the provider returns the browser here (?confirmation=<id>&provider=<name>, or ?connection=error&reason=<code>) and the code the CLI printed completes it (POST /v1/connections/confirm). Unguarded like /activate: the page asks requireSession and, signed out, goes to /login with next= this address so the confirmation survives the sign in."},{"path":"/connections","component":"platform.ConnectionsScreen","compactParent":"/settings","meta":{"title":"Connections · Despia"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/privacy","component":"platform.PrivacyPolicy","meta":{"title":"Privacy Policy · Despia","description":"How Despia collects, uses and protects personal data across the console, API, CLI, MCP server, cloud builds and the Despia Chrome extension."},"_note":"PUBLIC, no guard and no seed (also the Chrome Web Store listing's privacy policy URL). Generated from public/privacy.md by scripts/gen-privacy.mjs; the markdown itself is served at /privacy.md."},{"path":"/ai-terms","component":"platform.AiTerms","meta":{"title":"AI Terms · Despia","description":"How to use Agent and Despia's other AI features: what they can get wrong, what they are not, and what stays your responsibility."},"_note":"PUBLIC, no guard and no seed. The Agent panel's How We Use AI link opens it. Generated from public/ai-terms.md by scripts/gen-privacy.mjs; the markdown itself is served at /ai-terms.md."},{"path":"/subprocessors","component":"platform.Subprocessors","meta":{"title":"Sub-processors · Despia","description":"The companies that process personal data for Despia, what each one does and where."},"_note":"PUBLIC, no guard and no seed. Linked from the privacy policy. Generated from public/subprocessors.md by scripts/gen-privacy.mjs; the markdown itself is served at /subprocessors.md."},{"path":"/mcp","component":"platform.McpBeta","meta":{"title":"Despia MCP is in beta","description":"Despia MCP is in beta. Add the beta server to your AI agent with these steps."},"_note":"PUBLIC, no guard and no seed: browsers that open the root address mcp.despia.com are sent here."},{"path":"/about","component":"platform.About","meta":{"title":"About Despia","description":"What Despia is, what Sign in with Google does when you connect Google Play, and what the Despia Chrome extension does."},"_note":"PUBLIC, no guard and no seed: the home page on Google's OAuth consent screen and in the Chrome Web Store listing."},{"path":"/goodbye","component":"platform.Goodbye","meta":{"title":"Account deleted · Despia"},"_note":"PUBLIC, no guard and no seed: the page after Delete My Account (WorkspaceScreen, Your Data); the session is already gone."},{"path":"/unsubscribe","component":"platform.Unsubscribe","meta":{"title":"Unsubscribe · Despia"},"_note":"PUBLIC, no guard and no seed: the link in every email from the Despia team lands here (the API's GET /v1/mail/unsubscribe redirects). The signed ?t= token is the capability; nothing happens until a tap."},{"path":"/connect/mcp","component":"platform.McpConsent","meta":{"title":"Connect an AI tool · Despia"},"_note":"Where the hosted Despia MCP sends the browser to ask the person (OAuth consent). Unguarded like /activate: the page asks requireSession and signs in with next=; ?problem= states need no session. It reuses the console's device approval, so the consent is recorded like any other device sign-in."},{"path":"/extension/connect","component":"platform.ExtensionConnect","meta":{"title":"Connect the Chrome Extension · Despia"},"_note":"The Despia Chrome extension's connect page (chrome-ext lane): without #plan= it connects the extension to the signed-in account in one tap (POST /v1/extension/connections, token handed over by postMessage); with #plan= the extension takes the plan. Unguarded like /activate: the page asks requireSession and signs in with next= this address."},{"path":"/settings/integrations","component":"platform.StoreConnect","parent":"/app-stores","meta":{"title":"Connect a Store · Despia"},"_note":"THE UPLOAD-LINK PAGE (and the same card opened inside the console). The API's upload links land here: ?connect=<catalogId>&workspace=<org>&token=<ul1...>&expires=<iso>. No route guard on purpose, like /activate: the page asks requireSession and, signed out, goes to /login?next=<this exact address>, so the link survives the sign in (a guard's static redirect would drop it)."},{"path":"/connect/google","component":"platform.StoreConnect","parent":"/app-stores","meta":{"title":"Connect Google Play · Despia"},"_note":"The Google Play connect page by its own address (the same card as /settings/integrations?connect=...). Sign in with Google returns here by default. Unguarded like /settings/integrations: the page asks requireSession and signs in with next=."},{"path":"/connect/google/progress/:job","component":"platform.GoogleProgress","meta":{"title":"Connecting Google Play · Despia"},"_note":"Where Google returns after Sign in with Google (the API's callback redirects here; it builds no page). Unguarded like /connect/google: the page asks requireSession for a job and signs in with next=; ?problem= states (a link that cannot be trusted) need no session."},{"path":"/connect/google/progress","component":"platform.GoogleProgress","meta":{"title":"Connecting Google Play · Despia"},"_note":"Where Google returns after Sign in with Google (the API's callback redirects here; it builds no page). Unguarded like /connect/google: the page asks requireSession for a job and signs in with next=; ?problem= states (a link that cannot be trusted) need no session."},{"path":"/connect/apple","component":"platform.StoreConnect","parent":"/app-stores","meta":{"title":"Connect App Store Connect · Despia"},"_note":"The App Store Connect connect page by its own address (the same card as /settings/integrations?connect=...). Sign in with Google returns here by default. Unguarded like /settings/integrations: the page asks requireSession and signs in with next=."},{"path":"/settings/integrations/:id","component":"platform.IntegrationDetail","meta":{"title":"Store Account · Despia","navigationTitle":"Store Account"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/builds/:id/log","component":"platform.BuildLog","meta":{"title":"Build Log · Despia"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/builds/:id","component":"platform.BuildDetail","meta":{"title":"Build · Despia","navigationTitle":"Build"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/submissions/:id","component":"platform.SubmissionDetail","meta":{"title":"Submission · Despia","navigationTitle":"Submission"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/migrate","component":"platform.Migrate","meta":{"title":"Move to V4 · Despia"}},{"path":"/migrate/apps","component":"platform.MigrateApps","meta":{"title":"Move to V4 · Despia"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login?next=%2Fmigrate%2Fapps","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/staff/migrations","component":"platform.StaffMigrations","meta":{"title":"Migration requests · Despia"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login?next=%2Fstaff%2Fmigrations","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/staff/requests","component":"platform.StaffRequests","meta":{"title":"Requests · Despia"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login?next=%2Fstaff%2Frequests","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/staff/inbox","component":"platform.StaffInbox","meta":{"title":"Inbox · Despia"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login?next=%2Fstaff%2Finbox","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/staff/inbox/:id","component":"platform.StaffConversation","meta":{"title":"Conversation · Despia","navigationTitle":"Conversation"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/support/:id","component":"platform.SupportChat","meta":{"title":"Support · Despia","navigationTitle":"Support"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/staff/email","component":"platform.StaffEmail","meta":{"title":"Email · Despia"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login?next=%2Fstaff%2Femail","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/apps/new","component":"platform.NewApp","meta":{"title":"New App · Despia","navigationTitle":"New App"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/apps/new/import","component":"platform.NewApp","meta":{"title":"Import from GitHub · Despia","navigationTitle":"Import from GitHub"},"guard":"dsx.cookie.dsx_staff == '1' && dsx.cookie.dsx_session == '1'","redirect":"/soon/custom-packages","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/apps/new/:template","component":"platform.TemplateSetup","meta":{"title":"New App · Despia","navigationTitle":"Template"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/new","redirect":"/apps/new","status":302},{"path":"/apps/:id/app-groups","component":"platform.AppleSetup","meta":{"title":"App Groups · Despia"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/apps/:id/store-setup","component":"platform.StoreSetup","meta":{"title":"Store Setup · Despia"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/convert/:id/app-groups","component":"platform.AppleSetup","meta":{"title":"App Groups · Despia"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/apps/:id/test","component":"platform.TestOnPhone","meta":{"title":"Test on Phone · Despia"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/apps/:id/submissions","component":"platform.ConvertProject","meta":{"title":"App · Despia"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations","/v1/projects/:id","/v1/projects/:id/setup"],"status":302},{"path":"/apps/:id/policies","component":"platform.StorePolicies","meta":{"title":"Policies · Despia"},"guard":"dsx.cookie.dsx_staff == '1' && dsx.cookie.dsx_session == '1'","redirect":"/soon/store-policies","_note":"Not open to everyone yet (Packages/ConvertData/web/rollout.js, area store-policies): staff see the page, everyone else the Coming soon page. The API refuses the area for non-staff too.","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/apps/:id/store-listing","component":"platform.ConvertProject","meta":{"title":"App · Despia"},"guard":"dsx.cookie.dsx_staff == '1' && dsx.cookie.dsx_session == '1'","redirect":"/soon/store-listing","_note":"Not open to everyone yet (Packages/ConvertData/web/rollout.js, area store-listing): staff see the section, everyone else the Coming soon page. The API refuses the area for non-staff too.","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations","/v1/projects/:id","/v1/projects/:id/setup"],"status":302},{"path":"/apps/:id/settings/icon","component":"platform.ConvertProject","meta":{"title":"App · Despia"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","_note":"The older form of the icon editor link: the app page replaces it with /apps/:id/settings?open=icon (the Agent's Edit Your Icon card), which opens the editor; closing or saving goes back to /apps/:id/settings.","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations","/v1/projects/:id","/v1/projects/:id/setup"],"status":302},{"path":"/apps/:id/:section","component":"platform.ConvertProject","meta":{"title":"App · Despia"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations","/v1/projects/:id","/v1/projects/:id/setup"],"status":302},{"path":"/convert/:id/submissions","component":"platform.ConvertProject","meta":{"title":"App · Despia"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/convert/:id/store-listing","component":"platform.ConvertProject","meta":{"title":"App · Despia"},"guard":"dsx.cookie.dsx_staff == '1' && dsx.cookie.dsx_session == '1'","redirect":"/soon/store-listing","_note":"Not open to everyone yet (Packages/ConvertData/web/rollout.js, area store-listing): staff see the section, everyone else the Coming soon page. The API refuses the area for non-staff too.","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/convert/:id/:section","component":"platform.ConvertProject","meta":{"title":"App · Despia"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/apps/:id","component":"platform.ConvertProject","meta":{"title":"App · Despia","navigationTitle":"App"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations","/v1/projects/:id","/v1/projects/:id/setup"],"status":302},{"path":"/convert/:id","component":"platform.ConvertProject","meta":{"title":"App · Despia","navigationTitle":"App"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/apps","component":"platform.ProjectsScreen","meta":{"title":"Apps · Despia","navigationTitle":"Apps"},"tabRoot":true,"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations","/v1/projects?include=latestBuild","/v1/legacy-v3/apps"],"status":302},{"path":"/help","component":"platform.ProjectsScreen","meta":{"title":"Help · Despia","navigationTitle":"Apps"},"tabRoot":true,"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login?next=%2Fhelp","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations","/v1/projects?include=latestBuild","/v1/legacy-v3/apps"],"status":302},{"path":"/agent","component":"platform.ProjectsScreen","meta":{"title":"Agent · Despia","navigationTitle":"Apps"},"_note":"The Agent tab's own address: opened directly or reloaded, the Apps page draws with its tab bar and the Agent opens over it (Shell deepLink).","tabRoot":true,"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login?next=%2Fagent","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations","/v1/projects?include=latestBuild","/v1/legacy-v3/apps"],"status":302},{"path":"/convert","redirect":"/apps","status":302},{"path":"/builds","component":"platform.BuildsScreen","master":true,"meta":{"title":"Builds · Despia","navigationTitle":"Builds"},"tabRoot":true,"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/explore/:id","component":"platform.PackageScreen","meta":{"title":"Package · Despia"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/explore","component":"platform.ExploreScreen","compactParent":"/settings","meta":{"title":"Explore · Despia","navigationTitle":"Packages"},"tabRoot":true,"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/app-stores/:id","component":"platform.IntegrationDetail","meta":{"title":"Store Account · Despia","navigationTitle":"Store Account"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/app-stores","component":"platform.AppStoresScreen","compactParent":"/settings","meta":{"title":"App Stores · Despia","navigationTitle":"App Stores"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/credentials","redirect":"/app-stores","status":302},{"path":"/invite/:token","component":"platform.InviteScreen","meta":{"title":"Invitation · Despia"}},{"path":"/settings","component":"platform.SettingsScreen","tabRoot":true,"meta":{"title":"Settings · Despia","navigationTitle":"Settings"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/members","component":"platform.MembersScreen","compactParent":"/settings","meta":{"title":"Members · Despia","navigationTitle":"Members"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/tokens","component":"platform.TokensScreen","compactParent":"/settings","meta":{"title":"Access tokens · Despia","navigationTitle":"Access Tokens"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/billing","component":"platform.BillingScreen","compactParent":"/settings","meta":{"title":"Plan and credits · Despia","navigationTitle":"Plan and Credits"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/reseller","component":"platform.ResellerScreen","meta":{"title":"Reseller API · Despia","navigationTitle":"Reseller API"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login?next=%2Freseller","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/dedicated-cloud","component":"platform.DedicatedCloudScreen","meta":{"title":"Dedicated Cloud · Despia","navigationTitle":"Dedicated Cloud"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login?next=%2Fdedicated-cloud","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/workspace","component":"platform.WorkspaceScreen","compactParent":"/settings","meta":{"title":"Workspace settings · Despia","navigationTitle":"Workspace Settings"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/soon/store-submissions","redirect":"/soon/store-review","_note":"The area was split into store-testing and store-review: an old link lands on the review one.","status":302},{"path":"/soon/:feature/:id","component":"platform.ComingSoon","parent":"/apps/:id","meta":{"title":"Coming soon · Despia"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","_note":"The page a person who is not staff sees for an area that is not open to everyone yet (Packages/ConvertData/web/rollout.js). The gated rows send them here before the first byte.","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302},{"path":"/soon/:feature","component":"platform.ComingSoon","meta":{"title":"Coming soon · Despia"},"guard":"dsx.cookie.dsx_session == '1'","redirect":"/login","_note":"The page a person who is not staff sees for an area that is not open to everyone yet (Packages/ConvertData/web/rollout.js). The gated rows send them here before the first byte.","seed":["/v1/auth/session","/v1/me/profile","/v1/organisations"],"status":302}],"notFound":"platform.NotFound","router":{"transition":"dsx"},"customIcons":{"agent.mark":{"d":"M7.327 3.727L17.459 13.859C18.912 15.312 18.659 15.646 16.602 15.682C14.936 15.712 13.292 16.064 11.76 16.721C10.229 17.377 8.839 18.325 7.669 19.512C6.378 20.821 6 20.76 6 18.922L6 4.277C6 2.988 6.416 2.816 7.327 3.727ZM16.272 5.28C16.272 6 16.656 6.666 17.28 7.026C17.904 7.386 18.672 7.386 19.296 7.026C19.92 6.666 20.304 6 20.304 5.28C20.304 4.56 19.92 3.894 19.296 3.534C18.672 3.174 17.904 3.174 17.28 3.534C16.656 3.894 16.272 4.56 16.272 5.28Z","evenOdd":true},"arrow.triangle.pull":{"d":"M2.25 4.875C2.251 3.159 3.539 1.716 5.244 1.523C6.949 1.329 8.528 2.446 8.914 4.118C9.299 5.791 8.368 7.486 6.75 8.058L6.75 15.942C8.301 16.49 9.231 18.075 8.953 19.696C8.675 21.317 7.27 22.502 5.625 22.502C3.98 22.502 2.575 21.317 2.297 19.696C2.019 18.075 2.949 16.49 4.5 15.942L4.5 8.058C3.151 7.581 2.25 6.306 2.25 4.875ZM10.766 4.61L14.36 1.016C14.467 0.908 14.628 0.876 14.769 0.934C14.909 0.992 15 1.129 15 1.281L15 3.75L16.5 3.75C18.571 3.75 20.25 5.429 20.25 7.5L20.25 15.942C21.801 16.49 22.731 18.075 22.453 19.696C22.175 21.317 20.77 22.502 19.125 22.502C17.48 22.502 16.075 21.317 15.797 19.696C15.519 18.075 16.449 16.49 18 15.942L18 7.5C18 6.672 17.328 6 16.5 6L15 6L15 8.469C15 8.621 14.909 8.758 14.769 8.816C14.628 8.874 14.467 8.842 14.36 8.734L10.766 5.141C10.695 5.07 10.655 4.975 10.655 4.875C10.655 4.775 10.695 4.68 10.766 4.61ZM5.625 3.75C5.004 3.75 4.5 4.254 4.5 4.875C4.5 5.496 5.004 6 5.625 6C6.246 6 6.75 5.496 6.75 4.875C6.75 4.254 6.246 3.75 5.625 3.75ZM5.625 18C5.004 18 4.5 18.504 4.5 19.125C4.5 19.746 5.004 20.25 5.625 20.25C6.246 20.25 6.75 19.746 6.75 19.125C6.75 18.504 6.246 18 5.625 18ZM18 19.125C18 19.746 18.504 20.25 19.125 20.25C19.746 20.25 20.25 19.746 20.25 19.125C20.25 18.504 19.746 18 19.125 18C18.504 18 18 18.504 18 19.125Z"}},"shell":{"appName":"Despia Platform","appDescription":"Create, build and ship your apps for iOS, Android and the web with Despia.","lang":"en","importMapJson":"{\n  \"imports\": {\n    \"@despia-native/dom\": \"./vendor/dom/index.12628c54b8.js\",\n    \"@despia-native/dom/boot\": \"./vendor/dom/boot.7822ba9de9.js\",\n    \"@despia-native/dom/elements\": \"./vendor/dom/elements.11a5316995.js\",\n    \"@despia-native/dom/navigation-trail\": \"./vendor/dom/navigation-trail.07021d36e3.js\",\n    \"@despia-native/dom/offline\": \"./vendor/dom/offline.74c3783442.js\",\n    \"@despia-native/dom/route-chrome\": \"./vendor/dom/route-chrome.4d909e53fb.js\",\n    \"@despia-native/dom/route-chrome-style\": \"./vendor/dom/route-chrome-style.2702900385.js\",\n    \"@despia-native/kernel\": \"./vendor/kernel/index.14e5441817.js\",\n    \"dsx:icon-corpus\": \"./vendor/icon-corpus.7041b756.js\",\n    \"dsx:package/convertdata\": \"./vendor/packages/convertdata.cb8da541e7.js\",\n    \"dsx:package/consent\": \"./vendor/packages/consent.94f9316959.js\",\n    \"dsx:package/datafast\": \"./vendor/packages/datafast.b4b0f53e5e.js\",\n    \"dsx:package/tracking\": \"./vendor/packages/tracking.adc848e67c.js\",\n    \"dsx:package/foundation\": \"./vendor/packages/foundation.19846fdc08.js\",\n    \"dsx:package/routing\": \"./vendor/packages/routing.60e1cebc8b.js\",\n    \"dsx:package/appearance\": \"./vendor/packages/appearance.b3c5126044.js\",\n    \"dsx:package/blocks\": \"./vendor/packages/blocks.2e361de87f.js\",\n    \"dsx:package/browser\": \"./vendor/packages/browser.12b3c61a69.js\",\n    \"dsx:package/clipboard\": \"./vendor/packages/clipboard.df79c4c006.js\",\n    \"dsx:package/files\": \"./vendor/packages/files.c3060a308d.js\",\n    \"dsx:package/toast\": \"./vendor/packages/toast.21aa06473b.js\"\n  },\n  \"integrity\": {\n    \"./vendor/dom/boot.7822ba9de9.js\": \"sha256-eCK6nekCudiywRv5vAGg8oahmcF9XMx7FvESidwcq8I=\",\n    \"./vendor/dom/elements.11a5316995.js\": \"sha256-EaUxaZVIym2KQZvXpv18afTtferJogai+89zT1BCGNQ=\",\n    \"./vendor/dom/index.12628c54b8.js\": \"sha256-EmKMVLg+lFWvU6F6jLlraiqf/kXRr9FtOlLIEhhJEhk=\",\n    \"./vendor/dom/navigation-trail.07021d36e3.js\": \"sha256-BwIdNuMrWztfY9GWWdIslwhSk47FU5rs2cpglFoepfk=\",\n    \"./vendor/dom/offline.74c3783442.js\": \"sha256-dMN4NEIWtmWsOhjP713P1u51w0+GRzrW4n+udtDfpsM=\",\n    \"./vendor/dom/route-chrome-style.2702900385.js\": \"sha256-JwKQA4V4PCf2MoxgfMc7r/m43o0iGLRDqQMjnqczhMc=\",\n    \"./vendor/dom/route-chrome.4d909e53fb.js\": \"sha256-TZCeU/uh7v5dBo6z/7d39towGSR6NtnQn+2bwBRBQCI=\",\n    \"./vendor/icon-corpus.7041b756.js\": \"sha256-cEG3Vl7+HFGJu/ecdDZno56v/LKtUxqBZfhZ0V7MesY=\",\n    \"./vendor/kernel/index.14e5441817.js\": \"sha256-FOVEGBekHxiB6+MhNC2Zaa8scI4JnjLaiC50Z7YCyYQ=\",\n    \"./vendor/packages/appearance.b3c5126044.js\": \"sha256-s8USYER4w8NHVuw4qzAQkvr/ZE4d21+L4VU3emPnogc=\",\n    \"./vendor/packages/blocks.2e361de87f.js\": \"sha256-LjYd6H99qq4mAxwmrn87dd9MDM9RVqqJSMeLuCNIU2E=\",\n    \"./vendor/packages/browser.12b3c61a69.js\": \"sha256-ErPGGmnJVOydRvyugZWQb8vfjnu1XqS0ku4RPPKoyK8=\",\n    \"./vendor/packages/clipboard.df79c4c006.js\": \"sha256-33nEwAYNtKH33wq8k/ZE8/QxkpO/aFpJJb86DBYvHD0=\",\n    \"./vendor/packages/consent.94f9316959.js\": \"sha256-lPkxaVkMWOF7sWQ+kBUcYbx4O0pPe1lUFc5L7FkAbt8=\",\n    \"./vendor/packages/convertdata.cb8da541e7.js\": \"sha256-y42lQecL+zv4sDSVb+Tr28Y7pL8ymgB95y/pdqWck6I=\",\n    \"./vendor/packages/datafast.b4b0f53e5e.js\": \"sha256-tLD1Pl4eAuOlWZP7JDXGq9OhYPKIZUyioU+4zH9+jd0=\",\n    \"./vendor/packages/files.c3060a308d.js\": \"sha256-wwYKMI0VyNMDGxHt2yWmZYcAQ4ZGpaRywRIdS15Ubdc=\",\n    \"./vendor/packages/foundation.19846fdc08.js\": \"sha256-GYRv3AifArYQO/0pL40cyefFEVabfJMDpyLxgS0vCXk=\",\n    \"./vendor/packages/routing.60e1cebc8b.js\": \"sha256-YOHOvIta74LKjgG8TEIEmjSBsGVLgfpdBEZBaXvJG2I=\",\n    \"./vendor/packages/toast.21aa06473b.js\": \"sha256-IaoGRzsnCUFlOgc7fHfeR1rbE9vnzVck2CEtYvU1dZk=\",\n    \"./vendor/packages/tracking.adc848e67c.js\": \"sha256-rchI5nwGKEtd6B1YOxfCnWaXudcpZJPuo3F7pbkySqg=\"\n  }\n}","mainSrc":"./main.a0ad18cbd075.js","manifestHref":"/manifest.webmanifest","fontFaceCss":"@font-face{font-family:\"InterVariable\";src:url(/fonts/InterVariable-latin.woff2) format(\"woff2\");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}@font-face{font-family:\"InterVariable\";src:url(/fonts/InterVariable-latin-ext.woff2) format(\"woff2\");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0100-017F,U+0192,U+01FA-01FF,U+0218-021B,U+0259,U+2020,U+20A0-20BF,U+2113;}@font-face{font-family:\"InterVariable Fallback\";src:local(\"Arial\"),local(\"Liberation Sans\"),local(\"Arimo\");font-weight:100 549;size-adjust:107.30%;ascent-override:90.28%;descent-override:22.48%;line-gap-override:0.00%;}@font-face{font-family:\"InterVariable Fallback\";src:local(\"Arial Bold\"),local(\"Arial-BoldMT\"),local(\"Liberation Sans Bold\"),local(\"LiberationSans-Bold\"),local(\"Arimo Bold\"),local(\"Arimo-Bold\");font-weight:550 1000;size-adjust:107.30%;ascent-override:90.28%;descent-override:22.48%;line-gap-override:0.00%;}","fontPreloads":[{"href":"/fonts/InterVariable-latin.woff2","type":"font/woff2"}],"scripts":["/consent-first-paint.js","/light-device.js"],"buildId":"a0ad18cbd075"},"partial":true,"slices":{"platform.Activate":"page.7a092d82f06ca5ec.json","platform.AiTerms":"page.feef7c45cc9eef43.json","platform.AppStoresScreen":"page.63084306fc9ef6b4.json","platform.AppleSetup":"page.1979e0be2f14cad8.json","platform.BillingScreen":"page.09c8d4973187cf67.json","platform.BuildDetail":"page.2cc8fd2afc0771ac.json","platform.BuildLog":"page.7643b04feb60bb86.json","platform.BuildsScreen":"page.354dcebdc39166d9.json","platform.ComingSoon":"page.2c906c3ffa094e8a.json","platform.ConnectionConfirm":"page.e844fac099749248.json","platform.ConnectionsScreen":"page.ddeeb7022ff799b3.json","platform.ConvertProject":"page.a058d2b0a1bb17ac.json","platform.DedicatedCloudScreen":"page.a030db60b11b36af.json","platform.ExploreScreen":"page.9af5a392df4f7fa0.json","platform.ExtensionConnect":"page.75364e0ab8e375a1.json","platform.Goodbye":"page.5ae05e3e3cb4dc2d.json","platform.GoogleProgress":"page.b0e2f104777f7fb6.json","platform.IntegrationDetail":"page.0d3e80753a0cd66d.json","platform.InviteScreen":"page.1bff59197b9d5062.json","platform.Login":"page.f29035a535106fb0.json","platform.McpBeta":"page.bafcca052f038b61.json","platform.McpConsent":"page.7a8f26e9e6a15452.json","platform.MembersScreen":"page.fb2a5ebea0fa6f4f.json","platform.Migrate":"page.28cab685d9d0c15a.json","platform.MigrateApps":"page.c44eee8dd8eeaff5.json","platform.NewApp":"page.729dc64699bbd8f3.json","platform.PackageScreen":"page.f0c1d1f252c493ca.json","platform.PrivacyPolicy":"page.79bf6d2f36bdfdad.json","platform.ResellerScreen":"page.c6e31813808019e4.json","platform.SettingsScreen":"page.2b2a8f3738e2658f.json","platform.StaffConversation":"page.9901543c669140fb.json","platform.StaffEmail":"page.945079341d008cfe.json","platform.StaffInbox":"page.f273ffdb6a6caacc.json","platform.StaffMigrations":"page.840500c4d55a9aa5.json","platform.StaffRequests":"page.ecbc4207ede28c5f.json","platform.StoreConnect":"page.4353b5bfd569814e.json","platform.StorePolicies":"page.734fcc89966b84db.json","platform.StoreSetup":"page.65c334b8713a446e.json","platform.SubmissionDetail":"page.6985ae76696a705d.json","platform.Subprocessors":"page.3e93216d46eb9b58.json","platform.SupportChat":"page.284d6fd21d3dfd44.json","platform.TemplateSetup":"page.cfb44c7bc40d61b4.json","platform.TestOnPhone":"page.1f41fbc44451c71c.json","platform.TokensScreen":"page.a0fff6e397917442.json","platform.Unsubscribe":"page.35470c1fbd84e251.json","platform.WorkspaceScreen":"page.bfe442c410facbe4.json"}}