1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="802075e2-f34d-a7ab-d3d8-6ed8f2ade944")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,680964,e=>{"use strict";let i=e=>{let i=Math.imul((e=0x6d2b79f5+(e|=0)|0)^e>>>15,1|e);return(((i=i+Math.imul(i^i>>>7,61|i)^i)^i>>>14)>>>0)/0x100000000};class t{constructor(e){this.dictionaries=void 0,this.length=void 0,this.separator=void 0,this.style=void 0,this.seed=void 0;const{length:i,separator:t,dictionaries:r,style:a,seed:n}=e;this.dictionaries=r,this.separator=t,this.length=i,this.style=a,this.seed=n}generate(){if(!this.dictionaries)throw Error('Cannot find any dictionary. Please provide at least one, or leave the "dictionary" field empty in the config object');if(this.length<=0)throw Error("Invalid length provided");
2if(this.length>this.dictionaries.length)throw Error(`The length cannot be bigger than the number of dictionaries. 3Length provided: ${this.length}. Number of dictionaries provided: ${this.dictionaries.length}`);let e=this.seed;return this.dictionaries.slice(0,this.length).reduce((t,r)=>{var a;let n;e?e=0x100000000*(n="string"==typeof(a=e)?i(Math.floor(Number(a.split("").map(e=>e.charCodeAt(0)).reduce((e,i)=>e+i,1)))):i(a)):n=Math.random();let o=r[Math.floor(n*r.length)]||"";if("lowerCase"===this.style)o=o.toLowerCase();else if("capital"===this.style){let[e,...i]=o.split("");o=e.toUpperCase()+i.join("")}else"upperCase"===this.style&&(o=o.toUpperCase());return t?`${t}${this.separator}${o}`:`${o}`},"")}}let r={separator:"_",dictionaries:[]},a=["bright","calm","clever","cool","crisp","curious","daring","eager","fancy","fast","friendly","gentle","glad","golden","grand","happy","keen","kind","lively","lucky","merry","neat","noble","playful","polite","proud","quick","quiet","sharp","shiny","silly","smooth","snappy","speedy","steady","sunny","super","swift","tidy","vivid","warm","witty","zappy","zippy"],n=["amber","aqua","azure","beige","blue","bronze","coral","cream","cyan","gold","green","indigo","ivory","jade","lemon","lilac","lime","mint","olive","orange","peach","pearl","pink","plum","rose","ruby","sage","sand","scarlet","silver","sky","slate","teal","violet"],o=["bear","bird","bunny","cat","crab","crane","deer","dolphin","dove","duck","eagle","falcon","finch","fox","frog","hawk","heron","horse","koala","lark","lion","lynx","moose","newt","otter","owl","panda","parrot","pony","puppy","quail","robin","seal","snail","sparrow","swan","tiger","turtle","whale","wolf","wren"];function s(e="-"){var i={dictionaries:[a,n,o],separator:e,length:3};let l=[...i&&i.dictionaries||r.dictionaries],h={...r,...i,length:i&&i.length||l.length,dictionaries:l};if(!i||!i.dictionaries||!i.dictionaries.length)throw Error('A "dictionaries" array must be provided. This is a breaking change introduced starting from Unique Name Generator v4. Read more about the breaking change here: https://github.com/andreasonny83/unique-names-generator#migration-guide');return new t(h).generate()}e.s(["generateName",()=>s],680964)}]); 4 5//# debugId=802075e2-f34d-a7ab-d3d8-6ed8f2ade944 6//# sourceMappingURL=2a293ec0db964d86.js.map
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.