[{"data":1,"prerenderedAt":1875},["ShallowReactive",2],{"navigation":3,"docs-/providers/weserv":136,"docs-/providers/weserv-surround":202},[4,20,33,126],{"title":5,"_path":6,"children":7},"Get Started","/get-started",[8,11,14,17],{"title":9,"_path":10},"Installation","/get-started/installation",{"title":12,"_path":13},"Configuration","/get-started/configuration",{"title":15,"_path":16},"Providers","/get-started/providers",{"title":18,"_path":19},"Contributing","/get-started/contributing",{"title":21,"_path":22,"children":23},"Usage","/usage",[24,27,30],{"title":25,"_path":26},"\u003CNuxtImg>","/usage/nuxt-img",{"title":28,"_path":29},"\u003CNuxtPicture>","/usage/nuxt-picture",{"title":31,"_path":32},"useImage()","/usage/use-image",{"title":15,"_path":34,"children":35},"/providers",[36,39,42,45,48,51,54,57,60,63,66,69,72,75,78,81,84,87,90,93,96,99,102,105,108,111,114,117,120,123],{"title":37,"_path":38},"Aliyun","/providers/aliyun",{"title":40,"_path":41},"AWS Amplify","/providers/aws-amplify",{"title":43,"_path":44},"Bunny","/providers/bunny",{"title":46,"_path":47},"Caisy","/providers/caisy",{"title":49,"_path":50},"Cloudflare","/providers/cloudflare",{"title":52,"_path":53},"Cloudimage","/providers/cloudimage",{"title":55,"_path":56},"Cloudinary","/providers/cloudinary",{"title":58,"_path":59},"Contentful","/providers/contentful",{"title":61,"_path":62},"Directus","/providers/directus",{"title":64,"_path":65},"Edgio","/providers/edgio",{"title":67,"_path":68},"Fastly","/providers/fastly",{"title":70,"_path":71},"Glide","/providers/glide",{"title":73,"_path":74},"Gumlet","/providers/gumlet",{"title":76,"_path":77},"Hygraph","/providers/hygraph",{"title":79,"_path":80},"ImageEngine","/providers/imageengine",{"title":82,"_path":83},"ImageKit","/providers/imagekit",{"title":85,"_path":86},"Imgix","/providers/imgix",{"title":88,"_path":89},"IPX","/providers/ipx",{"title":91,"_path":92},"Netlify","/providers/netlify",{"title":94,"_path":95},"Prepr","/providers/prepr",{"title":97,"_path":98},"Prismic","/providers/prismic",{"title":100,"_path":101},"Sanity","/providers/sanity",{"title":103,"_path":104},"Sirv","/providers/sirv",{"title":106,"_path":107},"Storyblok","/providers/storyblok",{"title":109,"_path":110},"Strapi","/providers/strapi",{"title":112,"_path":113},"Twicpics","/providers/twicpics",{"title":115,"_path":116},"Unsplash","/providers/unsplash",{"title":118,"_path":119},"Uploadcare","/providers/uploadcare",{"title":121,"_path":122},"Vercel","/providers/vercel",{"title":124,"_path":125},"Weserv","/providers/weserv",{"title":127,"_path":128,"children":129},"Advanced","/advanced",[130,133],{"title":131,"_path":132},"Custom Provider","/advanced/custom-provider",{"title":134,"_path":135},"Static Images","/advanced/static-images",{"_path":125,"_dir":137,"_draft":138,"_partial":138,"_locale":139,"title":124,"description":140,"body":141,"_type":196,"_id":197,"_source":198,"_file":199,"_stem":200,"_extension":201},"providers",false,"","Optimize images with Weserv's dynamic image transformation service.",{"type":142,"children":143,"toc":192},"root",[144,152,159],{"type":145,"tag":146,"props":147,"children":148},"element","p",{},[149],{"type":150,"value":151},"text","Weserv offers a wide range of image transformation for all JPEG, PNG, and GIF files.",{"type":145,"tag":153,"props":154,"children":156},"h2",{"id":155},"modifiers",[157],{"type":150,"value":158},"Modifiers",{"type":145,"tag":146,"props":160,"children":161},{},[162,164,171,173,179,181,190],{"type":150,"value":163},"In addition to ",{"type":145,"tag":165,"props":166,"children":168},"code",{"className":167},[],[169],{"type":150,"value":170},"height",{"type":150,"value":172}," and ",{"type":145,"tag":165,"props":174,"children":176},{"className":175},[],[177],{"type":150,"value":178},"width",{"type":150,"value":180},", the Weserv provider supports numerous modifiers documented ",{"type":145,"tag":182,"props":183,"children":187},"a",{"href":184,"rel":185},"https://images.weserv.nl/docs/quick-reference.html",[186],"nofollow",[188],{"type":150,"value":189},"here",{"type":150,"value":191},".",{"title":139,"searchDepth":193,"depth":193,"links":194},2,[195],{"id":155,"depth":193,"text":158},"markdown","content:3.providers:weserv.md","content","3.providers/weserv.md","3.providers/weserv","md",[203,767],{"_path":122,"_dir":137,"_draft":138,"_partial":138,"_locale":139,"title":121,"description":204,"links":205,"body":211,"_type":196,"_id":764,"_source":198,"_file":765,"_stem":766,"_extension":201},"Optimize images at Vercel's Edge Network.",[206],{"label":207,"icon":208,"to":209,"size":210},"Source","i-simple-icons-github","https://github.com/nuxt/image/blob/main/src/runtime/providers/vercel.ts","xs",{"type":142,"children":212,"toc":760},[213,235,240,257,263,276,285,403,409,450,455,475,482,754],{"type":145,"tag":146,"props":214,"children":215},{},[216,218,224,226,233],{"type":150,"value":217},"When deploying your nuxt applications to ",{"type":145,"tag":182,"props":219,"children":222},{"href":220,"rel":221},"https://vercel.com/",[186],[223],{"type":150,"value":121},{"type":150,"value":225}," platform, image module can use Vercel's ",{"type":145,"tag":182,"props":227,"children":230},{"href":228,"rel":229},"https://vercel.com/docs/edge-network/overview",[186],[231],{"type":150,"value":232},"Edge Network",{"type":150,"value":234}," to optimize images on demand.",{"type":145,"tag":146,"props":236,"children":237},{},[238],{"type":150,"value":239},"This provider will be enabled by default in vercel deployments.",{"type":145,"tag":241,"props":242,"children":245},"callout",{"icon":243,"color":244},"i-heroicons-exclamation-triangle","amber",[246],{"type":145,"tag":146,"props":247,"children":248},{},[249,251],{"type":150,"value":250},"Vercel requires you to explicitly list all the widths used in your app. ",{"type":145,"tag":182,"props":252,"children":254},{"href":253},"#sizes",[255],{"type":150,"value":256},"See example below.",{"type":145,"tag":153,"props":258,"children":260},{"id":259},"domains",[261],{"type":150,"value":262},"Domains",{"type":145,"tag":146,"props":264,"children":265},{},[266,268,274],{"type":150,"value":267},"To use external URLs (images not in ",{"type":145,"tag":165,"props":269,"children":271},{"className":270},[],[272],{"type":150,"value":273},"public/",{"type":150,"value":275}," directory), hostnames should be whitelisted.",{"type":145,"tag":146,"props":277,"children":278},{},[279],{"type":145,"tag":280,"props":281,"children":282},"strong",{},[283],{"type":150,"value":284},"Example:",{"type":145,"tag":286,"props":287,"children":292},"pre",{"className":288,"code":289,"filename":290,"language":291,"meta":139,"style":139},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default {\n  image: {\n    domains: [\n      'avatars0.githubusercontent.com'\n    ]\n  }\n}\n","nuxt.config","ts",[293],{"type":145,"tag":165,"props":294,"children":295},{"__ignoreMap":139},[296,319,337,356,376,385,394],{"type":145,"tag":297,"props":298,"children":301},"span",{"class":299,"line":300},"line",1,[302,308,313],{"type":145,"tag":297,"props":303,"children":305},{"style":304},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[306],{"type":150,"value":307},"export",{"type":145,"tag":297,"props":309,"children":310},{"style":304},[311],{"type":150,"value":312}," default",{"type":145,"tag":297,"props":314,"children":316},{"style":315},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[317],{"type":150,"value":318}," {\n",{"type":145,"tag":297,"props":320,"children":321},{"class":299,"line":193},[322,328,333],{"type":145,"tag":297,"props":323,"children":325},{"style":324},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[326],{"type":150,"value":327},"  image",{"type":145,"tag":297,"props":329,"children":330},{"style":315},[331],{"type":150,"value":332},":",{"type":145,"tag":297,"props":334,"children":335},{"style":315},[336],{"type":150,"value":318},{"type":145,"tag":297,"props":338,"children":340},{"class":299,"line":339},3,[341,346,350],{"type":145,"tag":297,"props":342,"children":343},{"style":324},[344],{"type":150,"value":345},"    domains",{"type":145,"tag":297,"props":347,"children":348},{"style":315},[349],{"type":150,"value":332},{"type":145,"tag":297,"props":351,"children":353},{"style":352},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[354],{"type":150,"value":355}," [\n",{"type":145,"tag":297,"props":357,"children":359},{"class":299,"line":358},4,[360,365,371],{"type":145,"tag":297,"props":361,"children":362},{"style":315},[363],{"type":150,"value":364},"      '",{"type":145,"tag":297,"props":366,"children":368},{"style":367},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[369],{"type":150,"value":370},"avatars0.githubusercontent.com",{"type":145,"tag":297,"props":372,"children":373},{"style":315},[374],{"type":150,"value":375},"'\n",{"type":145,"tag":297,"props":377,"children":379},{"class":299,"line":378},5,[380],{"type":145,"tag":297,"props":381,"children":382},{"style":352},[383],{"type":150,"value":384},"    ]\n",{"type":145,"tag":297,"props":386,"children":388},{"class":299,"line":387},6,[389],{"type":145,"tag":297,"props":390,"children":391},{"style":315},[392],{"type":150,"value":393},"  }\n",{"type":145,"tag":297,"props":395,"children":397},{"class":299,"line":396},7,[398],{"type":145,"tag":297,"props":399,"children":400},{"style":315},[401],{"type":150,"value":402},"}\n",{"type":145,"tag":153,"props":404,"children":406},{"id":405},"sizes",[407],{"type":150,"value":408},"Sizes",{"type":145,"tag":146,"props":410,"children":411},{},[412,414,419,421,426,428,433,435,441,443],{"type":150,"value":413},"You need to specify ",{"type":145,"tag":280,"props":415,"children":416},{},[417],{"type":150,"value":418},"every custom width",{"type":150,"value":420}," used in ",{"type":145,"tag":165,"props":422,"children":424},{"className":423},[],[425],{"type":150,"value":25},{"type":150,"value":427},", ",{"type":145,"tag":165,"props":429,"children":431},{"className":430},[],[432],{"type":150,"value":28},{"type":150,"value":434}," or ",{"type":145,"tag":165,"props":436,"children":438},{"className":437},[],[439],{"type":150,"value":440},"$img",{"type":150,"value":442}," for vercel to resize them properly. ",{"type":145,"tag":182,"props":444,"children":447},{"href":445,"rel":446},"https://vercel.com/docs/build-output-api/v3/configuration#api",[186],[448],{"type":150,"value":449},"Source.",{"type":145,"tag":146,"props":451,"children":452},{},[453],{"type":150,"value":454},"If a width is not defined, image will fallback to the next bigger width.",{"type":145,"tag":241,"props":456,"children":458},{"icon":457},"i-heroicons-light-bulb",[459],{"type":145,"tag":146,"props":460,"children":461},{},[462,464,474],{"type":150,"value":463},"Don't forget to also take into account ",{"type":145,"tag":182,"props":465,"children":467},{"href":466},"/get-started/configuration#densities",[468],{"type":145,"tag":165,"props":469,"children":471},{"className":470},[],[472],{"type":150,"value":473},"densities",{"type":150,"value":191},{"type":145,"tag":146,"props":476,"children":477},{},[478],{"type":145,"tag":280,"props":479,"children":480},{},[481],{"type":150,"value":284},{"type":145,"tag":483,"props":484,"children":485},"code-group",{},[486,638],{"type":145,"tag":286,"props":487,"children":492},{"className":488,"code":489,"filename":490,"language":491,"meta":139,"style":139},"language-html shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Ctemplate>\n  \u003CNuxtImg height=\"40\" width=\"40\" preset=\"cover\" src=\"/nuxt-icon.png\" />\n\u003C/template>\n","index.vue","html",[493],{"type":145,"tag":165,"props":494,"children":495},{"__ignoreMap":139},[496,514,622],{"type":145,"tag":297,"props":497,"children":498},{"class":299,"line":300},[499,504,509],{"type":145,"tag":297,"props":500,"children":501},{"style":315},[502],{"type":150,"value":503},"\u003C",{"type":145,"tag":297,"props":505,"children":506},{"style":324},[507],{"type":150,"value":508},"template",{"type":145,"tag":297,"props":510,"children":511},{"style":315},[512],{"type":150,"value":513},">\n",{"type":145,"tag":297,"props":515,"children":516},{"class":299,"line":193},[517,522,527,533,538,543,548,552,557,561,565,569,573,578,582,586,591,595,600,604,608,613,617],{"type":145,"tag":297,"props":518,"children":519},{"style":315},[520],{"type":150,"value":521},"  \u003C",{"type":145,"tag":297,"props":523,"children":524},{"style":324},[525],{"type":150,"value":526},"NuxtImg",{"type":145,"tag":297,"props":528,"children":530},{"style":529},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[531],{"type":150,"value":532}," height",{"type":145,"tag":297,"props":534,"children":535},{"style":315},[536],{"type":150,"value":537},"=",{"type":145,"tag":297,"props":539,"children":540},{"style":315},[541],{"type":150,"value":542},"\"",{"type":145,"tag":297,"props":544,"children":545},{"style":367},[546],{"type":150,"value":547},"40",{"type":145,"tag":297,"props":549,"children":550},{"style":315},[551],{"type":150,"value":542},{"type":145,"tag":297,"props":553,"children":554},{"style":529},[555],{"type":150,"value":556}," width",{"type":145,"tag":297,"props":558,"children":559},{"style":315},[560],{"type":150,"value":537},{"type":145,"tag":297,"props":562,"children":563},{"style":315},[564],{"type":150,"value":542},{"type":145,"tag":297,"props":566,"children":567},{"style":367},[568],{"type":150,"value":547},{"type":145,"tag":297,"props":570,"children":571},{"style":315},[572],{"type":150,"value":542},{"type":145,"tag":297,"props":574,"children":575},{"style":529},[576],{"type":150,"value":577}," preset",{"type":145,"tag":297,"props":579,"children":580},{"style":315},[581],{"type":150,"value":537},{"type":145,"tag":297,"props":583,"children":584},{"style":315},[585],{"type":150,"value":542},{"type":145,"tag":297,"props":587,"children":588},{"style":367},[589],{"type":150,"value":590},"cover",{"type":145,"tag":297,"props":592,"children":593},{"style":315},[594],{"type":150,"value":542},{"type":145,"tag":297,"props":596,"children":597},{"style":529},[598],{"type":150,"value":599}," src",{"type":145,"tag":297,"props":601,"children":602},{"style":315},[603],{"type":150,"value":537},{"type":145,"tag":297,"props":605,"children":606},{"style":315},[607],{"type":150,"value":542},{"type":145,"tag":297,"props":609,"children":610},{"style":367},[611],{"type":150,"value":612},"/nuxt-icon.png",{"type":145,"tag":297,"props":614,"children":615},{"style":315},[616],{"type":150,"value":542},{"type":145,"tag":297,"props":618,"children":619},{"style":315},[620],{"type":150,"value":621}," />\n",{"type":145,"tag":297,"props":623,"children":624},{"class":299,"line":339},[625,630,634],{"type":145,"tag":297,"props":626,"children":627},{"style":315},[628],{"type":150,"value":629},"\u003C/",{"type":145,"tag":297,"props":631,"children":632},{"style":324},[633],{"type":150,"value":508},{"type":145,"tag":297,"props":635,"children":636},{"style":315},[637],{"type":150,"value":513},{"type":145,"tag":286,"props":639,"children":641},{"className":288,"code":640,"filename":290,"language":291,"meta":139,"style":139},"export default {\n  image: {\n    screens: {\n      icon: 40,\n      icon2x: 80\n    }\n  }\n}\n",[642],{"type":145,"tag":165,"props":643,"children":644},{"__ignoreMap":139},[645,660,675,691,714,731,739,746],{"type":145,"tag":297,"props":646,"children":647},{"class":299,"line":300},[648,652,656],{"type":145,"tag":297,"props":649,"children":650},{"style":304},[651],{"type":150,"value":307},{"type":145,"tag":297,"props":653,"children":654},{"style":304},[655],{"type":150,"value":312},{"type":145,"tag":297,"props":657,"children":658},{"style":315},[659],{"type":150,"value":318},{"type":145,"tag":297,"props":661,"children":662},{"class":299,"line":193},[663,667,671],{"type":145,"tag":297,"props":664,"children":665},{"style":324},[666],{"type":150,"value":327},{"type":145,"tag":297,"props":668,"children":669},{"style":315},[670],{"type":150,"value":332},{"type":145,"tag":297,"props":672,"children":673},{"style":315},[674],{"type":150,"value":318},{"type":145,"tag":297,"props":676,"children":677},{"class":299,"line":339},[678,683,687],{"type":145,"tag":297,"props":679,"children":680},{"style":324},[681],{"type":150,"value":682},"    screens",{"type":145,"tag":297,"props":684,"children":685},{"style":315},[686],{"type":150,"value":332},{"type":145,"tag":297,"props":688,"children":689},{"style":315},[690],{"type":150,"value":318},{"type":145,"tag":297,"props":692,"children":693},{"class":299,"line":358},[694,699,703,709],{"type":145,"tag":297,"props":695,"children":696},{"style":324},[697],{"type":150,"value":698},"      icon",{"type":145,"tag":297,"props":700,"children":701},{"style":315},[702],{"type":150,"value":332},{"type":145,"tag":297,"props":704,"children":706},{"style":705},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[707],{"type":150,"value":708}," 40",{"type":145,"tag":297,"props":710,"children":711},{"style":315},[712],{"type":150,"value":713},",\n",{"type":145,"tag":297,"props":715,"children":716},{"class":299,"line":378},[717,722,726],{"type":145,"tag":297,"props":718,"children":719},{"style":324},[720],{"type":150,"value":721},"      icon2x",{"type":145,"tag":297,"props":723,"children":724},{"style":315},[725],{"type":150,"value":332},{"type":145,"tag":297,"props":727,"children":728},{"style":705},[729],{"type":150,"value":730}," 80\n",{"type":145,"tag":297,"props":732,"children":733},{"class":299,"line":387},[734],{"type":145,"tag":297,"props":735,"children":736},{"style":315},[737],{"type":150,"value":738},"    }\n",{"type":145,"tag":297,"props":740,"children":741},{"class":299,"line":396},[742],{"type":145,"tag":297,"props":743,"children":744},{"style":315},[745],{"type":150,"value":393},{"type":145,"tag":297,"props":747,"children":749},{"class":299,"line":748},8,[750],{"type":145,"tag":297,"props":751,"children":752},{"style":315},[753],{"type":150,"value":402},{"type":145,"tag":755,"props":756,"children":757},"style",{},[758],{"type":150,"value":759},"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);}",{"title":139,"searchDepth":193,"depth":193,"links":761},[762,763],{"id":259,"depth":193,"text":262},{"id":405,"depth":193,"text":408},"content:3.providers:vercel.md","3.providers/vercel.md","3.providers/vercel",{"_path":132,"_dir":768,"_draft":138,"_partial":138,"_locale":139,"title":131,"description":769,"body":770,"_type":196,"_id":1872,"_source":198,"_file":1873,"_stem":1874,"_extension":201},"advanced","If a CDN provider is not supported, you can define it yourself.",{"type":142,"children":771,"toc":1862},[772,778,783,1339,1346,1427,1444,1450,1464,1470,1476,1495,1743,1764,1769,1782,1858],{"type":145,"tag":153,"props":773,"children":775},{"id":774},"provider-entry",[776],{"type":150,"value":777},"Provider Entry",{"type":145,"tag":146,"props":779,"children":780},{},[781],{"type":150,"value":782},"The runtime will receive a source, image modifiers and its provider options. It is responsible for generating a url for optimized images, and needs to be isomorphic because it may be called on either server or client.",{"type":145,"tag":286,"props":784,"children":787},{"className":288,"code":785,"filename":786,"language":291,"meta":139,"style":139},"import { joinURL } from 'ufo'\nimport type { ProviderGetImage } from '@nuxt/image'\nimport { createOperationsGenerator } from '#image'\n\nconst operationsGenerator = createOperationsGenerator()\n\nexport const getImage: ProviderGetImage = (\n  src,\n  { modifiers = {}, baseURL } = {}\n) => {\n\n  if (!baseURL) {\n    // also support runtime config \n    baseURL = useRuntimeConfig().public.siteUrl\n  }\n\n  const operations = operationsGenerator(modifiers)\n\n  return {\n    url: joinURL(baseURL, src + (operations ? '?' + operations : '')),\n  }\n}\n","providers/my-provider.ts",[788],{"type":145,"tag":165,"props":789,"children":790},{"__ignoreMap":139},[791,833,875,912,921,948,955,991,1004,1045,1063,1071,1104,1114,1155,1163,1171,1208,1216,1229,1323,1331],{"type":145,"tag":297,"props":792,"children":793},{"class":299,"line":300},[794,799,804,809,814,819,824,829],{"type":145,"tag":297,"props":795,"children":796},{"style":304},[797],{"type":150,"value":798},"import",{"type":145,"tag":297,"props":800,"children":801},{"style":315},[802],{"type":150,"value":803}," {",{"type":145,"tag":297,"props":805,"children":806},{"style":352},[807],{"type":150,"value":808}," joinURL",{"type":145,"tag":297,"props":810,"children":811},{"style":315},[812],{"type":150,"value":813}," }",{"type":145,"tag":297,"props":815,"children":816},{"style":304},[817],{"type":150,"value":818}," from",{"type":145,"tag":297,"props":820,"children":821},{"style":315},[822],{"type":150,"value":823}," '",{"type":145,"tag":297,"props":825,"children":826},{"style":367},[827],{"type":150,"value":828},"ufo",{"type":145,"tag":297,"props":830,"children":831},{"style":315},[832],{"type":150,"value":375},{"type":145,"tag":297,"props":834,"children":835},{"class":299,"line":193},[836,840,845,849,854,858,862,866,871],{"type":145,"tag":297,"props":837,"children":838},{"style":304},[839],{"type":150,"value":798},{"type":145,"tag":297,"props":841,"children":842},{"style":304},[843],{"type":150,"value":844}," type",{"type":145,"tag":297,"props":846,"children":847},{"style":315},[848],{"type":150,"value":803},{"type":145,"tag":297,"props":850,"children":851},{"style":352},[852],{"type":150,"value":853}," ProviderGetImage",{"type":145,"tag":297,"props":855,"children":856},{"style":315},[857],{"type":150,"value":813},{"type":145,"tag":297,"props":859,"children":860},{"style":304},[861],{"type":150,"value":818},{"type":145,"tag":297,"props":863,"children":864},{"style":315},[865],{"type":150,"value":823},{"type":145,"tag":297,"props":867,"children":868},{"style":367},[869],{"type":150,"value":870},"@nuxt/image",{"type":145,"tag":297,"props":872,"children":873},{"style":315},[874],{"type":150,"value":375},{"type":145,"tag":297,"props":876,"children":877},{"class":299,"line":339},[878,882,886,891,895,899,903,908],{"type":145,"tag":297,"props":879,"children":880},{"style":304},[881],{"type":150,"value":798},{"type":145,"tag":297,"props":883,"children":884},{"style":315},[885],{"type":150,"value":803},{"type":145,"tag":297,"props":887,"children":888},{"style":352},[889],{"type":150,"value":890}," createOperationsGenerator",{"type":145,"tag":297,"props":892,"children":893},{"style":315},[894],{"type":150,"value":813},{"type":145,"tag":297,"props":896,"children":897},{"style":304},[898],{"type":150,"value":818},{"type":145,"tag":297,"props":900,"children":901},{"style":315},[902],{"type":150,"value":823},{"type":145,"tag":297,"props":904,"children":905},{"style":367},[906],{"type":150,"value":907},"#image",{"type":145,"tag":297,"props":909,"children":910},{"style":315},[911],{"type":150,"value":375},{"type":145,"tag":297,"props":913,"children":914},{"class":299,"line":358},[915],{"type":145,"tag":297,"props":916,"children":918},{"emptyLinePlaceholder":917},true,[919],{"type":150,"value":920},"\n",{"type":145,"tag":297,"props":922,"children":923},{"class":299,"line":378},[924,929,934,938,943],{"type":145,"tag":297,"props":925,"children":926},{"style":529},[927],{"type":150,"value":928},"const",{"type":145,"tag":297,"props":930,"children":931},{"style":352},[932],{"type":150,"value":933}," operationsGenerator ",{"type":145,"tag":297,"props":935,"children":936},{"style":315},[937],{"type":150,"value":537},{"type":145,"tag":297,"props":939,"children":941},{"style":940},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[942],{"type":150,"value":890},{"type":145,"tag":297,"props":944,"children":945},{"style":352},[946],{"type":150,"value":947},"()\n",{"type":145,"tag":297,"props":949,"children":950},{"class":299,"line":387},[951],{"type":145,"tag":297,"props":952,"children":953},{"emptyLinePlaceholder":917},[954],{"type":150,"value":920},{"type":145,"tag":297,"props":956,"children":957},{"class":299,"line":396},[958,962,967,972,976,981,986],{"type":145,"tag":297,"props":959,"children":960},{"style":304},[961],{"type":150,"value":307},{"type":145,"tag":297,"props":963,"children":964},{"style":529},[965],{"type":150,"value":966}," const",{"type":145,"tag":297,"props":968,"children":969},{"style":352},[970],{"type":150,"value":971}," getImage",{"type":145,"tag":297,"props":973,"children":974},{"style":315},[975],{"type":150,"value":332},{"type":145,"tag":297,"props":977,"children":979},{"style":978},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[980],{"type":150,"value":853},{"type":145,"tag":297,"props":982,"children":983},{"style":315},[984],{"type":150,"value":985}," =",{"type":145,"tag":297,"props":987,"children":988},{"style":352},[989],{"type":150,"value":990}," (\n",{"type":145,"tag":297,"props":992,"children":993},{"class":299,"line":748},[994,1000],{"type":145,"tag":297,"props":995,"children":997},{"style":996},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[998],{"type":150,"value":999},"  src",{"type":145,"tag":297,"props":1001,"children":1002},{"style":315},[1003],{"type":150,"value":713},{"type":145,"tag":297,"props":1005,"children":1007},{"class":299,"line":1006},9,[1008,1013,1018,1022,1027,1032,1036,1040],{"type":145,"tag":297,"props":1009,"children":1010},{"style":315},[1011],{"type":150,"value":1012},"  {",{"type":145,"tag":297,"props":1014,"children":1015},{"style":996},[1016],{"type":150,"value":1017}," modifiers",{"type":145,"tag":297,"props":1019,"children":1020},{"style":315},[1021],{"type":150,"value":985},{"type":145,"tag":297,"props":1023,"children":1024},{"style":315},[1025],{"type":150,"value":1026}," {},",{"type":145,"tag":297,"props":1028,"children":1029},{"style":996},[1030],{"type":150,"value":1031}," baseURL",{"type":145,"tag":297,"props":1033,"children":1034},{"style":315},[1035],{"type":150,"value":813},{"type":145,"tag":297,"props":1037,"children":1038},{"style":315},[1039],{"type":150,"value":985},{"type":145,"tag":297,"props":1041,"children":1042},{"style":315},[1043],{"type":150,"value":1044}," {}\n",{"type":145,"tag":297,"props":1046,"children":1048},{"class":299,"line":1047},10,[1049,1054,1059],{"type":145,"tag":297,"props":1050,"children":1051},{"style":352},[1052],{"type":150,"value":1053},") ",{"type":145,"tag":297,"props":1055,"children":1056},{"style":529},[1057],{"type":150,"value":1058},"=>",{"type":145,"tag":297,"props":1060,"children":1061},{"style":315},[1062],{"type":150,"value":318},{"type":145,"tag":297,"props":1064,"children":1066},{"class":299,"line":1065},11,[1067],{"type":145,"tag":297,"props":1068,"children":1069},{"emptyLinePlaceholder":917},[1070],{"type":150,"value":920},{"type":145,"tag":297,"props":1072,"children":1074},{"class":299,"line":1073},12,[1075,1080,1085,1090,1095,1099],{"type":145,"tag":297,"props":1076,"children":1077},{"style":304},[1078],{"type":150,"value":1079},"  if",{"type":145,"tag":297,"props":1081,"children":1082},{"style":324},[1083],{"type":150,"value":1084}," (",{"type":145,"tag":297,"props":1086,"children":1087},{"style":315},[1088],{"type":150,"value":1089},"!",{"type":145,"tag":297,"props":1091,"children":1092},{"style":352},[1093],{"type":150,"value":1094},"baseURL",{"type":145,"tag":297,"props":1096,"children":1097},{"style":324},[1098],{"type":150,"value":1053},{"type":145,"tag":297,"props":1100,"children":1101},{"style":315},[1102],{"type":150,"value":1103},"{\n",{"type":145,"tag":297,"props":1105,"children":1107},{"class":299,"line":1106},13,[1108],{"type":145,"tag":297,"props":1109,"children":1111},{"style":1110},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[1112],{"type":150,"value":1113},"    // also support runtime config \n",{"type":145,"tag":297,"props":1115,"children":1117},{"class":299,"line":1116},14,[1118,1123,1127,1132,1137,1141,1146,1150],{"type":145,"tag":297,"props":1119,"children":1120},{"style":352},[1121],{"type":150,"value":1122},"    baseURL",{"type":145,"tag":297,"props":1124,"children":1125},{"style":315},[1126],{"type":150,"value":985},{"type":145,"tag":297,"props":1128,"children":1129},{"style":940},[1130],{"type":150,"value":1131}," useRuntimeConfig",{"type":145,"tag":297,"props":1133,"children":1134},{"style":324},[1135],{"type":150,"value":1136},"()",{"type":145,"tag":297,"props":1138,"children":1139},{"style":315},[1140],{"type":150,"value":191},{"type":145,"tag":297,"props":1142,"children":1143},{"style":352},[1144],{"type":150,"value":1145},"public",{"type":145,"tag":297,"props":1147,"children":1148},{"style":315},[1149],{"type":150,"value":191},{"type":145,"tag":297,"props":1151,"children":1152},{"style":352},[1153],{"type":150,"value":1154},"siteUrl\n",{"type":145,"tag":297,"props":1156,"children":1158},{"class":299,"line":1157},15,[1159],{"type":145,"tag":297,"props":1160,"children":1161},{"style":315},[1162],{"type":150,"value":393},{"type":145,"tag":297,"props":1164,"children":1166},{"class":299,"line":1165},16,[1167],{"type":145,"tag":297,"props":1168,"children":1169},{"emptyLinePlaceholder":917},[1170],{"type":150,"value":920},{"type":145,"tag":297,"props":1172,"children":1174},{"class":299,"line":1173},17,[1175,1180,1185,1189,1194,1199,1203],{"type":145,"tag":297,"props":1176,"children":1177},{"style":529},[1178],{"type":150,"value":1179},"  const",{"type":145,"tag":297,"props":1181,"children":1182},{"style":352},[1183],{"type":150,"value":1184}," operations",{"type":145,"tag":297,"props":1186,"children":1187},{"style":315},[1188],{"type":150,"value":985},{"type":145,"tag":297,"props":1190,"children":1191},{"style":940},[1192],{"type":150,"value":1193}," operationsGenerator",{"type":145,"tag":297,"props":1195,"children":1196},{"style":324},[1197],{"type":150,"value":1198},"(",{"type":145,"tag":297,"props":1200,"children":1201},{"style":352},[1202],{"type":150,"value":155},{"type":145,"tag":297,"props":1204,"children":1205},{"style":324},[1206],{"type":150,"value":1207},")\n",{"type":145,"tag":297,"props":1209,"children":1211},{"class":299,"line":1210},18,[1212],{"type":145,"tag":297,"props":1213,"children":1214},{"emptyLinePlaceholder":917},[1215],{"type":150,"value":920},{"type":145,"tag":297,"props":1217,"children":1219},{"class":299,"line":1218},19,[1220,1225],{"type":145,"tag":297,"props":1221,"children":1222},{"style":304},[1223],{"type":150,"value":1224},"  return",{"type":145,"tag":297,"props":1226,"children":1227},{"style":315},[1228],{"type":150,"value":318},{"type":145,"tag":297,"props":1230,"children":1232},{"class":299,"line":1231},20,[1233,1238,1242,1246,1250,1254,1259,1263,1268,1272,1277,1282,1286,1291,1296,1300,1304,1309,1314,1319],{"type":145,"tag":297,"props":1234,"children":1235},{"style":324},[1236],{"type":150,"value":1237},"    url",{"type":145,"tag":297,"props":1239,"children":1240},{"style":315},[1241],{"type":150,"value":332},{"type":145,"tag":297,"props":1243,"children":1244},{"style":940},[1245],{"type":150,"value":808},{"type":145,"tag":297,"props":1247,"children":1248},{"style":324},[1249],{"type":150,"value":1198},{"type":145,"tag":297,"props":1251,"children":1252},{"style":352},[1253],{"type":150,"value":1094},{"type":145,"tag":297,"props":1255,"children":1256},{"style":315},[1257],{"type":150,"value":1258},",",{"type":145,"tag":297,"props":1260,"children":1261},{"style":352},[1262],{"type":150,"value":599},{"type":145,"tag":297,"props":1264,"children":1265},{"style":315},[1266],{"type":150,"value":1267}," +",{"type":145,"tag":297,"props":1269,"children":1270},{"style":324},[1271],{"type":150,"value":1084},{"type":145,"tag":297,"props":1273,"children":1274},{"style":352},[1275],{"type":150,"value":1276},"operations",{"type":145,"tag":297,"props":1278,"children":1279},{"style":315},[1280],{"type":150,"value":1281}," ?",{"type":145,"tag":297,"props":1283,"children":1284},{"style":315},[1285],{"type":150,"value":823},{"type":145,"tag":297,"props":1287,"children":1288},{"style":367},[1289],{"type":150,"value":1290},"?",{"type":145,"tag":297,"props":1292,"children":1293},{"style":315},[1294],{"type":150,"value":1295},"'",{"type":145,"tag":297,"props":1297,"children":1298},{"style":315},[1299],{"type":150,"value":1267},{"type":145,"tag":297,"props":1301,"children":1302},{"style":352},[1303],{"type":150,"value":1184},{"type":145,"tag":297,"props":1305,"children":1306},{"style":315},[1307],{"type":150,"value":1308}," :",{"type":145,"tag":297,"props":1310,"children":1311},{"style":315},[1312],{"type":150,"value":1313}," ''",{"type":145,"tag":297,"props":1315,"children":1316},{"style":324},[1317],{"type":150,"value":1318},"))",{"type":145,"tag":297,"props":1320,"children":1321},{"style":315},[1322],{"type":150,"value":713},{"type":145,"tag":297,"props":1324,"children":1326},{"class":299,"line":1325},21,[1327],{"type":145,"tag":297,"props":1328,"children":1329},{"style":315},[1330],{"type":150,"value":393},{"type":145,"tag":297,"props":1332,"children":1334},{"class":299,"line":1333},22,[1335],{"type":145,"tag":297,"props":1336,"children":1337},{"style":315},[1338],{"type":150,"value":402},{"type":145,"tag":1340,"props":1341,"children":1343},"h3",{"id":1342},"parameters",[1344],{"type":150,"value":1345},"Parameters",{"type":145,"tag":1347,"props":1348,"children":1349},"ul",{},[1350,1362,1372],{"type":145,"tag":1351,"props":1352,"children":1353},"li",{},[1354,1360],{"type":145,"tag":165,"props":1355,"children":1357},{"className":1356},[],[1358],{"type":150,"value":1359},"src",{"type":150,"value":1361},": Source path of the image.",{"type":145,"tag":1351,"props":1363,"children":1364},{},[1365,1370],{"type":145,"tag":165,"props":1366,"children":1368},{"className":1367},[],[1369],{"type":150,"value":155},{"type":150,"value":1371},": List of image modifiers that are defined in the image component or as a preset.",{"type":145,"tag":1351,"props":1373,"children":1374},{},[1375,1381,1383,1389,1391],{"type":145,"tag":165,"props":1376,"children":1378},{"className":1377},[],[1379],{"type":150,"value":1380},"ctx",{"type":150,"value":1382},": (",{"type":145,"tag":165,"props":1384,"children":1386},{"className":1385},[],[1387],{"type":150,"value":1388},"ImageCTX",{"type":150,"value":1390},") Image module runtime context\n",{"type":145,"tag":1347,"props":1392,"children":1393},{},[1394,1412],{"type":145,"tag":1351,"props":1395,"children":1396},{},[1397,1403,1404,1410],{"type":145,"tag":165,"props":1398,"children":1400},{"className":1399},[],[1401],{"type":150,"value":1402},"options",{"type":150,"value":1382},{"type":145,"tag":165,"props":1405,"children":1407},{"className":1406},[],[1408],{"type":150,"value":1409},"CreateImageOptions",{"type":150,"value":1411},") Image module global runtime options",{"type":145,"tag":1351,"props":1413,"children":1414},{},[1415,1420,1422],{"type":145,"tag":165,"props":1416,"children":1418},{"className":1417},[],[1419],{"type":150,"value":440},{"type":150,"value":1421},": The ",{"type":145,"tag":182,"props":1423,"children":1424},{"href":32},[1425],{"type":150,"value":1426},"$img helper",{"type":145,"tag":146,"props":1428,"children":1429},{},[1430,1435,1437,1442],{"type":145,"tag":280,"props":1431,"children":1432},{},[1433],{"type":150,"value":1434},"Note:",{"type":150,"value":1436}," Values in ",{"type":145,"tag":165,"props":1438,"children":1440},{"className":1439},[],[1441],{"type":150,"value":1380},{"type":150,"value":1443}," might change. Use it with caution.",{"type":145,"tag":1340,"props":1445,"children":1447},{"id":1446},"return",[1448],{"type":150,"value":1449},"Return",{"type":145,"tag":1347,"props":1451,"children":1452},{},[1453],{"type":145,"tag":1351,"props":1454,"children":1455},{},[1456,1462],{"type":145,"tag":165,"props":1457,"children":1459},{"className":1458},[],[1460],{"type":150,"value":1461},"url",{"type":150,"value":1463},": Absolute or relative url of optimized image.",{"type":145,"tag":153,"props":1465,"children":1467},{"id":1466},"use-your-provider",[1468],{"type":150,"value":1469},"Use your provider",{"type":145,"tag":1340,"props":1471,"children":1473},{"id":1472},"register-provider",[1474],{"type":150,"value":1475},"Register provider",{"type":145,"tag":146,"props":1477,"children":1478},{},[1479,1481,1486,1488,1494],{"type":150,"value":1480},"After you create your own provider, you should register it in the ",{"type":145,"tag":165,"props":1482,"children":1484},{"className":1483},[],[1485],{"type":150,"value":290},{"type":150,"value":1487},". In order to do that create a property inside ",{"type":145,"tag":165,"props":1489,"children":1491},{"className":1490},[],[1492],{"type":150,"value":1493},"image.provider",{"type":150,"value":191},{"type":145,"tag":286,"props":1496,"children":1499},{"className":288,"code":1497,"filename":1498,"language":291,"meta":139,"style":139},"export default defineNuxtConfig({\n  // ...\n  image: {\n    providers: {\n      myProvider: {\n        name: 'myProvider', // optional value to overrider provider name\n        provider: '~/providers/my-provider.ts', // Path to custom provider\n        options: {\n          // ... provider options\n          baseURL: \"https://site.com\"\n        }\n      }\n    }\n  }\n})\n","nuxt.config.ts",[1500],{"type":145,"tag":165,"props":1501,"children":1502},{"__ignoreMap":139},[1503,1527,1535,1550,1566,1582,1616,1650,1666,1674,1701,1709,1717,1724,1731],{"type":145,"tag":297,"props":1504,"children":1505},{"class":299,"line":300},[1506,1510,1514,1519,1523],{"type":145,"tag":297,"props":1507,"children":1508},{"style":304},[1509],{"type":150,"value":307},{"type":145,"tag":297,"props":1511,"children":1512},{"style":304},[1513],{"type":150,"value":312},{"type":145,"tag":297,"props":1515,"children":1516},{"style":940},[1517],{"type":150,"value":1518}," defineNuxtConfig",{"type":145,"tag":297,"props":1520,"children":1521},{"style":352},[1522],{"type":150,"value":1198},{"type":145,"tag":297,"props":1524,"children":1525},{"style":315},[1526],{"type":150,"value":1103},{"type":145,"tag":297,"props":1528,"children":1529},{"class":299,"line":193},[1530],{"type":145,"tag":297,"props":1531,"children":1532},{"style":1110},[1533],{"type":150,"value":1534},"  // ...\n",{"type":145,"tag":297,"props":1536,"children":1537},{"class":299,"line":339},[1538,1542,1546],{"type":145,"tag":297,"props":1539,"children":1540},{"style":324},[1541],{"type":150,"value":327},{"type":145,"tag":297,"props":1543,"children":1544},{"style":315},[1545],{"type":150,"value":332},{"type":145,"tag":297,"props":1547,"children":1548},{"style":315},[1549],{"type":150,"value":318},{"type":145,"tag":297,"props":1551,"children":1552},{"class":299,"line":358},[1553,1558,1562],{"type":145,"tag":297,"props":1554,"children":1555},{"style":324},[1556],{"type":150,"value":1557},"    providers",{"type":145,"tag":297,"props":1559,"children":1560},{"style":315},[1561],{"type":150,"value":332},{"type":145,"tag":297,"props":1563,"children":1564},{"style":315},[1565],{"type":150,"value":318},{"type":145,"tag":297,"props":1567,"children":1568},{"class":299,"line":378},[1569,1574,1578],{"type":145,"tag":297,"props":1570,"children":1571},{"style":324},[1572],{"type":150,"value":1573},"      myProvider",{"type":145,"tag":297,"props":1575,"children":1576},{"style":315},[1577],{"type":150,"value":332},{"type":145,"tag":297,"props":1579,"children":1580},{"style":315},[1581],{"type":150,"value":318},{"type":145,"tag":297,"props":1583,"children":1584},{"class":299,"line":387},[1585,1590,1594,1598,1603,1607,1611],{"type":145,"tag":297,"props":1586,"children":1587},{"style":324},[1588],{"type":150,"value":1589},"        name",{"type":145,"tag":297,"props":1591,"children":1592},{"style":315},[1593],{"type":150,"value":332},{"type":145,"tag":297,"props":1595,"children":1596},{"style":315},[1597],{"type":150,"value":823},{"type":145,"tag":297,"props":1599,"children":1600},{"style":367},[1601],{"type":150,"value":1602},"myProvider",{"type":145,"tag":297,"props":1604,"children":1605},{"style":315},[1606],{"type":150,"value":1295},{"type":145,"tag":297,"props":1608,"children":1609},{"style":315},[1610],{"type":150,"value":1258},{"type":145,"tag":297,"props":1612,"children":1613},{"style":1110},[1614],{"type":150,"value":1615}," // optional value to overrider provider name\n",{"type":145,"tag":297,"props":1617,"children":1618},{"class":299,"line":396},[1619,1624,1628,1632,1637,1641,1645],{"type":145,"tag":297,"props":1620,"children":1621},{"style":324},[1622],{"type":150,"value":1623},"        provider",{"type":145,"tag":297,"props":1625,"children":1626},{"style":315},[1627],{"type":150,"value":332},{"type":145,"tag":297,"props":1629,"children":1630},{"style":315},[1631],{"type":150,"value":823},{"type":145,"tag":297,"props":1633,"children":1634},{"style":367},[1635],{"type":150,"value":1636},"~/providers/my-provider.ts",{"type":145,"tag":297,"props":1638,"children":1639},{"style":315},[1640],{"type":150,"value":1295},{"type":145,"tag":297,"props":1642,"children":1643},{"style":315},[1644],{"type":150,"value":1258},{"type":145,"tag":297,"props":1646,"children":1647},{"style":1110},[1648],{"type":150,"value":1649}," // Path to custom provider\n",{"type":145,"tag":297,"props":1651,"children":1652},{"class":299,"line":748},[1653,1658,1662],{"type":145,"tag":297,"props":1654,"children":1655},{"style":324},[1656],{"type":150,"value":1657},"        options",{"type":145,"tag":297,"props":1659,"children":1660},{"style":315},[1661],{"type":150,"value":332},{"type":145,"tag":297,"props":1663,"children":1664},{"style":315},[1665],{"type":150,"value":318},{"type":145,"tag":297,"props":1667,"children":1668},{"class":299,"line":1006},[1669],{"type":145,"tag":297,"props":1670,"children":1671},{"style":1110},[1672],{"type":150,"value":1673},"          // ... provider options\n",{"type":145,"tag":297,"props":1675,"children":1676},{"class":299,"line":1047},[1677,1682,1686,1691,1696],{"type":145,"tag":297,"props":1678,"children":1679},{"style":324},[1680],{"type":150,"value":1681},"          baseURL",{"type":145,"tag":297,"props":1683,"children":1684},{"style":315},[1685],{"type":150,"value":332},{"type":145,"tag":297,"props":1687,"children":1688},{"style":315},[1689],{"type":150,"value":1690}," \"",{"type":145,"tag":297,"props":1692,"children":1693},{"style":367},[1694],{"type":150,"value":1695},"https://site.com",{"type":145,"tag":297,"props":1697,"children":1698},{"style":315},[1699],{"type":150,"value":1700},"\"\n",{"type":145,"tag":297,"props":1702,"children":1703},{"class":299,"line":1065},[1704],{"type":145,"tag":297,"props":1705,"children":1706},{"style":315},[1707],{"type":150,"value":1708},"        }\n",{"type":145,"tag":297,"props":1710,"children":1711},{"class":299,"line":1073},[1712],{"type":145,"tag":297,"props":1713,"children":1714},{"style":315},[1715],{"type":150,"value":1716},"      }\n",{"type":145,"tag":297,"props":1718,"children":1719},{"class":299,"line":1106},[1720],{"type":145,"tag":297,"props":1721,"children":1722},{"style":315},[1723],{"type":150,"value":738},{"type":145,"tag":297,"props":1725,"children":1726},{"class":299,"line":1116},[1727],{"type":145,"tag":297,"props":1728,"children":1729},{"style":315},[1730],{"type":150,"value":393},{"type":145,"tag":297,"props":1732,"children":1733},{"class":299,"line":1157},[1734,1739],{"type":145,"tag":297,"props":1735,"children":1736},{"style":315},[1737],{"type":150,"value":1738},"}",{"type":145,"tag":297,"props":1740,"children":1741},{"style":352},[1742],{"type":150,"value":1207},{"type":145,"tag":146,"props":1744,"children":1745},{},[1746,1748,1753,1755,1762],{"type":150,"value":1747},"There are plenty of useful utilities that can be used to write providers by importing from ",{"type":145,"tag":165,"props":1749,"children":1751},{"className":1750},[],[1752],{"type":150,"value":907},{"type":150,"value":1754},". See ",{"type":145,"tag":182,"props":1756,"children":1759},{"href":1757,"rel":1758},"https://github.com/nuxt/image/tree/dev/src/runtime/providers",[186],[1760],{"type":150,"value":1761},"src/runtime/providers",{"type":150,"value":1763}," for more info.",{"type":145,"tag":1340,"props":1765,"children":1767},{"id":1766},"usage",[1768],{"type":150,"value":21},{"type":145,"tag":146,"props":1770,"children":1771},{},[1772,1774,1780],{"type":150,"value":1773},"Set attribute ",{"type":145,"tag":165,"props":1775,"children":1777},{"className":1776},[],[1778],{"type":150,"value":1779},"provider",{"type":150,"value":1781}," as your custom provider name.",{"type":145,"tag":286,"props":1783,"children":1788},{"className":1784,"code":1785,"filename":1786,"language":1787,"meta":139,"style":139},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003CNuxtImg provider=\"myProvider\" src=\"/image.png\" >\n\u003C!-- \u003Cimg src=\"https://site.com/image.png\" /> -->\n","pages/index.vue","vue",[1789],{"type":145,"tag":165,"props":1790,"children":1791},{"__ignoreMap":139},[1792,1850],{"type":145,"tag":297,"props":1793,"children":1794},{"class":299,"line":300},[1795,1799,1803,1808,1812,1816,1820,1824,1828,1832,1836,1841,1845],{"type":145,"tag":297,"props":1796,"children":1797},{"style":315},[1798],{"type":150,"value":503},{"type":145,"tag":297,"props":1800,"children":1801},{"style":324},[1802],{"type":150,"value":526},{"type":145,"tag":297,"props":1804,"children":1805},{"style":529},[1806],{"type":150,"value":1807}," provider",{"type":145,"tag":297,"props":1809,"children":1810},{"style":315},[1811],{"type":150,"value":537},{"type":145,"tag":297,"props":1813,"children":1814},{"style":315},[1815],{"type":150,"value":542},{"type":145,"tag":297,"props":1817,"children":1818},{"style":367},[1819],{"type":150,"value":1602},{"type":145,"tag":297,"props":1821,"children":1822},{"style":315},[1823],{"type":150,"value":542},{"type":145,"tag":297,"props":1825,"children":1826},{"style":529},[1827],{"type":150,"value":599},{"type":145,"tag":297,"props":1829,"children":1830},{"style":315},[1831],{"type":150,"value":537},{"type":145,"tag":297,"props":1833,"children":1834},{"style":315},[1835],{"type":150,"value":542},{"type":145,"tag":297,"props":1837,"children":1838},{"style":367},[1839],{"type":150,"value":1840},"/image.png",{"type":145,"tag":297,"props":1842,"children":1843},{"style":315},[1844],{"type":150,"value":542},{"type":145,"tag":297,"props":1846,"children":1847},{"style":315},[1848],{"type":150,"value":1849}," >\n",{"type":145,"tag":297,"props":1851,"children":1852},{"class":299,"line":193},[1853],{"type":145,"tag":297,"props":1854,"children":1855},{"style":352},[1856],{"type":150,"value":1857},"\u003C!-- \u003Cimg src=\"https://site.com/image.png\" /> -->\n",{"type":145,"tag":755,"props":1859,"children":1860},{},[1861],{"type":150,"value":759},{"title":139,"searchDepth":193,"depth":193,"links":1863},[1864,1868],{"id":774,"depth":193,"text":777,"children":1865},[1866,1867],{"id":1342,"depth":339,"text":1345},{"id":1446,"depth":339,"text":1449},{"id":1466,"depth":193,"text":1469,"children":1869},[1870,1871],{"id":1472,"depth":339,"text":1475},{"id":1766,"depth":339,"text":21},"content:4.advanced:1.custom-provider.md","4.advanced/1.custom-provider.md","4.advanced/1.custom-provider",1736769703504]