PageSourceSearch

https://harzresorts-schierke.netlify.app/_nuxt/B7KG4G5d.js

js harzresorts-schierke.netlify.app collected 2026-10-03 10:51:56 UTC 30,227 bytes, 3 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./B5047FZN.js","./Ib1jYPSS.js"])))=>i.map(i=>d[i]);
2import{b as e,o as t,v as n,y as r}from"./B-ztNxCY.js";import{B as i,E as a,J as o,Lt as s,O as c,On as l,bt as u,er as d,et as f,k as p,mt as ee,qt as te,un as m,v as ne,vn as h,w as re,wn as ie,wt as g,xt as ae,z as oe}from"./Ib1jYPSS.js";import"./BRgeaRr2.js";var _=e({docsBase:n,reporters:r}),se=`modulepreload`,ce=function(e,t){return new URL(e,t).href},v={},y=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=ce(t,n),t=s(t),t in v)return;v[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:se,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},le=`$s`;function ue(...e){let n=typeof e[e.length-1]==`string`?e.pop():void 0;typeof e[0]!=`string`&&e.unshift(n);let[r,i]=e;if(!r||typeof r!=`string`)throw _.NUXT_E7009({key:r});if(i!==void 0&&typeof i!=`function`)throw _.NUXT_E7007({type:typeof i});let a=le+r,o=t(),s=ie(o.payload.state,a);if(i&&(o._state[a]??={_default:i}),s.value===void 0&&i){let e=i();if(m(e))return o.payload.state[a]=e,e;s.value=e}return s}var de=Object.defineProperty,fe=(e,t,n)=>t in e?de(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,b=(e,t,n)=>fe(e,typeof t==`symbol`?t:t+``,n),x=(e=``)=>e.includes(`/cdn/`),pe=(e,t=25,n=1)=>({...e,per_page:t,page:n}),me=e=>new Promise(t=>setTimeout(t,e)),he=(e=0,t)=>Array.from({length:e},t),ge=(e=0,t=e)=>{let n=Math.abs(t-e)||0,r=e<t?1:-1;return he(n,(t,n)=>n*r+e)},_e=async(e,t)=>Promise.all(e.map(t)),ve=(e=[],t)=>e.map(t).reduce((e,t)=>[...e,...t],[]),S=e=>{if(/%[0-9A-F]{2}/i.test(e))try{return decodeURIComponent(e)}catch{return e}return e},C=(e,t,n)=>{let r=[];for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let a=e[i];if(a==null)continue;let o=n?``:encodeURIComponent(i),s;s=typeof a==`object`?C(a,t?t+encodeURIComponent(`[${o}]`):o,Array.isArray(a)):`${t?t+encodeURIComponent(`[${o}]`):o}=${encodeURIComponent(a)}`,r.push(s)}return r.join(`&`)},w=e=>{let t={eu:`api.storyblok.com`,us:`api-us.storyblok.com`,cn:`app.storyblokchina.cn`,ap:`api-ap.storyblok.com`,ca:`api-ca.storyblok.com`};return t[e]??t.eu},ye=class{constructor(e){b(this,`baseURL`),b(this,`timeout`),b(this,`headers`),b(this,`responseInterceptor`),b(this,`fetch`),b(this,`ejectInterceptor`),b(this,`url`),b(this,`parameters`),b(this,`fetchOptions`),this.baseURL=e.baseURL,this.headers=e.headers||new Headers,this.timeout=e!=null&&e.timeout?e.timeout*1e3:0,this.responseInterceptor=e.responseInterceptor,this.fetch=(...t)=>e.fetch?e.fetch(...t):fetch(...t),this.ejectInterceptor=!1,this.url=``,this.parameters={},this.fetchOptions={}}get(e,t){return this.url=e,this.parameters=t,this._methodHandler(`get`)}post(e,t){return this.url=e,this.parameters=t,this._methodHandler(`post`)}put(e,t){return this.url=e,this.parameters=t,this._methodHandler(`put`)}patch(e,t){return this.url=e,this.parameters=t,this._methodHandler(`patch`)}delete(e,t){return this.url=e,this.parameters=t??{},this._methodHandler(`delete`)}async _responseHandler(e){let t=[],n={data:{},headers:{},status:0,statusText:``};e.status!==204&&await e.json().then(e=>{n.data=e});for(let n of e.headers.entries())t[n[0]]=n[1];return n.headers={...t},n.status=e.status,n.statusText=e.statusText,n}async _methodHandler(e){let t=`${this.baseURL}
2${this.url}`,n=null;e===`get`?t=`${this.baseURL}${this.url}?${C(this.parameters)}`:n=JSON.stringify(this.parameters);let r=new URL(t),i=new AbortController,{signal:a}=i,o=null;this.timeout&&(o=setTimeout(()=>i.abort(),this.timeout));try{let t=await this.fetch(`${r}`,{method:e,headers:this.headers,body:n,signal:a,...this.fetchOptions});this.timeout&&o&&clearTimeout(o);let i=await this._responseHandler(t);return this.responseInterceptor&&!this.ejectInterceptor?this._statusHandler(this.responseInterceptor(i)):this._statusHandler(i)}catch(e){return e.name===`AbortError`?{message:`Request timeout: The request was aborted due to timeout`}:{message:e.message||e.toString()||`An unknown error occurred`}}}setFetchOptions(e={}){Object.keys(e).length>0&&`method`in e&&delete e.method,this.fetchOptions={...e}}eject(){this.ejectInterceptor=!0}_normalizeErrorMessage(e){if(Array.isArray(e))return e[0]||`Unknown error`;if(e&&typeof e==`object`){if(e.error)return e.error;for(let t in e){if(Array.isArray(e[t]))return`${t}: ${e[t][0]}`;if(typeof e[t]==`string`)return`${t}: ${e[t]}`}if(e.slug)return e.slug}return`Unknown error`}_statusHandler(e){let t=/20[0-6]/g;return new Promise((n,r)=>{if(t.test(`${e.status}`))return n(e);r({message:this._normalizeErrorMessage(e.data),status:e.status,response:e})})}},be={PUBLISHED:`published`},xe=25,T={SMALL:25,MEDIUM:50,LARGE:75},E={SINGLE_OR_SMALL:50,MEDIUM:15,LARGE:10,VERY_LARGE:6},D=1e3,O=3;function k(e,t){let n=e.includes(`/cdn/stories/`),r=e.split(`/`).length>3&&!e.endsWith(`/cdn/stories`),i=`find_by`in t;return n&&r||i}function A(e){return e<=T.SMALL?E.SINGLE_OR_SMALL:e<=T.MEDIUM?E.MEDIUM:e<=T.LARGE?E.LARGE:E.VERY_LARGE}function j(e,t,n={},r){return n.userRateLimit===void 0?n.serverHeadersRateLimit===void 0?r===void 0?!e||!t||k(e,t)?E.SINGLE_OR_SMALL:A(t.per_page||xe):r:Math.min(n.serverHeadersRateLimit,D):Math.min(n.userRateLimit,D)}function M(e){if(!e)return null;let t=e[`x-ratelimit`]||e[`X-RateLimit`],n=e[`x-ratelimit-policy`]||e[`X-RateLimit-Policy`];if(!t&&!n)return null;let r={};if(t){let e=t.match(/r=(\d+)/);e&&(r.remaining=Number.parseInt(e[1],10))}if(n){let e=n.match(/q=(\d+)/);e&&(r.max=Number.parseInt(e[1],10))}return Object.keys(r).length>0?r:null}function Se(e,t=!1){return{userRateLimit:e,serverHeadersRateLimit:void 0,isManagementApi:t}}var Ce=class extends Error{constructor(e){super(e),this.name=`AbortError`}};function we(e,t,n){if(!Number.isFinite(t))throw TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(n))throw TypeError("Expected `interval` to be a finite number");let r=[],i=[],a=0,o=!1,s=async()=>{a++;let t=r.shift();if(t)try{let n=await e(...t.args);t.resolve(n)}catch(e){t.reject(e)}let o=setTimeout(()=>{a--,r.length>0&&s(),i=i.filter(e=>e!==o)},n);i.includes(o)||i.push(o)},c=(...e)=>o?Promise.reject(Error(`Throttled function is already aborted and not accepting new promises`)):new Promise((n,i)=>{r.push({resolve:n,reject:i,args:e}),a<t&&s()});return c.abort=()=>{o=!0,i.forEach(clearTimeout),i=[],r.forEach(e=>e.reject(()=>new Ce(`Throttle function aborted`))),r.length=0},c}var Te=class{constructor(e,t=1e3){b(this,`queues`),b(this,`interval`),b(this,`throttledRequestFn`),this.queues=new Map,this.interval=t,this.throttledRequestFn=e}getQueue(e){let t=this.queues.get(e);return t||(t=we(this.throttledRequestFn,e,this.interval),this.queues.set(e,t)),t}execute(e,...t){return this.getQueue(e)(...t)}
2abortAll(){this.queues.forEach(e=>{var t;(t=e.abort)==null||t.call(e)}),this.queues.clear()}getQueueCount(){return this.queues.size}},N={},P={},Ee=class{constructor(e,t){b(this,`client`),b(this,`maxRetries`),b(this,`retriesDelay`),b(this,`throttleManager`),b(this,`accessToken`),b(this,`cache`),b(this,`resolveCounter`),b(this,`relations`),b(this,`links`),b(this,`version`),b(this,`rateLimitConfig`),b(this,`cvMode`),b(this,`richTextResolver`),b(this,`resolveNestedRelations`),b(this,`stringifiedStoriesCache`),b(this,`inlineAssets`);let n=e.endpoint||t;if(!n){let t=e.https===!1?`http`:`https`;n=e.oauthToken?`${t}://${w(e.region)}/v1`:`${t}://${w(e.region)}/v2`}let r=new Headers;!e.oauthToken&&typeof window<`u`||r.set(`Content-Type`,`application/json`),r.set(`Accept`,`application/json`),e.headers&&(e.headers.constructor.name===`Headers`?e.headers.entries().toArray():Object.entries(e.headers)).forEach(([e,t])=>{r.set(e,t)}),e.oauthToken&&r.set(`Authorization`,e.oauthToken),this.rateLimitConfig=Se(e.rateLimit,!!e.oauthToken),this.maxRetries=e.maxRetries||10,this.retriesDelay=e.retriesDelay??300,this.throttleManager=new Te(this.throttledRequest.bind(this),1e3),this.accessToken=e.accessToken||``,this.relations={},this.links={},this.cache=e.cache||{clear:`manual`},this.cvMode=e.cache?.cv??`auto`,this.resolveCounter=0,this.resolveNestedRelations=e.resolveNestedRelations||!0,this.stringifiedStoriesCache={},this.version=e.version||be.PUBLISHED,this.inlineAssets=e.inlineAssets||!1,this.client=new ye({baseURL:n,timeout:e.timeout||0,headers:r,responseInterceptor:e.responseInterceptor,fetch:e.fetch})}parseParams(e){return e.token||=this.getToken(),!e.cv&&this.cvMode===`auto`&&(e.cv=P[e.token]),Array.isArray(e.resolve_relations)?e.resolve_relations=e.resolve_relations.map(S).join(`,`):typeof e.resolve_relations==`string`&&(e.resolve_relations=S(e.resolve_relations)),typeof e.resolve_relations<`u`&&(e.resolve_level=2),e}factoryParamOptions(e,t){return x(e)?this.parseParams(t):t}
2makeRequest(e,t,n,r,i){let a=this.factoryParamOptions(e,pe(t,n,r));return this.cacheResponse(e,a,void 0,i)}get(e,t={},n){t||={};let r=`/${e}`;x(r)&&(t.version=t.version||this.version);let i=this.factoryParamOptions(r,t);return this.cacheResponse(r,i,void 0,n)}async getAll(e,t={},n,r){let i=t?.per_page||25,a=`/${e}`.replace(/\/$/,``),o=n??a.substring(a.lastIndexOf(`/`)+1);t.version=t.version||this.version;let s=await this.makeRequest(a,t,i,1,r);return ve([s,...await _e(ge(1,s.total?Math.ceil(s.total/(s.perPage||i)):1),e=>this.makeRequest(a,t,i,e+1,r))],e=>Object.values(e.data[o]))}post(e,t={},n){let r=`/${e}`,i=j(void 0,void 0,this.rateLimitConfig,O);return this.throttleManager.execute(i,`post`,r,t,n)}put(e,t={},n){let r=`/${e}`,i=j(void 0,void 0,this.rateLimitConfig,O);return this.throttleManager.execute(i,`put`,r,t,n)}patch(e,t={},n){let r=`/${e}`,i=j(void 0,void 0,this.rateLimitConfig,O);return this.throttleManager.execute(i,`patch`,r,t,n)}delete(e,t={},n){t||={};let r=`/${e}`,i=j(void 0,void 0,this.rateLimitConfig,O);return this.throttleManager.execute(i,`delete`,r,t,n)}getStories(e={},t){return this._addResolveLevel(e),this.get(`cdn/stories`,e,t)}getStory(e,t={},n){return this._addResolveLevel(t),this.get(`cdn/stories/${e}`,t,n)}getToken(){return this.accessToken}ejectInterceptor(){this.client.eject()}_addResolveLevel(e){typeof e.resolve_relations<`u`&&(e.resolve_level=2)}_cleanCopy(e){return JSON.parse(JSON.stringify(e))}_insertLinks(e,t,n){let r=e[t];r&&r.fieldtype===`multilink`&&r.linktype===`story`&&typeof r.id==`string`&&this.links[n][r.id]?r.story=this._cleanCopy(this.links[n][r.id]):r&&r.linktype===`story`&&typeof r.uuid==`string`&&this.links[n][r.uuid]&&(r.story=this._cleanCopy(this.links[n][r.uuid]))}getStoryReference(e,t){return this.relations[e][t]?JSON.parse(this.stringifiedStoriesCache[t]||JSON.stringify(this.relations[e][t])):t}_resolveField(e,t,n){let r=e[t];typeof r==`string`?e[t]=this.getStoryReference(n,r):Array.isArray(r)&&(e[t]=r.map(e=>this.getStoryReference(n,e)).filter(Boolean))}_insertRelations(e,t,n,r){if(Array.isArray(n)?n.find(e=>e.endsWith(`.${t}`)):n.endsWith(`.${t}`)){this._resolveField(e,t,r);return}let i=e.component?`${e.component}.${t}`:t;(Array.isArray(n)?n.includes(i):n===i)&&this._resolveField(e,t,r)}iterateTree(e,t,n){let r=(e,i=``)=>{if(!(!e||e._stopResolving)){if(Array.isArray(e))e.forEach((e,t)=>r(e,`${i}[${t}]`));else if(typeof e==`object`)for(let a in e){let o=i?`${i}.${a}`:a;(e.component&&e._uid||e.type===`link`)&&(this._insertRelations(e,a,t,n),this._insertLinks(e,a,n)),r(e[a],o)}}};r(e.content)}async resolveLinks(e,t,n){let r=[];if(e.link_uuids){let n=e.link_uuids.length,i=[];for(let t=0;t<n;t+=50){let r=Math.min(n,t+50);i.push(e.link_uuids.slice(t,r))}for(let e=0;e<i.length;
2e++)(await this.getStories({per_page:50,language:t.language,version:t.version,starts_with:t.starts_with,by_uuids:i[e].join(`,`)})).data.stories.forEach(e=>{r.push(e)})}else r=e.links;r.forEach(e=>{this.links[n][e.uuid]={...e,_stopResolving:!0}})}async resolveRelations(e,t,n){let r=[];if(e.rel_uuids){let n=e.rel_uuids.length,i=[];for(let t=0;t<n;t+=50){let r=Math.min(n,t+50);i.push(e.rel_uuids.slice(t,r))}for(let e=0;e<i.length;e++)(await this.getStories({per_page:50,language:t.language,version:t.version,starts_with:t.starts_with,by_uuids:i[e].join(`,`),excluding_fields:t.excluding_fields})).data.stories.forEach(e=>{r.push(e)});r.length>0&&(e.rels=r,delete e.rel_uuids)}else r=e.rels;r&&r.length>0&&r.forEach(e=>{this.relations[n][e.uuid]={...e,_stopResolving:!0}})}async resolveStories(e,t,n){var r,i;let a=[];if(this.links[n]={},this.relations[n]={},typeof t.resolve_relations<`u`&&t.resolve_relations.length>0&&(typeof t.resolve_relations==`string`&&(a=t.resolve_relations.split(`,`)),await this.resolveRelations(e,t,n)),t.resolve_links&&[`1`,`story`,`url`,`link`].includes(t.resolve_links)&&((r=e.links)!=null&&r.length||(i=e.link_uuids)!=null&&i.length)&&await this.resolveLinks(e,t,n),this.resolveNestedRelations)for(let e in this.relations[n])this.iterateTree(this.relations[n][e],a,n);e.story?this.iterateTree(e.story,a,n):e.stories.forEach(e=>{this.iterateTree(e,a,n)}),this.stringifiedStoriesCache={},delete this.links[n],delete this.relations[n]}async cacheResponse(e,t,n,r){let i=C({url:e,params:t}),a=this.cacheProvider();if(t.version===`published`&&e!==`/cdn/spaces/me`){let e=await a.get(i);if(e)return Promise.resolve(e)}let o=!x(e)&&this.rateLimitConfig.isManagementApi?O:void 0,s=j(e,t,this.rateLimitConfig,o);return new Promise(async(o,c)=>{var l;try{let n=await this.throttleManager.execute(s,`get`,e,t,r);if(n.status!==200)return c(n);let u={data:n.data,headers:n.headers},d=M(n.headers);if(d?.max!==void 0&&(this.rateLimitConfig.serverHeadersRateLimit=d.max),(l=n.headers)!=null&&l[`per-page`]&&(u=Object.assign({},u,{perPage:n.headers[`per-page`]?Number.parseInt(n.headers[`per-page`]):0,total:n.headers[`per-page`]?Number.parseInt(n.headers.total):0})),u.data.story||u.data.stories){let e=this.resolveCounter=++this.resolveCounter%1e3;await this.resolveStories(u.data,t,`${e}`),u=await this.processInlineAssets(u)}t.version===`published`&&e!==`/cdn/spaces/me`&&await a.set(i,u);let f=this.cache.clear===`onpreview`&&t.version===`draft`||this.cache.clear===`auto`;return t.token&&u.data.cv&&(f&&P[t.token]&&P[t.token]!==u.data.cv&&await this.flushCache(),P[t.token]=u.data.cv),o(u)}catch(r){if(r.response&&r.status===429&&(n=typeof n>`u`?0:n+1,n<this.maxRetries))return console.log(`Hit rate limit. Retrying in ${this.retriesDelay/1e3} seconds.`),await me(this.retriesDelay),this.cacheResponse(e,t,n).then(o).catch(c);c(r)}})}throttledRequest(e,t,n,r){return this.client.setFetchOptions(r),this.client[e](t,n)}cacheVersions(){return P}cacheVersion(){return P[this.accessToken]}setCacheVersion(e){this.accessToken&&(P[this.accessToken]=e)}clearCacheVersion(){this.accessToken&&(P[this.accessToken]=0)}cacheProvider(){switch(this.cache.type){case`memory`:return{get(e){return Promise.resolve(N[e])},getAll(){return Promise.resolve(N)},set(e,t){return N[e]=t,Promise.resolve(void 0)},flush(){return N={},Promise.resolve(void 0)}};case`custom`:if(this.cache.custom)return this.cache.custom;default:return{get(){return Promise.resolve()},getAll(){return Promise.resolve(void 0)},set(){return Promise.resolve(void 0)},flush(){return Promise.resolve(void 0)}}}}async flushCache(){return await this.cacheProvider().flush(),this.clearCacheVersion(),this}async processInlineAssets(e){if(!this.inlineAssets)return e;let t=n=>{if(!n||typeof n!=`object`)return n;if(Array.isArray(n))return n.map(e=>t(e));let r={...n};r.fieldtype===`asset`&&Array.isArray(e.data.assets)&&(r={...e.data.assets.find(e=>e.id===r.id),...r});for(let e in r)typeof r[e]==`object`&&(r[e]=t(r[e]));return r};return e.data.story&&(e.data.story.content=t(e.data.story.content)),e.data.stories&&(e.data.stories=e.data.stories.map(e=>(e.content=t(e.content),e))),e}};function De(e,t){if(!t)return{src:e,attrs:{}};let n=0,r=0,i={},a=[];function o(e,t,n,r,i){typeof e!=`number`||e<=t||e>=n?console.warn(`[StoryblokRichText] - ${r.charAt(0).toUpperCase()+r.slice(1)} value must be a number between ${t} and ${n} (inclusive)`):i.push(`${r}(${e})`)}if(typeof t==`object`){if(t.width!==void 0&&(typeof t.width==`number`&&t.width>=0?(i.width=t.width,n=t.width):console.warn(`[StoryblokRichText] - Width value must be a number greater than or equal to 0`)),t.height!==void 0&&(typeof t.height==`number`&&t.height>=0?(i.height=t.height,r=t.height):console.warn(`[StoryblokRichText] - He
2ight value must be a number greater than or equal to 0`)),t.height===0&&t.width===0&&(delete i.width,delete i.height,console.warn(`[StoryblokRichText] - Width and height values cannot both be 0`)),t.loading&&[`lazy`,`eager`].includes(t.loading)&&(i.loading=t.loading),t.class&&(i.class=t.class),t.filters){let{filters:e}=t||{},{blur:n,brightness:r,fill:i,format:s,grayscale:c,quality:l,rotate:u}=e||{};n&&o(n,0,100,`blur`,a),l&&o(l,0,100,`quality`,a),r&&o(r,0,100,`brightness`,a),i&&a.push(`fill(${i})`),c&&a.push(`grayscale()`),u&&[0,90,180,270].includes(t.filters.rotate||0)&&a.push(`rotate(${u})`),s&&[`webp`,`png`,`jpeg`].includes(s)&&a.push(`format(${s})`)}t.srcset&&(i.srcset=t.srcset.map(t=>{if(typeof t==`number`)return`${e}/m/${t}x0/${a.length>0?`filters:${a.join(`:`)}`:``} ${t}w`;if(Array.isArray(t)&&t.length===2){let[n,r]=t;return`${e}/m/${n}x${r}/${a.length>0?`filters:${a.join(`:`)}`:``} ${n}w`}console.warn(`[StoryblokRichText] - srcset entry must be a number or a tuple of two numbers`)}).join(`, `)),t.sizes&&(i.sizes=t.sizes.join(`, `))}let s=`${e}/m/`;return(n>0||r>0)&&(s=`${s}${n}x${r}/`),a.length>0&&(s=`${s}filters:${a.join(`:`)}`),{src:s,attrs:i}}function F(e,t){if(e===t)return!0;if(e==null||t==null)return e===t;if(typeof e!=typeof t||typeof e!=`object`||Array.isArray(e)!==Array.isArray(t))return!1;if(Array.isArray(e))return e.length===t.length&&e.every((e,n)=>F(e,t[n]));let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>Object.prototype.hasOwnProperty.call(t,n)&&F(e[n],t[n]))}var Oe=[`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`meta`,`param`,`source`,`track`,`wbr`];function ke(){let e=new Map;return t=>{let n=(e.get(t)||0)+1;return e.set(t,n),`${t}-${n}`}}var I={paragraph:{tag:`p`,content:!0},doc:null,text:null,emoji:{tag:`img`,attrs:{style:`width: 1.25em; height: 1.25em; vertical-align: text-top;`,draggable:`false`,loading:`lazy`}},blockquote:{tag:`blockquote`,content:!0},heading:{resolve:e=>`h${typeof e?.level==`number`?Math.min(6,Math.max(1,e.level)):1}`},bullet_list:{tag:`ul`,content:!0},ordered_list:{tag:`ol`,attrs:{order:1},content:!0},list_item:{tag:`li`,content:!0},code_block:{tag:`pre`,children:[{tag:`code`,content:!0}]},hard_break:{tag:`br`},horizontal_rule:{tag:`hr`},image:{tag:`img`},table:{tag:`table`,content:!0},tableRow:{tag:`tr`,content:!0},tableCell:{tag:`td`,attrs:{colspan:1,rowspan:1},content:!0},tableHeader:{tag:`th`,attrs:{colspan:1,rowspan:1},content:!0},blok:null},Ae={link:{tag:`a`,attrs:{rel:`noopener noreferrer nofollow`,linktype:`url`,custom:{}},content:!0},bold:{tag:`strong`,content:!0},italic:{tag:`em`,content:!0},strike:{tag:`s`,content:!0},underline:{tag:`u`,content:!0},code:{tag:`code`,content:!0},superscript:{tag:`sup`,content:!0},subscript:{tag:`sub`,content:!0},highlight:{tag:`mark`,content:!0},textStyle:{tag:`span`,content:!0},anchor:{tag:`span`,content:!0},styled:{tag:`span`,content:!0}};function je(e){return e.split(`;`).map(e=>e.trim()).filter(Boolean).reduce((e,t)=>{let n=t.indexOf(`:`);if(n===-1)return e;let r=t.slice(0,n).trim(),i=t.slice(n+1).trim();return!r||!i||(e[Me(r)]=i),e},{})}function Me(e){return e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}function L(e){return e!=null&&e!==``}var Ne={highlight:{color:`backgroundColor`},textStyle:{color:`color`},paragraph:{textAlign:`textAlign`},heading:{textAlign:`textAlign`},tableCell:{backgroundColor:`backgroundColor`,colwidth:`width`},tableHeader:{colwidth:`width`}},Pe={fallbackImage:`src`,body:`data-body`,colspan:`colSpan`,rowspan:`rowSpan`,name:`data-name`,emoji:`data-emoji`,order:`start`},Fe=new Set([`level`,`linktype`,`uuid`,`anchor`,`meta_data`,`copyright`,`source`]),Ie=new Set([`colspan`,`rowspan`,`order`]);function Le(e){let{linktype:t,href:n,anchor:r}=e;if(t===`story`)return`${typeof n==`string`?n:``}${typeof r==`string`&&r?`#${r}`:``}`;if(t===`email`&&typeof n==`string`)return`mailto:${n.replace(/^mailto:/,``)}`}function Re(e){let t={},n={};if(!(e in I))return{staticAttrs:n,staticStyle:t};let r=I[e];if(!r||!(`attrs`in r))return{staticAttrs:n,staticStyle:t};let i=r.attrs||{},a=`style`in i&&typeof i.style==`string`?i.style:``,{style:o,...s}=i;return n=s,a&&Object.assign(t,je(a)),{staticAttrs:n,staticStyle:t}}function ze(e){return Array.isArray(e)?e[0]==null?void 0:`${e[0]}px`:typeof e==`number`||typeof e==`string`?e:String(e)}function Be(e,t,n,r,i,a,o){if(!L(t)||Fe.has(e)||Ie.has(e)&&t===1)return;if(e in r){let n=r[e],i=ze(t);i!==void 0&&L(i)&&(a[n]=i);return}let s=i[e]??e;if(s===`custom`&&n===`link`&&typeof t==`object`&&t){for(let[e,n]of Object.entries(t))o[e]=String(n);return}if(typeof t==`object`&&t){o[s]=JSON.stringify(t);return}o[s]=t}function R(e,t={},n={}){let{staticAttrs:r,staticStyle:i}=Re(e),a={...i},o={},s=Ne[e]||{},c={...Pe,...n},l={...r,...t};for(let[t,n]of Object.entries(l))Be(t,n,e,s,c,a,o);if(e===`link`){let e=Le(t);e!==void 0&&(o.href=e)}return{...o,...Object.keys(a).length>0&&{style:a}}}function z(e){if(e.type!==`text`||!e.marks)return null;for(let t of e.marks)if(t.type===`link`)return t;return null}function Ve(e,t){return!e||!t?!1:F(e.attrs??{},t.attrs??{})}function He(e){return e.type!==`text`||!e.marks?[]:e.marks.filter(e=>e.type!==`link`)}function Ue(e){let t=[],n=0,r=e.length;for(;n<r;){let i=e[n],a=z(i);if(a){let o=[i],s=n+1;for(;s<r&&Ve(a,z(e[s]));)o.push(e[s]),s++;t.push({nodes:o,linkMark:a,_key:`group-link-${n}`}),n=s}else t.push({nodes:[i],linkMark:null,_key:`group-node-${n}`}),n++}return t}function We(e){let t=e.content;if(!(t!=null&&t.length))return!1;for(let e of t)if(e.type!==`tableHeader`)return!1;return!0}function Ge(e){if(!(e!=null&&e.length))return{headerRows:[],bodyRows:[]};let t=0;for(;t<e.length&&We(e[t]);)t++;return{headerRows:e.slice(0,t),bodyRows:e.slice(t)}}function Ke(e,t=!1){if(!e)return[];if(Array.isArray(e))return e;let n=e.type===`doc`?e.content||[]:[e];return t?B(n,ke()):n}function B(e,t){return e.map(e=>({...e,_key:t(e.type),marks:e.marks?.map(e=>({...e,_key:t(e.type)})),...e.content?{content:B(e.content,t)}:{}}))}function V(e){let t=e.type,n=I[t]??Ae[t];return n?`resolve`in n&&typeof n.resolve==`function`?n.resolve(e.attrs):`tag`in n&&typeof n.tag==`string`?n.tag:null:null}function H(e){return Oe.includes(e)}function qe(e){let t=I[e.type];return t&&`children`in t?t.children:null}var U=!1,W,G=[],Je=()=>typeof window>`u`?Promise.reject(Error(`Cannot load Storyblok bridge: window is undefined (server-side environment)`)):(window.storyblokRegisterEvent=e=>{if(!window.location.search.includes(`_storyblok`)){console.warn(`You are not in Draft Mode or in the Visual Editor.`);return}U?e():G.push(e)},U?Promise.resolve():W||(W=y(async()=>{let{default:e}=await import(`./DmBrsxhs.js`);return{default:e}},[],import.meta.url).then(({default:e})=>
2{window.StoryblokBridge=e,G.forEach(e=>e()),U=!0}).catch(e=>{throw W=void 0,e}),W)),Ye=(e={})=>{let{apiOptions:t}=e;if(!t||!t.accessToken){console.error(`You need to provide an access token to interact with Storyblok API. Read https://www.storyblok.com/docs/api/content-delivery#topics/authentication`);return}return{storyblokApi:new Ee(t)}},Xe=e=>{if(typeof e!=`object`||typeof e._editable!=`string`)return{};try{let t=JSON.parse(e._editable.replace(/^<!--#storyblok#/,``).replace(/-->$/,``));return t?{"data-blok-c":JSON.stringify(t),"data-blok-uid":`${t.id}-${t.uid}`}:{}}catch{return{}}};function Ze(e){let{language:t,resolveRelations:n,...r}=e;return t&&console.warn("[Storyblok] The `language` bridge option is no longer supported by the bundled bridge. Language context is now passed automatically by the Visual Editor via the `_storyblok_lang` URL parameter."),{...r,...n!==void 0&&{resolveRelations:Array.isArray(n)?n:[n]}}}var Qe=(e,t,n={})=>{let r=!(typeof window>`u`)&&typeof window.storyblokRegisterEvent<`u`,i=new URL(window.location?.href).searchParams.get(`_storyblok`),a=i!==null&&+i===e;if(!(!r||!a)){if(!e){console.warn(`Story ID is not defined. Please provide a valid ID.`);return}window.storyblokRegisterEvent(()=>{new window.StoryblokBridge(Ze(n)).on([`input`,`published`,`change`],n=>{n&&(n.action===`input`&&n.story?.id===e?t(n.story):(n.action===`change`||n.action===`published`)&&n.storyId===e&&window.location.reload())})})}},$e=(e={})=>{let{bridge:t,accessToken:n,use:r=[],apiOptions:i={},bridgeUrl:a}=e;a&&console.warn("[Storyblok] The `bridgeUrl` option is deprecated and will be removed in a future major version. The Storyblok bridge is now bundled and is no longer loaded from a CDN URL."),i.accessToken=i.accessToken||n;let o={bridge:t,apiOptions:i},s={};r.forEach(e=>{s={...s,...e(o)}});let c=!(typeof window>`u`)&&(window.location?.search)?.includes(`_storyblok_tk`);return t!==!1&&c&&Je(),s},K=p({__name:`StoryblokComponent`,props:{blok:{}},setup(e,{expose:t}){let n=e,r=s(),i=h();t({value:i});let a=typeof g(n.blok.component)!=`string`,c=o(`VueSDKOptions`),p=h(n.blok.component?.replace(/_/g,`-`));return!a&&c&&(c.enableFallbackComponent?(p.value=c.customFallbackComponent??`FallbackComponent`,typeof g(p.value)==`string`&&console.error(`Is the Fallback component "${p.value}" registered properly?`)):console.error(`Component could not be found for blok "${n.blok.component}"! Is it defined in main.ts as "app.component("${n.blok.component}", ${n.blok.component});"?`)),(e,t)=>(ee(),ne(g(p.value),f({ref_key:`blokRef`,ref:i},{...e.$props,...e.$attrs}),re({_:2},[u(Object.keys(l(r)),t=>({name:t,fn:te(n=>[ae(e.$slots,t,d(oe(n)))])}))]),1040))}}),et=p({name:`StoryblokBlokRenderer`,props:{type:{type:String,required:!0},attrs:{type:Object,required:!1},content:{type:Array,required:!1},marks:{type:Array,required:!1},_key:{type:String,required:!1},context:{type:Object,required:!1}},setup(e){return()=>Array.isArray(e.attrs?.body)?e.attrs.body.map((e,t)=>i(K,{blok:e,key:e._uid||t})):null}});function q(e,t){return t?.[e]}function tt(e){return function(t){if(!t)return null;let n=Ke(t,!0);return n.length?J(n,e):null}}function J(e,t){return Ue(e).map((e,n)=>e.linkMark?Y(e.nodes,e.linkMark,t,e._key||n):X(e.nodes[0],t,e._key||n))}function Y(e,t,n,r){let o=e.map((e,t)=>Q(e,He(e),n)),s=q(t.type,n.components);if(s)return i(s,{key:r,...t,context:n},{default:()=>o});let c=V(t);return c?i(c,{key:r,...R(t.type,t.attrs)},o):o.length>0?o[0]:a(``)}function X(e,t,n){var r;let o=e.type!==`text`&&e.content?J(e.content,t):[],s=q(e.type,t.components);if(s){let a=(r=t.components)!=null&&r[e.type]?{...t,components:{...t.components,[e.type]:void 0}}:t;return i(s,{key:n,...e,context:a},o.length?{default:()=>o}:void 0)}if(e.type===`text`)return it(e,t);let c=V(e);if(!c){let r=e.content?J(e.content,t):[];return r.length===0?a(``):r.length===1?r[0]:i(`div`,{key:n},r)}if(e.type===`image`&&t.optimizeImage)return nt(e,t,n);let l=R(e.type,e.attrs);if(H(c))return i(c,{key:n,...l});if(e.type===`table`)return rt(e,t,n,c,l);let u=qe(e);if(u){let r=e.content?J(e.content,t):[],a=Z(e.type,u,e.attrs,r);return i(c,{key:n},a)}let d=e.content?J(e.content,t):[];return i(c,{key:n,...l},d)}function nt(e,t,n){let r=e.attrs,o=r?.src;if(!o)return a(``);let{src:s,attrs:c}=De(o,t.optimizeImage),l=R(`image`,{...r,src:s,...c});return i(`img`,{key:n,...l})}function rt(e,t,n,r,a){let{headerRows:o,bodyRows:s}=Ge(e.content),c=[];return o.length>0&&c.push(i(`thead`,{key:`thead`},o.map((e,n)=>X(e,t,n)))),s.length>0&&c.push(i(`tbody`,{key:`tbody`},s.map((e,n)=>
2X(e,t,n)))),i(r,{key:n,...a},c)}function Z(e,t,n,r){return t.map((t,a)=>{let{tag:o,children:s,attrs:c}=t,l=R(e,{...c,...n});if(H(o))return i(o,{key:a,...l});let u=s?Z(e,s,n,r):r;return i(o,{key:a,...l},u)})}function it(e,t,n){return Q(e,e.marks,t)}function Q(e,t,n,r){let i=e.text;if(t!=null&&t.length)for(let e of t)i=at(i,e,n);return typeof i==`string`?a(i):i}function at(e,t,n){let r=q(t.type,n.components);if(r){let o=typeof e==`string`?a(e):e;return i(r,{...t,context:n},{default:()=>[o]})}let o=V(t);return o?i(o,R(t.type,t.attrs),typeof e==`string`?e:[e]):typeof e==`string`?a(e):e}var ot=p({name:`StoryblokRichText`,props:{document:{type:Object,required:!1},optimizeImage:{type:[Boolean,Object],required:!1},components:{type:Object,required:!1},data:{type:null,required:!1}},setup(e){let t=tt({optimizeImage:e.optimizeImage,components:{blok:et,...e.components},data:e.data});return()=>t(e.document)}}),st={beforeMount(e,t){if(t.value){let n=Xe(t.value);Object.keys(n).length>0&&(e.setAttribute(`data-blok-c`,n[`data-blok-c`]),e.setAttribute(`data-blok-uid`,n[`data-blok-uid`]),e.classList.add(`storyblok__outline`))}}},ct=e=>{console.error(`You can't use ${e} if you're not loading apiPlugin. Please provide it on StoryblokVue initialization.
3    `)},$=null,lt=()=>($||ct(`useStoryblokApi`),$),ut={install(e,t={}){e.directive(`editable`,st),e.component(`StoryblokComponent`,K),e.component(`StoryblokRichText`,ot),t.enableFallbackComponent&&!t.customFallbackComponent&&e.component(`FallbackComponent`,c(()=>y(()=>import(`./B5047FZN.js`),__vite__mapDeps([0,1]),import.meta.url)));let{storyblokApi:n}=$e(t);$=n||null,e.provide(`VueSDKOptions`,t)}};export{ue as a,Qe as i,ut as n,y as o,lt as r,_ as s,Ye as t};

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.