1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,627686,e=>{"use strict";var t,n,r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o=(t=function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)},n=Object.create(null),function(e){return void 0===n[e]&&(n[e]=t(e)),n[e]});e.s(["default",0,o],627686)},824627,e=>{"use strict";var t=function(e,n){return(t=Object.setPrototypeOf||({__proto__:[]}
1)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,n)},n=function(){return(n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function r(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function o(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function a(e){return this instanceof a?(this.v=e,this):new a(e)}"function"==typeof SuppressedError&&SuppressedError,e.s(["__assign",()=>n,"__asyncGenerator",0,function(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function s(e,t){o[e]&&(r[e]=function(t){return new Promise(function(n,r){i.push([e,t,n,r])>1||l(e,t)})},t&&(r[e]=t(r[e])))}function l(e,t){try{var n;(n=o[e](t)).value instanceof a?Promise.resolve(n.value.v).then(c,u):d(i[0][2],n)}catch(e){d(i[0][3],e)}}function c(e){l("next",e)}function u(e){l("throw",e)}function d(e,t){e(t),i.shift(),i.length&&l(i[0][0],i[0][1])}},"__asyncValues",0,function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=r(e),t={},o("next"),o("throw"),o("return"),t[Symbol.asyncIterator]=function(){return this},t);function o(n){t[n]=e[n]&&function(t){return new Promise(function(r,o){var a,i,s;a=r,i=o,s=(t=e[n](t)).done,Promise.resolve(t.value).then(function(e){a({value:e,done:s})},i)})}}},"__await",0,a,"__awaiter",0,function(e,t,n,r){return new(n||(n=Promise))(function(o,a){function i(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(i,s)}l((r=r.apply(e,t||[])).next())})},"__extends",0,function(e,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)},"__generator",0,function(e,t){var n,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=s(0),i.throw=s(1),i.return=s(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){var c=[s,l];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}},"__read",0,o,"__rest",0,function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},"__spread",0,function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(o(arguments[t]));return e},"__spreadArray",0,function(e,t,n){if(n||2==arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},"__values",0,r])},149489,686132,e=>{"use strict";var t=e.i(948737);function n(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var r="u">typeof window?t.useLayoutEffect:t.useEffect,o=new WeakMap;e.s(["useMergeRefs",0,function(e,a){var i,s,l,c=(i=a||null,s=function(t){return e.forEach(function(e){return n(e,t)})},(l=(0,t.useState)(function(){return{value:i,callback:s,facade:{get current(){return l.value},set current(value){var e=l.value;e!==value&&(l.value=value,l.callback(value,e))}}}})[0]).callback=s,l.facade);return r(function(){var t=o.get(c);if(t){var r=new Set(t),a=new Set(e),i=c.current;r.forEach(function(e){a.has(e)||n(e,null)}),a.forEach(function(e){r.has(e)||n(e,i)})}o.set(c,e)},[e]),c}],149489);var a=e.i(824627);function i(e){return e}function s(e,t){void 0===t&&(t=i);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var a=function(){var n=t;
1t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}}}e.s(["createMedium",0,function(e,t){return void 0===t&&(t=i),s(e,t)},"createSidecarMedium",0,function(e){void 0===e&&(e={});var t=s(null);return t.options=(0,a.__assign)({async:!0,ssr:!1},e),t}],686132)},747743,e=>{"use strict";var t={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},n={0:8203,1:8204,2:8205,3:65279},r={0:String.fromCodePoint(n[0]),1:String.fromCodePoint(n[1]),2:String.fromCodePoint(n[2]),3:String.fromCodePoint(n[3])},o=[,,,,].fill(String.fromCodePoint(n[0])).join("");Object.fromEntries(Object.entries(r).map(e=>[e[1],+e[0]])),Object.fromEntries(Object.entries(t).map(e=>e.reverse()));var a=`${Object.values(t).map(e=>`\\u{${e.toString(16)}}`).join("")}`,i=RegExp(`[${a}]{4,}`,"gu");e.s(["isRecord",0,function(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)},"stegaClean",0,function(e){var t,n;return e&&JSON.parse({cleaned:(t=JSON.stringify(e)).replace(i,""),encoded:(null==(n=t.match(i))?void 0:n[0])||""}.cleaned)},"y",0,function(e,t,n="auto"){return!0===n||"auto"===n&&(!(!Number.isNaN(Number(e))||/[a-z]/i.test(e)&&!/\d+(?:[-:\/]\d+){2}(?:T\d+(?:[-:\/]\d+){1,2}(\.\d+)?Z?)?/.test(e))&&Date.parse(e)||function(e){try{new URL(e,e.startsWith("/")?"https://acme.com":void 0)}catch{return!1}return!0}(e))?e:`${e}${function(e){let t=JSON.stringify(e),n=new TextEncoder().encode(t),a="";for(let e=0;e<n.length;e++){let t=n[e];a+=r[t>>6&3]+r[t>>4&3]+r[t>>2&3]+r[3&t]}return o+a}(t)}`}])},826092,e=>{"use strict";var t=e.i(545741),n=e.i(828168),r=e.i(948737);let o={textDecoration:"underline"},a=(e,t)=>`[@portabletext/react] Unknown ${e}, specify a component for it in the \`components.${t}\` prop`,i=e=>a(`block type "${e}"`,"types");function s(e){console.warn(e)}let l={display:"none"},c={types:{},block:{normal:({children:e})=>(0,t.jsx)("p",{children:e}),blockquote:({children:e})=>(0,t.jsx)("blockquote",{children:e}),h1:({children:e})=>(0,t.jsx)("h1",{children:e}),h2:({children:e})=>(0,t.jsx)("h2",{children:e}),h3:({children:e})=>(0,t.jsx)("h3",{children:e}),h4:({children:e})=>(0,t.jsx)("h4",{children:e}),h5:({children:e})=>(0,t.jsx)("h5",{children:e}),h6:({children:e})=>(0,t.jsx)("h6",{children:e})},marks:{em:({children:e})=>(0,t.jsx)("em",{children:e}),strong:({children:e})=>(0,t.jsx)("strong",{children:e}),code:({children:e})=>(0,t.jsx)("code",{children:e}),underline:({children:e})=>(0,t.jsx)("span",{style:o,children:e}),"strike-through":({children:e})=>(0,t.jsx)("del",{children:e}),link:({children:e,value:n})=>(0,t.jsx)("a",{href:n?.href,children:e})},list:{number:({children:e})=>(0,t.jsx)("ol",{children:e}),bullet:({children:e})=>(0,t.jsx)("ul",{children:e})},listItem:({children:e})=>(0,t.jsx)("li",{children:e}),hardBreak:()=>(0,t.jsx)("br",{}),unknownType:({value:e,isInline:n})=>{let r=i(e._type);return(0,t.jsx)(n?"span":"div",{style:l,children:r})},unknownMark:({markType:e,children:n})=>(0,t.jsx)("span",{className:`unknown__pt__mark__${e}`,children:n}),unknownList:({children:e})=>(0,t.jsx)("ul",{children:e}),unknownListItem:({children:e})=>(0,t.jsx)("li",{children:e}),unknownBlockStyle:({children:e})=>(0,t.jsx)("p",{children:e})};function u(e,t,n){let r=t[n],o=e[n];return"function"==typeof r||r&&"function"==typeof o?r:r?{...o,...r}:o}function d(e){let{node:t,index:r,isInline:o,renderNode:a}=e,i=(0,n.buildMarksTree)(t).map((e,t)=>a({node:e,isInline:!0,index:t,renderNode:a}));return{_key:t._key||`block-${r}`,children:i,index:r,isInline:o,node:t}}function p(){}e.s(["PortableText",0,function({value:e,components:o,listNestingMode:l,onMissingComponent:f=s}){let h=f||p,m;m=Array.isArray(e)?e:null==e?[]:[e];let y=(0,n.nestLists)(m,l||n.LIST_NEST_MODE_HTML),g=(0,r.useMemo)(()=>o?function(e,t){let{block:n,list:r,listItem:o,marks:a,types:i,...s}=t;return{...e,block:u(e,t,"block"),list:u(e,t,"list"),listItem:u(e,t,"listItem"),marks:u(e,t,"marks"),types:u(e,t,"types"),...s}}(c,o):c,[o]),v=(0,r.useMemo)(()=>{var e,r;return e=g,r=h,function o(s){var l,c,u,p,f,h,m,y;let g,v,{node:b,index:x,isInline:k}=s,_=b._key||`node-${x}`;return(0,n.isPortableTextToolkitList)(b)?function(n,i,s){let l=n.children.map((e,t)=>o({node:e._key?e:{...e,_key:`li-${i}-${t}`},index:t,isInline:!1,renderNode:o})),c=e.list,u=("function"==typeof c?c:c[n.listItem])||e.unknownList;if(u===e.unknownList){let e=n.listItem||"bullet";r(a(`list style "${e}"`,"list"),{nodeType:"listStyle",type:e})}return(0,t.jsx)(u,{value:n,index:i,isInline:!1,renderNode:o,children:l},s)}(b,x,_):(0,n.isPortableTextListItemBlock)(b)?function(n,i,s){let l=d({node:n,index:i,isInline:!1,renderNode:o}),c=e.listItem,u=("function"==typeof c?c:c[n.listItem])||e.unknownListItem;if(u===e.unknownListItem){let e=n.listItem||"bullet";r(a(`list item style "${e}"`,"listItem"),{type:e,nodeType:"listItemStyle"})}let p=l.children;if(n.style&&"normal"!==n.style){let{listItem:e,...t}=n;p=o({node:t,index:i,isInline:!1,renderNode:o})}return(0,t.jsx)(u,{value:n,index:i,isInline:!1,renderNode:o,children:p},s)}(b,x,_):(0,n.isPortableTextToolkitSpan)(b)?function(i,s){let{markDef:l,markType:c,markKey:u}=i,d=e.marks[c]||e.unknownMark,p=i.children.map((e,t)=>o({node:e,index:t,isInline:!0,renderNode:o}));return d===e.unknownMark&&r(a(`mark type "${c}"`,"marks"),{nodeType:"mark",type:c}),(0,t.jsx)(d,{text:(0,n.spanToPlainText)(i),value:l,markType:c,markKey:u,renderNode:o,children:p},s)}(b,_):b._type in e.types?(l=b,c=x,u=_,p=k,(g=e.types[l._type])?(0,t.jsx)(g,{value:l,isInline:p,index:c,renderNode:o},u):null):(0,n.isPortableTextBlock)(b)?function(n,i,s,l){let{_key:c,...u}=d({node:n,index:i,isInline:l,renderNode:o}),p=u.node.style||"normal",f=("function"==typeof e.block?e.block:e.block[p])||e.unknownBlockStyle;return f===e.unknownBlockStyle&&r(a(`block style "${p}"`,"block"),{nodeType:"blockStyle",type:p}),(0,t.jsx)(f,{...u,value:u.node,renderNode:o},s)}(b,x,_,k):(0,n.isPortableTextToolkitTextNode)(b)?function(n,r){if("\n"===n.text){let n=e.hardBreak;return n?(0,t.jsx)(n,{},r):"\n"}return n.text}(b,_):(f=b,h=x,m=_,y=k,r(i(f._type),{nodeType:"block",type:f._type}),v=e.unknownType,(0,t.jsx)(v,{value:f,isInline:y,index:h,renderNode:o},m))}},[g,h]);return(0,t.jsx)(t.Fragment,{children:y.map((e,t)=>v({node:e,index:t,isInline:!1,renderNode:v}))})}])},878524,(e,t,n)=>{t.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},505918,(e,t,n)=>{t.exports=e.g&&e.g.Object===Object&&e.g},78974,(e,t,n)=>{var r=e.r(505918),o="object"==typeof self&&self&&self.Object===Object&&self;
1t.exports=r||o||Function("return this")()},328042,(e,t,n)=>{t.exports=e.r(78974).Symbol},684435,(e,t,n)=>{var r=e.r(328042),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=r?r.toStringTag:void 0;t.exports=function(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[s]=n:delete e[s]),o}},933680,(e,t,n)=>{var r=Object.prototype.toString;t.exports=function(e){return r.call(e)}},416907,(e,t,n)=>{var r=e.r(328042),o=e.r(684435),a=e.r(933680),i=r?r.toStringTag:void 0;t.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?o(e):a(e)}},394022,(e,t,n)=>{t.exports=function(e){return null!=e&&"object"==typeof e}},18855,(e,t,n)=>{var r=e.r(416907),o=e.r(394022);t.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},187863,(e,t,n)=>{"use strict";var r=e.r(948737).__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;n.c=function(e){return r.H.useMemoCache(e)}},515706,(e,t,n)=>{"use strict";t.exports=e.r(187863)},469989,(e,t,n)=>{"use strict";let r,o,a;var i,s,l=Object.create,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,p=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,h=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of d(t))f.call(e,o)||o===n||c(e,o,{get:()=>t[o],enumerable:!(r=u(t,o))||r.enumerable});return e},m={},y={$dispatcherGuard:()=>P,$makeReadOnly:()=>T,$reset:()=>R,$structuralCheck:()=>M,c:()=>j,clearRenderCounterRegistry:()=>I,renderCounterRegistry:()=>C,useRenderCounter:()=>N};for(var g in y)c(m,g,{get:y[g],enumerable:!0});t.exports=h(c({},"__esModule",{value:!0}),m);var v=(a=null!=(r=e.r(948737))?l(p(r)):{},h(!o&&r&&r.__esModule?a:c(a,"default",{value:r,enumerable:!0}),r)),{useRef:b,useEffect:x,isValidElement:k}=v,_=null!=(i=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)?i:v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.memo_cache_sentinel"),j="function"==typeof(null==(s=v.__COMPILER_RUNTIME)?void 0:s.c)?v.__COMPILER_RUNTIME.c:function(e){return v.useMemo(()=>{let t=Array(e);for(let n=0;n<e;n++)t[n]=w;return t[w]=!0,t},[])},S={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach(e=>{S[e]=()=>{throw Error(`[React] Unexpected React hook call (${e}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var E=null;function O(e){return _.ReactCurrentDispatcher.current=e,_.ReactCurrentDispatcher.current}S.useMemoCache=e=>{if(null!=E)return E.useMemoCache(e);throw Error("React Compiler internal invariant violation: unexpected null dispatcher")};var $=[];function P(e){let t=_.ReactCurrentDispatcher.current;if(0===e){if($.push(t),1===$.length&&(E=t),t===S)throw Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");O(S)}else if(1===e){let e=$.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");0===$.length&&(E=null),O(e)}else if(2===e)$.push(t),O(E);else if(3===e){let e=$.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");O(e)}else throw Error("React Compiler internal error: unreachable block"+e)}function R(e){for(let t=0;t<e.length;t++)e[t]=w}function T(){throw Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var C=new Map;function I(){for(let e of C.values())e.forEach(e=>{e.count=0})}function N(e){let t=b(null);null!=t.current&&(t.current.count+=1),x(()=>{if(null==t.current){let n,r={count:0};null==(n=C.get(e))&&(n=new Set,C.set(e,n)),n.add(r),t.current=r}return()=>{var n;let r;null!==t.current&&(n=t.current,null!=(r=C.get(e))&&r.delete(n))}})}var A=new Set;function M(e,t,n,r,o,a){function i(e,t,i,s){let l=`${r}:${a} [${o}] ${n}${i} changed from ${e} to ${t} at depth ${s}`;A.has(l)||(A.add(l),console.error(l))}!function e(t,n,r,o){if(!(o>2)){if(t!==n)if(typeof t!=typeof n)i(`type ${typeof t}`,`type ${typeof n}`,r,o);else if("object"==typeof t){let a=Array.isArray(t),s=Array.isArray(n);if(null===t&&null!==n)i("null",`type ${typeof n}`,r,o);else if(null===n)i(`type ${typeof t}`,"null",r,o);else if(t instanceof Map)if(n instanceof Map)if(t.size!==n.size)i(`Map instance with size ${t.size}`,`Map instance with size ${n.size}`,r,o);else for(let[a,s]of t)n.has(a)?e(s,n.get(a),`${r}.get(${a})`,o+1):i(`Map instance with key ${a}`,`Map instance without key ${a}`,r,o);else i("Map instance","other value",r,o);else if(n instanceof Map)i("other value","Map instance",r,o);else if(t instanceof Set)if(n instanceof Set)if(t.size!==n.size)i(`Set instance with size ${t.size}`,`Set instance with size ${n.size}`,r,o);else for(let e of n)t.has(e)||i(`Set instance without element ${e}`,`Set instance with element ${e}`,r,o);else i("Set instance","other value",r,o);else if(n instanceof Set)i("other value","Set instance",r,o);else if(a||s)if(a!==s)i(`type ${a?"array":"object"}`,`type ${s?"array":"object"}`,r,o);else if(t.length!==n.length)i(`array with length ${t.length}`,`array with length ${n.length}`,r,o);else for(let a=0;a<t.length;a++)e(t[a],n[a],`${r}[${a}]`,o+1);else if(k(t)||k(n))k(t)!==k(n)?i(`type ${k(t)?"React element":"object"}`,`type ${k(n)?"React element":"object"}`,r,o):t.type!==n.type?i(`React element of type ${t.type}`,`React element of type ${n.type}`,r,o):e(t.props,n.props,`[props of ${r}]`,o+1);else{for(let e in n)e in t||i(`object without key ${e}`,`object with key ${e}`,r,o);for(let a in t)a in n?e(t[a],n[a],`${r}.${a}`,o+1):i(`object with key ${a}`,`object without key ${a}`,r,o)}}else{if("function"==typeof t)return;isNaN(t)||isNaN(n)?isNaN(t)!==isNaN(n)&&i(`${isNaN(t)?"NaN":"non-NaN value"}`,`${isNaN(n)?"NaN":"non-NaN value"}`,r,o):t!==n&&i(t,n,r,o)}}}(e,t,"",0)}},630374,e=>{"use strict";var t=e.i(545741),n=e.i(647163),r=e.i(948737),o=e.i(775453),a=e.i(494610),i=e.i(682115),s=e.i(980927),l=e.i(636098),c=e.i(439347),u=e.i(557619),d=e.i(342080),p=e.i(649194),f=e.i(130312),h=e.i(363534),m=e.i(981653),y=e.i(73772),g=e.i(474795),v="Dialog",[b,x]=(0,i.createContextScope)(v),[k,_]=b(v),w=e=>{let{__scopeDialog:n,children:o,open:a,defaultOpen:i,onOpenChange:c,modal:u=!0}=e,d=r.useRef(null),p=r.useRef(null),[f,h]=(0,l.useControllableState)({prop:a,defaultProp:i??!1,onChange:c,caller:v});return(0,t.jsx)(k,{scope:n,triggerRef:d,contentRef:p,contentId:(0,s.useId)(),titleId:(0,s.useId)(),descriptionId:(0,s.useId)(),open:f,onOpenChange:h,onOpenToggle:r.useCallback(()=>h(e=>!e),[h]),modal:u,children:o})};w.displayName=v;
1var j="DialogTrigger",S=r.forwardRef((e,n)=>{let{__scopeDialog:r,...i}=e,s=_(j,r),l=(0,a.useComposedRefs)(n,s.triggerRef);return(0,t.jsx)(f.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":W(s.open),...i,ref:l,onClick:(0,o.composeEventHandlers)(e.onClick,s.onOpenToggle)})});S.displayName=j;var E="DialogPortal",[O,$]=b(E,{forceMount:void 0}),P=e=>{let{__scopeDialog:n,forceMount:o,children:a,container:i}=e,s=_(E,n);return(0,t.jsx)(O,{scope:n,forceMount:o,children:r.Children.map(a,e=>(0,t.jsx)(p.Presence,{present:o||s.open,children:(0,t.jsx)(d.Portal,{asChild:!0,container:i,children:e})}))})};P.displayName=E;var R="DialogOverlay",T=r.forwardRef((e,n)=>{let r=$(R,e.__scopeDialog),{forceMount:o=r.forceMount,...a}=e,i=_(R,e.__scopeDialog);return i.modal?(0,t.jsx)(p.Presence,{present:o||i.open,children:(0,t.jsx)(I,{...a,ref:n})}):null});T.displayName=R;var C=(0,g.createSlot)("DialogOverlay.RemoveScroll"),I=r.forwardRef((e,n)=>{let{__scopeDialog:r,...o}=e,a=_(R,r);return(0,t.jsx)(m.RemoveScroll,{as:C,allowPinchZoom:!0,shards:[a.contentRef],children:(0,t.jsx)(f.Primitive.div,{"data-state":W(a.open),...o,ref:n,style:{pointerEvents:"auto",...o.style}})})}),N="DialogContent",A=r.forwardRef((e,n)=>{let r=$(N,e.__scopeDialog),{forceMount:o=r.forceMount,...a}=e,i=_(N,e.__scopeDialog);return(0,t.jsx)(p.Presence,{present:o||i.open,children:i.modal?(0,t.jsx)(M,{...a,ref:n}):(0,t.jsx)(D,{...a,ref:n})})});A.displayName=N;var M=r.forwardRef((e,n)=>{let i=_(N,e.__scopeDialog),s=r.useRef(null),l=(0,a.useComposedRefs)(n,i.contentRef,s);return r.useEffect(()=>{let e=s.current;if(e)return(0,y.hideOthers)(e)},[]),(0,t.jsx)(L,{...e,ref:l,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),i.triggerRef.current?.focus()}),onPointerDownOutside:(0,o.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,o.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),D=r.forwardRef((e,n)=>{let o=_(N,e.__scopeDialog),a=r.useRef(!1),i=r.useRef(!1);return(0,t.jsx)(L,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(a.current||o.triggerRef.current?.focus(),t.preventDefault()),a.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(a.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let n=t.target;o.triggerRef.current?.contains(n)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),L=r.forwardRef((e,n)=>{let{__scopeDialog:o,trapFocus:i,onOpenAutoFocus:s,onCloseAutoFocus:l,...d}=e,p=_(N,o),f=r.useRef(null),m=(0,a.useComposedRefs)(n,f);return(0,h.useFocusGuards)(),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.FocusScope,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:s,onUnmountAutoFocus:l,children:(0,t.jsx)(c.DismissableLayer,{role:"dialog",id:p.contentId,"aria-describedby":p.descriptionId,"aria-labelledby":p.titleId,"data-state":W(p.open),...d,ref:m,onDismiss:()=>p.onOpenChange(!1)})}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(V,{titleId:p.titleId}),(0,t.jsx)(J,{contentRef:f,descriptionId:p.descriptionId})]})]})}),U="DialogTitle",H=r.forwardRef((e,n)=>{let{__scopeDialog:r,...o}=e,a=_(U,r);return(0,t.jsx)(f.Primitive.h2,{id:a.titleId,...o,ref:n})});H.displayName=U;var z="DialogDescription",F=r.forwardRef((e,n)=>{let{__scopeDialog:r,...o}=e,a=_(z,r);return(0,t.jsx)(f.Primitive.p,{id:a.descriptionId,...o,ref:n})});F.displayName=z;var G="DialogClose",q=r.forwardRef((e,n)=>{let{__scopeDialog:r,...a}=e,i=_(G,r);return(0,t.jsx)(f.Primitive.button,{type:"button",...a,ref:n,onClick:(0,o.composeEventHandlers)(e.onClick,()=>i.onOpenChange(!1))})});function W(e){return e?"open":"closed"}q.displayName=G;var B="DialogTitleWarning",[K,Y]=(0,i.createContext)(B,{contentName:N,titleName:U,docsSlug:"dialog"}),V=({titleId:e})=>{let t=Y(B),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 2 3If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 4 5For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return r.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},J=({contentRef:e,descriptionId:t})=>{let n=Y("DialogDescriptionWarning"),o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${n.contentName}}.`;return r.useEffect(()=>{let n=e.current?.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null};e.s(["Close",0,q,"Content",0,A,"Description",0,F,"Dialog",0,w,"DialogClose",0,q,"DialogContent",0,A,"DialogDescription",0,F,"DialogOverlay",0,T,"DialogPortal",0,P,"DialogTitle",0,H,"DialogTrigger",0,S,"Overlay",0,T,"Portal",0,P,"Root",0,w,"Title",0,H,"Trigger",0,S,"WarningProvider",0,K,"createDialogScope",0,x],742694);var X=e.i(742694),X=X,Z=e.i(167881),Q=e.i(821332);function ee({...e}){return(0,t.jsx)(X.Portal,{"data-slot":"dialog-portal",...e})}function et({className:e,...r}){return(0,t.jsx)(X.Overlay,{className:(0,n.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-neutral-950/50",e),"data-slot":"dialog-overlay",...r})}e.s(["Dialog",0,function({...e}){return(0,t.jsx)(X.Root,{"data-slot":"dialog",...e})},"DialogContent",0,function({className:e,children:r,...o}
5){return(0,t.jsxs)(ee,{"data-slot":"dialog-portal",children:[(0,t.jsx)(et,{}),(0,t.jsxs)(X.Content,{className:(0,n.cn)("bg-neutral-0 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid max-h-[calc(100%-1rem)] w-full max-w-[calc(100%-1rem)] translate-x-[-50%] translate-y-[-50%] gap-4 overflow-y-auto rounded-lg border border-neutral-200 p-6 shadow-lg duration-200 lg:max-h-[740px] lg:max-w-[960px]",e),"data-slot":"dialog-content",...o,children:[r,(0,t.jsx)(X.Close,{asChild:!0,className:"absolute top-4 right-4 rounded-xs opacity-70 ring-offset-neutral-200 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-neutral-200 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-neutral-900 data-[state=open]:text-neutral-500 lg:top-6 lg:right-6 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:(0,t.jsxs)(Z.default,{className:"rounded-full",size:"icon",variant:"outline",children:[(0,t.jsx)(Q.default,{name:"x"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})})]})]})},"DialogDescription",0,function({className:e,...r}){return(0,t.jsx)(X.Description,{className:(0,n.cn)("text-sm text-neutral-900",e),"data-slot":"dialog-description",...r})},"DialogHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{className:(0,n.cn)("flex flex-col gap-2 text-center sm:text-left",e),"data-slot":"dialog-header",...r})},"DialogTitle",0,function({className:e,...r}){return(0,t.jsx)(X.Title,{className:(0,n.cn)("text-2xl",e),"data-slot":"dialog-title",...r})},"DialogTrigger",0,function({...e}){return(0,t.jsx)(X.Trigger,{"data-slot":"dialog-trigger",...e})}],630374)},93014,e=>{"use strict";var t=e.i(948737);e.s(["useOnClickOutside",0,function(e,n,r){(0,t.useEffect)(()=>{let t=t=>{!e.current||!t.target||e.current.contains(t.target)||r&&r.some(e=>{let n=document.getElementById(e);return n&&n.contains(t.target)})||n(t)},o=e=>{"Escape"===e.key&&n(e)};return document.addEventListener("mousedown",t),document.addEventListener("touchstart",t),document.addEventListener("keydown",o),()=>{document.removeEventListener("mousedown",t),document.removeEventListener("touchstart",t),document.removeEventListener("keydown",o)}},[e,n,r])}])},211090,e=>{"use strict";var t=e.i(10412);let n={"handshake/syn":t.MSG_HANDSHAKE_SYN,"handshake/syn-ack":t.MSG_HANDSHAKE_SYN_ACK,"handshake/ack":t.MSG_HANDSHAKE_ACK,"channel/response":t.MSG_RESPONSE,"channel/heartbeat":t.MSG_HEARTBEAT,"channel/disconnect":t.MSG_DISCONNECT,"overlay/focus":"visual-editing/focus","overlay/navigate":"visual-editing/navigate","overlay/toggle":"visual-editing/toggle","presentation/toggleOverlay":"presentation/toggle-overlay"},r={[t.MSG_HANDSHAKE_SYN]:"handshake/syn",[t.MSG_HANDSHAKE_SYN_ACK]:"handshake/syn-ack",[t.MSG_HANDSHAKE_ACK]:"handshake/ack",[t.MSG_RESPONSE]:"channel/response",[t.MSG_HEARTBEAT]:"channel/heartbeat",[t.MSG_DISCONNECT]:"channel/disconnect","visual-editing/focus":"overlay/focus","visual-editing/navigate":"overlay/navigate","visual-editing/toggle":"overlay/toggle","presentation/toggle-overlay":"presentation/toggleOverlay"},o=e=>{let{data:r}=e;return r&&"object"==typeof r&&"domain"in r&&"type"in r&&"from"in r&&"to"in r&&("sanity/channels"===r.domain&&(r.domain=t.DOMAIN),"overlays"===r.to&&(r.to="visual-editing"),"overlays"===r.from&&(r.from="visual-editing"),r.channelId=r.connectionId,delete r.connectionId,r.type=n[r.type]??r.type),e},a=({context:e},n)=>{let{sources:o,targetOrigin:a}=e,i=(e=>{let{channelId:n,...o}=e,a={...o,connectionId:n};return a.domain===t.DOMAIN&&(a.domain="sanity/channels"),"visual-editing"===a.to&&(a.to="overlays"),"visual-editing"===a.from&&(a.from="overlays"),a.type=r[a.type]??a.type,"channel/response"===a.type&&a.responseTo&&!a.data&&(a.data={responseTo:a.responseTo}),("handshake/syn"===a.type||"handshake/syn-ack"===a.type||"handshake/ack"===a.type)&&(a.data={id:a.connectionId}),a})(n.message);
5o.forEach(e=>{e.postMessage(i,{targetOrigin:a})})};e.s(["createCompatibilityActors",0,()=>({listen:(0,t.createListenLogic)(o),requestMachine:(0,t.createRequestMachine)().provide({actions:{"send message":a}})}),"isMaybePreviewIframe",0,function(){return window.self!==window.top},"isMaybePreviewWindow",0,function(){return!!window.opener}])},599568,(e,t,n)=>{var r=e.r(581511);t.exports=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},806016,(e,t,n)=>{var r=e.r(599568);t.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},727278,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({html:e,height:t=null,width:n=null,children:a,dataNtpc:i=""}){return(0,o.useEffect)(()=>{i&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${i}`}})},[i]),(0,r.jsxs)(r.Fragment,{children:[a,e?(0,r.jsx)("div",{style:{height:null!=t?`${t}px`:"auto",width:null!=n?`${n}px`:"auto"},"data-ntpc":i,dangerouslySetInnerHTML:{__html:e}}):null]})};let r=e.r(545741),o=e.r(948737)},156759,(e,t,n)=>{"use strict";var r=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.sendGTMEvent=void 0,n.GoogleTagManager=function(e){let{gtmId:t,gtmScriptUrl:n,dataLayerName:r="dataLayer",auth:l,preview:c,dataLayer:u,nonce:d}=e;s=r;let p=new URL(n||"https://www.googletagmanager.com/gtm.js");return t&&p.searchParams.set("id",t),"dataLayer"!==r&&p.searchParams.set("l",r),l&&p.searchParams.set("gtm_auth",l),c&&(p.searchParams.set("gtm_preview",c),p.searchParams.set("gtm_cookies_win","x")),(0,a.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(i.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:` 6 (function(w,l){ 7 w[l]=w[l]||[]; 8 w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'}); 9 ${u?`w[l].push(${JSON.stringify(u)})`:""} 10 })(window,'${r}');`},nonce:d}),(0,o.jsx)(i.default,{id:"_next-gtm","data-ntpc":"GTM",src:p.href,nonce:d})]})};let o=e.r(545741),a=e.r(948737),i=r(e.r(76465)),s="dataLayer";n.sendGTMEvent=(e,t)=>{let n=t||s;window[n]=window[n]||[],window[n].push(e)}},382638,(e,t,n)=>{"use strict";let r;var o=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.GoogleAnalytics=function(e){let{gaId:t,debugMode:n,dataLayerName:o="dataLayer",nonce:l}=e;return void 0===r&&(r=o),(0,i.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:` 11 window['${o}'] = window['${o}'] || []; 12 function gtag(){window['${o}'].push(arguments);} 13 gtag('js', new Date()); 14 15 gtag('config', '${t}' ${n?",{ 'debug_mode': true }":""});`},nonce:l}),(0,a.jsx)(s.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?id=${t}`,nonce:l})]})},n.sendGAEvent=function(){void 0===r?console.warn("@next/third-parties: GA has not been initialized"):window[r]?window[r].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${r} does not exist`)};let a=e.r(545741),i=e.r(948737),s=o(e.r(76465))},154441,e=>{"use strict";var t=e.i(747743);let n=/_key\s*==\s*['"](.*)['"]/;function r(e){if(!Array.isArray(e))throw Error("Path is not an array");return e.reduce((e,t,r)=>{let o=typeof t;if("number"===o)return`${e}[${t}]`;if("string"===o)return`${e}${0===r?"":"."}${t}`;if(("string"==typeof t?n.test(t.trim()):"object"==typeof t&&"_key"in t)&&t._key)return`${e}[_key=="${t._key}"]`;if(Array.isArray(t)){let[n,r]=t;return`${e}[${n}:${r}]`}throw Error(`Unsupported path segment \`${JSON.stringify(t)}\``)},"")}let o={"\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","'":"\\'","\\":"\\\\"},a={"\\f":"\f","\\n":` 16`,"\\r":"\r","\\t":" ","\\'":"'","\\\\":"\\"};function i(e){let t,n=[],r=/\['(.*?)'\]|\[(\d+)\]|\[\?\(@\._key=='(.*?)'\)\]/g;for(;null!==(t=r.exec(e));){if(void 0!==t[1]){let e=t[1].replace(/\\(\\|f|n|r|t|')/g,e=>a[e]);n.push(e);continue}if(void 0!==t[2]){n.push(parseInt(t[2],10));continue}if(void 0!==t[3]){let e=t[3].replace(/\\(\\')/g,e=>a[e]);n.push({_key:e,_index:-1});continue}}return n}function s(e){return e.map(e=>{if("string"==typeof e||"number"==typeof e)return e;if(""!==e._key)return{_key:e._key};if(-1!==e._index)return e._index;throw Error(`invalid segment:${JSON.stringify(e)}`)})}function l(e){return e.map(e=>{if("string"==typeof e||"number"==typeof e)return e;if(-1!==e._index)return e._index;throw Error(`invalid segment:${JSON.stringify(e)}`)})}function c(e,n,r){return function e(n,r,o=[]){if(null!==n&&Array.isArray(n))return n.map((n,a)=>
16{if((0,t.isRecord)(n)){let t=n._key;if("string"==typeof t)return e(n,r,o.concat({_key:t,_index:a}))}return e(n,r,o.concat(a))});if((0,t.isRecord)(n)){if("block"===n._type||"span"===n._type){let t={...n};return"block"===n._type?t.children=e(n.children,r,o.concat("children")):"span"===n._type&&(t.text=e(n.text,r,o.concat("text"))),t}return Object.fromEntries(Object.entries(n).map(([t,n])=>[t,e(n,r,o.concat(t))]))}return r(n,o)}(e,(e,t)=>{if("string"!=typeof e)return e;let a=function(e,t){var n;if(!t?.mappings)return;let r=(n=l(e),`$${n.map(e=>"string"==typeof e?`['${e.replace(/[\f\n\r\t'\\]/g,e=>o[e])}']`:"number"==typeof e?`[${e}]`:""!==e._key?`[?(@._key=='${e._key.replace(/['\\]/g,e=>o[e])}')]`:`[${e._index}]`).join("")}`);if(void 0!==t.mappings[r])return{mapping:t.mappings[r],matchedPath:r,pathSuffix:""};let a=l(e).map(e=>"string"==typeof e?`['${e.replace(/[\f\n\r\t'\\]/g,e=>o[e])}']`:"number"==typeof e?`[${e}]`:""!==e._key?`[?(@._key=='${e._key.replace(/['\\]/g,e=>o[e])}')]`:`[${e._index}]`);for(let e=a.length-1;e>=0;e--){let n=`$${a.slice(0,e).join("")}`,o=t.mappings[n];if(o){let e=r.substring(n.length);return{mapping:o,matchedPath:n,pathSuffix:e}}}}(t,n);if(!a)return e;let{mapping:s,matchedPath:c}=a;if("value"!==s.type||"documentValue"!==s.source.type)return e;let u=n.documents[s.source.document],d=n.paths[s.source.path],p=i(c);return r({sourcePath:i(d).concat(t.slice(p.length)),sourceDocument:u,resultPath:t,value:e})})}let u="drafts.";function d(e){return e.startsWith(u)}function p(e){return e.startsWith("versions.")}let f=({sourcePath:e,resultPath:t,value:n})=>{var r;if(r=n,/^\d{4}-\d{2}-\d{2}/.test(r)&&Date.parse(r)||function(e){try{let{protocol:t}=new URL(e,e.startsWith("/")?"https://acme.com":void 0);return m.has(t)||t.startsWith("web+")}catch{return!1}}(n))return!1;let o=e.at(-1);return!("slug"===e.at(-2)&&"current"===o||"string"==typeof o&&(o.startsWith("_")||o.endsWith("Id"))||e.some(e=>"meta"===e||"metadata"===e||"openGraph"===e||"seo"===e)||y(e)||y(t)||"string"==typeof o&&h.has(o))},h=new Set(["color","colour","currency","email","format","gid","hex","href","hsl","hsla","icon","id","index","key","language","layout","link","linkAction","locale","lqip","page","path","ref","rgb","rgba","route","secret","slug","status","tag","template","theme","type","textTheme","unit","url","username","variant","website"]),m=new Set(["app:","data:","discord:","file:","ftp:","ftps:","geo:","http:","https:","imap:","javascript:","magnet:","mailto:","maps:","ms-excel:","ms-powerpoint:","ms-word:","slack:","sms:","spotify:","steam:","teams:","tel:","vscode:","zoom:"]);function y(e){return e.some(e=>"string"==typeof e&&null!==e.match(/type/i))}function g(e,o,a){let{filter:i,logger:l,enabled:h}=a;if(!h){let t="config.enabled must be true, don't call this function otherwise";throw l?.error?.(`[@sanity/client]: ${t}`,{result:e,resultSourceMap:o,config:a}),TypeError(t)}if(!o)return l?.error?.("[@sanity/client]: Missing Content Source Map from response body",{result:e,resultSourceMap:o,config:a}),e;if(!a.studioUrl){let t="config.studioUrl must be defined";throw l?.error?.(`[@sanity/client]: ${t}`,{result:e,resultSourceMap:o,config:a}),TypeError(t)}let m=[],y=[],g=c(e,o,({sourcePath:e,sourceDocument:n,resultPath:o,value:c})=>{var h;let g;if(("function"==typeof i?i({sourcePath:e,resultPath:o,filterDefault:f,sourceDocument:n,value:c}):f({sourcePath:e,resultPath:o,value:c}))===!1)return l&&y.push({path:r(s(e)),value:`${c.slice(0,20)}${c.length>20?"...":""}`,length:c.length}),c;l&&m.push({path:r(s(e)),value:`${c.slice(0,20)}${c.length>20?"...":""}`,length:c.length});let{baseUrl:v,workspace:b,tool:x}=("/"!==(g="string"==typeof(h="function"==typeof a.studioUrl?a.studioUrl(n):a.studioUrl)?h:h.baseUrl)&&(g=g.replace(/\/$/,"")),"string"==typeof h?{baseUrl:g}:{...h,baseUrl:g});if(!v)return c;let{_id:k,_type:_,_projectId:w,_dataset:j}=n;return(0,t.y)(c,{origin:"sanity.io",href:function(e){let{baseUrl:t,workspace:n="default",tool:o="default",id:a,type:i,path:l,projectId:c,dataset:f}=e;if(!t)throw Error("baseUrl is required");if(!l)throw Error("path is required");if(!a)throw Error("id is required");if("/"!==t&&t.endsWith("/"))throw Error("baseUrl must not end with a slash");let h="default"===n?void 0:n,m="default"===o?void 0:o,y=p(a)?a.split(".").slice(2).join("."):d(a)?a.slice(u.length):a,g=Array.isArray(l)?r(s(l)):l,v=new URLSearchParams({baseUrl:t,id:y,type:i,path:g});if(h&&v.set("workspace",h),m&&v.set("tool",m),c&&v.set("projectId",c),f&&v.set("dataset",f),d(a)||p(a)){if(p(a)){let e=function(e){if(!p(e))return;let[t,n]=e.split(".");return n}(a);v.set("perspective",e)}}else v.set("perspective","published");let b=["/"===t?"":t];h&&b.push(h);let x=["mode=presentation",`id=${y}`,`type=${i}`,`path=${encodeURIComponent(g)}`];return m&&x.push(`tool=${m}`),b.push("intent","edit",`${x.join(";")}?${v}`),b.join("/")}({baseUrl:v,workspace:b,tool:x,id:k,type:_,path:e,...!a.omitCrossDatasetReferenceData&&{dataset:j,projectId:w}})},!1)});if(l){let e=y.length,t=m.length;if((e||t)&&((l?.groupCollapsed||l.log)?.("[@sanity/client]: Encoding source map into result"),l.log?.(`[@sanity/client]: Paths encoded: ${m.length}, skipped: ${y.length}`)),m.length>0&&(l?.log?.("[@sanity/client]: Table of encoded paths"),(l?.table||l.log)?.(m)),y.length>0){let e=new Set;for(let{path:t}of y)e.add(t.replace(n,"0").replace(/\[\d+\]/g,"[]"));l?.log?.("[@sanity/client]: List of skipped paths",[...e.values()])}(e||t)&&l?.groupEnd?.()}return g}var v=Object.freeze({__proto__:null,stegaEncodeSourceMap:g});e.s(["encodeIntoResult",0,c,"stegaEncodeSourceMap",0,g,"stegaEncodeSourceMap$1",0,v])},435367,e=>{e.v(t=>Promise.all(["static/chunks/10~f7271ttpuf.js","static/chunks/14ae2-.3csov4.js"].map(t=>e.l(t))).then(()=>t(958179)))},940015,e=>{e.v(t=>Promise.all(["static/chunks/0_xq48q1aeo6h.js"].map(t=>e.l(t))).then(()=>t(366693)))},452004,e=>{e.v(t=>Promise.all(["static/chunks/02u0960z.j3eq.js"].map(t=>e.l(t))).then(()=>t(132167)))},164387,e=>{e.v(t=>Promise.all(["static/chunks/0gj42z8x9fcv7.js","static/chunks/0b1-ro1.cdy29.
16js"].map(t=>e.l(t))).then(()=>t(42141)))},332599,e=>{e.v(t=>Promise.all(["static/chunks/155p0jig_sjbk.js"].map(t=>e.l(t))).then(()=>t(855040)))},880620,e=>{e.v(t=>Promise.all(["static/chunks/0qg64uc4_3lve.js"].map(t=>e.l(t))).then(()=>t(130860)))},903263,e=>{e.v(t=>Promise.all(["static/chunks/0to_jy3fb3qrr.js"].map(t=>e.l(t))).then(()=>t(128453)))},946811,e=>{e.v(t=>Promise.all(["static/chunks/0~49g9dql1b6..js"].map(t=>e.l(t))).then(()=>t(722011)))},672682,e=>{e.v(e=>Promise.resolve().then(()=>e(845599)))},773646,e=>{e.v(t=>Promise.all(["static/chunks/0.xuv2iubv~ic.js"].map(t=>e.l(t))).then(()=>t(389503)))},662319,e=>{e.v(t=>Promise.all(["static/chunks/0b_h~gpnllek7.js"].map(t=>e.l(t))).then(()=>t(433874)))},239285,e=>{e.v(t=>Promise.all(["static/chunks/163769wytkf~o.js"].map(t=>e.l(t))).then(()=>t(582050)))},308255,e=>{e.v(t=>Promise.all(["static/chunks/02~0r8ismiwvl.js"].map(t=>e.l(t))).then(()=>t(778522)))},989024,e=>{e.v(t=>Promise.all(["static/chunks/0dzr3k0hlq71n.js"].map(t=>e.l(t))).then(()=>t(639431)))},784291,e=>{e.v(t=>Promise.all(["static/chunks/043mag6g.o.zy.js"].map(t=>e.l(t))).then(()=>t(848874)))},186708,e=>{e.v(t=>Promise.all(["static/chunks/04s.smh9jqd~1.js"].map(t=>e.l(t))).then(()=>t(55184)))},773231,e=>{e.v(t=>Promise.all(["static/chunks/0kkxrh2-z9d1e.js"].map(t=>e.l(t))).then(()=>t(692558)))},261531,e=>{e.v(t=>Promise.all(["static/chunks/0pu0yzxg44ose.js"].map(t=>e.l(t))).then(()=>t(361028)))}]);
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.