(()=>{"use strict";const e="[exco:bidbird:cee49f9]",t=window.location.href.includes("expd=1"),r=(...r)=>t&&console.info(e,...r),n=(...r)=>t&&console.error(e,...r);class i{constructor(e){r("API created",e)}get extraParams(){return{}}async doAuction(){return r("API doAuction called"),Promise.resolve(null)}getCachedBids(){return r("API getCachedBids called"),{bids:[],extraParams:{}}}async getCachedBidsSync(){return r("API getCachedBidsSync called"),Promise.resolve(null)}async getAdServerResponseSync(){return r("API getAdServerResponseSync called"),Promise.resolve(null)}}const s={"0010J00002BLrTtQAL":["3177225","210353339","242601333","944756246","1023846237","1106794605","1705655214","1802145609","846830637","1830558993","1544429873","1907548448","413171233","442256476","733979689"]},c=e=>{if(!e)return null;const t=e.toString(),r=Object.entries(s).find((([,e])=>e.includes(t)));return r?r[0]:null},d=()=>{try{const e=document.querySelector('script[src*="bidbird-sdk.js"]')||document.currentScript;if(e){const t=new URL(e.src);return t.searchParams.entries().reduce(((e,[t,r])=>(e[t]=r,e)),{})}}catch(e){}return{}},o=e=>{try{e()}catch(e){n(e)}};const a="exbd";window[a]=window[a]||{},window[a]=new class{q=[];#e=null;#t=!1;get inited(){return this.#t}constructor(e={}){this.q=e.q||[],this.q.push=o,setTimeout((()=>this.q.forEach(o)))}init(e={}){return this.#e=new i({publisherId:e.publisherId||c(e.supplyId),...d(),...e}),this.#t=!0,!1!==e.initializeWithAuction&&this.#e.doAuction(),this.#e}getCachedBids(){return this.#e.getCachedBids()}async getCachedBidsSync(){return this.#e.getCachedBidsSync()}getExtraParams(){return this.#e.extraParams}async getAdServerResponseSync(){return this.#e.getAdServerResponseSync()}async doAuction(){return this.#e.doAuction()}}(window[a]),window.__EXCO=window.__EXCO||{},window.__EXCO.EXBSDK_NAMESPACE=a})();