Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 832
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
import{f9 as O,fa as B,fb as _,fc as P,fd as $,fe as k,ff as W,fg as x,fh as j,C as J,fi as H,a as b,fj as q,ad as U,k as F,fk as G}from"#entry";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"57aa97b202b9654e46931f0e969e06e4c530112e"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="c7ebe0d9-740e-4016-a106-85e5ebb7df3e",e._sentryDebugIdIdentifier="sentry-dbid-c7ebe0d9-740e-4016-a106-85e5ebb7df3e")})()}catch{}const Z="memory",V=()=>{const e=new Map;return{name:Z,getInstance:()=>e,hasItem(r){return e.has(r)},getItem(r){return e.get(r)??null},getItemRaw(r){return e.get(r)??null},setItem(r,n){e.set(r,n)},setItemRaw(r,n){e.set(r,n)},removeItem(r){e.delete(r)},getKeys(){return[...e.keys()]},clear(){e.clear()},dispose(){e.clear()}}};function Q(e){return!e||typeof e.then!="function"?Promise.resolve(e):e}function d(e,...r){try{return Q(e(...r))}catch(n){return Promise.reject(n)}}function X(e){const r=typeof e;return e===null||r!=="object"&&r!=="function"}function ee(e){const r=Object.getPrototypeOf(e);return!r||r.isPrototypeOf(Object)}function K(e){if(X(e))return String(e);if(ee(e)||Array.isArray(e))return JSON.stringify(e);if(typeof e.toJSON=="function")return K(e.toJSON());throw new Error("[unstorage] Cannot stringify value!")}const R="base64:";function te(e){return typeof e=="string"?e:R+ie(e)}function re(e){return typeof e!="string"||!e.startsWith(R)?e:ne(e.slice(R.length))}function ne(e){return globalThis.Buffer?Buffer.from(e,"base64"):Uint8Array.from(globalThis.atob(e),r=>r.codePointAt(0))}function ie(e){return globalThis.Buffer?Buffer.from(e).toString("base64"):globalThis.btoa(String.fromCodePoint(...e))}const se=["has","hasItem","get","getItem","getItemRaw","set","setItem","setItemRaw","del","remove","removeItem","getMeta","setMeta","removeMeta","getKeys","clear","mount","unmount"];function ae(e,r){if(r=E(r),!r)return e;const n={...e};for(const s of se)n[s]=(l="",...u)=>e[s](r+l,...u);return n.getKeys=(s="",...l)=>e.getKeys(r+s,...l).then(u=>u.map(o=>o.slice(r.length))),n.keys=n.getKeys,n.getItems=async(s,l)=>{const u=s.map(g=>typeof g=="string"?r+g:{...g,key:r+g.key});return(await e.getItems(u,l)).map(g=>({key:g.key.slice(r.length),value:g.value}))},n.setItems=async(s,l)=>{const u=s.map(o=>({key:r+o.key,value:o.value,options:o.options}));return e.setItems(u,l)},n}function w(e){return e&&e.split("?")[0]?.replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,"")||""}function oe(...e){return w(e.join(":"))}function E(e){return e=w(e),e?e+":":""}function ue(e,r){if(r===void 0)return!0;let n=0,s=e.indexOf(":");for(;s>-1;)n++,s=e.indexOf(":",s+1);return n<=r}function ce(e,r){return r?e.startsWith(r)&&e[e.length-1]!=="$":e[e.length-1]!=="$"}const le="memory",fe=()=>{const e=new Map;return{name:le,getInstance:()=>e,hasItem(r){return e.has(r)},getItem(r){return e.get(r)??null},getItemRaw(r){return e.get(r)??null},setItem(r,n){e.set(r,n)},setItemRaw(r,n){e.set(r,n)},removeItem(r){e.delete(r)},getKeys(){return[...e.keys()]},clear(){e.clear()},dispose(){e.clear()}}};function ge(e={}){const r={mounts:{"":e.driver||fe()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},n=t=>{for(const i of r.mountpoints)if(t.startsWith(i))return{base:i,relativeKey:t.slice(i.length),driver:r.mounts[i]};return{base:"",relativeKey:t,driver:r.mounts[""]}},s=(t,i)=>r.mountpoints.filter(a=>a.startsWith(t)||i&&t.startsWith(a)).map(a=>({relativeBase:t.length>a.length?t.slice(a.length):void 0,mountpoint:a,driver:r.mounts[a]})),l=(t,i)=>{if(r.watching){i=w(i);for(const a of r.watchListeners)a(t,i)}},u=async()=>{if(!r.watching){r.watching=!0;for(const t in r.mounts)r.unwatch[t]=await M(r.mounts[t],l,t)}},o=async()=>{if(r.watching){for(const t in r.unwatch)await r.unwatch[t]();r.unwatch={},r.watching=!1}},g=(t,i,a)=>{const c=new Map,f=m=>{let y=c.get(m.base);return y||(y={driver:m.driver,base:m.base,items:[]},c.set(m.base,y)),y};for(const m of t){const y=typeof m=="string",p=w(y?m:m.key),I=y?void 0:m.value,v=y||!m.options?i:{...i,...m.options},A=n(p);f(A).items.push({key:p,value:I,relativeKey:A.relativeKey,options:v})}return Promise.all([...c.values()].map(m=>a(m))).then(m=>m.flat())},h={hasItem(t,i={}){t=w(t);const{relativeKey:a,driver:c}=n(t);return d(c.hasItem,a,i)},getItem(t,i={}){t=w(t);const{relativeKey:a,driver:c}=n(t);return d(c.getItem,a,i).then(f=>O(f))},getItems(t,i={}){return g(t,i,a=>a.driver.getItems?d(a.driver.getItems,a.items.map(c=>({key:c.relativeKey,options:c.options})),i).then(c=>c.map(f=>({key:oe(a.base,f.key),value:O(f.value)}))):Promise.all(a.items.map(c=>d(a.driver.getItem,c.relativeKey,c.options).then(f=>({key:c.key,value:O(f)})))))},getItemRaw(t,i={}){t=w(t);const{relativeKey:a,driver:c}=n(t);return c.getItemRaw?d(c.getItemRaw,a,i):d(c.getItem,a,i).then(f=>re(f))},async setItem(t,i,a={}){if(i===void 0)return h.removeItem(t);t=w(t);const{relativeKey:c,driver:f}=n(t);f.setItem&&(await d(f.setItem,c,K(i),a),f.watch||l("update",t))},async setItems(t,i){await g(t,i,async a=>{if(a.driver.setItems)return d(a.driver.setItems,a.items.map(c=>({key:c.relativeKey,value:K(c.value),options:c.options})),i);a.driver.setItem&&await Promise.all(a.items.map(c=>d(a.driver.setItem,c.relativeKey,K(c.value),c.options)))})},async setItemRaw(t,i,a={}){if(i===void 0)return h.removeItem(t,a);t=w(t);const{relativeKey:c,driver:f}=n(t);if(f.setItemRaw)await d(f.setItemRaw,c,i,a);else if(f.setItem)await d(f.setItem,c,te(i),a);else return;f.watch||l("update",t)},async removeItem(t,i={}){typeof i=="boolean"&&(i={removeMeta:i}),t=w(t);const{relativeKey:a,driver:c}=n(t);c.removeItem&&(await d(c.removeItem,a,i),(i.removeMeta||i.removeMata)&&await d(c.removeItem,a+"$",i),c.watch||l("remove",t))},async getMeta(t,i={}){typeof i=="boolean"&&(i={nativeOnly:i}),t=w(t);const{relativeKey:a,driver:c}=n(t),f=Object.create(null);if(c.getMeta&&Object.assign(f,await d(c.getMeta,a,i)),!i.nativeOnly){const m=await d(c.getItem,a+"$",i).then(y=>O(y));m&&typeof m=="object"&&(typeof m.atime=="string"&&(m.atime=new Date(m.atime)),typeof m.mtime=="string"&&(m.mtime=new Date(m.mtime)),Object.assign(f,m))}return f},setMeta(t,i,a={}){return this.setItem(t+"$",i,a)},removeMeta(t,i={}){return this.removeItem(t+"$",i)},async getKeys(t,i={}){t=E(t);const a=s(t,!0);let c=[];const f=[];let m=!0;for(const p of a){p.driver.flags?.maxDepth||(m=!1);const I=await d(p.driver.getKeys,p.relativeBase,i);for(const v of I){const A=p.mountpoint+w(v);c.some(z=>A.startsWith(z))||f.push(A)}c=[p.mountpoint,...c.filter(v=>!v.startsWith(p.mountpoint))]}const y=i.maxDepth!==void 0&&!m;return f.filter(p=>(!y||ue(p,i.maxDepth))&&ce(p,t))},async clear(t,i={}){t=E(t),await Promise.all(s(t,!1).map(async a=>{if(a.driver.clear)return d(a.driver.clear,a.relativeBase,i);if(a.driver.removeItem){const c=await a.driver.getKeys(a.relativeBase||"",i);return Promise.all(c.map(f=>a.driver.removeItem(f,i)))}}))},async dispose(){await Promise.all(Object.values(r.mounts).map(t=>L(t)))},async watch(t){return await u(),r.watchListeners.push(t),async()=>{r.watchListeners=r.watchListeners.filter(i=>i!==t),r.watchListeners.length===0&&await o()}},async unwatch(){r.watchListeners=[],await o()},mount(t,i){if(t=E(t),t&&r.mounts[t])throw new Error(`already mounted at ${t}`);return t&&(r.mountpoints.push(t),r.mountpoints.sort((a,c)=>c.length-a.length)),r.mounts[t]=i,r.watching&&Promise.resolve(M(i,l,t)).then(a=>{r.unwatch[t]=a}).catch(console.error),h},async unmount(t,i=!0){t=E(t),!(!t||!r.mounts[t])&&(r.watching&&t in r.unwatch&&(r.unwatch[t]?.(),delete r.unwatch[t]),i&&await L(r.mounts[t]),r.mountpoints=r.mountpoints.filter(a=>a!==t),delete r.mounts[t])},getMount(t=""){t=w(t)+":";const i=n(t);return{driver:i.driver,base:i.base}},getMounts(t="",i={}){return t=w(t),s(t,i.parents).map(c=>({driver:c.driver,base:c.mountpoint}))},keys:(t,i={})=>h.getKeys(t,i),get:(t,i={})=>h.getItem(t,i),set:(t,i,a={})=>h.setItem(t,i,a),has:(t,i={})=>h.hasItem(t,i),del:(t,i={})=>h.removeItem(t,i),remove:(t,i={})=>h.removeItem(t,i)};return h}function M(e,r,n){return e.watch?e.watch((s,l)=>r(s,n+l)):()=>{}}async function L(e){typeof e.dispose=="function"&&await d(e.dispose)}function he(e={}){const r=me(n,e.operators);function n(s,l){return typeof l!="object"||l instanceof RegExp?r.$eq(s,l):Object.keys(l||{}).every(u=>{const o=l[u];if(u.startsWith("$")&&r[u]){const g=r[u];return typeof g=="function"?g(s,o):!1}return n(B(s,u),o)})}return n}function me(e,r={}){return{$match:(n,s)=>e(n,s),$eq:(n,s)=>s instanceof RegExp?s.test(n):n===s,$ne:(n,s)=>s instanceof RegExp?!s.test(n):n!==s,$not:(n,s)=>!e(n,s),$and:(n,s)=>(P(s,"$and requires an array as condition"),s.every(l=>e(n,l))),$or:(n,s)=>(P(s,"$or requires an array as condition"),s.some(l=>e(n,l))),$in:(n,s)=>_(s).some(l=>Array.isArray(n)?e(n,{$contains:l}):e(n,l)),$contains:(n,s)=>(n=Array.isArray(n)?n:String(n),_(s).every(l=>n.includes(l))),$icontains:(n,s)=>{if(typeof s!="string")throw new TypeError("$icontains requires a string, use $contains instead");return n=String(n).toLocaleLowerCase(),_(s).every(l=>n.includes(l.toLocaleLowerCase()))},$containsAny:(n,s)=>(P(s,"$containsAny requires an array as condition"),n=Array.isArray(n)?n:String(n),s.some(l=>n.includes(l))),$exists:(n,s)=>s?typeof n<"u":typeof n>"u",$type:(n,s)=>typeof n===String(s),$regex:(n,s)=>{if(!(s instanceof RegExp)){const l=String(s).match(/\/(.*)\/([dgimsuy]*)$/);s=l?.[1]?new RegExp(l[1],l[2]||""):new RegExp(s)}return s.test(String(n||""))},$lt:(n,s)=>nn<=s,$gt:(n,s)=>n>s,$gte:(n,s)=>n>=s,...r||{}}}function de(e){const r=he(),n=(u,{query:o,before:g,after:h})=>{const t=typeof o=="string"?{_path:o}:o,i=u.findIndex(c=>r(c,t));g=g??1,h=h??1;const a=new Array(g+h).fill(null,0);return i===-1?a:a.map((c,f)=>u[i-g+f+ +(f>=g)]||null)},s=[(u,o)=>{const g=u.result.filter(h=>_(o.where).every(t=>r(h,t)));return{...u,result:g,total:g.length}},(u,o)=>_(o.sort).forEach(g=>W(u.result,g)),function(o,g,h){if(g.surround){let t=n(o.result?.length===1?h:o.result,g.surround);t=$(x(g.without))(t),t=$(j(g.only))(t),o.surround=t}return o}],l=[(u,o)=>{if(o.skip)return{...u,result:u.result.slice(o.skip),skip:o.skip}},(u,o)=>{if(o.limit)return{...u,result:u.result.slice(0,o.limit),limit:o.limit}},function(o,g,h){if(g.dirConfig){const t=o.result[0]?._path||g.where?.find(i=>i._path)?._path;if(typeof t=="string"){const i=h.find(a=>a._path===J(t,"_dir"));i&&(o.dirConfig={_path:i._path,...x(["_"])(i)})}}return o},(u,o)=>({...u,result:$(x(o.without))(u.result)}),(u,o)=>({...u,result:$(j(o.only))(u.result)})];return async u=>{const o=await e(),g=u.params(),h={result:o,limit:0,skip:0,total:o.length},t=s.reduce((a,c)=>c(a,g,o)||a,h);if(g.count)return{result:t.result.length};const i=l.reduce((a,c)=>c(a,g,o)||a,t);return g.first?{...k(["skip","limit","total"])(i),result:i.result[0]}:i}}function T(e){const r=de(e);return async n=>{n.params().first&&n.withDirConfig();const s=n.params(),l=await r(n);return s.surround?l?.surround:(l?.dirConfig&&(l.result={_path:l.dirConfig?._path,...l.result,_dir:l.dirConfig}),l?.result)}}var C={exports:{}},pe=C.exports,N;function ye(){return N||(N=1,(function(e,r){(function(n,s,l){e.exports=l(),e.exports.default=l()})("slugify",pe,function(){var n=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),s=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function l(u,o){if(typeof u!="string")throw new Error("slugify: string argument expected");o=typeof o=="string"?{replacement:o}:o||{};var g=s[o.locale]||{},h=o.replacement===void 0?"-":o.replacement,t=o.trim===void 0?!0:o.trim,i=u.normalize().split("").reduce(function(a,c){var f=g[c];return f===void 0&&(f=n[c]),f===void 0&&(f=c),f===h&&(f=" "),a+f.replace(o.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return o.strict&&(i=i.replace(/[^A-Za-z0-9\s]/g,"")),t&&(i=i.trim()),i=i.replace(/\s+/g,h),o.lower&&(i=i.toLowerCase()),i}return l.extend=function(u){Object.assign(n,u)},l})})(C)),C.exports}ye();const we=e=>e.split(/[\s-]/g).map(H).join(" ");function ve(e,r){const{navigation:n}=b().public.content;if(n===!1)return[];const s=u=>({...Ae(["title",...n.fields])(u),...Ee(u?.navigation)?u.navigation:{}}),l=e.sort((u,o)=>u._path.localeCompare(o._path)).reduce((u,o)=>{const g=o._path.substring(1).split("/"),h=o._id.split(":").slice(1),t=!!h[h.length-1]?.match(/([1-9][0-9]*\.)?index.md/g),i=f=>({title:f.title,_path:f._path,_file:f._file,children:[],...s(f),...f._draft?{_draft:!0}:{}}),a=i(o);if(t){const f=r[a._path];if(typeof f?.navigation<"u"&&!f?.navigation)return u;if(o._path!=="/"){const m=i(o);a.children.push(m)}f&&Object.assign(a,s(f))}return g.length===1?(u.push(a),u):(g.slice(0,-1).reduce((f,m,y)=>{const p="/"+g.slice(0,y+1).join("/"),I=r[p];if(typeof I?.navigation<"u"&&!I.navigation)return[];let v=f.find(A=>A._path===p);return v||(v={title:we(m),_path:p,_file:o._file,children:[],...I&&s(I)},f.push(v)),v.children},u).push(a),u)},[]);return Y(l)}const Ie=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});function Y(e){e.forEach(n=>{n._file=n._file.split(".").slice(0,-1).join(".")});const r=e.sort((n,s)=>Ie.compare(n._file,s._file));for(const n of r)n.children?.length?Y(n.children):delete n.children,delete n._file;return e}function Ae(e){return r=>(r=r||{},e&&e.length?e.filter(n=>typeof r[n]<"u").reduce((n,s)=>Object.assign(n,{[s]:r[s]}),{}):r)}function Ee(e){return Object.prototype.toString.call(e)==="[object Object]"}const _e=e=>G(e,b().public.content.api.baseURL),Oe=ae(ge({driver:V()}),"@content");function $e(e){async function r(){const n=new Set(await e.getKeys("cache:")),s=U().getPreviewToken();if(s){const u=await e.getItem(`${s}$`).then(h=>h||{});if(Array.isArray(u.ignoreSources)){const h=u.ignoreSources.map(t=>`cache:${t.trim()}:`);for(const t of n)h.some(i=>t.startsWith(i))&&n.delete(t)}const o=await e.getKeys(`${s}:`),g=await Promise.all(o.map(h=>e.getItem(h)));for(const h of g)n.delete(`cache:${h._id}`),h.__deleted||n.add(`${s}:${h._id}`)}return await Promise.all(Array.from(n).map(u=>e.getItem(u)))}return{storage:e,fetch:T(r),query:n=>q(T(r),{initialParams:n,legacy:!0})}}let D=null,S=null;async function Se(){return S?await S:D||(S=Ke(),D=await S),D}async function Ke(){const e=F(),{content:r}=b().public,n=$e(Oe),s=await n.storage.getItem("integrity");if(r.integrity!==+(s||0)){const{contents:l,navigation:u}=await $fetch(_e(r.integrity?`cache.${r.integrity}.json`:"cache.json"));await Promise.all(l.map(o=>n.storage.setItem(`cache:${o._id}`,o))),await n.storage.setItem("navigation",u),await n.storage.setItem("integrity",r.integrity)}return await e.callHook("content:storage",n.storage),n}async function Pe(e){const r=await Se();if(!U().getPreviewToken()&&Object.keys(e||{}).length===0)return r.storage.getItem("navigation");const n=await r.query(e).where({_partial:!1,navigation:{$ne:!1}}).find(),l=(await r.query().where({_path:/\/_dir$/i,_partial:!0}).find()).reduce((u,o)=>{o.title?.toLowerCase()==="dir"&&(o.title=void 0);const g=o._path.split("/").slice(0,-1).join("/")||"/";return u[g]={...o,...o.body},u},{});return ve(n,l)}export{Oe as contentStorage,$e as createDB,Pe as generateNavigation,Se as useContentDatabase};