"use strict";var t=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var d=(p,r)=>{for(var e in r)t(p,e,{get:r[e],enumerable:!0})},k=(p,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of g(r))!m.call(p,a)&&a!==e&&t(p,a,{get:()=>r[a],enumerable:!(n=u(r,a))||n.enumerable});return p};var b=p=>k(t({},"__esModule",{value:!0}),p);var h={};d(h,{Placeholder:()=>i});module.exports=b(h);var l=require("../../../internal/deprecated");class i{constructor(r){this.faker=r;for(const e of Object.getOwnPropertyNames(i.prototype))e==="constructor"||typeof this[e]!="function"||(this[e]=this[e].bind(this))}imageUrl(r,e,n,a,s,c){(0,l.deprecated)({deprecated:"faker.placeholder.imageUrl",proposed:"faker.image.urlPlaceholder",since:"8.0",until:"9.0"}),r=r||640,e=e||r;let o="https://via.placeholder.com";if(o+=`/${r}x${e}`,s!=null&&(o+=`/${s.replace("#","").toUpperCase()}`,c!=null&&(o+=`/${c.replace("#","").toUpperCase()}`)),a!=null&&(o+=`.${a}`),n!=null){const f=new URLSearchParams({text:n});o+=`?${f.toString()}`}return o}randomUrl(r,e,n){return(0,l.deprecated)({deprecated:"faker.placeholder.randomUrl",proposed:"faker.image.urlPlaceholder",since:"8.0",until:"9.0"}),this.imageUrl(r,e,this.faker.lorem.word(),n,this.faker.color.rgb({casing:"upper",prefix:""}),this.faker.color.rgb({casing:"upper",prefix:""}))}}0&&(module.exports={Placeholder});
