1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7222],{74332:function(e,t){"use strict";/** 2 * @license React 3 * react-is.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var r,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case u:case s:case p:case d:return e;default:switch(e=e&&e.$$typeof){case c:case a:case f:case y:case h:case l:return e;default:return t}}case o:return t}}}r=Symbol.for("react.module.reference"),t.ContextConsumer=a,t.ContextProvider=l,t.Element=n,t.ForwardRef=f,t.Fragment=i,t.Lazy=y,t.Memo=h,t.Portal=o,t.Profiler=u,t.StrictMode=s,t.Suspense=p,t.SuspenseList=d,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return g(e)===a},t.isContextProvider=function(e){return g(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return g(e)===f},t.isFragment=function(e){return g(e)===i},t.isLazy=function(e){return g(e)===y},t.isMemo=function(e){return g(e)===h},t.isPortal=function(e){return g(e)===o},t.isProfiler=function(e){return g(e)===u},t.isStrictMode=function(e){return g(e)===s},t.isSuspense=function(e){return g(e)===p},t.isSuspenseList=function(e){return g(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===u||e===s||e===p||e===d||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===h||e.$$typeof===l||e.$$typeof===a||e.$$typeof===f||e.$$typeof===r||void 0!==e.getModuleId)},t.typeOf=g},12659:function(e,t,r){"use strict";e.exports=r(74332)},25566:function(e){var t,r,n,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function u(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var l=[],a=!1,c=-1;function f(){a&&n&&(a=!1,n.length?l=n.concat(l):c=-1,l.length&&p())}function p(){if(!a){var e=u(f);a=!0;for(var t=l.length;t;){for(n=l,l=[];++c<t;)n&&n[c].run();c=-1,t=l.length}n=null,a=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function h(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new d(e,t)),1!==l.length||a||u(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}},11726:function(e,t,r){"use strict";r.d(t,{BB:function(){return c},F5:function(){return $},Mx:function(){return _},U2:function(){return a},XL:function(){return v},eT:function(){return d},lV:function(){return function e(t,r,n=[]){if(null!==t&&Array.isArray(t))return t.map((t,o)=>{if(x(t)){let i=t._key;if("string"==typeof i)return e(t,r,n.concat({_key:i,_index:o}))}return e(t,r,n.concat(o))});if(x(t)){if("block"===t._type||"span"===t._type){let o={...t};return"block"===t._type?o.children=e(t.children,r,n.concat("children")):"span"===t._type&&(o.text=e(t.text,r,n.concat("text"))),o}return Object.fromEntries(Object.entries(t).map(([t,o])=>[t,e(o,r,n.concat(t))]))}return r(t,n)}},qy:function(){return b},tZ:function(){return j},vs:function(){return w}});let n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/_key\s*==\s*['"](.*)['"]/,i=/^\d*:\d*$/;function s(e){return"number"==typeof e||"string"==typeof e&&/^\[\d+\]$/.test(e)}function u(e){return"string"==typeof e?o.test(e.trim()):"object"==typeof e&&"_key"in e}function l(e){if("string"==typeof e&&i.test(e))return!0;
9if(!Array.isArray(e)||2!==e.length)return!1;let[t,r]=e;return("number"==typeof t||""===t)&&("number"==typeof r||""===r)}function a(e,t,r){let n="string"==typeof t?f(t):t;if(!Array.isArray(n))throw Error("Path must be an array or a string");let o=e;for(let e=0;e<n.length;e++){let t=n[e];if(s(t)){if(!Array.isArray(o))return r;o=o[t]}if(u(t)){if(!Array.isArray(o))return r;o=o.find(e=>e._key===t._key)}if("string"==typeof t&&(o="object"==typeof o&&null!==o?o[t]:void 0),typeof o>"u")return r}return o}function c(e){if(!Array.isArray(e))throw Error("Path is not an array");return e.reduce((e,t,r)=>{let n=typeof t;if("number"===n)return`${e}[${t}]`;if("string"===n)return`${e}${0===r?"":"."}${t}`;if(u(t)&&t._key)return`${e}[_key=="${t._key}"]`;if(Array.isArray(t)){let[r,n]=t;return`${e}[${r}:${n}]`}throw Error(`Unsupported path segment \`${JSON.stringify(t)}\``)},"")}function f(e){if("string"!=typeof e)throw Error("Path is not a string");let t=e.match(n);if(!t)throw Error("Invalid path string");return t.map(p)}function p(e){return s(e)?Number(e.replace(/[^\d]/g,"")):u(e)?{_key:e.match(o)[1]}:l(e)?function(e){let[t,r]=e.split(":").map(e=>""===e?e:Number(e));return[t,r]}(e):e}var d=Object.freeze({__proto__:null,fromString:f,get:a,isIndexSegment:s,isIndexTuple:l,isKeySegment:u,reKeySegment:o,toString:c});let h="drafts.",y="versions.";function m(e){return e.startsWith(h)}function g(e){return e.startsWith(y)}function b(e){return g(e)?h+w(e):m(e)?e:h+e}function v(e,t){if("drafts"===t||"published"===t)throw Error('Version can not be "published" or "drafts"');return`${y}${t}.${w(e)}`}function w(e){return g(e)?e.split(".").slice(2).join("."):m(e)?e.slice(h.length):e}let E={"\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","'":"\\'","\\":"\\\\"},k={"\\f":"\f","\\n":` 10`,"\\r":"\r","\\t":" ","\\'":"'","\\\\":"\\"};function $(e){let t;let r=[],n=/\['(.*?)'\]|\[(\d+)\]|\[\?\(@\._key=='(.*?)'\)\]/g;for(;null!==(t=n.exec(e));){if(void 0!==t[1]){let e=t[1].replace(/\\(\\|f|n|r|t|')/g,e=>k[e]);r.push(e);continue}if(void 0!==t[2]){r.push(parseInt(t[2],10));continue}if(void 0!==t[3]){let e=t[3].replace(/\\(\\')/g,e=>k[e]);r.push({_key:e,_index:-1});continue}}return r}function _(e,t){var r;if(!t?.mappings)return;let n=(r=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)}`)}),`$${r.map(e=>"string"==typeof e?`['${e.replace(/[\f\n\r\t'\\]/g,e=>E[e])}']`:"number"==typeof e?`[${e}]`:""!==e._key?`[?(@._key=='${e._key.replace(/['\\]/g,e=>E[e])}')]`:`[${e._index}]`).join("")}`);if(void 0!==t.mappings[n])return{mapping:t.mappings[n],matchedPath:n,pathSuffix:""};let o=Object.entries(t.mappings).filter(([e])=>n.startsWith(e)).sort(([e],[t])=>t.length-e.length);if(0==o.length)return;let[i,s]=o[0],u=n.substring(i.length);return{mapping:s,matchedPath:i,pathSuffix:u}}function x(e){return"object"==typeof e&&null!==e}function j(e){let{baseUrl:t,workspace:r="default",tool:n="default",id:o,type:i,path:s,projectId:u,dataset:l}=e;if(!t)throw Error("baseUrl is required");if(!s)throw Error("path is required");if(!o)throw Error("id is required");if("/"!==t&&t.endsWith("/"))throw Error("baseUrl must not end with a slash");let a="default"===r?void 0:r,f="default"===n?void 0:n,p=w(o),d=Array.isArray(s)?c(s.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)}`)})):s,h=new URLSearchParams({baseUrl:t,id:p,type:i,path:d});if(a&&h.set("workspace",a),f&&h.set("tool",f),u&&h.set("projectId",u),l&&h.set("dataset",l),m(o)||g(o)){if(g(o)){let e=function(e){if(!g(e))return;let[t,r,...n]=e.split(".");return r}(o);h.set("perspective",e)}}else h.set("perspective","published");let y=["/"===t?"":t];a&&y.push(a);let b=["mode=presentation",`id=${p}`,`type=${i}`,`path=${encodeURIComponent(d)}`];return f&&b.push(`tool=${f}`),y.push("intent","edit",`${b.join(";")}?${h}`),y.join("/")}},53965:function(e,t,r){"use strict";r.d(t,{I:function(){return A},c:function(){return M},d:function(){return E}
10,k:function(){return x},u:function(){return I}});var n,o,i,s,u=r(11726),l=class extends Error{issues;constructor(e){super(e[0].message),this.name="ValiError",this.issues=e}};function a(e,t){return Array.isArray(e)?[void 0,e]:[e,t]}function c(e){return{lang:e?.lang??n?.lang,message:e?.message,abortEarly:e?.abortEarly??n?.abortEarly,abortPipeEarly:e?.abortPipeEarly??n?.abortPipeEarly,skipPipe:e?.skipPipe??n?.skipPipe}}function f(e,t,r,n,u){var l,a,c;let f=t.message??(l=u.lang,s?.get(r)?.get(l))??(e?(a=u.lang,i?.get(a)):null)??n?.message??(c=u.lang,o?.get(c))??u.message;return"function"==typeof f?f(u):f}function p(e,t,r){return{typed:e,output:t,issues:r}}function d(e){let t=typeof e;return"object"===t&&(t=e?Object.getPrototypeOf(e).constructor.name:"null"),"string"===t?`"${e}"`:"number"===t||"bigint"===t||"boolean"===t?`${e}`:t}function h(e,t,r,n){if(e.pipe&&!r?.skipPipe)for(let o of e.pipe){let i=o._parse(t);if(i.issues){for(let t of i.issues){let o=function(e,t,r){let n=r.received??d(r.input),o={reason:e.type,context:r.context.type,expected:r.context.expects,received:n,message:`Invalid ${r.label}: ${r.context.expects?`Expected ${r.context.expects} but r`:"R"}eceived ${n}`,input:r.input,requirement:r.context.requirement,path:r.path,lang:t?.lang,abortEarly:t?.abortEarly,abortPipeEarly:t?.abortPipeEarly,skipPipe:t?.skipPipe};return o.message=f(!1,r.context,r.reference,t,o),o}(e,r,t);n?n.push(o):n=[o]}if(r?.abortEarly||r?.abortPipeEarly)break}else t=i.output}return p(!0,t,n)}function y(e,t,r,n,o){let i=d(r),s=o?.expected??e.expects,u={reason:o?.reason??"type",context:e.type,expected:s,received:i,message:`Invalid type: Expected ${s} but received ${i}`,input:r,path:o?.path,issues:o?.issues,lang:n?.lang,abortEarly:n?.abortEarly,abortPipeEarly:n?.abortPipeEarly,skipPipe:n?.skipPipe};return u.message=f(!0,e,t,n,u),{typed:!1,output:r,issues:[u]}}function m(e,t,r,n){let o;let[i,s,u]=function(e,t,r){if(!e||"object"==typeof e&&!Array.isArray(e)){let[n,o]=a(t,r);return[e,n,o]}let[n,o]=a(e,t);return[void 0,n,o]}(t,r,n);return{type:"object",expects:"Object",async:!1,entries:e,rest:i,message:s,pipe:u,_parse(e,t){if(e&&"object"==typeof e){let r;o=o??Object.entries(this.entries);let n=!0,i={};for(let[s,u]of o){let o=e[s],l=u._parse(o,t);if(l.issues){let i={type:"object",origin:"value",input:e,key:s,value:o};for(let e of l.issues)e.path?e.path.unshift(i):e.path=[i],r?.push(e);if(r||(r=l.issues),t?.abortEarly){n=!1;break}}l.typed||(n=!1),(void 0!==l.output||s in e)&&(i[s]=l.output)}if(this.rest&&!(t?.abortEarly&&r)){for(let o in e)if(!(o in this.entries)){let s=e[o],u=this.rest._parse(s,t);if(u.issues){let i={type:"object",origin:"value",input:e,key:o,value:s};for(let e of u.issues)e.path?e.path.unshift(i):e.path=[i],r?.push(e);if(r||(r=u.issues),t?.abortEarly){n=!1;break}}u.typed||(n=!1),i[o]=u.output}}return n?h(this,i,t,r):p(!1,i,r)}return y(this,m,e,t)}}}function g(e,t){return{type:"optional",expects:`${e.expects} | undefined`,async:!1,wrapped:e,default:t,_parse(e,t){if(void 0===e){let t="function"==typeof this.default?this.default():this.default;if(void 0===t)return p(!0,e);e=t}return this.wrapped._parse(e,t)}}}function b(e,t){let[r,n]=a(e,t);return{type:"string",expects:"string",async:!1,message:r,pipe:n,_parse(e,t){return"string"==typeof e?h(this,e,t):y(this,b,e,t)}}}Symbol("brand");var v=["__proto__","prototype","constructor"];function w(e,t,r){let n=e._parse(t,c(r));return{typed:n.typed,success:!n.issues,output:n.output,issues:n.issues}}function E(e){let t="";for(let r of e)"string"!=typeof r?"number"!=typeof r?null!==r&&Array.isArray(r)?(t&&(t+=":"),t+=`${r.join(",")}}`):r._key&&(t&&(t+=":"),t+=`${r._key}`):(t&&(t+=":"),t+=`${r}`):(t&&(t+="."),t+=r);return t}let k=/^([A-Za-z]+):([0-9]+)$/,$=/^([A-Za-z]+):([0-9]+),([0-9]+)$/,_=/^([A-Za-z]+):([a-z0-9]+)$/,x="drafts.",j=b([function e(t,r){return{type:"min_length",expects:`>=${t}`,async:!1,message:r,requirement:t,_parse(t){return t.length>=this.requirement?{output:t}:{issues:[{context:this,reference:e,input:t,label:"length",received:`${t.length}`}]}}}}(1)]),S=g(j),P=m({baseUrl:j,dataset:S,id:j,path:j,projectId:S,tool:S,type:S,workspace:S,isDraft:g(b())}),L=m({origin:j,href:j,data:g(function e(t,r,n,o){let[i,s,u,l]=function(e,t,r,n){if("object"==typeof t&&!Array.isArray(t)){let[o,i]=a(r,n);return[e,t,o,i]}let[o,i]=a(t,r);return[b(),e,o,i]}(t,r,n,o);return{type:"record",expects:"Object",async:!1,key:i,value:s,message:u,pipe:l,_parse(t,r){if(t&&"object"==typeof t){let e,n=!0,o={};for(let[i,s]of Object.entries(t))if(!v.includes(i)){let u;let l=this.key._parse(i,r);
10if(l.issues){for(let r of(u={type:"record",origin:"key",input:t,key:i,value:s},l.issues))r.path=[u],e?.push(r);if(e||(e=l.issues),r?.abortEarly){n=!1;break}}let a=this.value._parse(s,r);if(a.issues){for(let r of(u=u??{type:"record",origin:"value",input:t,key:i,value:s},a.issues))r.path?r.path.unshift(u):r.path=[u],e?.push(r);if(e||(e=a.issues),r?.abortEarly){n=!1;break}}l.typed&&a.typed||(n=!1),l.typed&&(o[l.output]=a.output)}return n?h(this,o,r,e):p(!1,o,e)}return y(this,e,t,r)}}}(b(),{type:"unknown",expects:"unknown",async:!1,pipe:void 0,_parse(e,t){return h(this,e,t)}}))});function T(e){let t=w(P,e);if(t.success)return t.output;let r=w(L,e);if(r.success)try{let e=new URL(r.output.href,typeof document>"u"?"https://example.com":location.origin);return e.searchParams.size>0?function(e,t,r){let n=e._parse(t,c(void 0));if(n.issues)throw new l(n.issues);return n.output}(P,Object.fromEntries(e.searchParams.entries())):r.output}catch(e){return console.error("Failed to parse sanity node",e),r.output}}function A(e){if("object"==typeof e&&null!==e)return T(e);try{return T(JSON.parse(e))}catch{return function(e){let t=e.split(";").reduce((e,t)=>{let[r,n]=t.split("=");if(!r||t.includes("=")&&!n)return e;switch(r){case"id":e.id=n;break;case"type":e.type=n;break;case"path":e.path=u.eT.toString(function(e){let t=[];for(let r of e.split(".")){let e=k.exec(r);if(e){t.push(e[1],Number(e[2]));continue}let n=$.exec(r);if(n){t.push(n[1],[Number(n[2]),Number(n[3])]);continue}let o=_.exec(r);o?t.push(o[1],{_key:o[2]}):t.push(r)}return t}(n));break;case"base":e.baseUrl=decodeURIComponent(n);break;case"tool":e.tool=n;break;case"workspace":e.workspace=n;break;case"projectId":e.projectId=n;break;case"dataset":e.dataset=n;break;case"isDraft":e.isDraft=""}return e},{});if(!P._parse(t,{abortEarly:!0,skipPipe:c(void 0)?.skipPipe}).issues)return t}(e)}}let O={alt:"altKey",ctrl:"ctrlKey",mod:"u">typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform)?"metaKey":"ctrlKey",shift:"shiftKey"};function I(e,t){return e.every(e=>O[e]?t[O[e]]:t.key===e.toUpperCase())}function M(e){return"Alt"===e.key}},55207:function(e,t,r){"use strict";let n;r.d(t,{c:function(){return x},v:function(){return m}});var o=r(53965),i=r(92540),s={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},u={0:8203,1:8204,2:8205,3:65279},l=[,,,,].fill(String.fromCodePoint(u[0])).join(""),a=Object.fromEntries(Object.entries(u).map(e=>e.reverse())),c=Object.fromEntries(Object.entries(s).map(e=>e.reverse())),f=`${Object.values(s).map(e=>`\\u{${e.toString(16)}}`).join("")}`,p=RegExp(`[${f}]{4,}`,"gu");let d=new Uint8Array(16),h=[];for(let e=0;e<256;++e)h.push((e+256).toString(16).slice(1));var y={randomUUID:"u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function m(e,t,r){if(y.randomUUID&&!t&&!e)return y.randomUUID();let o=(e=e||{}).random||(e.rng||function(){if(!n&&!(n="u">typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(d)})();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=o[e];return t}return function(e,t=0){return h[e[t+0]]+h[e[t+1]]+h[e[t+2]]+h[e[t+3]]+"-"+h[e[t+4]]+h[e[t+5]]+"-"+h[e[t+6]]+h[e[t+7]]+"-"+h[e[t+8]]+h[e[t+9]]+"-"+h[e[t+10]]+h[e[t+11]]+h[e[t+12]]+h[e[t+13]]+h[e[t+14]]+h[e[t+15]]}(o)}function g(e,t=!1){return p.lastIndex=0,p.test(e)?function(e,t=!1){var r;try{let n=function(e){let t=e.match(p);if(t)return function(e,t=!1){let r=Array.from(e);if(r.length%2==0){if(r.length%4||!e.startsWith(l))return function(e,t){var r;let n=[];for(let t=.5*e.length;t--;){let r=`${c[e[2*t].codePointAt(0)]}${c[e[2*t+1].codePointAt(0)]}`;n.unshift(String.fromCharCode(parseInt(r,16)))}let o=[],i=[n.join("")],s=10;for(;i.length;){let e=i.shift();try{if(o.push(JSON.parse(e)),t)break}catch(n){if(!s--)throw n;let t=+(null==(r=n.message.match(/\sposition\s(\d+)$/))?void 0:r[1]);if(!t)throw n;i.unshift(e.substring(0,t),e.substring(t))}}return o}(r,t)}
10else throw Error("Encoded data has invalid length");let n=[];for(let e=.25*r.length;e--;){let t=r.slice(4*e,4*e+4).map(e=>a[e.codePointAt(0)]).join("");n.unshift(String.fromCharCode(parseInt(t,4)))}if(t){n.shift();let e=n.indexOf("\0");return -1===e&&(e=n.length),[JSON.parse(n.slice(0,e).join(""))]}return n.join("").split("\0").filter(Boolean).map(e=>JSON.parse(e))}(t[0],!0)[0]}(e);return n&&"sanity.io"===n.origin?(t&&(n.href=null==(r=n.href)?void 0:r.replace(".alt","")),n):null}catch(t){return console.error("Failed to decode stega for string: ",e,"with the original error: ",t),null}}(e,t):null}let b=e=>e.nodeType===Node.ELEMENT_NODE,v=e=>"IMG"===e.tagName,w=e=>"TIME"===e.tagName,E=e=>"SVG"===e.tagName.toUpperCase();function k(e){return"path"in e}function $(e){let t=e.getBoundingClientRect();return{x:t.x+scrollX,y:t.y+scrollY,w:t.width,h:t.height}}let _=e=>e instanceof HTMLElement||e instanceof SVGElement;function x({handler:e,overlayElement:t,preventDefault:r}){let n=!1,s=new Map,u=new WeakMap,l=new Set,a=new WeakMap,c,f,p,d=[],h=()=>d[d.length-1];function y(e,t){e.removeEventListener("click",t.click,{capture:!0}),e.removeEventListener("mousemove",t.mousemove,{capture:!0}),e.removeEventListener("mousedown",t.mousedown,{capture:!0}),e.removeEventListener("mouseenter",t.mouseenter),e.removeEventListener("mouseleave",t.mouseleave)}function x({id:t,elements:r,handlers:n,sanity:o}){let{element:i,measureElement:s}=r;i.addEventListener("click",n.click,{capture:!0}),i.addEventListener("mousemove",n.mousemove,{once:!0,capture:!0}),i.addEventListener("mousedown",n.mousedown,{capture:!0}),c.observe(s),e({type:"element/activate",id:t,rect:$(i),sanity:o})}function j(n){for(let p of function e(t){var r,n,s;let u=[];function l(e,t){let r=(0,o.I)(t);if(!r)return;let n=function e(t){let{display:r}=window.getComputedStyle(t);if("inline"!==r)return t;let n=t.parentElement;return n?e(n):null}(e);n&&u.push({elements:{element:e,measureElement:n},sanity:r})}if(t)for(let o of t.childNodes){let{nodeType:t,parentElement:a,textContent:c}=o;if(b(o)&&void 0!==(null==(r=o.dataset)?void 0:r.sanityEditTarget)){let t=e(o).map(({sanity:e})=>e);if(!t.map(e=>k(e)).every((e,t,r)=>e===r[0]))continue;let r=function(e){if(!e.length||!e.map(e=>k(e)).every((e,t,r)=>e===r[0]))return;if(!k(e[0]))return e[0];let t=e.filter(k),r=e[0],n=["projectId","dataset","id","baseUrl","workspace","tool"];for(let e=1;e<t.length;e++){let o=t[e];if(n.some(e=>o[e]!==(null==r?void 0:r[e]))){r=void 0;break}r.path=function(e,t){let r=e.split("."),n=t.split("."),o=Math.min(r.length,n.length);return r=r.slice(0,o).reverse(),n=n.slice(0,o).reverse(),r.reduce((e,t,r)=>t===n[r]?[...e,t]:[],[]).reverse().join(".")}(r.path,o.path)}return r}(t);r&&u.push({elements:{element:o,measureElement:o},sanity:r})}else if(t===Node.TEXT_NODE&&a&&c){let e=g(c);if(!e)continue;l(a,e)}else if(b(o)){if("SCRIPT"===o.tagName||o.id===i.O)continue;if(null!=(n=o.dataset)&&n.sanity)l(o,o.dataset.sanity);else if(null!=(s=o.dataset)&&s.sanityEditInfo)l(o,o.dataset.sanityEditInfo);else{if(v(o)){let e=g(o.alt,!0);if(!e)continue;l(o,e);continue}if(w(o)){let e=g(o.dateTime,!0);if(!e)continue;l(o,e)}else if(E(o)){if(!o.ariaLabel)continue;let e=g(o.ariaLabel,!0);if(!e)continue;l(o,e)}}u.push(...e(o))}}return u}(n))_(p.elements.element)&&!u.has(p.elements.element)&&function({elements:n,sanity:o}){let{element:i,measureElement:p}=n,y={click(t){let n=t.target;i===h()&&i.contains(n)&&(r&&(t.preventDefault(),t.stopPropagation()),e({type:"element/click",id:g,sanity:o}))},mousedown(e){e.preventDefault()},mousemove(e){y.mouseenter(e);let t=e.currentTarget;t&&(t.addEventListener("mouseenter",y.mouseenter),t.addEventListener("mouseleave",y.mouseleave))},mouseenter(){document.querySelector("vercel-live-feedback")&&i.closest("[data-vercel-edit-info]")||i.closest("[data-vercel-edit-target]")||(d.push(i),e({type:"element/mouseenter",id:g,rect:$(i)}))},mouseleave(r){function n(){d.pop();let t=h();if(e({type:"element/mouseleave",id:g}),t){let r=u.get(t);r&&e({type:"element/mouseenter",id:r.id,rect:$(t)})}}let{relatedTarget:o}=r;if(_(o)&&t.contains(o)){let e=()=>{n(),o.removeEventListener("mouseleave",e)};o.addEventListener("mouseleave",e)}else n()}},g=m(),b={id:g,elements:n,sanity:o,handlers:y};l.add(i),a.set(p,i),s.set(g,i),u.set(i,b),f.observe(i),c.observe(p),e({type:"element/register",id:g,rect:$(i),sanity:o}),x(b)}(p)}function S(t){let r=u.get(t);if(r){let{id:n,handlers:o}=r;y(t,o),c.unobserve(t),u.delete(t),l.delete(t),s.delete(n),e({type:"element/unregister",id:n})}}function P(e){if(e.filter(e=>{let r=e.target;return r!==t&&!t.contains(r)&&(_(r)&&(u.has(r)&&S(r),j({childNodes:[r]})),!0)}).length)for(let e of l)e.isConnected?L(e):S(e)}function L(t){let r=u.get(t);r&&e({type:"element/updateRect",id:r.id,rect:$(t)})}function T(e){for(let t of e){let e=t.target;if(_(e)){let t=a.get(e);if(!t)return;L(t)}}}function A(t){for(let r of t){let{target:t}=r,n=_(t)&&u.get(t);n&&(r.isIntersecting?x(n):function({id:t,elements:r,handlers:n}){let{element:o,measureElement:i}=r;y(o,n),c.unobserve(i),d=d.filter(e=>e!==o),e({type:"element/deactivate",id:t})}(n))}}function O(){d=[],e({type:"overlay/blur"})}function I(){for(let e of l)L(e)}function M(e){let{target:t}=e;if(t!==window.document&&_(t))for(let e of l)t.contains(e)&&L(e)}function N(){n||(window.addEventListener("click",O),window.addEventListener("resize",I),window.addEventListener("scroll",M,{capture:!0,passive:!0}),f=new IntersectionObserver(A,{threshold:.3}),c=new ResizeObserver(T),(p=new MutationObserver(P)).observe(document.body,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),j(document.body),n=!0,e({type:"overlay/activate"}))}return window.document.fonts.ready.then(()=>{for(let e of l)L(e)}),N(),{activate:N,deactivate:function(){n&&(window.removeEventListener("click",O),window.removeEventListener("resize",I),window.removeEventListener("scroll",M),f.disconnect(),p.disconnect(),c.disconnect(),l.forEach(e
10=>{S(e)}),s.clear(),l.clear(),d=[],n=!1,e({type:"overlay/deactivate"}))}}}},49998:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});let n=e=>"object"==typeof e&&null!=e&&1===e.nodeType,o=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,i=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let r=getComputedStyle(e,null);return o(r.overflowY,t)||o(r.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},s=(e,t,r,n,o,i,s,u)=>i<e&&s>t||i>e&&s<t?0:i<=e&&u<=r||s>=t&&u>=r?i-e-n:s>t&&u<r||i<e&&u>r?s-t+o:0,u=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},l=(e,t)=>{var r,o,l,a;if("undefined"==typeof document)return[];let{scrollMode:c,block:f,inline:p,boundary:d,skipOverflowHiddenElements:h}=t,y="function"==typeof d?d:e=>e!==d;if(!n(e))throw TypeError("Invalid target");let m=document.scrollingElement||document.documentElement,g=[],b=e;for(;n(b)&&y(b);){if((b=u(b))===m){g.push(b);break}null!=b&&b===document.body&&i(b)&&!i(document.documentElement)||null!=b&&i(b,h)&&g.push(b)}let v=null!=(o=null==(r=window.visualViewport)?void 0:r.width)?o:innerWidth,w=null!=(a=null==(l=window.visualViewport)?void 0:l.height)?a:innerHeight,{scrollX:E,scrollY:k}=window,{height:$,width:_,top:x,right:j,bottom:S,left:P}=e.getBoundingClientRect(),{top:L,right:T,bottom:A,left:O}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),I="start"===f||"nearest"===f?x-L:"end"===f?S+A:x+$/2-L+A,M="center"===p?P+_/2-O+T:"end"===p?j+T:P-O,N=[];for(let e=0;e<g.length;e++){let t=g[e],{height:r,width:n,top:o,right:i,bottom:u,left:l}=t.getBoundingClientRect();if("if-needed"===c&&x>=0&&P>=0&&S<=w&&j<=v&&x>=o&&S<=u&&P>=l&&j<=i)break;let a=getComputedStyle(t),d=parseInt(a.borderLeftWidth,10),h=parseInt(a.borderTopWidth,10),y=parseInt(a.borderRightWidth,10),b=parseInt(a.borderBottomWidth,10),L=0,T=0,A="offsetWidth"in t?t.offsetWidth-t.clientWidth-d-y:0,O="offsetHeight"in t?t.offsetHeight-t.clientHeight-h-b:0,C="offsetWidth"in t?0===t.offsetWidth?0:n/t.offsetWidth:0,U="offsetHeight"in t?0===t.offsetHeight?0:r/t.offsetHeight:0;if(m===t)L="start"===f?I:"end"===f?I-w:"nearest"===f?s(k,k+w,w,h,b,k+I,k+I+$,$):I-w/2,T="start"===p?M:"center"===p?M-v/2:"end"===p?M-v:s(E,E+v,v,d,y,E+M,E+M+_,_),L=Math.max(0,L+k),T=Math.max(0,T+E);else{L="start"===f?I-o-h:"end"===f?I-u+b+O:"nearest"===f?s(o,u,r,h,b+O,I,I+$,$):I-(o+r/2)+O/2,T="start"===p?M-l-d:"center"===p?M-(l+n/2)+A/2:"end"===p?M-i+y+A:s(l,i,n,d,y+A,M,M+_,_);let{scrollLeft:e,scrollTop:a}=t;L=0===U?0:Math.max(0,Math.min(a+L/U,t.scrollHeight-r/U+O)),T=0===C?0:Math.max(0,Math.min(e+T/C,t.scrollWidth-n/C+A)),I+=a-L,M+=e-T}N.push({el:t,top:L,left:T})}return N},a=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"};function c(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let r=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(l(e,t));let n="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:o,top:i,left:s}of l(e,a(t))){let e=i-r.top+r.bottom,t=s-r.left+r.right;o.scroll({top:e,left:t,behavior:n})}}}}]);
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.