- License
- MIT, React, the MIT license found in the, file in the root directory of this source tree, (c) 2022 Paul Miller (paulmillr.com), "ISC",dependencies:{"@orama/orama":"^2.0.16","@paralleldrive/cuid2":"^2.2.1",lodash:"^4.17.21",openai:"^4.24.1",react:"^18.2.0",vue:"^3.4.25"},devDependencies:{"@biomejs/biome":"^1.4.1","@fastify/formbody":"^7.4.0","@types/lodash":"^4.14.202","@types/node":"^20.3.1","@types/react":"^18.2.14",dotenv:"^16.3.1",esbuild:"0.18.5",fastify:"^4.19.2",husky:"^8.0.3","npm-run-all":"^4.1.5","ts-standard":"^12.0.2",tsup:"^7.1.0",tsx:"^3.12.7",typescript:"^5.1.3"},"ts-standard":{ignore:["dist","node_modules"]}};function y$5(mo,Co){if(typeof navigator<"u"){typeof navigator.sendBeacon<"u"&&navigator.sendBeacon(mo,Co);return}fetch(mo,{method:"POST",body:Co,headers:{"Content-Type":"application/json"}}).then(()=>{},ko=>console.log(ko))}var h$8=class _p{constructor(Co){this.data=void 0,this.params=void 0,this.config=void 0,this.data=[],this.config=Co}setParams(Co){this.params=Co}static create(Co){let ko=new _p(Co);return ko.start(),ko}add(Co){this.data.push({rawSearchString:Co.rawSearchString,query:Co.query,resultsCount:Co.resultsCount,roundTripTime:Co.roundTripTime,searchedAt:Co.searchedAt,referer:typeof location<"u"?location.toString():void 0}),this.params!=null&&this.data.length>=this.config.flushSize&&this.flush()}flush(){var Co;if(this.params==null||this.data.length===0)return;let ko=this.data;this.data=[];let Eo={source:"fe",deploymentID:this.params.deploymentID,index:this.params.index,oramaId:this.config.id,oramaVersion:G$3.version,userAgent:typeof navigator<"u"?navigator.userAgent:void 0,events:ko};(Co=y$5(this.params.endpoint+`?api-key=${this.config.api_key}`,JSON.stringify(Eo)))===null||Co===void 0||Co.catch(So=>console.log(So))}static getUserID(){if(typeof localStorage>"u")return $$5;let Co=localStorage.getItem(O$4);if(Co)return Co;let ko=createId_1$1();return localStorage.setItem(O$4,ko),ko}start(){let Co=setInterval(this.flush.bind(this),this.config.flushInterval);Co.unref!=null&&Co.unref()}};function Y$3(mo){let[Co,...ko]=mo.split(`, the MIT License (MIT), see, MIT, header required, React v17.0.2
- Authors
- Feross Aboukhadijeh <https://feross.org>, DISCLAIMS ALL WARRANTIES WITH, BE LIABLE FOR ANY SPECIAL, DIRECT,, {name:"Michele Riva",email:"[email protected]",url:"https://github.com/MicheleRiva"},license:"ISC",dependencies:{"@orama/orama":"^2.0.16","@paralleldrive/cuid2":"^2.2.1",lodash:"^4.17.21",openai:"^4.24.1",react:"^18.2.0",vue:"^3.4.25"},devDependencies:{"@biomejs/biome":"^1.4.1","@fastify/formbody":"^7.4.0","@types/lodash":"^4.14.202","@types/node":"^20.3.1","@types/react":"^18.2.14",dotenv:"^16.3.1",esbuild:"0.18.5",fastify:"^4.19.2",husky:"^8.0.3","npm-run-all":"^4.1.5","ts-standard":"^12.0.2",tsup:"^7.1.0",tsx:"^3.12.7",typescript:"^5.1.3"},"ts-standard":{ignore:["dist","node_modules"]}};function y$5(mo,Co){if(typeof navigator<"u"){typeof navigator.sendBeacon<"u"&&navigator.sendBeacon(mo,Co);return}fetch(mo,{method:"POST",body:Co,headers:{"Content-Type":"application/json"}}).then(()=>{},ko=>console.log(ko))}var h$8=class _p{constructor(Co){this.data=void 0,this.params=void 0,this.config=void 0,this.data=[],this.config=Co}setParams(Co){this.params=Co}static create(Co){let ko=new _p(Co);return ko.start(),ko}add(Co){this.data.push({rawSearchString:Co.rawSearchString,query:Co.query,resultsCount:Co.resultsCount,roundTripTime:Co.roundTripTime,searchedAt:Co.searchedAt,referer:typeof location<"u"?location.toString():void 0}),this.params, Feross Aboukhadijeh, {name:"Michele Riva",email:"[email protected]",url:"https://github.com/MicheleRiva"},license:"ISC",dependencies:{"@orama/orama":"^2.0.16","@paralleldrive/cuid2":"^2.2.1",lodash:"^4.17.21",openai:"^4.24.1",react:"^18.2.0",vue:"^3.4.25"},devDependencies:{"@biomejs/biome":"^1.4.1","@fastify/formbody":"^7.4.0","@types/lodash":"^4.14.202","@types/node":"^20.3.1","@types/react":"^18.2.14",dotenv:"^16.3.1",esbuild:"0.18.5",fastify:"^4.19.2",husky:"^8.0.3","npm-run-all":"^4.1.5","ts-standard":"^12.0.2",tsup:"^7.1.0",tsx:"^3.12.7",typescript:"^5.1.3"},"ts-standard":{ignore:["dist","node_modules"]}};function y$5(mo,Co){if(typeof navigator
- Version (from header)
- 2.2.3
- Copyright Notice
- (c) Meta Platforms, Inc. and affiliates