1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[464],{7559:function(t,e,r){var o;!function(n){"use strict";function i(t){var r,o=t&&t.Promise||n.Promise,i=t&&t.XMLHttpRequest||n.XMLHttpRequest;return r=Object.create(n,{fetch:{value:void 0,writable:!0}}),function(t){var e=void 0!==r&&r||"undefined"!=typeof self&&self||void 0!==e&&e,n={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(n.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(t){return t&&a.indexOf(Object.prototype.toString.call(t))>-1};function u(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw TypeError("Invalid character in header field name");return t.toLowerCase()}function c(t){return"string"!=typeof t&&(t=String(t)),t}function f(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return n.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function d(t){if(t.bodyUsed)return o.reject(TypeError("Already read"));t.bodyUsed=!0}function h(t){return new o(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function p(t){var e=new FileReader,r=h(e);return e.readAsArrayBuffer(t),r}function y(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function b(){return this.bodyUsed=!1,this._initBody=function(t){if(this.bodyUsed=this.bodyUsed,this._bodyInit=t,t){if("string"==typeof t)this._bodyText=t;else if(n.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;else if(n.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(n.searchParams&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString();else{var e;n.arrayBuffer&&n.blob&&(e=t)&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=y(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||s(t))?this._bodyArrayBuffer=y(t):this._bodyText=t=Object.prototype.toString.call(t)}}else this._bodyText="";!this.headers.get("content-type")&&("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var t=d(this);if(t)return t;if(this._bodyBlob)return o.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return o.resolve(new Blob([this._bodyArrayBuffer]));if(!this._bodyFormData)return o.resolve(new Blob([this._bodyText]));throw Error("could not read FormData body as blob")},this.arrayBuffer=function(){return this._bodyArrayBuffer?d(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?o.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):o.resolve(this._bodyArrayBuffer)):this.blob().then(p)}),this.text=function(){var t,e,r,n=d(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,r=h(e=new FileReader),e.readAsText(t),r;if(this._bodyArrayBuffer)return o.resolve(function(t){for(var e=new Uint8Array(t),r=Array(e.length),o=0;o<e.length;o++)r[o]=String.fromCharCode(e[o]);return r.join("")}(this._bodyArrayBuffer));if(!this._bodyFormData)return o.resolve(this._bodyText);throw Error("could not read FormData body as text")},n.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=u(t),e=c(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},l.prototype.delete=function(t){delete this.map[u(t)]},l.prototype.get=function(t){return t=u(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(u(t))},l.prototype.set=function(t,e){this.map[u(t)]=c(e)},l.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},l.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),f(t)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),f(t)},l.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),f(t)},n.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function v(t,e){if(!(this instanceof v))throw TypeError('Please use the "new" operator, this DOM object c
1onstructor cannot be called as a function.');var r,o,n=(e=e||{}).body;if(t instanceof v){if(t.bodyUsed)throw TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",(e.headers||!this.headers)&&(this.headers=new l(e.headers)),this.method=(o=(r=e.method||this.method||"GET").toUpperCase(),m.indexOf(o)>-1?o:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),("GET"===this.method||"HEAD"===this.method)&&("no-store"===e.cache||"no-cache"===e.cache)){var i=/([?&])_=[^&]*/;i.test(this.url)?this.url=this.url.replace(i,"$1_="+new Date().getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+new Date().getTime()}}function g(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),o=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(o),decodeURIComponent(n))}}),e}function w(t,e){if(!(this instanceof w))throw TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},b.call(v.prototype),b.call(w.prototype),w.prototype.clone=function(){return new w(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},w.error=function(){var t=new w(null,{status:0,statusText:""});return t.type="error",t};var E=[301,302,303,307,308];w.redirect=function(t,e){if(-1===E.indexOf(e))throw RangeError("Invalid status code");return new w(null,{status:e,headers:{location:t}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function T(r,a){return new o(function(o,s){var u=new v(r,a);if(u.signal&&u.signal.aborted)return s(new t.DOMException("Aborted","AbortError"));var f=new i;function d(){f.abort()}f.onload=function(){var t,e,r={status:f.status,statusText:f.statusText,headers:(t=f.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t}
1).forEach(function(t){var r=t.split(":"),o=r.shift().trim();if(o){var n=r.join(":").trim();e.append(o,n)}}),e)};r.url="responseURL"in f?f.responseURL:r.headers.get("X-Request-URL");var n="response"in f?f.response:f.responseText;setTimeout(function(){o(new w(n,r))},0)},f.onerror=function(){setTimeout(function(){s(TypeError("Network request failed"))},0)},f.ontimeout=function(){setTimeout(function(){s(TypeError("Network request failed"))},0)},f.onabort=function(){setTimeout(function(){s(new t.DOMException("Aborted","AbortError"))},0)},f.open(u.method,function(t){try{return""===t&&e.location.href?e.location.href:t}catch(e){return t}}(u.url),!0),"include"===u.credentials?f.withCredentials=!0:"omit"===u.credentials&&(f.withCredentials=!1),"responseType"in f&&(n.blob?f.responseType="blob":n.arrayBuffer&&u.headers.get("Content-Type")&&-1!==u.headers.get("Content-Type").indexOf("application/octet-stream")&&(f.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof l?u.headers.forEach(function(t,e){f.setRequestHeader(e,t)}):Object.getOwnPropertyNames(a.headers).forEach(function(t){f.setRequestHeader(t,c(a.headers[t]))}),u.signal&&(u.signal.addEventListener("abort",d),f.onreadystatechange=function(){4===f.readyState&&u.signal.removeEventListener("abort",d)}),f.send(void 0===u._bodyInit?null:u._bodyInit)})}T.polyfill=!0,e.fetch||(e.fetch=T,e.Headers=l,e.Request=v,e.Response=w),t.Headers=l,t.Request=v,t.Response=w,t.fetch=T,Object.defineProperty(t,"__esModule",{value:!0})}(e),{fetch:r.fetch,Headers:r.Headers,Request:r.Request,Response:r.Response,DOMException:r.DOMException}}void 0!==(o=(function(){return i}).call(e,r,e,t))&&(t.exports=o)}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:void 0!==r.g?r.g:this)},3432:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});let o=(0,r(1134).Z)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},4155:function(t){var e,r,o,n=t.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u=[],c=!1,f=-1;function l(){c&&o&&(c=!1,o.length?u=o.concat(u):f=-1,u.length&&d())}function d(){if(!c){var t=s(l);c=!0;for(var e=u.length;e;){for(o=u,u=[];++f<e;)o&&o[f].run();f=-1,e=u.length}o=null,c=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function p(){}n.nextTick=function(t){var e=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];u.push(new h(t,e)),1!==u.length||c||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=p,n.addListener=p,n.once=p,n.off=p,n.removeListener=p,n.removeAllListeners=p,n.emit=p,n.prependListener=p,n.prependOnceListener=p,n.listeners=function(t){return[]},n.binding=function(t){throw Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw Error("process.chdir is not supported")},n.umask=function(){return 0}},2233:function(t,e,r){"use strict";r.d(e,{_:function(){return f}});var o=r(5487),n=r(6803),i=r(6912);function a(t,e){[...e].reverse().forEach(r=>{let o=t.getVariant(r);o&&(0,n.C)(t,o),t.variantChildren&&t.variantChildren.forEach(t=>{a(t,e)})})}function s(){let t=!1,e=new Set,r={subscribe:t=>(e.add(t),()=>void e.delete(t)),start(r,n){(0,o.k)(t,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let a=[];return e.forEach(t=>{a.push((0,i.d)(t,r,{transitionOverride:n}))}),Promise.all(a)},set:r=>((0,o.k)(t,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),e.forEach(t=>
1{Array.isArray(r)?a(t,r):"string"==typeof r?a(t,[r]):(0,n.C)(t,r)})),stop(){e.forEach(t=>{!function(t){t.values.forEach(t=>t.stop())}(t)})},mount:()=>(t=!0,()=>{t=!1,r.stop()})};return r}var u=r(6681),c=r(8868);let f=function(){let t=(0,u.h)(s);return(0,c.L)(t.mount,[]),t}},7340:function(t,e,r){"use strict";function o(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}r.d(e,{_:function(){return o}})},3508:function(t,e,r){"use strict";r.d(e,{eI:function(){return u}});let{fetch:o,Headers:n}=r(7559)(),i="undefined"==typeof fetch?o:fetch,a="undefined"==typeof Headers?n:Headers;class s{constructor({token:t,url:e,queries:r,errorPolicy:o}){this.apiUrl=e,this.readonlyToken=null==t?void 0:t.trim(),this.queries=r(this),this.errorPolicy=o||"throw"}async request({errorPolicy:t,...e},r){var o;let n=t||this.errorPolicy,s=new a;this.readonlyToken&&s.append("X-API-KEY",this.readonlyToken),s.append("Content-Type","application/json"),(null==r?void 0:r.fetchOptions)&&(null==(o=null==r?void 0:r.fetchOptions)?void 0:o.headers)&&Object.entries(r.fetchOptions.headers).forEach(([t,e])=>{s.append(t,e)});let{headers:u,...c}=(null==r?void 0:r.fetchOptions)||{},f=JSON.stringify({query:e.query,variables:(null==e?void 0:e.variables)||{}}),l=(null==e?void 0:e.url)||this.apiUrl,d={method:"POST",headers:s,body:f,redirect:"follow",...c},h=await i(l,d);if(!h.ok){let t="";throw 401===h.status&&(t="Please check that your client ID, URL and read only token are configured properly."),Error(`Server responded with status code ${h.status}, ${h.statusText}. ${t||""} Please see our FAQ for more information: https://tina.io/docs/errors/faq/`)}let p=await h.json();if(p.errors&&"throw"===n)throw Error(`Unable to fetch, please see our FAQ for more information: https://tina.io/docs/errors/faq/ 2 Errors: 3 ${p.errors.map(t=>t.message).join("\n")}`);return{data:null==p?void 0:p.data,errors:(null==p?void 0:p.errors)||null,query:e.query}}}function u(t){return new s(t)}},6945:function(t,e,r){"use strict";r.d(e,{UL:function(){return n}});var o=r(7294);function n(t){let e=JSON.stringify({query:t.query,variables:t.variables}),r=o.useMemo(()=>i(e),[e]),[n,a]=o.useState(t.data),[s,u]=o.useState(!1),[c,f]=o.useState(!1),[l,d]=o.useState(!1);return o.useEffect(()=>{u(!0),a(t.data)},[r]),o.useEffect(()=>{if(c){let t=function(t){let e;let r=t.target.getAttributeNames().find(t=>t.startsWith("data-tina-field"));if(r)t.preventDefault(),t.stopPropagation(),e=t.target.getAttribute(r);else{let r=t.target.closest("[data-tina-field], [data-tina-field-overlay]");if(r){let o=r.getAttributeNames().find(t=>t.startsWith("data-tina-field"));o&&(t.preventDefault(),t.stopPropagation(),e=r.getAttribute(o))}}e&&l&&parent.postMessage({type:"field:selected",fieldName:e},window.location.origin)},e=document.createElement("style");return e.type="text/css",e.textContent=` 4 [data-tina-field] { 5 outline: 2px dashed rgba(34,150,254,0.5); 6 transition: box-shadow ease-out 150ms; 7 } 8 [data-tina-field]:hover { 9 box-shadow: inset 100vi 100vh rgba(34,150,254,0.3); 10 outline: 2px solid rgba(34,150,254,1); 11 cursor: pointer; 12 } 13 [data-tina-field-overlay] { 14 outline: 2px dashed rgba(34,150,254,0.5); 15 position: relative; 16 } 17 [data-tina-field-overlay]:hover { 18 cursor: pointer; 19 outline: 2px solid rgba(34,150,254,1); 20 } 21 [data-tina-field-overlay]::after { 22 content: ''; 23 position: absolute; 24 inset: 0; 25 z-index: 20; 26 transition: opacity ease-out 150ms; 27 background-color: rgba(34,150,254,0.3); 28 opacity: 0; 29 } 30 [data-tina-field-overlay]:hover::after { 31 opacity: 1; 32 } 33 `,document.head.appendChild(e),document.body.classList.add("__tina-quick-editing-enabled"),document.addEventListener("click",t,!0),()=>{document.removeEventListener("click",t,!0),document.body.classList.remove("__tina-quick-editing-enabled"),e.remove()}}},[c,l]),o.useEffect(()=>(parent.postMessage({type:"open",...t,id:r},window.location.origin),window.addEventListener("message",t=>{"quickEditEnabled"===t.data.type&&f(t.data.value),t.data.id===r&&"updateData"===t.data.type&&(a(t.data.data),d(!0),document.querySelector("[data-tina-field]")?parent.postMessage({type:"quick-edit",value:!0},window.location.origin):parent.postMessage({type:"quick-edit",value:!1},window.location.origin))}),()=>{parent.postMessage({type:"close",id:r},window.location.origin)}),[r,f]),{data:n,isClient:s}}let i=t=>{let e=0;for(let r=0;r<t.length;r++)e=(e<<5)-e+t.charCodeAt(r)&4294967295;return Math.abs(e).toString(36)}}}]);
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.