PageSourceSearch

https://www.deveron-projects.com/_next/static/chunks/7684-823426b00bda0479.js

js deveron-projects.com collected 2026-10-02 10:05:30 UTC 13,597 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7684],{27263:(e,t,a)=>{a.d(t,{p:()=>n});let s=e=>Array.isArray(e)?`[${e.map(s).join(", ")}]`:"string"==typeof e?`"${e}"`:e instanceof Date?`${e.getTime()}`:`${e}`,i=e=>(t,...a)=>{let i=a.map(s).join(", "),r=t&&a.length?", ":"";return`[${e}(${t}${r}${i})]`},r=e=>{let t=i(e);return e=>t(e)},n={at:i("at"),not:i("not"),any:i("any"),in:i("in"),fulltext:i("fulltext"),has:r("has"),missing:r("missing"),similar:(e=>{let t=i(e);return(...e)=>t("",...e)})("similar"),geopointNear:i("geopoint.near"),numberLessThan:i("number.lt"),numberGreaterThan:i("number.gt"),numberInRange:i("number.inRange"),dateAfter:i("date.after"),dateBefore:i("date.before"),dateBetween:i("date.between"),dateDayOfMonth:i("date.day-of-month"),dateDayOfMonthAfter:i("date.day-of-month-after"),dateDayOfMonthBefore:i("date.day-of-month-before"),dateDayOfWeek:i("date.day-of-week"),dateDayOfWeekAfter:i("date.day-of-week-after"),dateDayOfWeekBefore:i("date.day-of-week-before"),dateMonth:i("date.month"),dateMonthAfter:i("date.month-after"),dateMonthBefore:i("date.month-before"),dateYear:i("date.year"),dateHour:i("date.hour"),dateHourAfter:i("date.hour-after"),dateHourBefore:i("date.hour-before")}},97684:(e,t,a)=>{let s;a.d(t,{U:()=>x});let i=e=>Array.isArray(e)?e:[e],r=(e={},t)=>({...e,filters:[...e.filters||[],...i(t)]}),n="7.20.3",o=e=>`https://prismic.dev/msg/client/v${n}/${e}`;var h,l=a(27263);let c=e=>l.p.at("document.tags",i(e));var d=a(71358);let f=(e,t)=>{let a=e.find(e=>t(e));if(!a)throw new d.C("Ref could not be found.",void 0,void 0);return a},u=e=>f(e,e=>e.isMasterRef),g=(e,t)=>f(e,e=>e.id===t),p=(e,t)=>f(e,e=>e.label===t),y=e=>e.replace(/%3B/g,";"),w={},m={};async function R(e,t,a){let s,i=e.toString();if(t?.body)s=(w[e.hostname]||=(({interval:e}={})=>{let t=[],a=!1,s=0,i=()=>{!a&&t.length>0&&(t.shift()?.(),a=!0)},r=async(t,r,n)=>{let o,h=Date.now()-s;e&&h<e&&await (o=e-h,new Promise(e=>setTimeout(e,o)));let l=(async()=>t(...n))();r(l);try{await l}catch{}s=Date.now(),a=!1,i()};return(e,...s)=>new Promise(n=>{new Promise(e=>{t.push(e)}).then(r.bind(void 0,e,n,s)),(async()=>{await Promise.resolve(),a||i()})()})})({interval:1500}))(()=>a(i,t));else{let e=m[i]?.get(t?.signal);e?s=e:(s=a(i,t).finally(()=>{m[i]?.delete(t?.signal),m[i]?.size===0&&delete m[i]}),(m[i]||=new Map).set(t?.signal,s))}let r=await s;if(429===r.status){let s=Number(r.headers.get("retry-after")),i=Number.isNaN(s)?1500:1e3*s;return await new Promise(e=>setTimeout(e,i)),R(e,t,a)}return r.clone()}let v=e=>l.p.any("document.tags",i(e)),b=0,P=e=>l.p.at("document.type",e);class S extends d.C{}class k extends d.C{}class A extends d.C{}class T extends S{}class I extends S{}class q extends S{}class D extends k{}var $=a(90277);let B={accessToken:"access_token"},L=e=>"string"==typeof e?e:"desc"===e.direction?`${e.field} desc`:e.field;var C=a(20702);let F=e=>{try{return new URL(e),!0}catch{return!1}};!function(e){e.Master="Master",e.ReleaseID="ReleaseID",e.ReleaseLabel="ReleaseLabel",e.Manual="Manual"}(h||(h={}));class E{fetchFn;fetchOptions;#e;set repositoryName(e){this.#e=e}get repositoryName(){if(!this.#e)throw new d.C(`A repository name is required for this method but one could not be inferred from the provided API endpoint (\`${this.documentAPIEndpoint}\`). To fix this error, provide a repository name when creating the client. For more details, see ${o("prefer-repository-name")}`,void 0,void 0);return this.#e}documentAPIEndpoint;set endpoint(e){this.documentAPIEndpoint=e}get endpoint(){return this.documentAPIEndpoint}accessToken;routes;brokenRoute;defaultParams;refState={mode:h.Master,autoPreviewsEnabled:!0};cachedRepository;cachedRepositoryExpiration=0;constructor(e,t={}){if(this.fetchOptions=t.fetchOptions,"function"==typeof t.fetch)this.fetchFn=t.fetch;else if("function"==typeof globalThis.fetch)this.fetchFn=globalThis.fetch;else throw new d.C("A valid fetch implementation was not provided. In environments where fetch is not available (including Node.js), a fetch implementation must be provided via a polyfill or the `fetch` option.",void 0,void 0);if(this.fetchFn===globalThis.fetch&&(this.fetchFn=this.fetchFn.bind(globalThis)),t.documentAPIEndpoint||F(e),F(e)){this.documentAPIEndpoint=e;try{this.repositoryName=(e=>{try{let t=new URL(e).hostname;if(t.endsWith("prismic.io")||t.endsWith("wroom.io")||t.endsWith("wroom.test"))return t.split(".")[0]}catch{}throw new d.C(`An invalid Prismic Document API endpoint was provided: ${e}`,void 0,void 0)})(e)}catch(t){console.warn(`[@prismicio/client] A repository name could not be inferred from the provided endpoint (\`${e}\`). Some methods will be disabled. Create the client using a repository name to prevent this warning. For more details, see ${o("prefer-repository-name")}`)}}else this.documentAPIEndpoint=t.documentAPIEndpoint||(e=>{if((0,C.e)(e))return`https://${e}
1.cdn.prismic.io/api/v2`;throw new d.C(`An invalid Prismic repository name was given: ${e}`,void 0,void 0)})(e),this.repositoryName=e;this.accessToken=t.accessToken,this.routes=t.routes,this.brokenRoute=t.brokenRoute,this.defaultParams=t.defaultParams,t.ref&&this.queryContentFromRef(t.ref),this.graphQLFetch=this.graphQLFetch.bind(this)}enableAutoPreviews(){this.refState.autoPreviewsEnabled=!0}enableAutoPreviewsFromReq(e){this.refState.httpRequest=e,this.refState.autoPreviewsEnabled=!0}disableAutoPreviews(){this.refState.autoPreviewsEnabled=!1}async get(e){let{data:t}=await this._get(e);return t}async getFirst(e){let t={...e};e&&e.page||e?.pageSize||(t.pageSize=this.defaultParams?.pageSize??1);let{data:a,url:s}=await this._get(t),i=a.results[0];if(i)return i;throw new k("No documents were returned",s,void 0)}async dangerouslyGetAll(e={}){let t,{limit:a=1/0,...s}=e,i={...s,pageSize:Math.min(a,s.pageSize||this.defaultParams?.pageSize||100)},r=[];for(;(!t||t.next_page)&&r.length<a;){let e=t?t.page+1:void 0;t=await this.get({...i,page:e}),r.push(...t.results),t.next_page&&await new Promise(e=>setTimeout(e,500))}return r.slice(0,a)}async getByID(e,t){return await this.getFirst(r(t,l.p.at("document.id",e)))}async getByIDs(e,t){return await this.get(r(t,l.p.in("document.id",e)))}async getAllByIDs(e,t){return await this.dangerouslyGetAll(r(t,l.p.in("document.id",e)))}async getByUID(e,t,a){return await this.getFirst(r(a,[P(e),l.p.at(`my.${e}.uid`,t)]))}async getByUIDs(e,t,a){return await this.get(r(a,[P(e),l.p.in(`my.${e}.uid`,t)]))}async getAllByUIDs(e,t,a){return await this.dangerouslyGetAll(r(a,[P(e),l.p.in(`my.${e}.uid`,t)]))}async getSingle(e,t){return await this.getFirst(r(t,P(e)))}async getByType(e,t){return await this.get(r(t,P(e)))}async getAllByType(e,t){return await this.dangerouslyGetAll(r(t,P(e)))}async getByTag(e,t){return await this.get(r(t,v(e)))}async getAllByTag(e,t){return await this.dangerouslyGetAll(r(t,v(e)))}async getByEveryTag(e,t){return await this.get(r(t,c(e)))}async getAllByEveryTag(e,t){return await this.dangerouslyGetAll(r(t,c(e)))}async getBySomeTags(e,t){return await this.get(r(t,v(e)))}async getAllBySomeTags(e,t){return await this.dangerouslyGetAll(r(t,v(e)))}async getRepository(e){let t=new URL(this.documentAPIEndpoint);this.accessToken&&t.searchParams.set("access_token",this.accessToken);let a=await this.#t(t,e);switch(a.status){case 200:return await a.json();case 401:{let e=await a.json();throw new S(e.error,t.toString(),e)}case 404:throw new D(`Prismic repository not found. Check that "${this.documentAPIEndpoint}" is pointing to the correct repository.`,t.toString(),void 0);default:throw new d.C(void 0,t.toString(),await a.text())}}async getRefs(e){return(await this.getRepository(e)).refs}async getRefByID(e,t){return g(await this.getRefs(t),e)}async getRefByLabel(e,t){return p(await this.getRefs(t),e)}async getMasterRef(e){return u(await this.getRefs(e))}async getReleases(e){return(await this.getRefs(e)).filter(e=>!e.isMasterRef)}async getReleaseByID(e,t){return g(await this.getReleases(t),e)}async getReleaseByLabel(e,t){return p(await this.getReleases(t),e)}async getTags(e){let t=(await this.getCachedRepository(e)).forms.tags;if(t){let a=new URL(t.action);this.accessToken&&a.searchParams.set("access_token",this.accessToken);let s=await this.#t(a,e);if(s.ok)return await s.json()}return(await this.getRepository(e)).tags}async buildQueryURL({signal:e,fetchOptions:t,...a}={}){let s=a.ref||await this.getResolvedRefString({signal:e,fetchOptions:t}),r=a.integrationFieldsRef||(await this.getCachedRepository({signal:e,fetchOptions:t})).integrationFieldsRef||void 0;return((e,t)=>{let{filters:a,predicates:s,...r}=t,o=new URL("documents/search",`${e}/`);if(a)for(let e of i(a))o.searchParams.append("q",`[${e}]`);if(s)for(let e of i(s))o.searchParams.append("q",`[${e}]`);for(let e in r){let t=B[e]||e,a=r[e];if("orderings"===t){let e=r[t];if(null!=e){let t=i(e).map(e=>L(e)).join(",");a=`[${t}]`}}else"routes"===t&&"object"==typeof r[t]&&(a=JSON.stringify(i(r[t])));null!=a&&o.searchParams.set(t,i(a).join(","))}return o.searchParams.set("x-c",`js-${n}`),o.toString()})(this.documentAPIEndpoint,{...this.defaultParams,...a,ref:s,integrationFieldsRef:r,routes:a.routes||this.routes,broken
1Route:a.brokenRoute||this.brokenRoute,accessToken:a.accessToken||this.accessToken})}async resolvePreviewURL(e){let t=e.documentID,a=e.previewToken;if(void 0!==globalThis.location){let e=new URLSearchParams(globalThis.location.search);t=t||e.get("documentId"),a=a||e.get("token")}else if(this.refState.httpRequest){if("query"in this.refState.httpRequest)t=t||this.refState.httpRequest.query?.documentId,a=a||this.refState.httpRequest.query?.token;else if("url"in this.refState.httpRequest&&this.refState.httpRequest.url){let e=new URL(this.refState.httpRequest.url,"missing-host://").searchParams;t=t||e.get("documentId"),a=a||e.get("token")}}if(null!=t&&null!=a){let s=await this.getByID(t,{ref:a,lang:"*",signal:e.signal,fetchOptions:e.fetchOptions}),i=(0,$.z)(s,{linkResolver:e.linkResolver});if("string"==typeof i)return i}return e.defaultURL}queryLatestContent(){this.refState.mode=h.Master}queryContentFromReleaseByID(e){this.refState={...this.refState,mode:h.ReleaseID,releaseID:e}}queryContentFromReleaseByLabel(e){this.refState={...this.refState,mode:h.ReleaseLabel,releaseLabel:e}}queryContentFromRef(e){this.refState={...this.refState,mode:h.Manual,ref:e}}async graphQLFetch(e,t){let a=await this.getCachedRepository(),s=await this.getResolvedRefString(),i={"Prismic-ref":s,Authorization:this.accessToken?`Token ${this.accessToken}`:"",...t?t.headers:{}};a.integrationFieldsRef&&(i["Prismic-integration-field-ref"]=a.integrationFieldsRef);let r={};for(let e in i)i[e]&&(r[e.toLowerCase()]=i[e]);let n=new URL(e);n.searchParams.set("ref",s);let o=n.searchParams.get("query");return o&&n.searchParams.set("query",o.replace(/(\n| )*( |{|})(\n| )*/gm,(e,t,a)=>a)),await this.fetchFn(n.toString(),{...t,headers:r})}async getCachedRepository(e){return(!this.cachedRepository||Date.now()>=this.cachedRepositoryExpiration)&&(this.cachedRepository=await this.getRepository(e),this.cachedRepositoryExpiration=Date.now()+5e3),this.cachedRepository}async getResolvedRefString(e){if(this.refState.autoPreviewsEnabled){let e,t;if(this.refState.httpRequest?.headers?"get"in this.refState.httpRequest.headers&&"function"==typeof this.refState.httpRequest.headers.get?t=this.refState.httpRequest.headers.get("cookie"):"cookie"in this.refState.httpRequest.headers&&(t=this.refState.httpRequest.headers.cookie):globalThis.document?.cookie&&(t=globalThis.document.cookie),t&&(e=(e=>{let t;for(let a of e.split("; ")){let e=a.split("=");if("io.prismic.preview"===y(e[0]).replace(/%3D/g,"=")){t=y(e.slice(1).join("="));break}}return t})(t)),e)return e}let t=await this.getCachedRepository(e),a=this.refState.mode;if(a===h.ReleaseID)return g(t.refs,this.refState.releaseID).ref;if(a===h.ReleaseLabel)return p(t.refs,this.refState.releaseLabel).ref;if(a===h.Manual){let e,t=await ("function"==typeof(e=this.refState.ref)?e:()=>e)();if("string"==typeof t)return t}return u(t.refs).ref}async _get(e,t=0){let a=await this.buildQueryURL(e);try{let t=await this.#t(new URL(a),e);switch(t.status){case 200:try{return{data:await t.clone().json(),url:a}}catch{throw new d.C(void 0,a,await t.text())}case 400:{let e=await t.json();throw new A(e.message,a,e)}case 401:{let e=await t.json();throw new S(e.message,a,e)}case 404:{let e=await t.json();switch(e.type){case"api_notfound_error":throw new q(e.message,a,e);case"api_security_error":if(/preview token.*expired/i.test(e.message))throw new T(e.message,a,e);default:throw new k(e.message,a,e)}}case 410:{let e=await t.json();throw new I(e.message,a,e)}default:throw new d.C(void 0,a,await t.text())}}catch(o){if(!(o instanceof q||o instanceof I)||t>=2)throw o;e?.ref||(this.cachedRepository=void 0);let i=o.message.match(/Master ref is: (?<ref>.*)$/)?.groups?.ref;if(!i)throw o;let r=new URL(a).searchParams.get("ref"),n=o instanceof q?"invalid":"expired";return((e,t={})=>{let{level:a="log"}=t;if(e===s&&Date.now()-b<5e3){b=Date.now();return}b=Date.now(),s=e,console[a](e)})(`[@prismicio/client] The ref (${r}) was ${n}. Now retrying with the latest master ref (${i}). If you were previewing content, the response will not include draft content.`,{level:"warn"}),await this._get({...e,ref:i},t+1)}}async #t(e,t){return await R(e,this._buildRequestInit(t),this.fetchFn)}_buildRequestInit(e){return{...this.fetchOptions,...e?.fetchOptions,headers:{...this.fetchOptions?.headers,...e?.fetchOptions?.headers},signal:e?.fetchOptions?.signal||e?.signal||this.fetchOptions?.signal}}}let x=(e,t)=>new E(e,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.