import{t as e}from"./rolldown-runtime.Bi-D_2cA.mjs";import{B as t,R as n}from"./react.C0PfrYOE.mjs";import{D as r,W as i,b as a,o,x as s}from"./framer.C0JOrmRS.mjs";function c(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function l(e,...t){if(!e)throw Error(`Assertion Error`+(t.length>0?`: `+t.join(` `):``))}function u(e){throw Error(`Unexpected value: ${e}`)}function d(e,t,n,r){l(e>=t,e,`outside lower bound for`,r),l(e<=n,e,`outside upper bound for`,r)}function f(e){return typeof e==`string`}function p(e){return Number.isFinite(e)}function m(e){return e===null}function h(e){if(m(e))return 0;switch(e.type){case o.Array:return 1;case o.Boolean:return 2;case o.Color:return 3;case o.Date:return 4;case o.Enum:return 5;case o.File:return 6;case o.ResponsiveImage:return 10;case o.Link:return 7;case o.Number:return 8;case o.Object:return 9;case o.RichText:return 11;case o.String:return 12;case o.VectorSetItem:return 13;default:u(e)}}function ee(e){let t=e.readUint16(),n=[];for(let r=0;ri)return 1;for(let i=0;it.value)}function oe(e){return{type:o.Color,value:e.readString()}}function se(e,t){e.writeString(t.value)}function ce(e,t){return e.valuet.value)}function le(e){let t=e.readInt64(),n=new Date(t);return{type:o.Date,value:n.toISOString()}}function ue(e,t){let n=new Date(t.value).getTime();e.writeInt64(n)}function de(e,t){let n=new Date(e.value),r=new Date(t.value);return nr)}function fe(e){return{type:o.Enum,value:e.readString()}}function pe(e,t){e.writeString(t.value)}function me(e,t){return e.valuet.value)}function he(e){return{type:o.File,value:e.readString()}}function ge(e,t){e.writeString(t.value)}function _e(e,t){return e.valuet.value)}function ve(e){return{type:o.Link,value:e.readJson()}}function ye(e,t){e.writeJson(t.value)}function be(e,t){let n=JSON.stringify(e.value),r=JSON.stringify(t.value);return nr)}function xe(e){return{type:o.Number,value:e.readFloat64()}}function Se(e,t){e.writeFloat64(t.value)}function Ce(e,t){return e.valuet.value)}function we(e){let t=e.readUint16(),n={};for(let r=0;ri.length)return 1;for(let a=0;as)return 1;let c=e.value[o]??null,l=t.value[s]??null,u=_.compare(c,l,n);if(u!==0)return u}return 0}function De(e){return{type:o.ResponsiveImage,value:e.readJson()}}function Oe(e,t){e.writeJson(t.value)}function ke(e,t){let n=JSON.stringify(e.value),r=JSON.stringify(t.value);return nr)}function Ae(e){let t=e.readInt8();if(t===0)return{type:o.RichText,value:e.readUint32()};if(t===1)return{type:o.RichText,value:e.readString()};throw Error(`Invalid rich text pointer`)}function je(e,t){if(p(t.value))e.writeInt8(0),e.writeUint32(t.value);else if(f(t.value))e.writeInt8(1),e.writeString(t.value);else throw Error(`Invalid rich text pointer`)}function Me(e,t){let n=e.value,r=t.value;if(p(n)&&p(r)||f(n)&&f(r))return nr);throw Error(`Invalid rich text pointer`)}function Ne(e){return{type:o.String,value:e.readString()}}function Pe(e,t){e.writeString(t.value)}function Fe(e,t,n){let r=e.value,i=t.value;return n.type===0&&(r=e.value.toLowerCase(),i=t.value.toLowerCase()),ri)}function Ie(e){return{type:o.VectorSetItem,value:e.readUint32()}}function Le(e,t){e.writeUint32(t.value)}function Re(e,t){let n=e.value,r=t.value;return nr)}async function ze(e){let t=Math.floor(V*(Math.random()+1)*2**(e-1));await new Promise(e=>{setTimeout(e,t)})}async function Be(e,t){let n=Ve(t),r=[],i=0;for(let e of n)r.push(`${e.from}-${e.to-1}`),i+=e.to-e.from;let a=new URL(e),o=r.join(`,`);a.searchParams.set(`range`,o);let s=await U(a);if(s.status!==200)throw Error(`Request failed: ${s.status} ${s.statusText}`);let c=await s.arrayBuffer(),l=new Uint8Array(c);if(l.length!==i)throw Error(`Request failed: Unexpected response length`);let u=new W,d=0;for(let e of n){let t=e.to-e.from,n=d+t,r=l.subarray(d,n);u.write(e.from,r),d=n}return t.map(e=>u.read(e.from,e.to-e.from))}function g(e,t){let n=e.length+t.length,r=new Uint8Array(n);return r.set(e,0),r.set(t,e.length),r}function Ve(e){l(e.length>0,`Must have at least one range`);let t=[...e].sort((e,t)=>e.from-t.from),n=[];for(let e of t){let t=n.length-1,r=n[t];r&&e.from<=r.to?n[t]={from:r.from,to:Math.max(r.to,e.to)}:n.push(e)}return n}var _,v,y,b,x,S,C,w,T,He,Ue,E,D,O,k,A,j,M,N,P,F,I,L,R,z,B,V,H,U,W,G,K,We,Ge;function Ke(){return(Ke=e((()=>{n(),i(),v=Object.create,y=Object.defineProperty,b=Object.getOwnPropertyDescriptor,x=Object.getOwnPropertyNames,S=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty,w=(e,t,n)=>t in e?y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,T=(e,t)=>function(){return t||(0,e[x(e)[0]])((t={exports:{}}).exports,t),t.exports},He=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of x(t))C.call(e,i)||i===n||y(e,i,{get:()=>t[i],enumerable:!(r=b(t,i))||r.enumerable});return e},Ue=(e,t,n)=>(n=e==null?{}:v(S(e)),He(!t&&e&&e.__esModule?n:y(n,`default`,{value:e,enumerable:!0}),e)),E=(e,t,n)=>w(e,typeof t==`symbol`?t:t+``,n),D=Ue(T({"../../../node_modules/dataloader/index.js"(e,t){var n,r=/* @__PURE__ */ function(){function e(e,t){if(typeof e!=`function`)throw TypeError(`DataLoader must be constructed with a function which accepts Array and returns Promise>, but got: `+e+`.`);this._batchLoadFn=e,this._maxBatchSize=function(e){if(e&&!1===e.batch)return 1;var t=e&&e.maxBatchSize;if(t===void 0)return 1/0;if(typeof t!=`number`||t<1)throw TypeError(`maxBatchSize must be a positive number: `+t);return t}(t),this._batchScheduleFn=function(e){var t=e&&e.batchScheduleFn;if(t===void 0)return i;if(typeof t!=`function`)throw TypeError(`batchScheduleFn must be a function: `+t);return t}(t),this._cacheKeyFn=function(e){var t=e&&e.cacheKeyFn;if(t===void 0)return function(e){return e};if(typeof t!=`function`)throw TypeError(`cacheKeyFn must be a function: `+t);return t}(t),this._cacheMap=function(e){if(e&&!1===e.cache)return null;var t=e&&e.cacheMap;if(t===void 0)return/* @__PURE__ */ new Map;if(t!==null){var n=[`get`,`set`,`delete`,`clear`].filter(function(e){return t&&typeof t[e]!=`function`});if(n.length!==0)throw TypeError(`Custom cacheMap missing methods: `+n.join(`, `))}return t}(t),this._batch=null,this.name=t&&t.name?t.name:null}var t=e.prototype;return t.load=function(e){if(e==null)throw TypeError(`The loader.load() function must be called with a value, but got: `+String(e)+`.`);var t=function(e){var t=e._batch;if(t!==null&&!t.hasDispatched&&t.keys.length and returns Promise>, but the function errored synchronously: `+String(n)+`.`))}if(!n||typeof n.then!=`function`)return a(e,t,TypeError(`DataLoader must be constructed with a function which accepts Array and returns Promise>, but the function did not return a Promise: `+String(n)+`.`));n.then(function(e){if(!s(e))throw TypeError(`DataLoader must be constructed with a function which accepts Array and returns Promise>, but the function did not return a Promise of an Array: `+String(e)+`.`);if(e.length!==t.keys.length)throw TypeError(`DataLoader must be constructed with a function which accepts Array and returns Promise>, but the function did not return a Promise of an Array of the same length as the Array of keys. Keys: `+String(t.keys)+` Values: `+String(e));o(t);for(var n=0;n but got: `+e+`.`);for(var t=[],n=0;n0&&Object.prototype.hasOwnProperty.call(e,e.length-1))}t.exports=r}})()),O={Uint8:1,Uint16:2,Uint32:4,BigUint64:8,Int8:1,Int16:2,Int32:4,BigInt64:8,Float32:4,Float64:8},k=class{getOffset(){return this.offset}ensureLength(e){let t=this.bytes.length;if(!(this.offset+e<=t))throw Error(`Reading out of bounds`)}readUint8(){let e=O.Uint8;this.ensureLength(e);let t=this.view.getUint8(this.offset);return this.offset+=e,t}readUint16(){let e=O.Uint16;this.ensureLength(e);let t=this.view.getUint16(this.offset);return this.offset+=e,t}readUint32(){let e=O.Uint32;this.ensureLength(e);let t=this.view.getUint32(this.offset);return this.offset+=e,t}readUint64(){let e=this.readBigUint64();return Number(e)}readBigUint64(){let e=O.BigUint64;this.ensureLength(e);let t=this.view.getBigUint64(this.offset);return this.offset+=e,t}readInt8(){let e=O.Int8;this.ensureLength(e);let t=this.view.getInt8(this.offset);return this.offset+=e,t}readInt16(){let e=O.Int16;this.ensureLength(e);let t=this.view.getInt16(this.offset);return this.offset+=e,t}readInt32(){let e=O.Int32;this.ensureLength(e);let t=this.view.getInt32(this.offset);return this.offset+=e,t}readInt64(){let e=this.readBigInt64();return Number(e)}readBigInt64(){let e=O.BigInt64;this.ensureLength(e);let t=this.view.getBigInt64(this.offset);return this.offset+=e,t}readFloat32(){let e=O.Float32;this.ensureLength(e);let t=this.view.getFloat32(this.offset);return this.offset+=e,t}readFloat64(){let e=O.Float64;this.ensureLength(e);let t=this.view.getFloat64(this.offset);return this.offset+=e,t}readBytes(e){let t=this.offset,n=t+e,r=this.bytes.subarray(t,n);return this.offset=n,r}readString(){let e=this.readUint32(),t=this.readBytes(e);return this.decoder.decode(t)}readJson(){let e=this.readString();return JSON.parse(e)}constructor(e){this.bytes=e,E(this,`offset`,0),E(this,`view`),E(this,`decoder`,new TextDecoder),this.view=c(this.bytes)}},t!==void 0&&t.requestIdleCallback,A=1024,j=1.5,M=e=>2**e-1,N=e=>-(2**(e-1)),P=e=>2**(e-1)-1,F={Uint8:0,Uint16:0,Uint32:0,Uint64:0,BigUint64:0,Int8:N(8),Int16:N(16),Int32:N(32),Int64:-(2**53-1),BigInt64:-(BigInt(2)**BigInt(63))},I={Uint8:M(8),Uint16:M(16),Uint32:M(32),Uint64:2**53-1,BigUint64:BigInt(2)**BigInt(64)-BigInt(1),Int8:P(8),Int16:P(16),Int32:P(32),Int64:2**53-1,BigInt64:BigInt(2)**BigInt(63)-BigInt(1)},L=class{getOffset(){return this.offset}slice(e=0,t=this.offset){return this.bytes.slice(e,t)}subarray(e=0,t=this.offset){return this.bytes.subarray(e,t)}ensureLength(e){let t=this.bytes.length;if(this.offset+e<=t)return;let n=new Uint8Array(Math.ceil(t*j)+e);n.set(this.bytes),this.bytes=n,this.view=c(n)}writeUint8(e){d(e,F.Uint8,I.Uint8,`Uint8`);let t=O.Uint8;this.ensureLength(t),this.view.setUint8(this.offset,e),this.offset+=t}writeUint16(e){d(e,F.Uint16,I.Uint16,`Uint16`);let t=O.Uint16;this.ensureLength(t),this.view.setUint16(this.offset,e),this.offset+=t}writeUint32(e){d(e,F.Uint32,I.Uint32,`Uint32`);let t=O.Uint32;this.ensureLength(t),this.view.setUint32(this.offset,e),this.offset+=t}writeUint64(e){d(e,F.Uint64,I.Uint64,`Uint64`);let t=BigInt(e);this.writeBigUint64(t)}writeBigUint64(e){d(e,F.BigUint64,I.BigUint64,`BigUint64`);let t=O.BigUint64;this.ensureLength(t),this.view.setBigUint64(this.offset,e),this.offset+=t}writeInt8(e){d(e,F.Int8,I.Int8,`Int8`);let t=O.Int8;this.ensureLength(t),this.view.setInt8(this.offset,e),this.offset+=t}writeInt16(e){d(e,F.Int16,I.Int16,`Int16`);let t=O.Int16;this.ensureLength(t),this.view.setInt16(this.offset,e),this.offset+=t}writeInt32(e){d(e,F.Int32,I.Int32,`Int32`);let t=O.Int32;this.ensureLength(t),this.view.setInt32(this.offset,e),this.offset+=t}writeInt64(e){d(e,F.Int64,I.Int64,`Int64`);let t=BigInt(e);this.writeBigInt64(t)}writeBigInt64(e){d(e,F.BigInt64,I.BigInt64,`BigInt64`);let t=O.BigInt64;this.ensureLength(t),this.view.setBigInt64(this.offset,e),this.offset+=t}writeFloat32(e){let t=O.Float32;this.ensureLength(t),this.view.setFloat32(this.offset,e),this.offset+=t}writeFloat64(e){let t=O.Float64;this.ensureLength(t),this.view.setFloat64(this.offset,e),this.offset+=t}writeBytes(e){let t=e.length;this.ensureLength(t),this.bytes.set(e,this.offset),this.offset+=t}encodeString(e){let t=this.encodedStrings.get(e);if(t)return t;let n=this.encoder.encode(e);return this.encodedStrings.set(e,n),n}writeString(e){let t=this.encodeString(e),n=t.length;this.writeUint32(n),this.writeBytes(t)}writeJson(e){let t=JSON.stringify(e);this.writeString(t)}constructor(){E(this,`offset`,0),E(this,`bytes`,new Uint8Array(A)),E(this,`view`,c(this.bytes)),E(this,`encoder`,new TextEncoder),E(this,`encodedStrings`,/* @__PURE__ */ new Map)}},R=class e{static fromString(t){let[n,r,i]=t.split(`/`).map(Number);return l(p(n),`Invalid chunkId`),l(p(r),`Invalid offset`),l(p(i),`Invalid length`),new e(n,r,i)}toString(){return`${this.chunkId}/${this.offset}/${this.length}`}static read(t){let n=t.readUint16(),r=t.readUint32(),i=t.readUint32();return new e(n,r,i)}write(e){e.writeUint16(this.chunkId),e.writeUint32(this.offset),e.writeUint32(this.length)}compare(e){return this.chunkIde.chunkId?1:this.offsete.offset?1:(l(this.length===e.length),0)}constructor(e,t,n){this.chunkId=e,this.offset=t,this.length=n}},(e=>{e.read=function(e){let t=e.readUint8();switch(t){case 0:return null;case 1:return ee(e);case 2:return re(e);case 3:return oe(e);case 4:return le(e);case 5:return fe(e);case 6:return he(e);case 7:return ve(e);case 8:return xe(e);case 9:return we(e);case 10:return De(e);case 11:return Ae(e);case 12:return Ne(e);case 13:return Ie(e);default:u(t)}},e.write=function(e,t){let n=h(t);if(e.writeUint8(n),!m(t))switch(t.type){case o.Array:return te(e,t);case o.Boolean:return ie(e,t);case o.Color:return se(e,t);case o.Date:return ue(e,t);case o.Enum:return pe(e,t);case o.File:return ge(e,t);case o.Link:return ye(e,t);case o.Number:return Se(e,t);case o.Object:return Te(e,t);case o.ResponsiveImage:return Oe(e,t);case o.RichText:return je(e,t);case o.VectorSetItem:return Le(e,t);case o.String:return Pe(e,t);default:u(t)}},e.compare=function(e,t,n){let r=h(e),i=h(t);if(ri)return 1;if(m(e)||m(t))return 0;switch(e.type){case o.Array:return l(t.type===o.Array),ne(e,t,n);case o.Boolean:return l(t.type===o.Boolean),ae(e,t);case o.Color:return l(t.type===o.Color),ce(e,t);case o.Date:return l(t.type===o.Date),de(e,t);case o.Enum:return l(t.type===o.Enum),me(e,t);case o.File:return l(t.type===o.File),_e(e,t);case o.Link:return l(t.type===o.Link),be(e,t);case o.Number:return l(t.type===o.Number),Ce(e,t);case o.Object:return l(t.type===o.Object),Ee(e,t,n);case o.ResponsiveImage:return l(t.type===o.ResponsiveImage),ke(e,t);case o.RichText:return l(t.type===o.RichText),Me(e,t);case o.VectorSetItem:return l(t.type===o.VectorSetItem),Re(e,t);case o.String:return l(t.type===o.String),Fe(e,t,n);default:u(e)}}})(_||={}),z=class e{sortEntries(){this.entries.sort((e,t)=>{for(let n=0;ne.getField(t)??null);this.entries.push({values:n,pointer:t})}constructor(e,t){this.fieldNames=e,this.options=t,E(this,`entries`,[])}},B=3,V=250,H=[408,429,500,502,503,504],U=async(e,t)=>{let n=0;for(;;){try{let r=await fetch(e,t);if(!H.includes(r.status)||++n>B)return r}catch(e){if(t?.signal?.aborted||++n>B)throw e}await ze(n)}},W=class{read(e,t){for(let n of this.chunks){if(en.end)continue;if(e+t>n.end)break;let r=e-n.start,i=r+t;return n.data.slice(r,i)}throw Error(`Missing data`)}write(e,t){let n=e,r=n+t.length,i=0,a=this.chunks.length;for(;ie.end)){if(n>e.start){let r=n-e.start;t=g(e.data.subarray(0,r),t),n=e.start}break}}for(;a>i;a--){let e=this.chunks[a-1];if(l(e,`Missing chunk`),!(re.flatMap(e=>{switch(t.type){case`All`:return[e];case`Equals`:return this.queryEquals(e,t,n);case`NotEquals`:return this.queryNotEquals(e,t,n);case`LessThan`:return this.queryLessThan(e,t,n);case`GreaterThan`:return this.queryGreaterThan(e,t,n);case`Contains`:return this.queryContains(e,t,n);case`StartsWith`:return this.queryStartsWith(e,t,n);case`EndsWith`:return this.queryEndsWith(e,t,n);default:u(t)}}),[t.entries]),r=[];for(let e of n)for(let t of e){let e={};for(let n=0;n0?[a]:[]}queryNotEquals(e,t,n){let r=this.getLeftMost(e,n,t.value),i=this.getRightMost(e,n,t.value),a=[],o=e.slice(0,r);o.length>0&&a.push(o);let s=e.slice(i+1);return s.length>0&&a.push(s),a}queryLessThan(e,t,n){let r=this.getRightMost(e,n,null);if(e=e.slice(r+1),t.inclusive){let r=this.getRightMost(e,n,t.value),i=e.slice(0,r+1);return i.length>0?[i]:[]}let i=this.getLeftMost(e,n,t.value),a=e.slice(0,i);return a.length>0?[a]:[]}queryGreaterThan(e,t,n){let r=this.getRightMost(e,n,null);if(e=e.slice(r+1),t.inclusive){let r=this.getLeftMost(e,n,t.value),i=e.slice(r);return i.length>0?[i]:[]}let i=this.getRightMost(e,n,t.value),a=e.slice(i+1);return a.length>0?[a]:[]}queryContains(e,t,n){return this.findItems(e,n,e=>{if(e?.type!==o.String||t.value?.type!==o.String)return!1;let n=e.value,r=t.value.value;return this.collation.type===0&&(n=n.toLowerCase(),r=r.toLowerCase()),n.includes(r)})}queryStartsWith(e,t,n){return this.findItems(e,n,e=>{if(e?.type!==o.String||t.value?.type!==o.String)return!1;let n=e.value,r=t.value.value;return this.collation.type===0&&(n=n.toLowerCase(),r=r.toLowerCase()),n.startsWith(r)})}queryEndsWith(e,t,n){return this.findItems(e,n,e=>{if(e?.type!==o.String||t.value?.type!==o.String)return!1;let n=e.value,r=t.value.value;return this.collation.type===0&&(n=n.toLowerCase(),r=r.toLowerCase()),n.endsWith(r)})}getLeftMost(e,t,n){let r=0,i=e.length;for(;r>1,o=e[a].values[t];0>_.compare(o,n,this.collation)?r=a+1:i=a}return r}getRightMost(e,t,n){let r=0,i=e.length;for(;r>1,o=e[a].values[t];_.compare(o,n,this.collation)>0?i=a:r=a+1}return i-1}findItems(e,t,n){let r=[],i=0;for(let a=0;a{if(!e.ok)throw Error(`Request failed: ${e.status} ${e.statusText}`);let t=await e.arrayBuffer(),n=new k(new Uint8Array(t)),r=[],i=n.readUint32();for(let e=0;e{let t=e.map(e=>{let t=R.fromString(e);return{from:t.offset,to:t.offset+t.length}});return(await Be(this.url,t)).map((t,n)=>{let r=new k(t),i=K.read(r),a=e[n];return l(a,`Missing pointer`),{pointer:a,data:i.getData()}})}))}},Ge=class{async scanItems(){return(await Promise.all(this.chunks.map(async e=>e.scanItems()))).flat()}async resolveItems(e){return Promise.all(e.map(e=>{let t=R.fromString(e),n=this.chunks[t.chunkId];return l(n,`Missing chunk`),n.resolveItem(e)}))}compareItems(e,t){let n=R.fromString(e.pointer),r=R.fromString(t.pointer);return n.compare(r)}compareValues(e,t,n){return _.compare(e,t,n)}constructor(e){this.options=e,E(this,`schema`),E(this,`indexes`),E(this,`resolveRichText`),E(this,`resolveVectorSetItem`),E(this,`chunks`),this.chunks=this.options.chunks.map((e,t)=>new We(t,e)),this.schema=e.schema,this.indexes=e.indexes,this.resolveRichText=e.resolveRichText,this.resolveVectorSetItem=e.resolveVectorSetItem}}})))()}async function qe(e){let t=Je[e];if(t)return await t()}var q,J,Je;function Ye(){return(Ye=e((()=>{q=(e,t)=>async()=>(await e())[t],J=()=>import(`./ZHlhOqT40-2.DitEdxnf.mjs`),Je=[q(J,`richText`),q(J,`richText1`),q(J,`richText2`),q(J,`richText3`),q(J,`richText4`),q(J,`richText5`),q(J,`richText6`),q(J,`richText7`),q(J,`richText8`),q(J,`richText9`),q(J,`richText10`),q(J,`richText11`),q(J,`richText12`),q(J,`richText13`),q(J,`richText14`),q(J,`richText15`),q(J,`richText16`),q(J,`richText17`)]})))()}var Y,Xe,X,Ze,Qe,$e,et,tt,Z,nt,rt,it,at,ot,st,ct,lt,ut,dt,ft,pt,mt,ht,gt,_t,Q,$,vt,yt,bt;function xt(){return(xt=e((()=>{i(),Ke(),Ye(),Y={bIBdW754A:{isNullable:!0,type:o.String},ErhCBK0u5:{isNullable:!0,type:o.String},gJK6zLScn:{isNullable:!0,type:o.ResponsiveImage},H8bL4WU6T:{isNullable:!0,type:o.String},hoaUkwlXf:{isNullable:!0,type:o.String},id:{isNullable:!1,type:o.String},LAfinLsxn:{isNullable:!0,type:o.ResponsiveImage},MaJz9a4rq:{isNullable:!0,type:o.String},nextItemId:{isNullable:!0,type:o.String},OdZDTMj4j:{isNullable:!0,type:o.ResponsiveImage},OKb9PWDVY:{isNullable:!0,type:o.RichText},previousItemId:{isNullable:!0,type:o.String},QuLDf1XRg:{isNullable:!0,type:o.String},RdMZD1GfK:{isNullable:!0,type:o.Date},Vs0YGqru0:{isNullable:!0,type:o.RichText},xjNvEU4cQ:{isNullable:!0,type:o.String},ZQns2nxNN:{isNullable:!0,type:o.RichText}},Xe=[`id`,`Vs0YGqru0`,`ZQns2nxNN`,`OKb9PWDVY`],X={type:1},Ze=[`previousItemId`,`Vs0YGqru0`,`ZQns2nxNN`,`OKb9PWDVY`],Qe=[`nextItemId`,`Vs0YGqru0`,`ZQns2nxNN`,`OKb9PWDVY`],$e=[`id`,`ErhCBK0u5`],et=[`ErhCBK0u5`,`id`],tt=[`MaJz9a4rq`,`Vs0YGqru0`,`ZQns2nxNN`,`OKb9PWDVY`],Z={type:0},nt=[`LAfinLsxn`,`Vs0YGqru0`,`ZQns2nxNN`,`OKb9PWDVY`],rt=[`OdZDTMj4j`,`Vs0YGqru0`,`ZQns2nxNN`,`OKb9PWDVY`],it=[`RdMZD1GfK`,`Vs0YGqru0`,`ZQns2nxNN`,`OKb9PWDVY`],at=[`bIBdW754A`,`Vs0YGqru0`,`ZQns2nxNN`,`OKb9PWDVY`],ot=[`hoaUkwlXf`,`Vs0YGqru0`,`ZQns2nxNN`,`OKb9PWDVY`],st=[`QuLDf1XRg`,`Vs0YGqru0`,`ZQns2nxNN`,`OKb9PWDVY`],ct=[`Vs0YGqru0`,`Vs0YGqru0`,`ZQns2nxNN`,`OKb9PWDVY`],lt=[`ZQns2nxNN`,`Vs0YGqru0`,`ZQns2nxNN`,`OKb9PWDVY`],ut=[`OKb9PWDVY`,`Vs0YGqru0`,`ZQns2nxNN`,`OKb9PWDVY`],dt=[`H8bL4WU6T`,`Vs0YGqru0`,`ZQns2nxNN`,`OKb9PWDVY`],ft=[`xjNvEU4cQ`,`Vs0YGqru0`,`ZQns2nxNN`,`OKb9PWDVY`],pt=[`gJK6zLScn`,`Vs0YGqru0`,`ZQns2nxNN`,`OKb9PWDVY`],mt=[`ErhCBK0u5`,`Vs0YGqru0`,`ZQns2nxNN`,`OKb9PWDVY`],ht=[],gt=e=>{let t=ht[e];if(t)return t().then(e=>e.default)},_t=new s,Q=new a(_t),$={collectionByLocaleId:{default:new Ge({chunks:[new URL(`./ZHlhOqT40-chunk-default-0.framercms`,`https://framerusercontent.com/modules/c0wA1o2idRDCMZ9JmsWP/5x5R7dAkTXglkmiIyFmt/ZHlhOqT40.js`).href.replace(`/modules/`,`/cms/`)],indexes:[new G({collation:X,collectionSchema:Y,fieldNames:Xe,range:{from:0,to:316},url:new URL(`./ZHlhOqT40-indexes-default-0.framercms`,`https://framerusercontent.com/modules/c0wA1o2idRDCMZ9JmsWP/5x5R7dAkTXglkmiIyFmt/ZHlhOqT40.js`).href.replace(`/modules/`,`/cms/`)}),new G({collation:X,collectionSchema:Y,fieldNames:Ze,range:{from:316,to:631},url:new URL(`./ZHlhOqT40-indexes-default-0.framercms`,`https://framerusercontent.com/modules/c0wA1o2idRDCMZ9JmsWP/5x5R7dAkTXglkmiIyFmt/ZHlhOqT40.js`).href.replace(`/modules/`,`/cms/`)}),new G({collation:X,collectionSchema:Y,fieldNames:Qe,range:{from:631,to:942},url:new URL(`./ZHlhOqT40-indexes-default-0.framercms`,`https://framerusercontent.com/modules/c0wA1o2idRDCMZ9JmsWP/5x5R7dAkTXglkmiIyFmt/ZHlhOqT40.js`).href.replace(`/modules/`,`/cms/`)}),new G({collation:X,collectionSchema:Y,fieldNames:$e,range:{from:942,to:1235},url:new URL(`./ZHlhOqT40-indexes-default-0.framercms`,`https://framerusercontent.com/modules/c0wA1o2idRDCMZ9JmsWP/5x5R7dAkTXglkmiIyFmt/ZHlhOqT40.js`).href.replace(`/modules/`,`/cms/`)}),new G({collation:X,collectionSchema:Y,fieldNames:et,range:{from:1235,to:1528},url:new URL(`./ZHlhOqT40-indexes-default-0.framercms`,`https://framerusercontent.com/modules/c0wA1o2idRDCMZ9JmsWP/5x5R7dAkTXglkmiIyFmt/ZHlhOqT40.js`).href.replace(`/modules/`,`/cms/`)}),new G({collation:Z,collectionSchema:Y,fieldNames:tt,range:{from:1528,to:1878},url:new URL(`./ZHlhOqT40-indexes-default-0.framercms`,`https://framerusercontent.com/modules/c0wA1o2idRDCMZ9JmsWP/5x5R7dAkTXglkmiIyFmt/ZHlhOqT40.js`).href.replace(`/modules/`,`/cms/`)}),new G({collation:Z,collectionSchema:Y,fieldNames:nt,range:{from:1878,to:2814},url:new URL(`./ZHlhOqT40-indexes-default-0.framercms`,`https://framerusercontent.com/modules/c0wA1o2idRDCMZ9JmsWP/5x5R7dAkTXglkmiIyFmt/ZHlhOqT40.js`).href.replace(`/modules/`,`/cms/`)}),new G({collation:Z,collectionSchema:Y,fieldNames:rt,range:{from:2814,to:5379},url:new URL(`./ZHlhOqT40-indexes-default-0.framercms`,`https://framerusercontent.com/modules/c0wA1o2idRDCMZ9JmsWP/5x5R7dAkTXglkmiIyFmt/ZHlhOqT40.js`).href.replace(`/modules/`,`/cms/`)}),new G({collation:Z,collectionSchema:Y,fieldNames:it,range:{from:5379,to:5672},url:new URL(`./ZHlhOqT40-indexes-default-0.framercms`,`https://framerusercontent.com/modules/c0wA1o2idRDCMZ9JmsWP/5x5R7dAkTXglkmiIyFmt/ZHlhOqT40.js`).href.replace(`/modules/`,`/cms/`)}),new G({collation:Z,collectionSchema:Y,fieldNames:at,range:{from:5672,to:6189},url:new URL(`./ZHlhOqT40-indexes-default-0.framercms`,`https://framerusercontent.com/modules/c0wA1o2idRDCMZ9JmsWP/5x5R7dAkTXglkmiIyFmt/ZHlhOqT40.js`).href.replace(`/modules/`,`/cms/`)}),new G({collation:Z,collectionSchema:Y,fieldNames:ot,range:{from:6189,to:6533},url:new URL(`./ZHlhOqT40-indexes-default-0.framercms`,`https://framerusercontent.com/modules/c0wA1o2idRDCMZ9JmsWP/5x5R7dAkTXglkmiIyFmt/ZHlhOqT40.js`).href.replace(`/modules/`,`/cms/`)}),new G({collation:Z,collectionSchema:Y,fieldNames:st,range:{from:6533,to:6901},url:new URL(`./ZHlhOqT40-indexes-default-0.framercms`,`https://framerusercontent.com/modules/c0wA1o2idRDCMZ9JmsWP/5x5R7dAkTXglkmiIyFmt/ZHlhOqT40.js`).href.replace(`/modules/`,`/cms/`)}),new G({collation:Z,collectionSchema:Y,fieldNames:ct,range:{from:6901,to:7176},url:new URL(`./ZHlhOqT40-indexes-default-0.framercms`,`https://framerusercontent.com/modules/c0wA1o2idRDCMZ9JmsWP/5x5R7dAkTXglkmiIyFmt/ZHlhOqT40.js`).href.replace(`/modules/`,`/cms/`)}),new G({collation:Z,collectionSchema:Y,fieldNames:lt,range:{from:7176,to:7451},url:new URL(`./ZHlhOqT40-indexes-default-0.framercms`,`https://framerusercontent.com/modules/c0wA1o2idRDCMZ9JmsWP/5x5R7dAkTXglkmiIyFmt/ZHlhOqT40.js`).href.replace(`/modules/`,`/cms/`)}),new G({collation:Z,collectionSchema:Y,fieldNames:ut,range:{from:7451,to:7726},url:new URL(`./ZHlhOqT40-indexes-default-0.framercms`,`https://framerusercontent.com/modules/c0wA1o2idRDCMZ9JmsWP/5x5R7dAkTXglkmiIyFmt/ZHlhOqT40.js`).href.replace(`/modules/`,`/cms/`)}),new G({collation:Z,collectionSchema:Y,fieldNames:dt,range:{from:7726,to:8624},url:new URL(`./ZHlhOqT40-indexes-default-0.framercms`,`https://framerusercontent.com/modules/c0wA1o2idRDCMZ9JmsWP/5x5R7dAkTXglkmiIyFmt/ZHlhOqT40.js`).href.replace(`/modules/`,`/cms/`)}),new G({collation:Z,collectionSchema:Y,fieldNames:ft,range:{from:8624,to:9142},url:new URL(`./ZHlhOqT40-indexes-default-0.framercms`,`https://framerusercontent.com/modules/c0wA1o2idRDCMZ9JmsWP/5x5R7dAkTXglkmiIyFmt/ZHlhOqT40.js`).href.replace(`/modules/`,`/cms/`)}),new G({collation:Z,collectionSchema:Y,fieldNames:pt,range:{from:9142,to:11527},url:new URL(`./ZHlhOqT40-indexes-default-0.framercms`,`https://framerusercontent.com/modules/c0wA1o2idRDCMZ9JmsWP/5x5R7dAkTXglkmiIyFmt/ZHlhOqT40.js`).href.replace(`/modules/`,`/cms/`)}),new G({collation:Z,collectionSchema:Y,fieldNames:mt,range:{from:11527,to:11877},url:new URL(`./ZHlhOqT40-indexes-default-0.framercms`,`https://framerusercontent.com/modules/c0wA1o2idRDCMZ9JmsWP/5x5R7dAkTXglkmiIyFmt/ZHlhOqT40.js`).href.replace(`/modules/`,`/cms/`)})],resolveRichText:qe,resolveVectorSetItem:gt,schema:Y})},displayName:`Case Studies`},r($,{MaJz9a4rq:{defaultValue:``,title:`Name`,type:o.String},LAfinLsxn:{title:`Company Logo`,type:o.ResponsiveImage},OdZDTMj4j:{title:`Page Image`,type:o.ResponsiveImage},RdMZD1GfK:{title:`Date`,type:o.Date},bIBdW754A:{defaultValue:``,title:`Listing Achievement`,type:o.String},hoaUkwlXf:{defaultValue:``,title:`Location`,type:o.String},QuLDf1XRg:{defaultValue:``,title:`Industry`,type:o.String},Vs0YGqru0:{defaultValue:``,title:`Overview`,type:o.RichText},ZQns2nxNN:{defaultValue:``,title:`Challenge`,type:o.RichText},OKb9PWDVY:{defaultValue:``,title:`Result`,type:o.RichText},H8bL4WU6T:{defaultValue:``,title:`Testimonial`,type:o.String},xjNvEU4cQ:{defaultValue:``,title:`Testimonial Name`,type:o.String},gJK6zLScn:{title:`Testimonial Photo`,type:o.ResponsiveImage},ErhCBK0u5:{title:`Slug`,type:o.String},previousItemId:{dataIdentifier:`local-module:collection/ZHlhOqT40:default`,title:`Previous`,type:o.CollectionReference},nextItemId:{dataIdentifier:`local-module:collection/ZHlhOqT40:default`,title:`Next`,type:o.CollectionReference}}),vt={},yt={async getSlugByRecordId(e,t){let[n]=await Q.get({from:{data:$,type:`Collection`},limit:{type:`LiteralValue`,value:1},select:[{name:`ErhCBK0u5`,type:`Identifier`}],where:{left:{name:`id`,type:`Identifier`},operator:`==`,right:{type:`LiteralValue`,value:e},type:`BinaryOperation`}},t).readAsync();return n?.ErhCBK0u5},async getRecordIdBySlug(e,t){let[n]=await Q.get({from:{data:$,type:`Collection`},limit:{type:`LiteralValue`,value:1},select:[{name:`id`,type:`Identifier`}],where:{left:{name:`ErhCBK0u5`,type:`Identifier`},operator:`==`,right:{type:`LiteralValue`,value:e},type:`BinaryOperation`}},t).readAsync();return n?.id}},bt={exports:{default:{type:`data`,name:`data`,annotations:{framerSlug:`ErhCBK0u5`,framerCollectionId:`ZHlhOqT40`,framerEnumToDisplayNameUtils:`2`,framerRecordIdKey:`id`,framerCollectionUtils:`1`,framerContractVersion:`1`,framerData:``,framerColorSyntax:`false`,framerAutoSizeImages:`true`}},utils:{type:`variable`,annotations:{framerContractVersion:`1`}},enumToDisplayNameFunctions:{type:`variable`,annotations:{framerContractVersion:`1`}},__FramerMetadata__:{type:`variable`}}}})))()}export{yt as a,xt as i,bt as n,vt as r,$ as t}; //# sourceMappingURL=ZHlhOqT40.BKvuvbNz.mjs.map