PageSourceSearch

https://sanity-commercelayer-template.netlify.app/_next/static/chu…/studio/[[...index]]-3c5bfd181dd57027.js

js sanity-commercelayer-template.netlify.app collected 2026-10-03 11:22:46 UTC 9,888 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1057],{93053:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/studio/[[...index]]",function(){return i(61487)}])},61487:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return B},metadata:function(){return z.P},viewport:function(){return z.O}});var a=i(11527),r=i(98137),n=i(70890),l=i(85473),o=i(69608),s=i(88832),d=i(15625),c=i(45433),m=[{id:"en_us",title:"English",isDefault:!0},{id:"it_it",title:"Italian"},{id:"fr_fr",title:"French"}];let u=m.find(e=>e.isDefault)||m[0];var p=(0,c.fe)({name:"country",title:"Country",description:"A country representing a market in Commerce Layer",type:"document",icon:d.g_B,fields:[(0,c.Z2)({name:"name",title:"Name",type:"localeString",validation:e=>e.required().error("A name is required")}),(0,c.Z2)({name:"code",title:"Code",type:"string",validation:e=>e.required().min(2).max(4).error("A code of min. 2 characters and max. 4 characters is required")}),(0,c.Z2)({name:"catalog",title:"Catalog",type:"reference",to:[{type:"catalog"}],validation:e=>e.required().error("A catalog is required")}),(0,c.Z2)({name:"marketId",title:"Market Id",type:"string",validation:e=>e.required().error("A market ID is required")}),(0,c.Z2)({name:"image",title:"Image",type:"image",validation:e=>e.required().error("An image is required")}),(0,c.Z2)({name:"defaultLocale",title:"DefaultLocale",type:"string"}),(0,c.Z2)({name:"domain",title:"Domain",type:"string"})],preview:{select:{title:"name.".concat(u.id),media:"image"}}}),f=i(13741);let y=m.find(e=>e.isDefault)||m[0];var g=(0,c.fe)({name:"catalog",title:"Catalog",description:"A list of catalogs associated with some taxonomies",type:"document",icon:f.RVe,fields:[(0,c.Z2)({name:"name",title:"Name",type:"localeString",validation:e=>e.required().error("A name is required")}),(0,c.Z2)({name:"taxonomies",title:"Taxonomies",type:"array",validation:e=>e.required().error("One or more taxonomies are required"),of:[{type:"reference",to:{type:"taxonomy"}}]})],preview:{select:{title:"name.".concat(y.id)}}}),v=i(19164);let q=m.find(e=>e.isDefault)||m[0];var h=(0,c.fe)({name:"size",title:"Size",description:"Weight in grams",type:"document",icon:v.mXW,fields:[(0,c.Z2)({name:"name",title:"Name",type:"localeString",validation:e=>e.required().error("A name is required")})],preview:{select:{title:"name.".concat(q.id)}}}),x=i(12453);let C=m.find(e=>e.isDefault)||m[0];var Z=(0,c.fe)({name:"taxon",title:"Taxon",description:"",type:"document",icon:x._zM,fields:[(0,c.Z2)({name:"name",title:"Name",type:"localeString",validation:e=>e.required().error("A name is required")}),(0,c.Z2)({name:"label",title:"Label",type:"localeString"}),(0,c.Z2)({name:"slug",title:"Slug",type:"localeSlug",options:{source:"Name"},validation:e=>e.required().error("A slug is required")}),(0,c.Z2)({name:"description",title:"Description",type:"localeText"}),(0,c.Z2)({name:"products",title:"Products",type:"array",of:[{type:"reference",to:{type:"product"}}],validation:e=>e.warning("One or more products are required")}),(0,c.Z2)({name:"taxons",title:"Taxons",type:"array",of:[{type:"reference",to:{type:"taxon"}}]})],preview:{select:{title:"name.".concat(C.id)}}}),w=i(82299);let b=m.find(e=>e.isDefault)||m[0];var H=(0,c.fe)({name:"taxonomy",title:"Taxonomy",description:"",type:"document",icon:w.qFY,fields:[(0,c.Z2)({name:"name",title:"Name",type:"localeString",validation:e=>e.required().error("A name is required")}),(0,c.Z2)({name:"label",title:"Label",type:"localeString"}),(0,c.Z2)({name:"taxons",title:"Taxons",type:"array",validation:e=>e.required().error("One or more taxons are required"),of:[{type:"reference",to:{type:"taxon"}}]})],preview:{select:{title:"name.".concat(b.id)}}}),D=i(96973);let S=m.find(e=>e.isDefault)||m[0];var A=(0,c.fe)({name:"variant",title:"Variant",description:"",type:"document",icon:D.DOT,fields:[(0,c.Z2)({name:"name",title:"Name",type:"localeString",validation:e=>e.required().error("A name is required")}),(0,c.Z2)({name:"code",title:"Code",type:"string",validation:e=>e.required().error("A variant code is required")}),(0,c.Z2)({name:"description",title:"Description",type:"localeText"}),(0,c.Z2)({name:"images",title:"Images",type:"array",of:[{type:"reference",to:{type:"productImage"}}],validation:e=>e.required().error("One or more images are required")}),(0,c.Z2)({name:"size",title:"Size",type:"reference",to:{type:"size"},validation:e=>e.required().error("A size is required")})],preview:{select:{title:"name.".concat(S.id),media:"images.0.images"}}});let k=m.find(e=>e.isDefault)||m[0];var T=(0,c.fe)({name:"productImage",title:"Product Image",description:"A list of product images",type:"document",icon:w.BCU,fields:[(0,c.Z2)({name:"name",title:"Name",type:"localeString",validation:e=>e.required().error("A name is required")}),(0,c.Z2)({name:"description",title:"Description",type:"localeText"}),(0,c.Z2)({name:"images",title:"Images",type:"image",validation:e=>e.required().error("One or more images are required")})],preview:{select:{title:"name.".concat(k.id),media:"images"}}});let j=m.find(e=>e.isDefault)||m[0];var _=(0,c.fe)({name:"product",title:"Product",description:"A list of products associated with some variants",type:"document",icon:d.Q48,fields:[(0,c.Z2)({name:"name",title:"Name",type:"localeString",validation:e=>e.required()}),(0,c.Z2)({name:"description",title:"Description",type:"localeText"}),(0,c.Z2)({name:"slug",title:"Slug",type:"localeSlug",validation:e=>e.required()}),(0,c.Z2)({name:"reference",title:"Reference",type:"string",validation:e=>e.required()}),(0,c.Z2)({name:"images",title:"Images",type:"array",of:[{type:"reference",to:{type:"productImage"}}],validation:e=>e.required()}),(0,c.Z2)({name:"variants",title:"Variants",type:"array",of:[{type:"reference",to:{type:"variant"}}],validation:e=>e.required()})],preview:{select:{title:"name.".concat(j.id),subtitle:"slug.".concat(j.id,".current"),media:"images.0.images"},prepare(e){let{title:t,subtitle:i,media:a}=e;return{title:t,subtitle:"/".concat(i),media:a}}}}),V={name:"localeString",title:"Locale string",type:"object",fieldsets:[{title:"Translations",name:"translations",options:{collapsible:!0}}],fields:m.map(e=>({title:e.title,name:e.id,type:"string",fieldset:e.isDefault?null:"translations"}))},L={name:"localeText",title:"Locale text",type:"object",fieldsets:[{title:"Translations",name:"translations",options:{collapsible:!0}}],fields:m.map(e=>({title:e.title,name:e.id,type:"text",fieldset:e.isDefault?null:"translations"}))},N={name:"localeSlug",title:"Locale slug",type:"object",fieldsets:[{title:"Translations",name:"translations",options:{collapsible:!0}}],fields:m.map(e=>({title:e.title,name:e.id,type:"slug",fieldset:e.isDefault?null:"translations",options:{source:"name.".concat(e.id),maxLength:200}}))},I={name:"localeBlockContent",title:"Locale block content",type:"object",fieldsets:[{title:"Translations",name:"translations",options:{collapsible:!0}}],fields:m.map(e=>({title:e.title,name:e.id,type:"blockContent",fieldset:e.isDefault?null:"translations"}))},O=(0,l.ZDM)({title:"[Studio] Commerce Layer Sanity Starter",basePath:"/studio",projectId:"v429fjr8",dataset:"production",plugins:[(0,o.gQ)(),(0,s.T)({defaultApiVersion:"2024-02-13"})],schema:{types:[{title:"Block Content",name:"blockContent",description:"",type:"array",of:[{title:"Block",type:"block",styles:[{title:"Normal",value:"normal"},{title:"H1",value:"h1"},{title:"H2",value:"h2"},{title:"H3",value:"h3"},{title:"H4",value:"h4"},{title:"Quote",value:"blockquote"}],lists:[{title:"Bullet",value:"bullet"}],marks:{decorators:[{title:"Strong",value:"strong"},{title:"Emphasis",value:"em"}],annotations:[{title:"URL",name:"link",type:"object",fields:[{title:"URL",name:"href",type:"url"}]}]}},{type:"image",options:{hotspot:!0}}]},p,g,h,Z,H,A,T,_,V,L,N,I]},studio:{components:{logo:()=>(0,a.jsxs)("svg",{width:"50",height:"50",viewBox:"0 0 256 256",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("rect",{width:"256",height:"256",fill:"#101111"}),(0,a.jsx)("path",{d:"M168.621 113.2H138.994V142.8H168.621V113.2Z",fill:"white"}),(0,a.jsx)("path",{d:"M116.774 113.2H87.1476V142.8H116.774V113.2Z",fill:"white"}),(0,a.jsx)("path",{d:"M187.23 164.815C187.091 168.284 185.703 172.4 179.824 172.4H150.475C148.206 172.308 137.374 172.215 129.18 179.846C128.764 180.263 128.347 180.679 127.977 181.141C127.56 180.725 127.19 180.263 126.773 179.846C118.58 172.215 107.747 172.261 105.479 172.4H76.1302C70.2511 172.4 68.8624 168.284 68.7235 165V142.8H53.9102V165.093C54.0027 173.973 60.0207 187.2 76.1302 187.2H105.664H106.127C106.173 187.2 112.654 186.923 116.728 190.761C119.228 193.12 120.524 196.913 120.524 202H135.522C135.522 196.913 136.772 193.12 139.318 190.761C143.346 186.923 149.827 187.2 149.827 187.2H179.87C195.979 
1187.2 201.997 173.973 202.09 165V142.8H187.276L187.23 164.815Z",fill:"white"}),(0,a.jsx)("path",{d:"M68.7235 91.185C68.8624 87.7163 70.2511 83.6 76.1302 83.6H105.479C107.747 83.6925 118.58 83.785 126.773 76.1538C127.19 75.7375 127.607 75.3212 127.977 74.8587C128.393 75.275 128.764 75.7375 129.18 76.1538C137.374 83.785 148.206 83.7388 150.475 83.6H179.777C185.656 83.6 187.045 87.7163 187.184 91V113.2H201.997V90.9075C201.905 82.0275 195.887 68.8 179.777 68.8H150.243H149.78C149.734 68.8 143.253 69.0775 139.179 65.2387C136.68 62.88 135.43 59.0875 135.43 54H120.431C120.431 59.0875 119.181 62.88 116.635 65.2387C112.608 69.0775 106.127 68.8 106.127 68.8H76.1302C60.0207 68.8 54.0027 82.0275 53.9102 91V113.2H68.7235V91.185Z",fill:"white"})]})}}}),z=i(69685);function B(){return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(r.n,{config:O,children:(0,a.jsx)(n.LOQ,{config:O,children:(0,a.jsx)(n.WVR,{})})})})}},57002:function(){}},function(e){e.O(0,[9774,9035,9021,8621,6829,922,7432,8747,8323,8717,7849,7906,4964,897,2528,2634,9110,2888,179],function(){return e(e.s=93053)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.