import{t as e}from"./rolldown-runtime.BB3S47xo.mjs";import{B as t,E as n,H as r,I as i,c as a,f as o,o as s,u as c}from"./react.UZZKdtaS.mjs";import{C as l}from"./motion.B1SDLVbr.mjs";import{Z as u,c as d,i as ee,j as te,t as ne,v as re,w as ie}from"./framer.Ypvh2MRC.mjs";function f(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function p(e,...t){if(!e)throw Error(`Assertion Error`+(t.length>0?`: `+t.join(` `):``))}function m(e){throw Error(`Unexpected value: ${e}`)}function h(e,t,n,r){p(e>=t,e,`outside lower bound for`,r),p(e<=n,e,`outside upper bound for`,r)}function g(e){return typeof e==`string`}function _(e){return Number.isFinite(e)}function v(e){return e===null}function y(e){if(v(e))return 0;switch(e.type){case d.Array:return 1;case d.Boolean:return 2;case d.Color:return 3;case d.Date:return 4;case d.Enum:return 5;case d.File:return 6;case d.ResponsiveImage:return 10;case d.Link:return 7;case d.Number:return 8;case d.Object:return 9;case d.RichText:return 11;case d.String:return 12;case d.VectorSetItem:return 13;default:m(e)}}function ae(e){let t=e.readUint16(),n=[];for(let r=0;ri)return 1;for(let i=0;it.value?1:0}function de(e){return{type:d.Color,value:e.readString()}}function fe(e,t){e.writeString(t.value)}function pe(e,t){return e.valuet.value?1:0}function me(e){let t=e.readInt64(),n=new Date(t);return{type:d.Date,value:n.toISOString()}}function he(e,t){let n=new Date(t.value).getTime();e.writeInt64(n)}function ge(e,t){let n=new Date(e.value),r=new Date(t.value);return nr?1:0}function _e(e){return{type:d.Enum,value:e.readString()}}function ve(e,t){e.writeString(t.value)}function ye(e,t){return e.valuet.value?1:0}function be(e){return{type:d.File,value:e.readString()}}function xe(e,t){e.writeString(t.value)}function Se(e,t){return e.valuet.value?1:0}function Ce(e){return{type:d.Link,value:e.readJson()}}function we(e,t){e.writeJson(t.value)}function Te(e,t){let n=JSON.stringify(e.value),r=JSON.stringify(t.value);return nr?1:0}function Ee(e){return{type:d.Number,value:e.readFloat64()}}function De(e,t){e.writeFloat64(t.value)}function Oe(e,t){return e.valuet.value?1:0}function ke(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=b.compare(c,l,n);if(u!==0)return u}return 0}function Me(e){return{type:d.ResponsiveImage,value:e.readJson()}}function Ne(e,t){e.writeJson(t.value)}function Pe(e,t){let n=JSON.stringify(e.value),r=JSON.stringify(t.value);return nr?1:0}function Fe(e){let t=e.readInt8();if(t===0)return{type:d.RichText,value:e.readUint32()};if(t===1)return{type:d.RichText,value:e.readString()};throw Error(`Invalid rich text pointer`)}function Ie(e,t){if(_(t.value)){e.writeInt8(0),e.writeUint32(t.value);return}if(g(t.value)){e.writeInt8(1),e.writeString(t.value);return}throw Error(`Invalid rich text pointer`)}function Le(e,t){let n=e.value,r=t.value;if(_(n)&&_(r)||g(n)&&g(r))return nr?1:0;throw Error(`Invalid rich text pointer`)}function Re(e){return{type:d.String,value:e.readString()}}function ze(e,t){e.writeString(t.value)}function Be(e,t,n){let r=e.value,i=t.value;return n.type===0&&(r=e.value.toLowerCase(),i=t.value.toLowerCase()),ri?1:0}function Ve(e){return{type:d.VectorSetItem,value:e.readUint32()}}function He(e,t){e.writeUint32(t.value)}function Ue(e,t){let n=e.value,r=t.value;return nr?1:0}async function We(e){let t=Math.floor(st*(Math.random()+1)*2**(e-1));await new Promise(e=>{setTimeout(e,t)})}async function Ge(e,t){let n=qe(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(`,`);if(a.origin===globalThis.location.origin&&a.pathname.startsWith(`/assets/data/`)){let e=await N(a);if(e.status!==200)throw Error(`Request failed: ${e.status} ${e.statusText}`);let r=new Uint8Array(await e.arrayBuffer()),i=new lt;i.write(0,r);return t.map(e=>i.read(e.from,e.to-e.from))}a.searchParams.set(`range`,o);let s=await N(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 lt,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 Ke(e,t){let n=e.length+t.length,r=new Uint8Array(n);return r.set(e,0),r.set(t,e.length),r}function qe(e){p(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 b,Je,x,Ye,S,Xe,Ze,Qe,$e,et,tt,C,nt,w,T,rt,it,E,D,O,k,A,at,j,ot,M,st,ct,N,lt,P,F,ut,I,dt=e((()=>{t(),u(),Je=Object.create,x=Object.defineProperty,Ye=Object.getOwnPropertyDescriptor,S=Object.getOwnPropertyNames,Xe=Object.getPrototypeOf,Ze=Object.prototype.hasOwnProperty,Qe=(e,t,n)=>t in e?x(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$e=(e,t)=>function(){return t||(0,e[S(e)[0]])((t={exports:{}}).exports,t),t.exports},et=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of S(t))Ze.call(e,i)||i===n||x(e,i,{get:()=>t[i],enumerable:!(r=Ye(t,i))||r.enumerable});return e},tt=(e,t,n)=>(n=e==null?{}:Je(Xe(e)),et(!t&&e&&e.__esModule?n:x(n,`default`,{value:e,enumerable:!0}),e)),C=(e,t,n)=>Qe(e,typeof t==`symbol`?t:t+``,n),nt=tt($e({"../../../node_modules/dataloader/index.js"(e,t){var n,r=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 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}})(),1),w={Uint8:1,Uint16:2,Uint32:4,BigUint64:8,Int8:1,Int16:2,Int32:4,BigInt64:8,Float32:4,Float64:8},T=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=w.Uint8;this.ensureLength(e);let t=this.view.getUint8(this.offset);return this.offset+=e,t}readUint16(){let e=w.Uint16;this.ensureLength(e);let t=this.view.getUint16(this.offset);return this.offset+=e,t}readUint32(){let e=w.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=w.BigUint64;this.ensureLength(e);let t=this.view.getBigUint64(this.offset);return this.offset+=e,t}readInt8(){let e=w.Int8;this.ensureLength(e);let t=this.view.getInt8(this.offset);return this.offset+=e,t}readInt16(){let e=w.Int16;this.ensureLength(e);let t=this.view.getInt16(this.offset);return this.offset+=e,t}readInt32(){let e=w.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=w.BigInt64;this.ensureLength(e);let t=this.view.getBigInt64(this.offset);return this.offset+=e,t}readFloat32(){let e=w.Float32;this.ensureLength(e);let t=this.view.getFloat32(this.offset);return this.offset+=e,t}readFloat64(){let e=w.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,C(this,`offset`,0),C(this,`view`),C(this,`decoder`,new TextDecoder),this.view=f(this.bytes)}},r!==void 0&&r.requestIdleCallback,rt=1024,it=1.5,E=e=>2**e-1,D=e=>-(2**(e-1)),O=e=>2**(e-1)-1,k={Uint8:0,Uint16:0,Uint32:0,Uint64:0,BigUint64:0,Int8:D(8),Int16:D(16),Int32:D(32),Int64:-(2**53-1),BigInt64:-(BigInt(2)**BigInt(63))},A={Uint8:E(8),Uint16:E(16),Uint32:E(32),Uint64:2**53-1,BigUint64:BigInt(2)**BigInt(64)-BigInt(1),Int8:O(8),Int16:O(16),Int32:O(32),Int64:2**53-1,BigInt64:BigInt(2)**BigInt(63)-BigInt(1)},at=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*it)+e);n.set(this.bytes),this.bytes=n,this.view=f(n)}writeUint8(e){h(e,k.Uint8,A.Uint8,`Uint8`);let t=w.Uint8;this.ensureLength(t),this.view.setUint8(this.offset,e),this.offset+=t}writeUint16(e){h(e,k.Uint16,A.Uint16,`Uint16`);let t=w.Uint16;this.ensureLength(t),this.view.setUint16(this.offset,e),this.offset+=t}writeUint32(e){h(e,k.Uint32,A.Uint32,`Uint32`);let t=w.Uint32;this.ensureLength(t),this.view.setUint32(this.offset,e),this.offset+=t}writeUint64(e){h(e,k.Uint64,A.Uint64,`Uint64`);let t=BigInt(e);this.writeBigUint64(t)}writeBigUint64(e){h(e,k.BigUint64,A.BigUint64,`BigUint64`);let t=w.BigUint64;this.ensureLength(t),this.view.setBigUint64(this.offset,e),this.offset+=t}writeInt8(e){h(e,k.Int8,A.Int8,`Int8`);let t=w.Int8;this.ensureLength(t),this.view.setInt8(this.offset,e),this.offset+=t}writeInt16(e){h(e,k.Int16,A.Int16,`Int16`);let t=w.Int16;this.ensureLength(t),this.view.setInt16(this.offset,e),this.offset+=t}writeInt32(e){h(e,k.Int32,A.Int32,`Int32`);let t=w.Int32;this.ensureLength(t),this.view.setInt32(this.offset,e),this.offset+=t}writeInt64(e){h(e,k.Int64,A.Int64,`Int64`);let t=BigInt(e);this.writeBigInt64(t)}writeBigInt64(e){h(e,k.BigInt64,A.BigInt64,`BigInt64`);let t=w.BigInt64;this.ensureLength(t),this.view.setBigInt64(this.offset,e),this.offset+=t}writeFloat32(e){let t=w.Float32;this.ensureLength(t),this.view.setFloat32(this.offset,e),this.offset+=t}writeFloat64(e){let t=w.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(){C(this,`offset`,0),C(this,`bytes`,new Uint8Array(rt)),C(this,`view`,f(this.bytes)),C(this,`encoder`,new TextEncoder),C(this,`encodedStrings`,new Map)}},j=class e{static fromString(t){let[n,r,i]=t.split(`/`).map(Number);return p(_(n),`Invalid chunkId`),p(_(r),`Invalid offset`),p(_(i),`Invalid length`),new e(n,r,i)}toString(){return`${this.chunkId}/${this.offset}/${this.length}`}static read(t){return new e(t.readUint16(),t.readUint32(),t.readUint32())}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:(p(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 ae(e);case 2:return ce(e);case 3:return de(e);case 4:return me(e);case 5:return _e(e);case 6:return be(e);case 7:return Ce(e);case 8:return Ee(e);case 9:return ke(e);case 10:return Me(e);case 11:return Fe(e);case 12:return Re(e);case 13:return Ve(e);default:m(t)}},e.write=function(e,t){let n=y(t);if(e.writeUint8(n),!v(t))switch(t.type){case d.Array:return oe(e,t);case d.Boolean:return le(e,t);case d.Color:return fe(e,t);case d.Date:return he(e,t);case d.Enum:return ve(e,t);case d.File:return xe(e,t);case d.Link:return we(e,t);case d.Number:return De(e,t);case d.Object:return Ae(e,t);case d.ResponsiveImage:return Ne(e,t);case d.RichText:return Ie(e,t);case d.VectorSetItem:return He(e,t);case d.String:return ze(e,t);default:m(t)}},e.compare=function(e,t,n){let r=y(e),i=y(t);if(ri)return 1;if(v(e)||v(t))return 0;switch(e.type){case d.Array:return p(t.type===d.Array),se(e,t,n);case d.Boolean:return p(t.type===d.Boolean),ue(e,t);case d.Color:return p(t.type===d.Color),pe(e,t);case d.Date:return p(t.type===d.Date),ge(e,t);case d.Enum:return p(t.type===d.Enum),ye(e,t);case d.File:return p(t.type===d.File),Se(e,t);case d.Link:return p(t.type===d.Link),Te(e,t);case d.Number:return p(t.type===d.Number),Oe(e,t);case d.Object:return p(t.type===d.Object),je(e,t,n);case d.ResponsiveImage:return p(t.type===d.ResponsiveImage),Pe(e,t);case d.RichText:return p(t.type===d.RichText),Le(e,t);case d.VectorSetItem:return p(t.type===d.VectorSetItem),Ue(e,t);case d.String:return p(t.type===d.String),Be(e,t,n);default:m(e)}}})(b||={}),ot=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,C(this,`entries`,[])}},M=3,st=250,ct=[408,429,500,502,503,504],N=async(e,t)=>{let n=0;for(;;){try{let r=await fetch(e,t);if(!ct.includes(r.status)||++n>M)return r}catch(e){if(t?.signal?.aborted||++n>M)throw e}await We(n)}},lt=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=Ke(e.data.subarray(0,r),t),n=e.start}break}}for(;a>i;a--){let e=this.chunks[a-1];if(p(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:m(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!==d.String||t.value?.type!==d.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!==d.String||t.value?.type!==d.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!==d.String||t.value?.type!==d.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>b.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];b.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 T(new Uint8Array(t)),r=[],i=n.readUint32();for(let e=0;e{let t=e.map(e=>{let t=j.fromString(e);return{from:t.offset,to:t.offset+t.length}});return(await Ge(this.url,t)).map((t,n)=>{let r=new T(t),i=F.read(r),a=e[n];return p(a,`Missing pointer`),{pointer:a,data:i.getData()}})},{maxBatchSize:250}))}},I=class{async scanItems(){return(await Promise.all(this.chunks.map(async e=>e.scanItems()))).flat()}resolveItems(e){return Promise.all(e.map(e=>{let t=j.fromString(e),n=this.chunks[t.chunkId];return p(n,`Missing chunk`),n.resolveItem(e)}))}compareItems(e,t){let n=j.fromString(e.pointer),r=j.fromString(t.pointer);return n.compare(r)}compareValues(e,t,n){return b.compare(e,t,n)}constructor(e){this.options=e,C(this,`id`),C(this,`schema`),C(this,`indexes`),C(this,`resolveRichText`),C(this,`resolveVectorSetItem`),C(this,`chunks`),this.chunks=this.options.chunks.map((e,t)=>new ut(t,e)),this.schema=e.schema,this.indexes=e.indexes,this.resolveRichText=e.resolveRichText,this.resolveVectorSetItem=e.resolveVectorSetItem,this.id=e.id}}}));function ft(e){return typeof e==`object`&&!!e&&!o(e)&&ht in e}function pt(e,...t){if(!e)throw Error(`Assertion Error`+(t.length>0?`: `+t.join(` `):``))}function mt(e){let t=new Map;return n=>{let r=t.get(n);if(r)return r;let o=function t(n){switch(n[0]){case 1:{let[,...e]=n;return c(i,void 0,...e.map(t))}case 2:{let[,e,...r]=n;return c(re,e,...r.map(t))}case 3:{let[,r,i,o,s]=n;for(let e of o){let n=i[e];n&&(i[e]=t(n))}for(let t of s){let n=i[t];if(typeof n!=`string`)continue;let r=e[n];r&&(ft(r)&&r.preload(),i[t]=r)}let c=e[r];return pt(c,`Module not found`),ft(c)&&c.preload(),a(ee,{componentIdentifier:r,children:e=>a(ne,{component:c,props:{...e,...i}})})}case 4:{let[,e,r,...i]=n,a=i.map(t);return c(e===`a`?l.a:e,r,...a)}case 5:{let[,e]=n;return e}}}(JSON.parse(n));return t.set(n,o),o}}var L,ht,gt,_t=e((()=>{t(),s(),u(),n(),r!==void 0&&r.requestIdleCallback,ht=`preload`,gt=((L=gt||{})[L.Fragment=1]=`Fragment`,L[L.Link=2]=`Link`,L[L.Module=3]=`Module`,L[L.Tag=4]=`Tag`,L[L.Text=5]=`Text`,L)})),R,z,B,V,H,U,W,G,K,q,J,Y,X,vt,yt,bt,Z,xt,Q,$,St,Ct,wt,Tt,Et=e((()=>{u(),dt(),_t(),R={chZZoMsy5:{isNullable:!0,type:d.ResponsiveImage},createdAt:{isNullable:!0,type:d.Date},g1xaFonRm:{isNullable:!0,type:d.Date},id:{isNullable:!1,type:d.String},nextItemId:{isNullable:!0,type:d.String},previousItemId:{isNullable:!0,type:d.String},qMlPOGqTz:{isNullable:!0,type:d.String},SCGiWhqvj:{isNullable:!0,type:d.Date},sOsuzM2zh:{isNullable:!0,type:d.String},TWWy2k7CB:{isNullable:!0,type:d.String},tzBPaU12O:{isNullable:!0,type:d.RichText},updatedAt:{isNullable:!0,type:d.Date}},z=[`id`],B={type:1},V=[`previousItemId`],H=[`nextItemId`],U=[`id`,`sOsuzM2zh`],W=[`sOsuzM2zh`,`id`],G=[`qMlPOGqTz`],K={type:0},q=[`sOsuzM2zh`],J=[`chZZoMsy5`],Y=[`tzBPaU12O`],X=[`SCGiWhqvj`],vt=[`TWWy2k7CB`],yt=[`g1xaFonRm`],bt=[],Z=e=>{let t=bt[e];if(t)return t().then(e=>e.default)},xt=mt({}),Q=new ie,$={collectionByLocaleId:{default:new I({chunks:[new URL(`/assets/data/kwZUfss4K-chunk-default-0.framercms`,globalThis.location.origin).href],id:`48a1b011-04f3-4c3e-ba48-5f5363e02e28default`,indexes:[new P({collation:B,collectionSchema:R,fieldNames:z,range:{from:0,to:73},url:new URL(`/assets/data/kwZUfss4K-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:B,collectionSchema:R,fieldNames:V,range:{from:73,to:145},url:new URL(`/assets/data/kwZUfss4K-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:B,collectionSchema:R,fieldNames:H,range:{from:145,to:213},url:new URL(`/assets/data/kwZUfss4K-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:B,collectionSchema:R,fieldNames:U,range:{from:213,to:364},url:new URL(`/assets/data/kwZUfss4K-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:B,collectionSchema:R,fieldNames:W,range:{from:364,to:515},url:new URL(`/assets/data/kwZUfss4K-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:K,collectionSchema:R,fieldNames:G,range:{from:515,to:633},url:new URL(`/assets/data/kwZUfss4K-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:K,collectionSchema:R,fieldNames:q,range:{from:633,to:750},url:new URL(`/assets/data/kwZUfss4K-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:K,collectionSchema:R,fieldNames:J,range:{from:750,to:804},url:new URL(`/assets/data/kwZUfss4K-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:K,collectionSchema:R,fieldNames:Y,range:{from:804,to:25596},url:new URL(`/assets/data/kwZUfss4K-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:K,collectionSchema:R,fieldNames:X,range:{from:25596,to:25666},url:new URL(`/assets/data/kwZUfss4K-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:K,collectionSchema:R,fieldNames:vt,range:{from:25666,to:25752},url:new URL(`/assets/data/kwZUfss4K-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:K,collectionSchema:R,fieldNames:yt,range:{from:25752,to:25822},url:new URL(`/assets/data/kwZUfss4K-indexes-default-0.framercms`,globalThis.location.origin).href})],resolveRichText:xt,resolveVectorSetItem:Z,schema:R}),u7lYEf4iu:new I({chunks:[new URL(`/assets/data/kwZUfss4K-chunk-u7lYEf4iu-0.framercms`,globalThis.location.origin).href],id:`48a1b011-04f3-4c3e-ba48-5f5363e02e28u7lYEf4iu`,indexes:[new P({collation:B,collectionSchema:R,fieldNames:z,range:{from:0,to:73},url:new URL(`/assets/data/kwZUfss4K-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:B,collectionSchema:R,fieldNames:V,range:{from:73,to:145},url:new URL(`/assets/data/kwZUfss4K-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:B,collectionSchema:R,fieldNames:H,range:{from:145,to:213},url:new URL(`/assets/data/kwZUfss4K-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:B,collectionSchema:R,fieldNames:U,range:{from:213,to:364},url:new URL(`/assets/data/kwZUfss4K-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:B,collectionSchema:R,fieldNames:W,range:{from:364,to:515},url:new URL(`/assets/data/kwZUfss4K-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:K,collectionSchema:R,fieldNames:G,range:{from:515,to:633},url:new URL(`/assets/data/kwZUfss4K-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:K,collectionSchema:R,fieldNames:q,range:{from:633,to:750},url:new URL(`/assets/data/kwZUfss4K-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:K,collectionSchema:R,fieldNames:J,range:{from:750,to:804},url:new URL(`/assets/data/kwZUfss4K-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:K,collectionSchema:R,fieldNames:Y,range:{from:804,to:25596},url:new URL(`/assets/data/kwZUfss4K-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:K,collectionSchema:R,fieldNames:X,range:{from:25596,to:25666},url:new URL(`/assets/data/kwZUfss4K-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:K,collectionSchema:R,fieldNames:vt,range:{from:25666,to:25752},url:new URL(`/assets/data/kwZUfss4K-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:K,collectionSchema:R,fieldNames:yt,range:{from:25752,to:25822},url:new URL(`/assets/data/kwZUfss4K-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href})],resolveRichText:xt,resolveVectorSetItem:Z,schema:R})},displayName:`Legales`,id:`48a1b011-04f3-4c3e-ba48-5f5363e02e28`},St=$,te($,{qMlPOGqTz:{defaultValue:``,title:`Nombre`,type:d.String},sOsuzM2zh:{preventLocalization:!0,title:`Slug`,type:d.String},chZZoMsy5:{title:`Imagen de Portada`,type:d.ResponsiveImage},tzBPaU12O:{defaultValue:``,title:`Contenido`,type:d.RichText},SCGiWhqvj:{title:`Fecha de Actualización`,type:d.Date},TWWy2k7CB:{defaultValue:``,title:`Código`,type:d.String},g1xaFonRm:{title:`Fecha de Publicación`,type:d.Date},createdAt:{title:`Created`,type:d.Date},updatedAt:{title:`Updated`,type:d.Date},previousItemId:{dataIdentifier:`local-module:collection/kwZUfss4K:default`,title:`Previous`,type:d.CollectionReference},nextItemId:{dataIdentifier:`local-module:collection/kwZUfss4K:default`,title:`Next`,type:d.CollectionReference}}),Ct={},wt={async getSlugByRecordId(e,t){let[n]=await Q.query({from:{data:$,type:`Collection`},limit:{type:`LiteralValue`,value:1},select:[{name:`sOsuzM2zh`,type:`Identifier`}],where:{left:{name:`id`,type:`Identifier`},operator:`==`,right:{type:`LiteralValue`,value:e},type:`BinaryOperation`}},t);return n?.sOsuzM2zh},async getRecordIdBySlug(e,t){let[n]=await Q.query({from:{data:$,type:`Collection`},limit:{type:`LiteralValue`,value:1},select:[{name:`id`,type:`Identifier`}],where:{left:{name:`sOsuzM2zh`,type:`Identifier`},operator:`==`,right:{type:`LiteralValue`,value:e},type:`BinaryOperation`}},t);return n?.id}},Tt={exports:{default:{type:`data`,name:`data`,annotations:{framerContractVersion:`1`,framerData:`true`,framerCollectionUtils:`1`,framerEnumToDisplayNameUtils:`2`,framerSlug:`sOsuzM2zh`,framerCollectionId:`kwZUfss4K`,framerAutoSizeImages:`true`,framerColorSyntax:`false`,framerRecordIdKey:`id`}},enumToDisplayNameFunctions:{type:`variable`,annotations:{framerContractVersion:`1`}},utils:{type:`variable`,annotations:{framerContractVersion:`1`}},__FramerMetadata__:{type:`variable`}}}}));export{wt as a,St as i,Ct as n,Et as r,Tt as t}; //# sourceMappingURL=kwZUfss4K.DmvhsyqK.mjs.map