[{"data":1,"prerenderedAt":1785},["ShallowReactive",2],{"navigation_docs":3,"-docs-cms-frameworks-javascript-client":357,"-docs-cms-frameworks-javascript-client-surround":1780,"docs-site-config":1770},[4,74,135,139,161,195,273],{"title":5,"path":6,"stem":7,"children":8},"Assets API","\u002Fdocs\u002Fassets","docs\u002Fassets\u002Findex",[9,10,32,57],{"title":5,"path":6,"stem":7},{"title":11,"path":12,"stem":13,"children":14,"page":31},"Getting Started","\u002Fdocs\u002Fassets\u002Fgetting-started","docs\u002Fassets\u002F1.getting-started",[15,19,23,27],{"title":16,"path":17,"stem":18},"Base URL","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Fbase-url","docs\u002Fassets\u002F1.getting-started\u002F1.base-url",{"title":20,"path":21,"stem":22},"Important Notes","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Fimportant-notes","docs\u002Fassets\u002F1.getting-started\u002F2.important-notes",{"title":24,"path":25,"stem":26},"URL Format","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Furl-format","docs\u002Fassets\u002F1.getting-started\u002F3.url-format",{"title":28,"path":29,"stem":30},"Custom Domains","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Fcustom-domains","docs\u002Fassets\u002F1.getting-started\u002F4.custom-domains",false,{"title":33,"path":34,"stem":35,"children":36,"page":31},"Usage","\u002Fdocs\u002Fassets\u002Fusage","docs\u002Fassets\u002F2.usage",[37,41,45,49,53],{"title":38,"path":39,"stem":40},"Transforms","\u002Fdocs\u002Fassets\u002Fusage\u002Ftransforms","docs\u002Fassets\u002F2.usage\u002F1.transforms",{"title":42,"path":43,"stem":44},"Caching","\u002Fdocs\u002Fassets\u002Fusage\u002Fcaching","docs\u002Fassets\u002F2.usage\u002F2.caching",{"title":46,"path":47,"stem":48},"Recipes","\u002Fdocs\u002Fassets\u002Fusage\u002Frecipes","docs\u002Fassets\u002F2.usage\u002F3.recipes",{"title":50,"path":51,"stem":52},"Best Practices","\u002Fdocs\u002Fassets\u002Fusage\u002Fbest-practices","docs\u002Fassets\u002F2.usage\u002F4.best-practices",{"title":54,"path":55,"stem":56},"Reference","\u002Fdocs\u002Fassets\u002Fusage\u002Freference","docs\u002Fassets\u002F2.usage\u002F5.reference",{"title":58,"path":59,"stem":60,"children":61,"page":31},"Integration","\u002Fdocs\u002Fassets\u002Fintegration","docs\u002Fassets\u002F3.integration",[62,66,70],{"title":63,"path":64,"stem":65},"Nuxt","\u002Fdocs\u002Fassets\u002Fintegration\u002Fnuxt","docs\u002Fassets\u002F3.integration\u002F1.nuxt",{"title":67,"path":68,"stem":69},"Next.js","\u002Fdocs\u002Fassets\u002Fintegration\u002Fnextjs","docs\u002Fassets\u002F3.integration\u002F2.nextjs",{"title":71,"path":72,"stem":73},"Plain HTML","\u002Fdocs\u002Fassets\u002Fintegration\u002Fhtml","docs\u002Fassets\u002F3.integration\u002F3.html",{"title":75,"path":76,"stem":77,"children":78},"Avvyr CMS","\u002Fdocs\u002Fcms","docs\u002Fcms\u002Findex",[79,80,92,105,118,131],{"title":75,"path":76,"stem":77},{"title":11,"path":81,"stem":82,"children":83,"page":31},"\u002Fdocs\u002Fcms\u002Fgetting-started","docs\u002Fcms\u002F1.getting-started",[84,88],{"title":85,"path":86,"stem":87},"Quickstart","\u002Fdocs\u002Fcms\u002Fgetting-started\u002Fquickstart","docs\u002Fcms\u002F1.getting-started\u002F1.quickstart",{"title":89,"path":90,"stem":91},"Keys and access","\u002Fdocs\u002Fcms\u002Fgetting-started\u002Fkeys-and-access","docs\u002Fcms\u002F1.getting-started\u002F2.keys-and-access",{"title":93,"path":94,"stem":95,"children":96,"page":31},"Content Model","\u002Fdocs\u002Fcms\u002Fcontent-model","docs\u002Fcms\u002F2.content-model",[97,101],{"title":98,"path":99,"stem":100},"Types and fields","\u002Fdocs\u002Fcms\u002Fcontent-model\u002Ftypes-and-fields","docs\u002Fcms\u002F2.content-model\u002F1.types-and-fields",{"title":102,"path":103,"stem":104},"Entries and publishing","\u002Fdocs\u002Fcms\u002Fcontent-model\u002Fentries-and-publishing","docs\u002Fcms\u002F2.content-model\u002F2.entries-and-publishing",{"title":106,"path":107,"stem":108,"children":109,"page":31},"Delivery","\u002Fdocs\u002Fcms\u002Fdelivery","docs\u002Fcms\u002F3.delivery",[110,114],{"title":111,"path":112,"stem":113},"Delivery API","\u002Fdocs\u002Fcms\u002Fdelivery\u002Fdelivery-api","docs\u002Fcms\u002F3.delivery\u002F1.delivery-api",{"title":115,"path":116,"stem":117},"Preview and live editing","\u002Fdocs\u002Fcms\u002Fdelivery\u002Fpreview","docs\u002Fcms\u002F3.delivery\u002F2.preview",{"title":119,"path":120,"stem":121,"children":122,"page":31},"Frameworks","\u002Fdocs\u002Fcms\u002Fframeworks","docs\u002Fcms\u002F4.frameworks",[123,127],{"title":124,"path":125,"stem":126},"JavaScript client","\u002Fdocs\u002Fcms\u002Fframeworks\u002Fjavascript-client","docs\u002Fcms\u002F4.frameworks\u002F1.javascript-client",{"title":128,"path":129,"stem":130},"Nuxt layer","\u002Fdocs\u002Fcms\u002Fframeworks\u002Fnuxt","docs\u002Fcms\u002F4.frameworks\u002F2.nuxt",{"title":132,"path":133,"stem":134},"Management API","\u002Fdocs\u002Fcms\u002Fmanagement-api","docs\u002Fcms\u002F5.management-api",{"title":136,"path":137,"stem":138},"Early Access","\u002Fdocs\u002Fearly-access","docs\u002Fearly-access",{"title":140,"path":141,"stem":142,"children":143},"Events API","\u002Fdocs\u002Fevents","docs\u002Fevents\u002Findex",[144,145],{"title":140,"path":141,"stem":142},{"title":11,"path":146,"stem":147,"children":148,"page":31},"\u002Fdocs\u002Fevents\u002Fgetting-started","docs\u002Fevents\u002F1.getting-started",[149,153,157],{"title":150,"path":151,"stem":152},"Subscribing","\u002Fdocs\u002Fevents\u002Fgetting-started\u002Fsubscribing","docs\u002Fevents\u002F1.getting-started\u002F1.subscribing",{"title":154,"path":155,"stem":156},"Event Delivery","\u002Fdocs\u002Fevents\u002Fgetting-started\u002Fevent-delivery","docs\u002Fevents\u002F1.getting-started\u002F2.event-delivery",{"title":158,"path":159,"stem":160},"Event Reference","\u002Fdocs\u002Fevents\u002Fgetting-started\u002Fevent-reference","docs\u002Fevents\u002F1.getting-started\u002F3.event-reference",{"title":162,"path":163,"stem":164,"children":165},"Integrations API","\u002Fdocs\u002Fintegrations","docs\u002Fintegrations\u002Findex",[166,167],{"title":162,"path":163,"stem":164},{"title":11,"path":168,"stem":169,"children":170,"page":31},"\u002Fdocs\u002Fintegrations\u002Fgetting-started","docs\u002Fintegrations\u002F1.getting-started",[171,175,179,183,187,191],{"title":172,"path":173,"stem":174},"Why Use It?","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fwhy-integrations-api","docs\u002Fintegrations\u002F1.getting-started\u002F1.why-integrations-api",{"title":176,"path":177,"stem":178},"Use Cases","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fwho-is-it-for","docs\u002Fintegrations\u002F1.getting-started\u002F2.who-is-it-for",{"title":180,"path":181,"stem":182},"Pre-built Connectors","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fpre-built-integrations","docs\u002Fintegrations\u002F1.getting-started\u002F3.pre-built-integrations",{"title":184,"path":185,"stem":186},"Custom Inbound","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fcustom-inbound-api","docs\u002Fintegrations\u002F1.getting-started\u002F4.custom-inbound-api",{"title":188,"path":189,"stem":190},"Event Lifecycle","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fevent-lifecycle","docs\u002Fintegrations\u002F1.getting-started\u002F5.event-lifecycle",{"title":192,"path":193,"stem":194},"API Endpoints","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fmanagement-api-endpoints","docs\u002Fintegrations\u002F1.getting-started\u002F6.management-api-endpoints",{"title":196,"path":197,"stem":198,"children":199},"MCP Server","\u002Fdocs\u002Fmcp","docs\u002Fmcp\u002Findex",[200,201,225,234,244],{"title":196,"path":197,"stem":198},{"title":11,"path":202,"stem":203,"children":204,"page":31},"\u002Fdocs\u002Fmcp\u002Fgetting-started","docs\u002Fmcp\u002F1.getting-started",[205,209,213,217,221],{"title":206,"path":207,"stem":208},"Claude","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fclaude","docs\u002Fmcp\u002F1.getting-started\u002F1.claude",{"title":210,"path":211,"stem":212},"Claude Code","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fclaude-code","docs\u002Fmcp\u002F1.getting-started\u002F2.claude-code",{"title":214,"path":215,"stem":216},"VS Code","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fvscode","docs\u002Fmcp\u002F1.getting-started\u002F3.vscode",{"title":218,"path":219,"stem":220},"Cursor","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fcursor","docs\u002Fmcp\u002F1.getting-started\u002F4.cursor",{"title":222,"path":223,"stem":224},"Verify the connection","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fverify","docs\u002Fmcp\u002F1.getting-started\u002F5.verify",{"title":226,"path":227,"stem":228,"children":229,"page":31},"Docs Server","\u002Fdocs\u002Fmcp\u002Fdocs-server","docs\u002Fmcp\u002F2.docs-server",[230],{"title":231,"path":232,"stem":233},"Docs server tools","\u002Fdocs\u002Fmcp\u002Fdocs-server\u002Ftools","docs\u002Fmcp\u002F2.docs-server\u002F1.tools",{"title":235,"path":236,"stem":237,"children":238},"API Server","\u002Fdocs\u002Fmcp\u002Fapi-server","docs\u002Fmcp\u002F3.api-server\u002Findex",[239,240],{"title":235,"path":236,"stem":237},{"title":241,"path":242,"stem":243},"Available tools","\u002Fdocs\u002Fmcp\u002Fapi-server\u002Ftools","docs\u002Fmcp\u002F3.api-server\u002F1.tools",{"title":245,"path":246,"stem":247,"children":248,"page":31},"Examples","\u002Fdocs\u002Fmcp\u002Fexamples","docs\u002Fmcp\u002F4.examples",[249,253,257,261,265,269],{"title":250,"path":251,"stem":252},"Exploring an API","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fexploring-an-api","docs\u002Fmcp\u002F4.examples\u002F1.exploring-an-api",{"title":254,"path":255,"stem":256},"Building a Feature","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fbuilding-a-feature","docs\u002Fmcp\u002F4.examples\u002F2.building-a-feature",{"title":258,"path":259,"stem":260},"Understanding Models","\u002Fdocs\u002Fmcp\u002Fexamples\u002Funderstanding-models","docs\u002Fmcp\u002F4.examples\u002F3.understanding-models",{"title":262,"path":263,"stem":264},"Code Review","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fcode-review","docs\u002Fmcp\u002F4.examples\u002F4.code-review",{"title":266,"path":267,"stem":268},"Combining MCP Servers","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fmulti-mcp","docs\u002Fmcp\u002F4.examples\u002F5.multi-mcp",{"title":270,"path":271,"stem":272},"Tips","\u002Fdocs\u002Fmcp\u002Fexamples\u002Ftips","docs\u002Fmcp\u002F4.examples\u002F6.tips",{"title":274,"path":275,"stem":276,"children":277,"page":31},"Storefront SDK","\u002Fdocs\u002Fstorefront-sdk","docs\u002Fstorefront-sdk",[278,290,323,338],{"title":11,"path":279,"stem":280,"children":281,"page":31},"\u002Fdocs\u002Fstorefront-sdk\u002Fgetting-started","docs\u002Fstorefront-sdk\u002F1.getting-started",[282,286],{"title":283,"path":284,"stem":285},"Installation","\u002Fdocs\u002Fstorefront-sdk\u002Fgetting-started\u002Finstallation","docs\u002Fstorefront-sdk\u002F1.getting-started\u002F1.installation",{"title":287,"path":288,"stem":289},"Configuration","\u002Fdocs\u002Fstorefront-sdk\u002Fgetting-started\u002Fconfiguration","docs\u002Fstorefront-sdk\u002F1.getting-started\u002F2.configuration",{"title":291,"path":292,"stem":293,"children":294,"page":31},"Resources","\u002Fdocs\u002Fstorefront-sdk\u002Fresources","docs\u002Fstorefront-sdk\u002F2.resources",[295,299,303,307,311,315,319],{"title":296,"path":297,"stem":298},"Products","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fproducts","docs\u002Fstorefront-sdk\u002F2.resources\u002F1.products",{"title":300,"path":301,"stem":302},"Cart","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fcart","docs\u002Fstorefront-sdk\u002F2.resources\u002F2.cart",{"title":304,"path":305,"stem":306},"Auth","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fauth","docs\u002Fstorefront-sdk\u002F2.resources\u002F3.auth",{"title":308,"path":309,"stem":310},"Checkout & Shipping","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fcheckout-shipping","docs\u002Fstorefront-sdk\u002F2.resources\u002F4.checkout-shipping",{"title":312,"path":313,"stem":314},"Orders, Returns & Reviews","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Forders-returns-reviews","docs\u002Fstorefront-sdk\u002F2.resources\u002F5.orders-returns-reviews",{"title":316,"path":317,"stem":318},"Customer assistant","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fassistant","docs\u002Fstorefront-sdk\u002F2.resources\u002F6.assistant",{"title":320,"path":321,"stem":322},"Products in images","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fproducts-in-images","docs\u002Fstorefront-sdk\u002F2.resources\u002F7.products-in-images",{"title":128,"path":324,"stem":325,"children":326,"page":31},"\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer","docs\u002Fstorefront-sdk\u002F3.nuxt-layer",[327,331,335],{"title":328,"path":329,"stem":330},"Overview","\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer\u002Foverview","docs\u002Fstorefront-sdk\u002F3.nuxt-layer\u002F1.overview",{"title":332,"path":333,"stem":334},"Composables","\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer\u002Fcomposables","docs\u002Fstorefront-sdk\u002F3.nuxt-layer\u002F2.composables",{"title":316,"path":336,"stem":337},"\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer\u002Fassistant","docs\u002Fstorefront-sdk\u002F3.nuxt-layer\u002F3.assistant",{"title":67,"path":339,"stem":340,"children":341,"page":31},"\u002Fdocs\u002Fstorefront-sdk\u002Fnextjs","docs\u002Fstorefront-sdk\u002F4.nextjs",[342,345,349,353],{"title":328,"path":343,"stem":344},"\u002Fdocs\u002Fstorefront-sdk\u002Fnextjs\u002Foverview","docs\u002Fstorefront-sdk\u002F4.nextjs\u002F1.overview",{"title":346,"path":347,"stem":348},"Hooks","\u002Fdocs\u002Fstorefront-sdk\u002Fnextjs\u002Fhooks","docs\u002Fstorefront-sdk\u002F4.nextjs\u002F2.hooks",{"title":350,"path":351,"stem":352},"Server helpers and proxy","\u002Fdocs\u002Fstorefront-sdk\u002Fnextjs\u002Fserver","docs\u002Fstorefront-sdk\u002F4.nextjs\u002F3.server",{"title":354,"path":355,"stem":356},"Components","\u002Fdocs\u002Fstorefront-sdk\u002Fnextjs\u002Fcomponents","docs\u002Fstorefront-sdk\u002F4.nextjs\u002F4.components",{"id":358,"title":124,"body":359,"description":1768,"extension":1769,"links":1770,"meta":1771,"navigation":450,"path":125,"seo":1778,"stem":126,"__hash__":1779},"docs\u002Fdocs\u002Fcms\u002F4.frameworks\u002F1.javascript-client.md",{"type":360,"value":361,"toc":1759},"minimark",[362,380,405,410,593,597,947,1085,1108,1112,1225,1264,1268,1279,1386,1397,1401,1537,1562,1566,1655,1662,1666,1682,1755],[363,364,365,369,370,373,374,379],"p",{},[366,367,368],"code",{},"@avvyr\u002Fcms"," is a framework-agnostic client for the delivery API. It runs in Node 18+, edge runtimes and the browser. On Nuxt, use the ",[371,372,128],"a",{"href":129}," instead; it builds on this package. On Next.js, use this client directly from Server Components; it works alongside ",[371,375,376],{"href":343},[366,377,378],{},"@avvyr\u002Fstorefront-next",".",[381,382,387],"pre",{"className":383,"code":384,"language":385,"meta":386,"style":386},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npm install @avvyr\u002Fcms\n","bash","",[366,388,389],{"__ignoreMap":386},[390,391,394,398,402],"span",{"class":392,"line":393},"line",1,[390,395,397],{"class":396},"sBMFI","npm",[390,399,401],{"class":400},"sfazB"," install",[390,403,404],{"class":400}," @avvyr\u002Fcms\n",[406,407,409],"h2",{"id":408},"create-a-client","Create a client",[381,411,415],{"className":412,"code":413,"language":414,"meta":386,"style":386},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { createCmsClient } from '@avvyr\u002Fcms'\n\nconst cms = createCmsClient({\n  siteId: process.env.CMS_SITE_ID!,\n  key: process.env.CMS_KEY!,                 \u002F\u002F public key: published content\n  previewKey: process.env.CMS_PREVIEW_KEY,   \u002F\u002F server only: drafts\n  locale: 'sv',                              \u002F\u002F default: the site's default language\n  \u002F\u002F baseUrl: 'https:\u002F\u002Fapi.avvyr.com',\n  \u002F\u002F versionTtlMs: 5000, timeoutMs: 15000, fetch, headers\n})\n","ts",[366,416,417,445,452,474,500,526,551,572,578,584],{"__ignoreMap":386},[390,418,419,423,427,431,434,437,440,442],{"class":392,"line":393},[390,420,422],{"class":421},"s7zQu","import",[390,424,426],{"class":425},"sMK4o"," {",[390,428,430],{"class":429},"sTEyZ"," createCmsClient",[390,432,433],{"class":425}," }",[390,435,436],{"class":421}," from",[390,438,439],{"class":425}," '",[390,441,368],{"class":400},[390,443,444],{"class":425},"'\n",[390,446,448],{"class":392,"line":447},2,[390,449,451],{"emptyLinePlaceholder":450},true,"\n",[390,453,455,459,462,465,468,471],{"class":392,"line":454},3,[390,456,458],{"class":457},"spNyl","const",[390,460,461],{"class":429}," cms ",[390,463,464],{"class":425},"=",[390,466,430],{"class":467},"s2Zo4",[390,469,470],{"class":429},"(",[390,472,473],{"class":425},"{\n",[390,475,477,481,484,487,489,492,494,497],{"class":392,"line":476},4,[390,478,480],{"class":479},"swJcz","  siteId",[390,482,483],{"class":425},":",[390,485,486],{"class":429}," process",[390,488,379],{"class":425},[390,490,491],{"class":429},"env",[390,493,379],{"class":425},[390,495,496],{"class":429},"CMS_SITE_ID",[390,498,499],{"class":425},"!,\n",[390,501,503,506,508,510,512,514,516,519,522],{"class":392,"line":502},5,[390,504,505],{"class":479},"  key",[390,507,483],{"class":425},[390,509,486],{"class":429},[390,511,379],{"class":425},[390,513,491],{"class":429},[390,515,379],{"class":425},[390,517,518],{"class":429},"CMS_KEY",[390,520,521],{"class":425},"!,",[390,523,525],{"class":524},"sHwdD","                 \u002F\u002F public key: published content\n",[390,527,529,532,534,536,538,540,542,545,548],{"class":392,"line":528},6,[390,530,531],{"class":479},"  previewKey",[390,533,483],{"class":425},[390,535,486],{"class":429},[390,537,379],{"class":425},[390,539,491],{"class":429},[390,541,379],{"class":425},[390,543,544],{"class":429},"CMS_PREVIEW_KEY",[390,546,547],{"class":425},",",[390,549,550],{"class":524},"   \u002F\u002F server only: drafts\n",[390,552,554,557,559,561,564,567,569],{"class":392,"line":553},7,[390,555,556],{"class":479},"  locale",[390,558,483],{"class":425},[390,560,439],{"class":425},[390,562,563],{"class":400},"sv",[390,565,566],{"class":425},"'",[390,568,547],{"class":425},[390,570,571],{"class":524},"                              \u002F\u002F default: the site's default language\n",[390,573,575],{"class":392,"line":574},8,[390,576,577],{"class":524},"  \u002F\u002F baseUrl: 'https:\u002F\u002Fapi.avvyr.com',\n",[390,579,581],{"class":392,"line":580},9,[390,582,583],{"class":524},"  \u002F\u002F versionTtlMs: 5000, timeoutMs: 15000, fetch, headers\n",[390,585,587,590],{"class":392,"line":586},10,[390,588,589],{"class":425},"}",[390,591,592],{"class":429},")\n",[406,594,596],{"id":595},"read-content","Read content",[381,598,600],{"className":412,"code":599,"language":414,"meta":386,"style":386},"const page = await cms.page('\u002Fom-oss', { locale: 'sv' })\nconst home = await cms.page('\u002F')\nconst article = await cms.entry('6701f0c2a4d3e5f6a7b8c9d1')\nconst latest = await cms.entries({ type: 'article', sort: '-publishedAt', limit: 10 })\nconst nav = await cms.singleton('navigation')\nconst manifest = await cms.manifest()\nconst { manifest: m, documents } = await cms.bundle()\nconst hits = await cms.search('soffa', { limit: 5 })\nconst draft = await cms.draftPage('\u002Fom-oss', { locale: 'sv', previewToken })\n",[366,601,602,650,678,707,771,800,821,856,898],{"__ignoreMap":386},[390,603,604,606,609,611,614,617,619,622,624,626,629,631,633,635,638,640,642,644,646,648],{"class":392,"line":393},[390,605,458],{"class":457},[390,607,608],{"class":429}," page ",[390,610,464],{"class":425},[390,612,613],{"class":421}," await",[390,615,616],{"class":429}," cms",[390,618,379],{"class":425},[390,620,621],{"class":467},"page",[390,623,470],{"class":429},[390,625,566],{"class":425},[390,627,628],{"class":400},"\u002Fom-oss",[390,630,566],{"class":425},[390,632,547],{"class":425},[390,634,426],{"class":425},[390,636,637],{"class":479}," locale",[390,639,483],{"class":425},[390,641,439],{"class":425},[390,643,563],{"class":400},[390,645,566],{"class":425},[390,647,433],{"class":425},[390,649,592],{"class":429},[390,651,652,654,657,659,661,663,665,667,669,671,674,676],{"class":392,"line":447},[390,653,458],{"class":457},[390,655,656],{"class":429}," home ",[390,658,464],{"class":425},[390,660,613],{"class":421},[390,662,616],{"class":429},[390,664,379],{"class":425},[390,666,621],{"class":467},[390,668,470],{"class":429},[390,670,566],{"class":425},[390,672,673],{"class":400},"\u002F",[390,675,566],{"class":425},[390,677,592],{"class":429},[390,679,680,682,685,687,689,691,693,696,698,700,703,705],{"class":392,"line":454},[390,681,458],{"class":457},[390,683,684],{"class":429}," article ",[390,686,464],{"class":425},[390,688,613],{"class":421},[390,690,616],{"class":429},[390,692,379],{"class":425},[390,694,695],{"class":467},"entry",[390,697,470],{"class":429},[390,699,566],{"class":425},[390,701,702],{"class":400},"6701f0c2a4d3e5f6a7b8c9d1",[390,704,566],{"class":425},[390,706,592],{"class":429},[390,708,709,711,714,716,718,720,722,725,727,730,733,735,737,740,742,744,747,749,751,754,756,758,761,763,767,769],{"class":392,"line":476},[390,710,458],{"class":457},[390,712,713],{"class":429}," latest ",[390,715,464],{"class":425},[390,717,613],{"class":421},[390,719,616],{"class":429},[390,721,379],{"class":425},[390,723,724],{"class":467},"entries",[390,726,470],{"class":429},[390,728,729],{"class":425},"{",[390,731,732],{"class":479}," type",[390,734,483],{"class":425},[390,736,439],{"class":425},[390,738,739],{"class":400},"article",[390,741,566],{"class":425},[390,743,547],{"class":425},[390,745,746],{"class":479}," sort",[390,748,483],{"class":425},[390,750,439],{"class":425},[390,752,753],{"class":400},"-publishedAt",[390,755,566],{"class":425},[390,757,547],{"class":425},[390,759,760],{"class":479}," limit",[390,762,483],{"class":425},[390,764,766],{"class":765},"sbssI"," 10",[390,768,433],{"class":425},[390,770,592],{"class":429},[390,772,773,775,778,780,782,784,786,789,791,793,796,798],{"class":392,"line":502},[390,774,458],{"class":457},[390,776,777],{"class":429}," nav ",[390,779,464],{"class":425},[390,781,613],{"class":421},[390,783,616],{"class":429},[390,785,379],{"class":425},[390,787,788],{"class":467},"singleton",[390,790,470],{"class":429},[390,792,566],{"class":425},[390,794,795],{"class":400},"navigation",[390,797,566],{"class":425},[390,799,592],{"class":429},[390,801,802,804,807,809,811,813,815,818],{"class":392,"line":528},[390,803,458],{"class":457},[390,805,806],{"class":429}," manifest ",[390,808,464],{"class":425},[390,810,613],{"class":421},[390,812,616],{"class":429},[390,814,379],{"class":425},[390,816,817],{"class":467},"manifest",[390,819,820],{"class":429},"()\n",[390,822,823,825,827,830,832,835,837,840,842,845,847,849,851,854],{"class":392,"line":553},[390,824,458],{"class":457},[390,826,426],{"class":425},[390,828,829],{"class":479}," manifest",[390,831,483],{"class":425},[390,833,834],{"class":429}," m",[390,836,547],{"class":425},[390,838,839],{"class":429}," documents ",[390,841,589],{"class":425},[390,843,844],{"class":425}," =",[390,846,613],{"class":421},[390,848,616],{"class":429},[390,850,379],{"class":425},[390,852,853],{"class":467},"bundle",[390,855,820],{"class":429},[390,857,858,860,863,865,867,869,871,874,876,878,881,883,885,887,889,891,894,896],{"class":392,"line":574},[390,859,458],{"class":457},[390,861,862],{"class":429}," hits ",[390,864,464],{"class":425},[390,866,613],{"class":421},[390,868,616],{"class":429},[390,870,379],{"class":425},[390,872,873],{"class":467},"search",[390,875,470],{"class":429},[390,877,566],{"class":425},[390,879,880],{"class":400},"soffa",[390,882,566],{"class":425},[390,884,547],{"class":425},[390,886,426],{"class":425},[390,888,760],{"class":479},[390,890,483],{"class":425},[390,892,893],{"class":765}," 5",[390,895,433],{"class":425},[390,897,592],{"class":429},[390,899,900,902,905,907,909,911,913,916,918,920,922,924,926,928,930,932,934,936,938,940,943,945],{"class":392,"line":580},[390,901,458],{"class":457},[390,903,904],{"class":429}," draft ",[390,906,464],{"class":425},[390,908,613],{"class":421},[390,910,616],{"class":429},[390,912,379],{"class":425},[390,914,915],{"class":467},"draftPage",[390,917,470],{"class":429},[390,919,566],{"class":425},[390,921,628],{"class":400},[390,923,566],{"class":425},[390,925,547],{"class":425},[390,927,426],{"class":425},[390,929,637],{"class":479},[390,931,483],{"class":425},[390,933,439],{"class":425},[390,935,563],{"class":400},[390,937,566],{"class":425},[390,939,547],{"class":425},[390,941,942],{"class":429}," previewToken ",[390,944,589],{"class":425},[390,946,592],{"class":429},[948,949,950,963],"table",{},[951,952,953],"thead",{},[954,955,956,960],"tr",{},[957,958,959],"th",{},"Method",[957,961,962],{},"Delivery route",[964,965,966,979,991,1003,1015,1027,1046,1058,1070],"tbody",{},[954,967,968,974],{},[969,970,971],"td",{},[366,972,973],{},"version({ fresh? })",[969,975,976],{},[366,977,978],{},"GET \u002Fversion",[954,980,981,986],{},[969,982,983],{},[366,984,985],{},"page(path, { locale, version })",[969,987,988],{},[366,989,990],{},"GET \u002Fv\u002F{version}\u002F{locale}\u002Fpages\u002F{path}",[954,992,993,998],{},[969,994,995],{},[366,996,997],{},"entry(id, ...)",[969,999,1000],{},[366,1001,1002],{},"GET \u002Fv\u002F{version}\u002F{locale}\u002Fentries\u002F{id}",[954,1004,1005,1010],{},[969,1006,1007],{},[366,1008,1009],{},"entries({ type, folder, deep, ids, sort, limit, offset, include, locale, version })",[969,1011,1012],{},[366,1013,1014],{},"GET \u002Fv\u002F{version}\u002F{locale}\u002Fentries",[954,1016,1017,1022],{},[969,1018,1019],{},[366,1020,1021],{},"singleton(type, ...)",[969,1023,1024],{},[366,1025,1026],{},"GET \u002Fv\u002F{version}\u002F{locale}\u002Fsingletons\u002F{type}",[954,1028,1029,1038],{},[969,1030,1031,1034,1035],{},[366,1032,1033],{},"manifest(...)",", ",[366,1036,1037],{},"bundle(...)",[969,1039,1040,1034,1043],{},[366,1041,1042],{},"GET \u002Fv\u002F{version}\u002F{locale}\u002Fmanifest",[366,1044,1045],{},"\u002Fbundle",[954,1047,1048,1053],{},[969,1049,1050],{},[366,1051,1052],{},"changes(from, to)",[969,1054,1055],{},[366,1056,1057],{},"GET \u002Fchanges",[954,1059,1060,1065],{},[969,1061,1062],{},[366,1063,1064],{},"search(q, { locale, type, limit })",[969,1066,1067],{},[366,1068,1069],{},"GET \u002F{locale}\u002Fsearch",[954,1071,1072,1080],{},[969,1073,1074,1034,1077],{},[366,1075,1076],{},"draftPage(path, { locale, previewToken })",[366,1078,1079],{},"draftEntry(id, ...)",[969,1081,1082],{},[366,1083,1084],{},"GET \u002Fdraft\u002F{locale}\u002F...",[363,1086,1087,1088,1091,1092,1095,1096,1099,1100,1103,1104,1107],{},"The client asks ",[366,1089,1090],{},"\u002Fversion"," first and remembers it for ",[366,1093,1094],{},"versionTtlMs"," (5 seconds). Every content request then goes to an immutable ",[366,1097,1098],{},"\u002Fv\u002F{version}\u002F..."," URL, which your CDN and the browser can cache forever. If the version moved on, the client follows the ",[366,1101,1102],{},"302"," and remembers the new version. ",[366,1105,1106],{},"invalidateVersion()"," forgets it at once.",[406,1109,1111],{"id":1110},"errors","Errors",[381,1113,1115],{"className":412,"code":1114,"language":414,"meta":386,"style":386},"import { CmsNotFoundError } from '@avvyr\u002Fcms'\n\ntry {\n  const page = await cms.page(path)\n} catch (err) {\n  if (err instanceof CmsNotFoundError) return notFound()\n  throw err\n}\n",[366,1116,1117,1136,1140,1148,1173,1185,1212,1220],{"__ignoreMap":386},[390,1118,1119,1121,1123,1126,1128,1130,1132,1134],{"class":392,"line":393},[390,1120,422],{"class":421},[390,1122,426],{"class":425},[390,1124,1125],{"class":429}," CmsNotFoundError",[390,1127,433],{"class":425},[390,1129,436],{"class":421},[390,1131,439],{"class":425},[390,1133,368],{"class":400},[390,1135,444],{"class":425},[390,1137,1138],{"class":392,"line":447},[390,1139,451],{"emptyLinePlaceholder":450},[390,1141,1142,1145],{"class":392,"line":454},[390,1143,1144],{"class":421},"try",[390,1146,1147],{"class":425}," {\n",[390,1149,1150,1153,1156,1158,1160,1162,1164,1166,1168,1171],{"class":392,"line":476},[390,1151,1152],{"class":457},"  const",[390,1154,1155],{"class":429}," page",[390,1157,844],{"class":425},[390,1159,613],{"class":421},[390,1161,616],{"class":429},[390,1163,379],{"class":425},[390,1165,621],{"class":467},[390,1167,470],{"class":479},[390,1169,1170],{"class":429},"path",[390,1172,592],{"class":479},[390,1174,1175,1177,1180,1183],{"class":392,"line":502},[390,1176,589],{"class":425},[390,1178,1179],{"class":421}," catch",[390,1181,1182],{"class":429}," (err) ",[390,1184,473],{"class":425},[390,1186,1187,1190,1193,1196,1199,1201,1204,1207,1210],{"class":392,"line":528},[390,1188,1189],{"class":421},"  if",[390,1191,1192],{"class":479}," (",[390,1194,1195],{"class":429},"err",[390,1197,1198],{"class":425}," instanceof",[390,1200,1125],{"class":396},[390,1202,1203],{"class":479},") ",[390,1205,1206],{"class":421},"return",[390,1208,1209],{"class":467}," notFound",[390,1211,820],{"class":479},[390,1213,1214,1217],{"class":392,"line":553},[390,1215,1216],{"class":421},"  throw",[390,1218,1219],{"class":429}," err\n",[390,1221,1222],{"class":392,"line":574},[390,1223,1224],{"class":425},"}\n",[363,1226,1227,1228,1192,1231,1034,1234,1034,1237,1240,1241,1244,1245,1248,1249,1252,1253,1256,1257,1260,1261,379],{},"All errors extend ",[366,1229,1230],{},"CmsError",[366,1232,1233],{},"status",[366,1235,1236],{},"errorCode",[366,1238,1239],{},"details","): ",[366,1242,1243],{},"CmsNotFoundError"," (404), ",[366,1246,1247],{},"CmsAuthError"," (401\u002F403), ",[366,1250,1251],{},"CmsValidationError"," (400), ",[366,1254,1255],{},"CmsConflictError"," (409), ",[366,1258,1259],{},"CmsNetworkError"," and ",[366,1262,1263],{},"CmsConfigError",[406,1265,1267],{"id":1266},"render-blocks","Render blocks",[363,1269,1270,1271,1274,1275,1278],{},"A ",[366,1272,1273],{},"blocks"," field is a list of ",[366,1276,1277],{},"{ id, type, fields }",". Map each type to a component, and skip unknown types so a new block type in the CMS never breaks the page. In React:",[381,1280,1284],{"className":1281,"code":1282,"language":1283,"meta":386,"style":386},"language-tsx shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import type { CmsBlock } from '@avvyr\u002Fcms'\nimport { Hero } from '.\u002Fblocks\u002FHero'\nimport { TextSection } from '.\u002Fblocks\u002FTextSection'\n\nconst blocks: Record\u003Cstring, React.ComponentType\u003C{ fields: any, first: boolean }>> = {\n  hero: Hero,\n  textSection: TextSection,\n}\n\nexport function CmsBlocks({ items }: { items?: CmsBlock[] | null }) {\n  return (items ?? []).map((block, i) => {\n    const Component = blocks[block.type]\n    return Component\n      ? \u003Cdiv key={block.id} data-cms-block={block.id} data-cms-type={block.type} style={{ display: 'contents' }}>\n          \u003CComponent fields={block.fields} first={i === 0} \u002F>\n        \u003C\u002Fdiv>\n      : null\n  })\n}\n","tsx",[366,1285,1286,1291,1296,1301,1305,1310,1315,1320,1324,1328,1333,1339,1345,1351,1357,1363,1369,1375,1381],{"__ignoreMap":386},[390,1287,1288],{"class":392,"line":393},[390,1289,1290],{},"import type { CmsBlock } from '@avvyr\u002Fcms'\n",[390,1292,1293],{"class":392,"line":447},[390,1294,1295],{},"import { Hero } from '.\u002Fblocks\u002FHero'\n",[390,1297,1298],{"class":392,"line":454},[390,1299,1300],{},"import { TextSection } from '.\u002Fblocks\u002FTextSection'\n",[390,1302,1303],{"class":392,"line":476},[390,1304,451],{"emptyLinePlaceholder":450},[390,1306,1307],{"class":392,"line":502},[390,1308,1309],{},"const blocks: Record\u003Cstring, React.ComponentType\u003C{ fields: any, first: boolean }>> = {\n",[390,1311,1312],{"class":392,"line":528},[390,1313,1314],{},"  hero: Hero,\n",[390,1316,1317],{"class":392,"line":553},[390,1318,1319],{},"  textSection: TextSection,\n",[390,1321,1322],{"class":392,"line":574},[390,1323,1224],{},[390,1325,1326],{"class":392,"line":580},[390,1327,451],{"emptyLinePlaceholder":450},[390,1329,1330],{"class":392,"line":586},[390,1331,1332],{},"export function CmsBlocks({ items }: { items?: CmsBlock[] | null }) {\n",[390,1334,1336],{"class":392,"line":1335},11,[390,1337,1338],{},"  return (items ?? []).map((block, i) => {\n",[390,1340,1342],{"class":392,"line":1341},12,[390,1343,1344],{},"    const Component = blocks[block.type]\n",[390,1346,1348],{"class":392,"line":1347},13,[390,1349,1350],{},"    return Component\n",[390,1352,1354],{"class":392,"line":1353},14,[390,1355,1356],{},"      ? \u003Cdiv key={block.id} data-cms-block={block.id} data-cms-type={block.type} style={{ display: 'contents' }}>\n",[390,1358,1360],{"class":392,"line":1359},15,[390,1361,1362],{},"          \u003CComponent fields={block.fields} first={i === 0} \u002F>\n",[390,1364,1366],{"class":392,"line":1365},16,[390,1367,1368],{},"        \u003C\u002Fdiv>\n",[390,1370,1372],{"class":392,"line":1371},17,[390,1373,1374],{},"      : null\n",[390,1376,1378],{"class":392,"line":1377},18,[390,1379,1380],{},"  })\n",[390,1382,1384],{"class":392,"line":1383},19,[390,1385,1224],{},[363,1387,1388,1389,1392,1393,379],{},"The ",[366,1390,1391],{},"data-cms-block"," wrapper is only needed for ",[371,1394,1396],{"href":1395},"\u002Fdocs\u002Fcms\u002Fdelivery\u002Fpreview#live-editing","live editing",[406,1398,1400],{"id":1399},"images","Images",[381,1402,1404],{"className":412,"code":1403,"language":414,"meta":386,"style":386},"import { mediaUrl, mediaSrcset } from '@avvyr\u002Fcms'\n\nmediaUrl(fields.image, { width: 800, format: 'webp', quality: 80 })\nmediaSrcset(fields.image, [400, 800, 1200], { format: 'avif' })\n",[366,1405,1406,1430,1434,1487],{"__ignoreMap":386},[390,1407,1408,1410,1412,1415,1417,1420,1422,1424,1426,1428],{"class":392,"line":393},[390,1409,422],{"class":421},[390,1411,426],{"class":425},[390,1413,1414],{"class":429}," mediaUrl",[390,1416,547],{"class":425},[390,1418,1419],{"class":429}," mediaSrcset",[390,1421,433],{"class":425},[390,1423,436],{"class":421},[390,1425,439],{"class":425},[390,1427,368],{"class":400},[390,1429,444],{"class":425},[390,1431,1432],{"class":392,"line":447},[390,1433,451],{"emptyLinePlaceholder":450},[390,1435,1436,1439,1442,1444,1447,1449,1451,1454,1456,1459,1461,1464,1466,1468,1471,1473,1475,1478,1480,1483,1485],{"class":392,"line":454},[390,1437,1438],{"class":467},"mediaUrl",[390,1440,1441],{"class":429},"(fields",[390,1443,379],{"class":425},[390,1445,1446],{"class":429},"image",[390,1448,547],{"class":425},[390,1450,426],{"class":425},[390,1452,1453],{"class":479}," width",[390,1455,483],{"class":425},[390,1457,1458],{"class":765}," 800",[390,1460,547],{"class":425},[390,1462,1463],{"class":479}," format",[390,1465,483],{"class":425},[390,1467,439],{"class":425},[390,1469,1470],{"class":400},"webp",[390,1472,566],{"class":425},[390,1474,547],{"class":425},[390,1476,1477],{"class":479}," quality",[390,1479,483],{"class":425},[390,1481,1482],{"class":765}," 80",[390,1484,433],{"class":425},[390,1486,592],{"class":429},[390,1488,1489,1492,1494,1496,1498,1500,1503,1506,1508,1510,1512,1515,1518,1520,1522,1524,1526,1528,1531,1533,1535],{"class":392,"line":476},[390,1490,1491],{"class":467},"mediaSrcset",[390,1493,1441],{"class":429},[390,1495,379],{"class":425},[390,1497,1446],{"class":429},[390,1499,547],{"class":425},[390,1501,1502],{"class":429}," [",[390,1504,1505],{"class":765},"400",[390,1507,547],{"class":425},[390,1509,1458],{"class":765},[390,1511,547],{"class":425},[390,1513,1514],{"class":765}," 1200",[390,1516,1517],{"class":429},"]",[390,1519,547],{"class":425},[390,1521,426],{"class":425},[390,1523,1463],{"class":479},[390,1525,483],{"class":425},[390,1527,439],{"class":425},[390,1529,1530],{"class":400},"avif",[390,1532,566],{"class":425},[390,1534,433],{"class":425},[390,1536,592],{"class":429},[363,1538,1539,1540,1542,1543,1546,1547,1550,1551,1192,1554,1557,1558,1561],{},"Both use the ",[371,1541,5],{"href":6}," transforms on the published URL. SVG and GIF are returned unchanged (",[366,1544,1545],{},"isPassthroughMedia","). Use ",[366,1548,1549],{},"fields.image.alt"," for alt text, and ",[366,1552,1553],{},"focalPoint",[366,1555,1556],{},"[x, y]"," from 0 to 1) for ",[366,1559,1560],{},"object-position"," when you crop.",[406,1563,1565],{"id":1564},"rich-text","Rich text",[381,1567,1569],{"className":412,"code":1568,"language":414,"meta":386,"style":386},"import { renderRichTextHtml, richTextToPlainText } from '@avvyr\u002Fcms'\n\nconst html = renderRichTextHtml(fields.body)        \u002F\u002F escaped HTML, unsafe hrefs dropped\nconst description = richTextToPlainText(fields.body).slice(0, 160)\n",[366,1570,1571,1595,1599,1620],{"__ignoreMap":386},[390,1572,1573,1575,1577,1580,1582,1585,1587,1589,1591,1593],{"class":392,"line":393},[390,1574,422],{"class":421},[390,1576,426],{"class":425},[390,1578,1579],{"class":429}," renderRichTextHtml",[390,1581,547],{"class":425},[390,1583,1584],{"class":429}," richTextToPlainText",[390,1586,433],{"class":425},[390,1588,436],{"class":421},[390,1590,439],{"class":425},[390,1592,368],{"class":400},[390,1594,444],{"class":425},[390,1596,1597],{"class":392,"line":447},[390,1598,451],{"emptyLinePlaceholder":450},[390,1600,1601,1603,1606,1608,1610,1612,1614,1617],{"class":392,"line":454},[390,1602,458],{"class":457},[390,1604,1605],{"class":429}," html ",[390,1607,464],{"class":425},[390,1609,1579],{"class":467},[390,1611,1441],{"class":429},[390,1613,379],{"class":425},[390,1615,1616],{"class":429},"body)        ",[390,1618,1619],{"class":524},"\u002F\u002F escaped HTML, unsafe hrefs dropped\n",[390,1621,1622,1624,1627,1629,1631,1633,1635,1638,1640,1643,1645,1648,1650,1653],{"class":392,"line":476},[390,1623,458],{"class":457},[390,1625,1626],{"class":429}," description ",[390,1628,464],{"class":425},[390,1630,1584],{"class":467},[390,1632,1441],{"class":429},[390,1634,379],{"class":425},[390,1636,1637],{"class":429},"body)",[390,1639,379],{"class":425},[390,1641,1642],{"class":467},"slice",[390,1644,470],{"class":429},[390,1646,1647],{"class":765},"0",[390,1649,547],{"class":425},[390,1651,1652],{"class":765}," 160",[390,1654,592],{"class":429},[363,1656,1657,1658,1661],{},"In a component framework, walk the document yourself for full control, and use each link mark's ",[366,1659,1660],{},"attrs.href",", which the delivery API fills in for links to entries.",[406,1663,1665],{"id":1664},"typescript-types","TypeScript types",[363,1667,1668,1671,1672,1260,1675,1678,1679,379],{},[366,1669,1670],{},"npx avvyr-cms types --out cms.d.ts"," generates interfaces for your types, such as ",[366,1673,1674],{},"PageDocument",[366,1676,1677],{},"HeroBlock",". See ",[371,1680,98],{"href":1681},"\u002Fdocs\u002Fcms\u002Fcontent-model\u002Ftypes-and-fields#schema-as-code",[381,1683,1685],{"className":412,"code":1684,"language":414,"meta":386,"style":386},"import type { PageDocument } from '.\u002Fcms'\nconst page = await cms.page\u003CPageDocument['fields']>('\u002Fom-oss')\n",[366,1686,1687,1709],{"__ignoreMap":386},[390,1688,1689,1691,1693,1695,1698,1700,1702,1704,1707],{"class":392,"line":393},[390,1690,422],{"class":421},[390,1692,732],{"class":421},[390,1694,426],{"class":425},[390,1696,1697],{"class":429}," PageDocument",[390,1699,433],{"class":425},[390,1701,436],{"class":421},[390,1703,439],{"class":425},[390,1705,1706],{"class":400},".\u002Fcms",[390,1708,444],{"class":425},[390,1710,1711,1713,1715,1717,1719,1721,1723,1725,1728,1730,1733,1735,1738,1740,1742,1745,1747,1749,1751,1753],{"class":392,"line":447},[390,1712,458],{"class":457},[390,1714,608],{"class":429},[390,1716,464],{"class":425},[390,1718,613],{"class":421},[390,1720,616],{"class":429},[390,1722,379],{"class":425},[390,1724,621],{"class":467},[390,1726,1727],{"class":425},"\u003C",[390,1729,1674],{"class":396},[390,1731,1732],{"class":429},"[",[390,1734,566],{"class":425},[390,1736,1737],{"class":400},"fields",[390,1739,566],{"class":425},[390,1741,1517],{"class":429},[390,1743,1744],{"class":425},">",[390,1746,470],{"class":429},[390,1748,566],{"class":425},[390,1750,628],{"class":400},[390,1752,566],{"class":425},[390,1754,592],{"class":429},[1756,1757,1758],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":386,"searchDepth":447,"depth":447,"links":1760},[1761,1762,1763,1764,1765,1766,1767],{"id":408,"depth":447,"text":409},{"id":595,"depth":447,"text":596},{"id":1110,"depth":447,"text":1111},{"id":1266,"depth":447,"text":1267},{"id":1399,"depth":447,"text":1400},{"id":1564,"depth":447,"text":1565},{"id":1664,"depth":447,"text":1665},"Read content with @avvyr\u002Fcms in any JavaScript runtime, and render blocks, images and rich text yourself","md",null,{"questions":1772},{"en":1773},[1774,1775,1776,1777],"How do I create a CMS client?","Does the client handle versions and caching for me?","How do I render blocks in React or Next.js?","How do I build responsive image URLs?",{"title":124,"description":1768},"VrzjLuyeWmJ8wjcZYh_5okLHZlmNspfD8pK4bIAJ0OU",[1781,1783],{"title":115,"path":116,"stem":117,"description":1782,"children":-1},"Show drafts on your own site, and let the Avvyr editor edit your pages live in an iframe",{"title":128,"path":129,"stem":130,"description":1784,"children":-1},"Install @avvyr\u002Fcms-nuxt to serve the whole site from server memory, with composables, block rendering, images, preview and sitemap",1793388935746]