@fluid-app/fluid-cli-theme-dev 0.1.65 → 0.1.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # @fluid-app/fluid-cli-theme-dev
2
2
 
3
- Fluid CLI plugin for theme development. Adds `fluid theme` commands for local dev server, push, pull, and scaffolding.
3
+ Fluid CLI plugin for theme development. Adds `fluid theme` commands for local dev server, push, pull, scaffolding, and
4
+ page-clone evidence (`crawl` / `compare`).
4
5
 
5
6
  ## Installation
6
7
 
@@ -162,6 +163,89 @@ fluid theme skills install --force # overwrite existing skills with
162
163
 
163
164
  Existing skills are left untouched unless you confirm the overwrite (or pass `--force`).
164
165
 
166
+ ### `fluid theme crawl <url>`
167
+
168
+ Scrape a public page through Fluid's managed browser (JavaScript rendered) and print JSON
169
+ with its Markdown, optional HTML, and a hosted screenshot URL. Mist's agent runs this
170
+ command for every crawl.
171
+
172
+ ```bash
173
+ fluid theme crawl https://example.com/ # Markdown, main content only
174
+ fluid theme crawl https://example.com/ --format html --format screenshot
175
+ fluid theme crawl https://example.com/ \
176
+ --viewport 1440x900 --full-page --quality 90 --no-main-content-only \
177
+ --evidence . # durable page-clone bundle
178
+ fluid theme crawl https://example.com/ \
179
+ --action '{"type":"click","selector":"#accept-cookies"}' \
180
+ --action '{"type":"wait","milliseconds":1000}' # act before the capture
181
+ ```
182
+
183
+ | Option | Meaning |
184
+ | ------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
185
+ | `--format <f>` | `markdown`, `html`, or `screenshot`; repeatable or comma-separated. Default `markdown`, or all three with `--evidence` |
186
+ | `--viewport WxH` | Exact CSS-pixel viewport (implies a screenshot). Use `1440x900` and `390x844` for desktop/mobile parity |
187
+ | `--full-page` | Capture the complete document height |
188
+ | `--quality <1-100>` | Screenshot quality |
189
+ | `--no-main-content-only` | Keep the nav, announcement bar, and footer. Use it for site cloning |
190
+ | `--evidence <dir>` | Save an evidence bundle under `<dir>/.mist-desktop/source-baselines/`. Requires `--viewport` |
191
+ | `--action <json>` | A browser action before the evidence walk: `{"type":"wait","milliseconds":N}` (up to 10000), `{"type":"click","selector":"…"}`, or `{"type":"scroll","direction":"up\|down"}`. Repeatable, up to 8 |
192
+ | `--post-evidence-action <json>` | An action after the evidence walk and before the final screenshot, e.g. to close a drawer the walk opened. Also accepts `{"type":"dismiss","selector":"…","scope_selector":"…"}`, which the sidecar records. Needs `--evidence` and `--full-page`. Repeatable, up to 8 |
193
+ | `--direct` | Skip Fluid's endpoint and call Firecrawl with your own `FIRECRAWL_API_KEY` |
194
+
195
+ `--evidence` writes the bundle in the layout Mist's `compare_preview_to_source` reads, so
196
+ either Mist or `fluid theme compare` can compare it:
197
+ the full screenshot, the Markdown/HTML, the raw HTML, the page's own CSS, and a
198
+ `.page-evidence.json` sidecar with landmarks, computed styles, SHA-256 hashes, and receipts.
199
+ The JSON output lists every path (`evidence.files`). Inline content is capped at about
200
+ 200KB, or a 16KB excerpt when the full documents are saved. The scrape times out after
201
+ 60s. With `--evidence`, stylesheet recovery is bounded at 30s and the screenshot download
202
+ at 20s. Both downloads refuse localhost and private-network addresses.
203
+
204
+ **Where the crawl runs.** The CLI calls Fluid's crawl endpoint with your `fluid login`
205
+ token, so you do not need a Firecrawl key. If the endpoint is not deployed on your API
206
+ host (HTTP 404) or not configured (HTTP 503), and `FIRECRAWL_API_KEY` is set, the CLI
207
+ falls back to Firecrawl directly with that key. Create a key at
208
+ <https://www.firecrawl.dev/app/api-keys>. Errors are printed as JSON
209
+ (`{"ok": false, "error": {"code": …, "message": …}}`), and the command exits 1.
210
+
211
+ ### `fluid theme compare`
212
+
213
+ Render the local `fluid theme dev` preview at a crawl bundle's exact viewport. It prints
214
+ the same banded pixel diff Mist's `compare_preview_to_source` reports: a `bands[]` array
215
+ and a worst-first `summary`, with exact-copy and media-parity checks.
216
+
217
+ ```bash
218
+ fluid theme dev & # serves http://127.0.0.1:9292
219
+ fluid theme compare --source . # newest "/" capture in ./.mist-desktop/source-baselines
220
+ fluid theme compare --source .mist-desktop/source-baselines/<file>.page-evidence.json \
221
+ --route /collections/all --geometry diagnostic --media diagnostic
222
+ ```
223
+
224
+ | Option | Default | Meaning |
225
+ | ------------------------------- | ----------------------- | ----------------------------------------------------------------------- |
226
+ | `--source <path>` | (required) | A `.page-evidence.json` sidecar, its directory, or the `--evidence` dir |
227
+ | `--route <path>` | `/` | Local route to render |
228
+ | `--source-route <path>` | `--route` | Source pathname when it differs (for example `/en-us` for `/`) |
229
+ | `--url <url>` | `http://127.0.0.1:9292` | Base URL of the running preview |
230
+ | `--mode full\|viewport` | `full` | Whole page, or the top viewport only |
231
+ | `--copy exact\|diagnostic` | `exact` | `exact` fails on any ordered rendered-copy mismatch |
232
+ | `--geometry strict\|diagnostic` | `strict` | `strict` fails when document height differs by more than 5% |
233
+ | `--media strict\|diagnostic` | `strict` | `strict` fails on image/video parity differences |
234
+ | `--viewport WxH` | | Pick the capture at this viewport when `--source` holds several |
235
+
236
+ The command refuses mixed captures, silent resizing, failed routes, truncation, horizontal
237
+ overflow, unresolved media, and copy mismatches. On a refusal, `ok` is `false` and the
238
+ command exits 1. A successful run means the evidence is available. It does not mean the
239
+ page passes visually. Fix the worst band, then compare again. The local capture is saved
240
+ under `.mist-desktop/screenshots/`.
241
+
242
+ `compare` needs a headless browser. Playwright is an optional peer dependency, so a
243
+ theme-dev install never downloads browsers. Install it once with:
244
+
245
+ ```bash
246
+ npm i -g playwright && npx playwright install chromium
247
+ ```
248
+
165
249
  ## Theme Directory Structure
166
250
 
167
251
  A valid theme directory must contain at least one of: `templates/`, `assets/`,
@@ -1240,12 +1240,12 @@
1240
1240
  "_useInfiniteQuery-Dtzov9uh.js"
1241
1241
  ]
1242
1242
  },
1243
- "_MemberManagementProviders-C1bwc3tB.js": {
1244
- "file": "chunks/MemberManagementProviders-C1bwc3tB.js",
1243
+ "_MemberManagementProviders-DiQkiWzc.js": {
1244
+ "file": "chunks/MemberManagementProviders-DiQkiWzc.js",
1245
1245
  "name": "MemberManagementProviders",
1246
1246
  "imports": [
1247
1247
  "_account-screen-runtime-DYMunv0A.js",
1248
- "_countries-api-adapter-lxSE748x.js",
1248
+ "_countries-api-adapter-InKUzF1q.js",
1249
1249
  "_client.gen-Ck6Pm2jV.js",
1250
1250
  "_hey-api-client-DGRBsZ7Y.js",
1251
1251
  "_sheet-haptics-context-iOjKcNDj.js"
@@ -1295,13 +1295,13 @@
1295
1295
  "_schemas-D94nZk5x.js"
1296
1296
  ]
1297
1297
  },
1298
- "_OrdersScreen-D9HfcTaa.js": {
1299
- "file": "chunks/OrdersScreen-D9HfcTaa.js",
1298
+ "_OrdersScreen-DrZ3SwEu.js": {
1299
+ "file": "chunks/OrdersScreen-DrZ3SwEu.js",
1300
1300
  "name": "OrdersScreen",
1301
1301
  "imports": [
1302
1302
  "_account-screen-runtime-DYMunv0A.js",
1303
1303
  "_sheet-haptics-context-iOjKcNDj.js",
1304
- "_MemberManagementProviders-C1bwc3tB.js",
1304
+ "_MemberManagementProviders-DiQkiWzc.js",
1305
1305
  "_useInfiniteQuery-Dtzov9uh.js",
1306
1306
  "_Breadcrumb-BQKo8hPc.js",
1307
1307
  "_store-api-context-B96Ip2FB.js",
@@ -1355,8 +1355,8 @@
1355
1355
  "_account-screen-runtime-DYMunv0A.js"
1356
1356
  ]
1357
1357
  },
1358
- "_cli-preview-BT_ARKjk.js": {
1359
- "file": "chunks/cli-preview-BT_ARKjk.js",
1358
+ "_cli-preview-BNmwafsA.js": {
1359
+ "file": "chunks/cli-preview-BNmwafsA.js",
1360
1360
  "name": "cli-preview",
1361
1361
  "dynamicImports": [
1362
1362
  "src/screens/SubscriptionsScreen.tsx",
@@ -1381,25 +1381,25 @@
1381
1381
  "_account-screen-runtime-DYMunv0A.js"
1382
1382
  ]
1383
1383
  },
1384
- "_countries-api-adapter-lxSE748x.js": {
1385
- "file": "chunks/countries-api-adapter-lxSE748x.js",
1384
+ "_countries-api-adapter-InKUzF1q.js": {
1385
+ "file": "chunks/countries-api-adapter-InKUzF1q.js",
1386
1386
  "name": "countries-api-adapter",
1387
1387
  "imports": [
1388
1388
  "_account-screen-runtime-DYMunv0A.js",
1389
1389
  "_client.gen-Ck6Pm2jV.js"
1390
1390
  ]
1391
1391
  },
1392
- "_create-card-entry-container-D6kSC2Aw.js": {
1393
- "file": "chunks/create-card-entry-container-D6kSC2Aw.js",
1392
+ "_create-card-entry-container-C9z7JILL.js": {
1393
+ "file": "chunks/create-card-entry-container-C9z7JILL.js",
1394
1394
  "name": "create-card-entry-container",
1395
1395
  "imports": [
1396
1396
  "_account-screen-runtime-DYMunv0A.js",
1397
- "_MemberManagementProviders-C1bwc3tB.js",
1397
+ "_MemberManagementProviders-DiQkiWzc.js",
1398
1398
  "_hey-api-client-DGRBsZ7Y.js",
1399
1399
  "_sheet-haptics-context-iOjKcNDj.js",
1400
1400
  "_schemas-D94nZk5x.js",
1401
1401
  "_useInfiniteQuery-Dtzov9uh.js",
1402
- "_countries-api-adapter-lxSE748x.js",
1402
+ "_countries-api-adapter-InKUzF1q.js",
1403
1403
  "_Breadcrumb-BQKo8hPc.js",
1404
1404
  "_MobileActionSheet-DMeTsLlK.js",
1405
1405
  "_sidebar-Ckzom4Xc.js",
@@ -1562,11 +1562,11 @@
1562
1562
  "src": "src/browser/cli-preview.ts",
1563
1563
  "isEntry": true,
1564
1564
  "imports": [
1565
- "_cli-preview-BT_ARKjk.js"
1565
+ "_cli-preview-BNmwafsA.js"
1566
1566
  ]
1567
1567
  },
1568
1568
  "src/runtime/mount-account-screen.tsx": {
1569
- "file": "chunks/mount-account-screen-C_CdoGir.js",
1569
+ "file": "chunks/mount-account-screen-4rReAofI.js",
1570
1570
  "name": "mount-account-screen",
1571
1571
  "src": "src/runtime/mount-account-screen.tsx",
1572
1572
  "isDynamicEntry": true,
@@ -1575,19 +1575,19 @@
1575
1575
  "_sidebar-Ckzom4Xc.js",
1576
1576
  "_store-api-context-B96Ip2FB.js",
1577
1577
  "_hey-api-client-DGRBsZ7Y.js",
1578
- "_cli-preview-BT_ARKjk.js",
1578
+ "_cli-preview-BNmwafsA.js",
1579
1579
  "_arrow-left-Bd7dJtIV.js"
1580
1580
  ]
1581
1581
  },
1582
1582
  "src/screens/ContactsScreen.tsx": {
1583
- "file": "chunks/ContactsScreen-gIiy4u7c.js",
1583
+ "file": "chunks/ContactsScreen-IsIZ_lQ0.js",
1584
1584
  "name": "ContactsScreen",
1585
1585
  "src": "src/screens/ContactsScreen.tsx",
1586
1586
  "isDynamicEntry": true,
1587
1587
  "imports": [
1588
1588
  "_account-screen-runtime-DYMunv0A.js",
1589
1589
  "_client.gen-Ck6Pm2jV.js",
1590
- "_countries-api-adapter-lxSE748x.js",
1590
+ "_countries-api-adapter-InKUzF1q.js",
1591
1591
  "_trash-2-wVweQZMw.js",
1592
1592
  "_schemas-D94nZk5x.js",
1593
1593
  "_sidebar-Ckzom4Xc.js",
@@ -1750,46 +1750,46 @@
1750
1750
  ]
1751
1751
  },
1752
1752
  "src/screens/OrdersScreen.tsx": {
1753
- "file": "chunks/OrdersScreen-C-b6i5jB.js",
1753
+ "file": "chunks/OrdersScreen-DkltVCtr.js",
1754
1754
  "name": "OrdersScreen",
1755
1755
  "src": "src/screens/OrdersScreen.tsx",
1756
1756
  "isDynamicEntry": true,
1757
1757
  "imports": [
1758
1758
  "_account-screen-runtime-DYMunv0A.js",
1759
- "_OrdersScreen-D9HfcTaa.js",
1760
- "_MemberManagementProviders-C1bwc3tB.js"
1759
+ "_OrdersScreen-DrZ3SwEu.js",
1760
+ "_MemberManagementProviders-DiQkiWzc.js"
1761
1761
  ]
1762
1762
  },
1763
1763
  "src/screens/ProfileScreen.tsx": {
1764
- "file": "chunks/ProfileScreen-DwXozaLs.js",
1764
+ "file": "chunks/ProfileScreen-Dxspc-6p.js",
1765
1765
  "name": "ProfileScreen",
1766
1766
  "src": "src/screens/ProfileScreen.tsx",
1767
1767
  "isDynamicEntry": true,
1768
1768
  "imports": [
1769
1769
  "_account-screen-runtime-DYMunv0A.js",
1770
- "_MemberManagementProviders-C1bwc3tB.js",
1771
- "_OrdersScreen-D9HfcTaa.js",
1772
- "_create-card-entry-container-D6kSC2Aw.js",
1770
+ "_MemberManagementProviders-DiQkiWzc.js",
1771
+ "_OrdersScreen-DrZ3SwEu.js",
1772
+ "_create-card-entry-container-C9z7JILL.js",
1773
1773
  "_use-store-DVmgsDXy.js",
1774
1774
  "_trash-2-wVweQZMw.js",
1775
1775
  "_schemas-D94nZk5x.js",
1776
1776
  "_sheet-haptics-context-iOjKcNDj.js",
1777
1777
  "_sidebar-Ckzom4Xc.js",
1778
- "_countries-api-adapter-lxSE748x.js",
1778
+ "_countries-api-adapter-InKUzF1q.js",
1779
1779
  "_map-pin-B2ScoijR.js",
1780
1780
  "_arrow-left-Bd7dJtIV.js",
1781
1781
  "_log-out-CSPZjXTK.js"
1782
1782
  ]
1783
1783
  },
1784
1784
  "src/screens/SubscriptionsScreen.tsx": {
1785
- "file": "chunks/SubscriptionsScreen-CIdYNpWT.js",
1785
+ "file": "chunks/SubscriptionsScreen-Be0C29uw.js",
1786
1786
  "name": "SubscriptionsScreen",
1787
1787
  "src": "src/screens/SubscriptionsScreen.tsx",
1788
1788
  "isDynamicEntry": true,
1789
1789
  "imports": [
1790
1790
  "_account-screen-runtime-DYMunv0A.js",
1791
- "_create-card-entry-container-D6kSC2Aw.js",
1792
- "_MemberManagementProviders-C1bwc3tB.js"
1791
+ "_create-card-entry-container-C9z7JILL.js",
1792
+ "_MemberManagementProviders-DiQkiWzc.js"
1793
1793
  ]
1794
1794
  },
1795
1795
  "src/styles/contacts.css?inline": {
@@ -1 +1 @@
1
- import "./chunks/cli-preview-BT_ARKjk.js";
1
+ import "./chunks/cli-preview-BNmwafsA.js";
@@ -1,6 +1,6 @@
1
1
  import { c as oe, l as i, J as wr, j as t, G as on, H as Ue, a6 as je, a4 as ln, a9 as Sr, aO as Mr, a3 as Tr, M as T, aE as cn, X as Mt, aZ as He, b6 as gt, aG as Er, b5 as Ar, O as q, a2 as Dr, U as Ne, a0 as dn, W, E as L, b7 as Pr, ax as zr, b8 as me, b9 as pe, ba as fe, bb as ge, bc as he, bd as Ir, aB as un, aC as mn, be as pn, aD as fn, C as Fr, bf as jt, a_ as gn, R as H, a1 as Rr, bg as Lr, B as Or, Y as hn, z as qr } from "./account-screen-runtime-DYMunv0A.js";
2
2
  import { c as $r, a as Kr, u as Br } from "./client.gen-Ck6Pm2jV.js";
3
- import { u as xn, a as Gr, c as Ur, C as Hr } from "./countries-api-adapter-lxSE748x.js";
3
+ import { u as xn, a as Gr, c as Ur, C as Hr } from "./countries-api-adapter-InKUzF1q.js";
4
4
  import { T as nt, u as _n } from "./trash-2-wVweQZMw.js";
5
5
  import { x as Yr, Z as Qr, M as rt, u as re, o as Vr, r as Ot, s as le, l as Wr, m as qt, C as bn, R as Pe, D as ze, P as yn } from "./schemas-D94nZk5x.js";
6
6
  import { u as xe, b as Xr } from "./sidebar-Ckzom4Xc.js";
@@ -800,7 +800,7 @@ const fo = (e) => e.client.get({
800
800
  security: [
801
801
  {
802
802
  in: "cookie",
803
- name: "portal_tenant_user_id",
803
+ name: "__Host-fluid_portal_tenant_user_id",
804
804
  type: "apiKey"
805
805
  }
806
806
  ],
@@ -811,7 +811,7 @@ const fo = (e) => e.client.get({
811
811
  security: [
812
812
  {
813
813
  in: "cookie",
814
- name: "portal_tenant_user_id",
814
+ name: "__Host-fluid_portal_tenant_user_id",
815
815
  type: "apiKey"
816
816
  }
817
817
  ],
@@ -826,7 +826,7 @@ const fo = (e) => e.client.get({
826
826
  security: [
827
827
  {
828
828
  in: "cookie",
829
- name: "portal_tenant_user_id",
829
+ name: "__Host-fluid_portal_tenant_user_id",
830
830
  type: "apiKey"
831
831
  }
832
832
  ],
@@ -837,7 +837,7 @@ const fo = (e) => e.client.get({
837
837
  security: [
838
838
  {
839
839
  in: "cookie",
840
- name: "portal_tenant_user_id",
840
+ name: "__Host-fluid_portal_tenant_user_id",
841
841
  type: "apiKey"
842
842
  }
843
843
  ],
@@ -848,7 +848,7 @@ const fo = (e) => e.client.get({
848
848
  security: [
849
849
  {
850
850
  in: "cookie",
851
- name: "portal_tenant_user_id",
851
+ name: "__Host-fluid_portal_tenant_user_id",
852
852
  type: "apiKey"
853
853
  }
854
854
  ],
@@ -863,7 +863,7 @@ const fo = (e) => e.client.get({
863
863
  security: [
864
864
  {
865
865
  in: "cookie",
866
- name: "portal_tenant_user_id",
866
+ name: "__Host-fluid_portal_tenant_user_id",
867
867
  type: "apiKey"
868
868
  }
869
869
  ],
@@ -878,7 +878,7 @@ const fo = (e) => e.client.get({
878
878
  security: [
879
879
  {
880
880
  in: "cookie",
881
- name: "portal_tenant_user_id",
881
+ name: "__Host-fluid_portal_tenant_user_id",
882
882
  type: "apiKey"
883
883
  }
884
884
  ],
@@ -889,7 +889,7 @@ const fo = (e) => e.client.get({
889
889
  security: [
890
890
  {
891
891
  in: "cookie",
892
- name: "portal_tenant_user_id",
892
+ name: "__Host-fluid_portal_tenant_user_id",
893
893
  type: "apiKey"
894
894
  }
895
895
  ],
@@ -904,7 +904,7 @@ const fo = (e) => e.client.get({
904
904
  security: [
905
905
  {
906
906
  in: "cookie",
907
- name: "portal_tenant_user_id",
907
+ name: "__Host-fluid_portal_tenant_user_id",
908
908
  type: "apiKey"
909
909
  }
910
910
  ],
@@ -915,7 +915,7 @@ const fo = (e) => e.client.get({
915
915
  security: [
916
916
  {
917
917
  in: "cookie",
918
- name: "portal_tenant_user_id",
918
+ name: "__Host-fluid_portal_tenant_user_id",
919
919
  type: "apiKey"
920
920
  }
921
921
  ],
@@ -930,7 +930,7 @@ const fo = (e) => e.client.get({
930
930
  security: [
931
931
  {
932
932
  in: "cookie",
933
- name: "portal_tenant_user_id",
933
+ name: "__Host-fluid_portal_tenant_user_id",
934
934
  type: "apiKey"
935
935
  }
936
936
  ],
@@ -941,7 +941,7 @@ const fo = (e) => e.client.get({
941
941
  security: [
942
942
  {
943
943
  in: "cookie",
944
- name: "portal_tenant_user_id",
944
+ name: "__Host-fluid_portal_tenant_user_id",
945
945
  type: "apiKey"
946
946
  }
947
947
  ],
@@ -956,7 +956,7 @@ const fo = (e) => e.client.get({
956
956
  security: [
957
957
  {
958
958
  in: "cookie",
959
- name: "portal_tenant_user_id",
959
+ name: "__Host-fluid_portal_tenant_user_id",
960
960
  type: "apiKey"
961
961
  }
962
962
  ],
@@ -967,7 +967,7 @@ const fo = (e) => e.client.get({
967
967
  security: [
968
968
  {
969
969
  in: "cookie",
970
- name: "portal_tenant_user_id",
970
+ name: "__Host-fluid_portal_tenant_user_id",
971
971
  type: "apiKey"
972
972
  }
973
973
  ],
@@ -982,7 +982,7 @@ const fo = (e) => e.client.get({
982
982
  security: [
983
983
  {
984
984
  in: "cookie",
985
- name: "portal_tenant_user_id",
985
+ name: "__Host-fluid_portal_tenant_user_id",
986
986
  type: "apiKey"
987
987
  }
988
988
  ],
@@ -993,7 +993,7 @@ const fo = (e) => e.client.get({
993
993
  security: [
994
994
  {
995
995
  in: "cookie",
996
- name: "portal_tenant_user_id",
996
+ name: "__Host-fluid_portal_tenant_user_id",
997
997
  type: "apiKey"
998
998
  }
999
999
  ],
@@ -1008,7 +1008,7 @@ const fo = (e) => e.client.get({
1008
1008
  security: [
1009
1009
  {
1010
1010
  in: "cookie",
1011
- name: "portal_tenant_user_id",
1011
+ name: "__Host-fluid_portal_tenant_user_id",
1012
1012
  type: "apiKey"
1013
1013
  }
1014
1014
  ],
@@ -1019,7 +1019,7 @@ const fo = (e) => e.client.get({
1019
1019
  security: [
1020
1020
  {
1021
1021
  in: "cookie",
1022
- name: "portal_tenant_user_id",
1022
+ name: "__Host-fluid_portal_tenant_user_id",
1023
1023
  type: "apiKey"
1024
1024
  }
1025
1025
  ],
@@ -1,5 +1,5 @@
1
1
  import { c as M, l as o, j as c, av as H, aw as S, X as W, aE as V, z as G } from "./account-screen-runtime-DYMunv0A.js";
2
- import { l as K, c as X, a as Z, C as J } from "./countries-api-adapter-lxSE748x.js";
2
+ import { l as K, c as X, a as Z, C as J } from "./countries-api-adapter-InKUzF1q.js";
3
3
  import { c as Q, a as w } from "./client.gen-Ck6Pm2jV.js";
4
4
  import { q as ee, r as te, c as ae } from "./hey-api-client-DGRBsZ7Y.js";
5
5
  import { b as ne, c as re, a as ie, u as se } from "./sheet-haptics-context-iOjKcNDj.js";
@@ -1,6 +1,6 @@
1
1
  import { j as r } from "./account-screen-runtime-DYMunv0A.js";
2
- import { O as e } from "./OrdersScreen-D9HfcTaa.js";
3
- import { M as o } from "./MemberManagementProviders-C1bwc3tB.js";
2
+ import { O as e } from "./OrdersScreen-DrZ3SwEu.js";
3
+ import { M as o } from "./MemberManagementProviders-DiQkiWzc.js";
4
4
  function t() {
5
5
  return /* @__PURE__ */ r.jsx(o, { children: /* @__PURE__ */ r.jsx(e, {}) });
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { U as de, l as u, X as ce, j as t, M as E, a2 as K, aA as ue, B as T, aE as me, E as pe } from "./account-screen-runtime-DYMunv0A.js";
2
2
  import { a as xe, c as fe, b as ge, u as he, I as _e, S as g } from "./sheet-haptics-context-iOjKcNDj.js";
3
- import { h as Y, j as be, I as je, R as ye, m as Ne, r as F, n as W, i as A, f as ve, p as we } from "./MemberManagementProviders-C1bwc3tB.js";
3
+ import { h as Y, j as be, I as je, R as ye, m as Ne, r as F, n as W, i as A, f as ve, p as we } from "./MemberManagementProviders-DiQkiWzc.js";
4
4
  import { u as ke, S as q } from "./useInfiniteQuery-Dtzov9uh.js";
5
5
  import { B as G, a as X, b as C, c as V, d as Se, e as Oe } from "./Breadcrumb-BQKo8hPc.js";
6
6
  import "./store-api-context-B96Ip2FB.js";
@@ -1,13 +1,13 @@
1
1
  import { c as Y, i as mt, l as v, j as n, G as ht, H as le, J as pt, K as ne, M as ce, N as gt, O as E, I as je, R as A, B as de, D as Ae, E as ue, x as xt, U as $, V as _t, W as H, X as T, Y as bt, Z as vt, _ as yt, P as jt, $ as J, z as fe, a0 as Me, q as wt, a1 as Ct, a2 as Nt } from "./account-screen-runtime-DYMunv0A.js";
2
- import { u as R, a as St, b as B, c as Et, d as Pt, M as At } from "./MemberManagementProviders-C1bwc3tB.js";
3
- import { O as Mt } from "./OrdersScreen-D9HfcTaa.js";
4
- import { F as ee, e as Rt, f as Ft, S as It, P as Lt, a as kt, b as Dt, d as Ot, A as zt, B as Re, C as Fe, c as Tt, g as Bt, u as Ut, i as $t, h as qt, T as Qt, j as Vt, k as Ht, m as Kt, E as Gt, l as Ie } from "./create-card-entry-container-D6kSC2Aw.js";
2
+ import { u as R, a as St, b as B, c as Et, d as Pt, M as At } from "./MemberManagementProviders-DiQkiWzc.js";
3
+ import { O as Mt } from "./OrdersScreen-DrZ3SwEu.js";
4
+ import { F as ee, e as Rt, f as Ft, S as It, P as Lt, a as kt, b as Dt, d as Ot, A as zt, B as Re, C as Fe, c as Tt, g as Bt, u as Ut, i as $t, h as qt, T as Qt, j as Vt, k as Ht, m as Kt, E as Gt, l as Ie } from "./create-card-entry-container-C9z7JILL.js";
5
5
  import { u as me } from "./use-store-DVmgsDXy.js";
6
6
  import { u as Yt } from "./trash-2-wVweQZMw.js";
7
7
  import { R as Le, D as Wt, u as K, o as se, s as L } from "./schemas-D94nZk5x.js";
8
8
  import { I as Xt } from "./sheet-haptics-context-iOjKcNDj.js";
9
9
  import { u as W } from "./sidebar-Ckzom4Xc.js";
10
- import { u as Zt } from "./countries-api-adapter-lxSE748x.js";
10
+ import { u as Zt } from "./countries-api-adapter-InKUzF1q.js";
11
11
  import { M as Jt } from "./map-pin-B2ScoijR.js";
12
12
  import { A as we } from "./arrow-left-Bd7dJtIV.js";
13
13
  import { L as er } from "./log-out-CSPZjXTK.js";
@@ -1,6 +1,6 @@
1
1
  import { l as o, z as u, j as r, P as d, B as l, D as p, E as m } from "./account-screen-runtime-DYMunv0A.js";
2
- import { c as x, S as f, P as j, a as S, b as P, d as h } from "./create-card-entry-container-D6kSC2Aw.js";
3
- import { M as b } from "./MemberManagementProviders-C1bwc3tB.js";
2
+ import { c as x, S as f, P as j, a as S, b as P, d as h } from "./create-card-entry-container-C9z7JILL.js";
3
+ import { M as b } from "./MemberManagementProviders-DiQkiWzc.js";
4
4
  function v({
5
5
  children: n
6
6
  }) {
@@ -4,21 +4,21 @@ var u = (t, e, s) => b(t, typeof e != "symbol" ? e + "" : e, s);
4
4
  const p = {
5
5
  subscriptions: async () => {
6
6
  const [t, e] = await Promise.all([
7
- import("./SubscriptionsScreen-CIdYNpWT.js"),
7
+ import("./SubscriptionsScreen-Be0C29uw.js"),
8
8
  import("./subscriptions-8VtIA4w9.js")
9
9
  ]);
10
10
  return { Component: t.SubscriptionsScreen, styles: e.default };
11
11
  },
12
12
  orders: async () => {
13
13
  const [t, e] = await Promise.all([
14
- import("./OrdersScreen-C-b6i5jB.js"),
14
+ import("./OrdersScreen-DkltVCtr.js"),
15
15
  import("./orders-B_57xKkq.js")
16
16
  ]);
17
17
  return { Component: t.OrdersScreen, styles: e.default };
18
18
  },
19
19
  profile: async () => {
20
20
  const [t, e] = await Promise.all([
21
- import("./ProfileScreen-DwXozaLs.js"),
21
+ import("./ProfileScreen-Dxspc-6p.js"),
22
22
  import("./profile-BfM2KxKe.js")
23
23
  ]);
24
24
  return { Component: t.default, styles: e.default };
@@ -32,7 +32,7 @@ const p = {
32
32
  },
33
33
  contacts: async () => {
34
34
  const [t, e] = await Promise.all([
35
- import("./ContactsScreen-gIiy4u7c.js"),
35
+ import("./ContactsScreen-IsIZ_lQ0.js"),
36
36
  import("./contacts-ChSWj70z.js")
37
37
  ]);
38
38
  return { Component: t.default, styles: e.default };
@@ -118,7 +118,7 @@ function y(t = "fluid-account-screen", e, s = !1) {
118
118
  this.status(!1);
119
119
  try {
120
120
  const [c, i] = await Promise.all([
121
- import("./mount-account-screen-C_CdoGir.js"),
121
+ import("./mount-account-screen-4rReAofI.js"),
122
122
  w(r)
123
123
  ]);
124
124
  if (!this.isConnected || this.generation !== n) return;
@@ -1,7 +1,7 @@
1
1
  import { l as i } from "./account-screen-runtime-DYMunv0A.js";
2
2
  import { c as p, a as l } from "./client.gen-Ck6Pm2jV.js";
3
- const c = i.createContext(null), E = c.Provider;
4
- function _() {
3
+ const c = i.createContext(null), A = c.Provider;
4
+ function E() {
5
5
  const e = i.use(c);
6
6
  if (!e)
7
7
  throw new Error(
@@ -12,7 +12,7 @@ function _() {
12
12
  function d(e) {
13
13
  return e instanceof DOMException && e.name === "AbortError" || e instanceof Error && e.name === "AbortError";
14
14
  }
15
- function g(e) {
15
+ function H(e) {
16
16
  const n = new Headers({
17
17
  Accept: "application/json",
18
18
  "Content-Type": "application/json",
@@ -45,36 +45,36 @@ const m = (e) => e.client.get({
45
45
  security: [
46
46
  {
47
47
  in: "cookie",
48
- name: "portal_tenant_user_id",
48
+ name: "__Host-fluid_portal_tenant_user_id",
49
49
  type: "apiKey"
50
50
  }
51
51
  ],
52
52
  url: "/api/store/countries",
53
53
  ...e
54
- }), T = (e) => e.client.get({
54
+ }), g = (e) => e.client.get({
55
55
  responseStyle: "data",
56
56
  security: [
57
57
  {
58
58
  in: "cookie",
59
- name: "portal_tenant_user_id",
59
+ name: "__Host-fluid_portal_tenant_user_id",
60
60
  type: "apiKey"
61
61
  }
62
62
  ],
63
63
  url: "/api/store/languages",
64
64
  ...e
65
65
  });
66
- function y(e) {
66
+ function f(e) {
67
67
  return {
68
68
  code: e.code ?? "",
69
69
  name: e.name ?? ""
70
70
  };
71
71
  }
72
- function f(e) {
72
+ function y(e) {
73
73
  return {
74
74
  code: e.code ?? "",
75
75
  name: e.name ?? "",
76
76
  currency_code: e.currency_code ?? "",
77
- states: (e.states ?? []).map(y)
77
+ states: (e.states ?? []).map(f)
78
78
  };
79
79
  }
80
80
  function h(e) {
@@ -83,7 +83,7 @@ function h(e) {
83
83
  timestamp: e?.timestamp ?? ""
84
84
  };
85
85
  }
86
- function b(e) {
86
+ function T(e) {
87
87
  return {
88
88
  listCountries: async (n) => {
89
89
  const r = await m({
@@ -93,16 +93,16 @@ function b(e) {
93
93
  }
94
94
  });
95
95
  return {
96
- countries: (r.countries ?? []).map(f),
96
+ countries: (r.countries ?? []).map(y),
97
97
  meta: h(r.meta)
98
98
  };
99
99
  }
100
100
  };
101
101
  }
102
102
  export {
103
- E as C,
104
- b as a,
105
- g as c,
106
- T as l,
107
- _ as u
103
+ A as C,
104
+ T as a,
105
+ H as c,
106
+ g as l,
107
+ E as u
108
108
  };
@@ -2,12 +2,12 @@ var Us = Object.defineProperty;
2
2
  var qs = (e, n, t) => n in e ? Us(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
3
  var U = (e, n, t) => qs(e, typeof n != "symbol" ? n + "" : n, t);
4
4
  import { c as Ur, l as m, j as i, G as Ja, a3 as tn, H as st, a4 as Gs, a5 as ot, a6 as Je, a7 as Ws, a8 as Ks, a9 as Ys, J as ut, K as Qs, aa as Xs, ab as Zs, M as ne, ac as Js, ad as e1, ae as ft, af as tt, ag as eo, ah as to, ai as no, aj as ro, ak as vr, al as t1, am as lo, an as ao, ao as nn, ap as n1, aq as io, ar as Fl, as as so, at as Cl, au as oo, W as Me, n as co, U as Ae, av as r1, aw as uo, X as On, O as Z, N as rn, a1 as $e, ax as l1, ay as zt, az as mo, R as l, a2 as a1, aA as ho, aB as fo, aC as po, aD as vo, B as i1, aE as s1, $ as we, Y as qr, P as o1, aF as mt, aG as d1, aH as c1, aI as go, aJ as u1, aK as xo, aL as yo, aM as bo, aN as _o } from "./account-screen-runtime-DYMunv0A.js";
5
- import { c as m1, u as dt, r as gn, p as Bn, e as Eo, n as xn, i as yn, f as bn, I as Gr, R as h1, b as ln, P as Rn, g as wo } from "./MemberManagementProviders-C1bwc3tB.js";
5
+ import { c as m1, u as dt, r as gn, p as Bn, e as Eo, n as xn, i as yn, f as bn, I as Gr, R as h1, b as ln, P as Rn, g as wo } from "./MemberManagementProviders-DiQkiWzc.js";
6
6
  import { d as f1, e as $o, f as Fo, g as Co, h as zo, i as Mo, j as No, k as So, l as Po, m as jo, n as Ao, o as Ho, p as Do } from "./hey-api-client-DGRBsZ7Y.js";
7
7
  import { c as ko, a as To, b as Io, u as Lo, I as an, S as oe } from "./sheet-haptics-context-iOjKcNDj.js";
8
8
  import { C as pt, u as fe, M as Wr, P as zl, R as Ue, D as rt, o as Mt, b as It, s as ce, l as Oo, a as p1, c as v1, d as g1, n as dn, e as Bo, f as Ro } from "./schemas-D94nZk5x.js";
9
9
  import { u as Vo } from "./useInfiniteQuery-Dtzov9uh.js";
10
- import { u as Kr } from "./countries-api-adapter-lxSE748x.js";
10
+ import { u as Kr } from "./countries-api-adapter-InKUzF1q.js";
11
11
  import { B as x1, a as y1, b as gr, c as b1, d as Uo, e as qo } from "./Breadcrumb-BQKo8hPc.js";
12
12
  import { E as Ml, D as _1, a as E1, b as w1, c as Tt, d as Nl, P as Vn, e as Un, f as qn, M as Go, C as $1 } from "./MobileActionSheet-DMeTsLlK.js";
13
13
  import { u as vt, a as Wo } from "./sidebar-Ckzom4Xc.js";