@adstage/web-sdk 3.0.5 → 3.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).AdStage={})}(this,function(t){"use strict";var e,n,r,s,o,i,a,c,d,l,u,p;function h(t,e){var n=f();return(h=function(t,e){return n[t-=452]})(t,e)}function f(){var t=["INTERSTITIAL","VIEWABLE","760BoOpNP","2207653WYxdRJ","TEXT","TABLET","DESKTOP","20tuyLQy","5CoMNrd","3276009WoQLee","369867mupPOX","8QonjEt","POPUP","BANNER","4155hwKKZR","VIDEO","937980nUXxFa","4774473AyghRV","CLICK","MOBILE","148400UubCup","WEB"];return(f=function(){return t})()}!function(t){for(var e=h,n=t();;)try{if(304023===parseInt(e(459))/1*(parseInt(e(471))/2)+parseInt(e(461))/3+-parseInt(e(453))/4*(parseInt(e(465))/5)+parseInt(e(467))/6+-parseInt(e(454))/7*(-parseInt(e(462))/8)+parseInt(e(460))/9+-parseInt(e(458))/10*(parseInt(e(468))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(f),n=e||(e={}),r=h,n.BANNER=r(464),n[r(463)]=r(463),n[r(473)]="INTERSTITIAL",n.NATIVE="NATIVE",n[r(466)]=r(466),n[r(455)]=r(455),o=s||(s={}),i=h,o.WEB=i(472),o[i(470)]=i(470),(c=a||(a={}))[(d=h)(452)]="VIEWABLE",c[d(469)]=d(469),(u=l||(l={}))[(p=h)(457)]=p(457),u[p(470)]="MOBILE",u[p(456)]=p(456);const g=y;function m(){const t=["waitForElement","295406EaZIQu","style","safeSetTextContent","pageXOffset","from","7jQkvUZ","DOMContentLoaded","getViewportInfo","classList","undefined","safeQuerySelector","isBrowser","1531945kKLtGw","querySelectorAll","safeAddClass","canUseDOM","safeGetComputedStyle","safeRemoveEventListener","waitForDOM","safeRemoveChild","✅ 컨테이너 즉시 발견: ","getComputedStyle","ms (","error","devicePixelRatio","번 시도)","isSSR","removeEventListener","safeAddEventListener","764181taXrUT","safeRemoveClass",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"entries","⏳ 컨테이너 대기 중: ","150912sNpkvB","removeChild","safeApplyStyles","forEach","title","pow","48WalOKJ","26876sxoEVR","getDocumentProperty",'❌ 컨테이너를 찾을 수 없습니다: "',"getElementById","safeCreateElement","isDOMReady","ceil","safeWindowOpen","appendChild","safeGetElementById","location","addEventListener","2vRsHSG","createElement","ms)","2650182STqeAu","387xzzolQ","21470ImQSOu","waitForElements"," (최대 ","safeAppendChild","documentElement","remove","open","ms 경과)","innerHTML","log","getWindowProperty","referrer","innerHeight"];return(m=function(){return t})()}function y(t,e){const n=m();return(y=function(t,e){return n[t-=214]})(t,e)}!function(t){const e=y,n=t();for(;;)try{if(271588===-parseInt(e(225))/1*(-parseInt(e(244))/2)+parseInt(e(284))/3*(parseInt(e(285))/4)+parseInt(e(256))/5+-parseInt(e(228))/6*(parseInt(e(249))/7)+-parseInt(e(278))/8+-parseInt(e(229))/9*(-parseInt(e(230))/10)+-parseInt(e(273))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class I{static isBrowser(){const t=y;return typeof window!==t(253)&&typeof document!==t(253)}static[g(270)](){return!this.isBrowser()}static[g(259)](){return this[g(255)]()&&void 0!==document.readyState}static[g(222)](t){const e=g;return this.canUseDOM()?document[e(216)](t):null}static[g(254)](t){return this[g(259)]()?document.querySelector(t):null}static safeQuerySelectorAll(t){const e=g;return this[e(259)]()?Array[e(248)](document[e(257)](t)):[]}static[g(217)](t){const e=g;return this[e(259)]()?document[e(226)](t):null}static[g(272)](t,e,n,r){const s=g;this.canUseDOM()&&t&&t[s(224)](e,n,r)}static[g(261)](t,e,n,r){const s=g;this.canUseDOM()&&t&&t[s(271)](e,n,r)}static[g(240)](t,e){return this[g(255)]()?window[t]??e:e}static[g(214)](t,e){return this[g(259)]()?document[t]??e:e}static[g(220)](t,e,n){const r=g;return this.isBrowser()?window[r(236)](t,e,n):null}static[g(260)](t){const e=g;return this[e(255)]()&&t?window[e(265)](t):null}static isDOMReady(){return!!this.canUseDOM()&&"loading"!==document.readyState}static[g(262)](){return new Promise(t=>{const e=y;this[e(259)]()?this[e(218)]()?t():this.safeAddEventListener(document,e(250),()=>t()):t()})}static[g(280)](t,e){const n=g;this[n(259)]()&&t&&Object[n(276)](e)[n(281)](([e,r])=>{t[n(245)].setProperty(e,r)})}static[g(258)](t,e){const n=g;this[n(259)]()&&t&&t[n(252)].add(e)}static[g(274)](t,e){const n=g;this.canUseDOM()&&t&&t[n(252)][n(235)](e)}static[g(246)](t,e){this[g(259)]()&&t&&(t.textContent=e)}static safeSetInnerHTML(t,e){const n=g;this[n(259)]()&&t&&(t[n(238)]=e)}static[g(233)](t,e){const n=g;this[n(259)]()&&t&&e&&t[n(221)](e)}static[g(263)](t,e){const n=g;this[n(259)]()&&t&&e&&t[n(279)](e)}static getPageInfo(){const t=g;return{url:this.getWindowProperty(t(223),{href:""}).href,title:this[t(214)](t(282),""),referrer:this.getDocumentProperty(t(241),"")}}static[g(251)](){const t=g;return{width:this[t(240)]("innerWidth",0),height:this[t(240)](t(242),0),pixelRatio:this[t(240)](t(268),1)}}static getScrollInfo(){const t=g;return{scrollTop:this[t(259)]()?window.pageYOffset||document[t(234)].scrollTop:0,scrollLeft:this[t(240)](t(247),0)}}static async[g(243)](t,e={}){const n=g,{timeout:r=3e3,retryInterval:s=100,debug:o=!1}=e;if(!this[n(259)]())throw new Error("DOM을 사용할 수 없는 환경입니다.");const i=document.getElementById(t);return i?(o&&console[n(239)](n(264)+t),i):(o&&console[n(239)]("⏳ 컨테이너 대기 시작: "+t+n(232)+r+n(227)),new Promise((e,i)=>{const a=n;let c=0;const d=Math[a(219)](r/s),l=()=>{const n=a;c++;const u=document[n(216)](t);if(u)return o&&console[n(239)]("✅ 컨테이너 발견: "+t+" ("+c+"번째 시도, "+c*s+n(237)),void e(u);if(c>=d){const e=n(215)+t+'"\n \n다음을 확인해보세요:\n1. HTML에 id="'+t+n(275)+r+n(266)+c+n(269);return o&&console[n(267)](e),void i(new Error(e))}o&&c%10==0&&console[n(239)](n(277)+t+" ("+c+"/"+d+")");const p=Math.min(s*Math[n(283)](1.2,c),500);setTimeout(l,p)};setTimeout(l,s)}))}static async[g(231)](t,e={}){const n=g,r=t.map(t=>this[n(243)](t,e));return Promise.all(r)}}function v(t,e){const n=w();return(v=function(t,e){return n[t-=220]})(t,e)}const b=v;function w(){const t=["AdStageSDK/","undefined",'"3.0.5"',"773250FirJNU","12895192PQFGKG","7691544zMpeWC","416MCKqmH","userAgent","19119SXBBBC","8644206LaSxDV","1539355uJZcQO","2247798UQffpX"];return(w=function(){return t})()}!function(t){const e=v,n=t();for(;;)try{if(834908===parseInt(e(220))/1+-parseInt(e(221))/2+-parseInt(e(230))/3*(parseInt(e(228))/4)+parseInt(e(225))/5+parseInt(e(231))/6+parseInt(e(227))/7+-parseInt(e(226))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(w);const k=b(224);function E(){return k}const x=S;function S(t,e){const n=A();return(S=function(t,e){return n[t-=324]})(t,e)}function A(){const t=["connection","UTC","desktop","5mdHotU","device_","userAgent","573333lHNpLa","getBoundingClientRect","platform","round","substr","top","2fffjdD","timeZone","6733608GFSBwz","getSlotPosition","setItem","109510ddHpMY","generateSessionId","effectiveType","3411404mJratJ","5540759KDdJDN","android","isBrowser","test","ssr_device_","1152bSSuqB","SSR","1.0.0","safeGetElementById","841772rUGnIC","adstage_device_id","ios","left","now","ssr_session_","collectDeviceInfo","getViewportInfo","4191876mJWwGs","language","pixelRatio","height","getItem","getPlatform","resolvedOptions","adstage_session_id","isMobile","web","generateDeviceId","unknown","width","random","scrollTop","DateTimeFormat"];return(A=function(){return t})()}!function(t){const e=S,n=t();for(;;)try{if(450586===-parseInt(e(364))/1+parseInt(e(346))/2*(-parseInt(e(340))/3)+parseInt(e(354))/4*(-parseInt(e(337))/5)+-parseInt(e(372))/6+parseInt(e(355))/7+parseInt(e(348))/8+parseInt(e(360))/9*(parseInt(e(351))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(A);class C{static[x(328)](){const t=x;if(!I[t(357)]())return t(359)+Date[t(368)]();const e=localStorage[t(376)](t(365));if(e)return e;const n=t(338)+Math[t(331)]().toString(36)[t(344)](2,9)+"_"+Date[t(368)]();return localStorage[t(350)](t(365),n),n}static[x(352)](){const t=x;if(!I[t(357)]())return t(369)+Date[t(368)]();const e=sessionStorage[t(376)](t(325));if(e)return e;const n="session_"+Math[t(331)]().toString(36).substr(2,9)+"_"+Date[t(368)]();return sessionStorage[t(350)](t(325),n),n}static[x(326)](){const t=x;return!!I.isBrowser()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(358)](navigator[t(339)])}static[x(377)](){const t=x;if(!I[t(357)]())return t(327);const e=navigator.userAgent.toLowerCase();return/iphone|ipad|ipod/[t(358)](e)?t(366):/android/[t(358)](e)?t(356):C[t(326)]()?t(327):t(336)}static[x(370)](){const t=x,e=I[t(371)]();return{deviceId:C[t(328)](),sessionId:C[t(352)](),osVersion:I[t(357)]()?navigator[t(342)]:"SSR",deviceModel:I[t(357)]()?navigator.platform:t(361),appVersion:t(362),sdkVersion:E(),language:I[t(357)]()&&navigator[t(373)]||"ko",country:"KR",ipAddress:"",userAgent:I[t(357)]()?navigator[t(339)]:t(361),timezone:I[t(357)]()?Intl[t(333)]()[t(324)]()[t(347)]:t(335),viewportWidth:e[t(330)],viewportHeight:e[t(375)],screenWidth:I[t(357)]()?screen[t(330)]:0,screenHeight:I[t(357)]()?screen[t(375)]:0,colorDepth:I[t(357)]()?screen.colorDepth:24,pixelRatio:e[t(374)],connectionType:I[t(357)]()?navigator[t(334)]?.[t(353)]||t(329):"unknown",platform:C[t(377)]()}}static[x(349)](t){const e=x,n=I[e(363)](t);if(!n)return"unknown";const r=n[e(341)](),s=I.getScrollInfo();return"x:"+Math[e(343)](r[e(367)])+",y:"+Math.round(r[e(345)]+s[e(332)])}}const T=D;function R(){const t=["54730lvsGdQ","create","userAgent","API key is required","2804241DAFISa","contentType","86067gZSoZJ","328iJzfxb","11576ubcMMj","24096lmqTum","28TZOXDp","19128zdhmxl","undefined","User-Agent","1127466Ctdive","2290BKBFwv","createForEvents","2702dfzEUf"];return(R=function(){return t})()}function D(t,e){const n=R();return(D=function(t,e){return n[t-=141]})(t,e)}!function(t){const e=D,n=t();for(;;)try{if(708893===parseInt(e(143))/1*(parseInt(e(144))/2)+-parseInt(e(148))/3+-parseInt(e(142))/4*(-parseInt(e(149))/5)+parseInt(e(145))/6*(-parseInt(e(151))/7)+parseInt(e(141))/8*(parseInt(e(158))/9)+parseInt(e(152))/10+parseInt(e(156))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(R);class U{static[T(153)](t,e){const n=T;if(!t)throw new Error(n(155));const r={"x-api-key":t,"Content-Type":e?.[n(157)]||"application/json"};return typeof navigator!==n(146)&&(r["User-Agent"]=e?.[n(154)]||navigator[n(154)]),r}static[T(150)](t,e){const n=T,r=U[n(153)](t);return e?.[n(154)]&&(r[n(147)]=e[n(154)]),r}}const L=B;function P(){const t=["1085454quLAhz","adType","POST","146WSQDQQ","1943020JzWtWt","number","substring","sessionId"," - ","replace","375176jsqvrg","NOT_SET","🚀 Sending advertisement event: ","slots","statusText","now","trackAdvertisementEvent","platform","getPageInfo","VIEWABLE","BANNER","height","🔍 Debug info:","10RfRBXC","referrer","602992QjzonZ","9ycBPex","status","deviceId","58041VIPHyK","/advertisements/events/","stringify","API request failed: ","7ZkcSih","baseUrl","apiKey","text","✅ Successfully tracked advertisement event: ","debug","collectDeviceInfo"," event for ad ","4106QRWRsK","error","log","string","1590017bfcCYC","title","48NFNhvo","🌐 Full API call details:","parseNumericValue","get","❌ Failed to track advertisement event:"," for ad ","getSlotPosition"];return(P=function(){return t})()}function B(t,e){const n=P();return(B=function(t,e){return n[t-=369]})(t,e)}!function(t){const e=B,n=t();for(;;)try{if(173669===-parseInt(e(370))/1*(-parseInt(e(408))/2)+parseInt(e(396))/3+parseInt(e(392))/4*(-parseInt(e(390))/5)+parseInt(e(421))/6*(-parseInt(e(400))/7)+-parseInt(e(377))/8+-parseInt(e(393))/9*(parseInt(e(371))/10)+-parseInt(e(412))/11*(-parseInt(e(414))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(P);class _{constructor(t,e,n,r){const s=B;this[s(401)]=t,this[s(402)]=e,this.debug=n,this.slots=r}async[L(383)](t,e,n){const r=L;try{this[r(405)]&&console.log("🚀 AdvertisementEventTracker: Processing "+n+r(407)+t+" in slot "+e);const s=this[r(380)][r(417)](e),o=C[r(406)](),i={adType:s?.[r(422)]||r(387),platform:o[r(384)],deviceId:o[r(395)],deviceInfo:o,pageUrl:I[r(385)]().url,pageTitle:I[r(385)]()[r(413)],referrer:I[r(385)]()[r(391)],slotId:e,slotPosition:C[r(420)](s?.containerId||""),slotWidth:_[r(416)](s?.width),slotHeight:_[r(416)](s?.[r(388)]),sessionId:o[r(374)],pageLoadTime:performance[r(382)](),metadata:{eventType:n,sdkVersion:E(),timestamp:Date.now()},...n===a[r(386)]&&{isViewable:!0,iabCompliant:!0}},c=this[r(401)]+r(397)+t+"/"+n,d=U.createForEvents(this.apiKey,i);this[r(405)]&&(console[r(410)](r(379)+n+r(419)+t,{url:c,headers:d,eventData:i}),console[r(410)](r(415),{method:r(369),url:c,hasApiKey:!!this[r(402)],bodySize:JSON[r(398)](i).length}));const l=await fetch(c,{method:r(369),headers:d,body:JSON[r(398)](i)});if(this.debug&&console[r(410)]("📡 API Response Status: "+l[r(394)]+" "+l[r(381)],{url:c,ok:l.ok}),!l.ok){const t=await l[r(403)]();throw new Error(r(399)+l[r(394)]+" "+l[r(381)]+r(375)+t)}this[r(405)]&&console[r(410)](r(404)+n+" for ad "+t)}catch(s){console[r(409)](r(418),s),console[r(409)](r(389),{baseUrl:this[r(401)],apiKey:this.apiKey?this[r(402)][r(373)](0,8)+"...":r(378),url:this.baseUrl+r(397)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[L(416)](t){const e=L;if(typeof t===e(372))return t;if(typeof t===e(411)){const n=parseFloat(t[e(376)](/px$/,""));return isNaN(n)?0:n}return 0}}function z(t,e){var n=N();return(z=function(t,e){return n[t-=476]})(t,e)}var M=z;function N(){var t=["3464OAUxdw","visible","1981548mJOlIH","IntersectionObserver","4537188JzBtPu","initIntersectionObserver","0px","element","58864iDKeay","5LRfonX","348272ksRrNG","10wZGEnD","isDocumentVisible","observe","handleIntersection","visibilityState","IntersectionObserver not supported, viewability tracking disabled","289790fajsGM","isViewableTriggered","33AGLeTO","483ljMRvZ","hidden","1632IJIIal","onViewableCallback","destroy","1120662giejoL","observer"];return(N=function(){return t})()}!function(t){for(var e=z,n=t();;)try{if(270779===-parseInt(e(488))/1+-parseInt(e(495))/2+-parseInt(e(500))/3*(parseInt(e(478))/4)+parseInt(e(487))/5*(-parseInt(e(476))/6)+-parseInt(e(498))/7*(-parseInt(e(486))/8)+parseInt(e(480))/9*(-parseInt(e(489))/10)+parseInt(e(497))/11*(parseInt(e(482))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(N);class O{constructor(t,e){var n=z;this[n(477)]=null,this.isViewableTriggered=!1,this[n(485)]=t,this[n(501)]=e,this[n(483)]()}[M(483)](){var t=M;t(481)in window?(this[t(477)]=new IntersectionObserver(t=>this.handleIntersection(t),{threshold:.5,rootMargin:t(484)}),this[t(477)][t(491)](this[t(485)])):console.warn(t(494))}[M(492)](t){t.forEach(t=>{var e=z;t.intersectionRatio>=.5&&this[e(490)]()&&!this[e(496)]&&(this[e(496)]=!0,this[e(501)]&&this[e(501)]())})}[M(490)](){var t=M;return!document[t(499)]&&document[t(493)]===t(479)}[M(502)](){var t=M;this[t(477)]&&(this[t(477)].disconnect(),this[t(477)]=null)}}const V=H;!function(t){const e=H,n=t();for(;;)try{if(496554===parseInt(e(282))/1+-parseInt(e(262))/2*(-parseInt(e(284))/3)+parseInt(e(285))/4*(-parseInt(e(268))/5)+-parseInt(e(280))/6*(parseInt(e(271))/7)+-parseInt(e(266))/8+-parseInt(e(279))/9+-parseInt(e(278))/10*(-parseInt(e(274))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);const F={production:V(281),beta:V(265)};function j(){const t=["10191VtLCdd","4tLMNSg","94tFlSNR","advertisements","custom","https://beta-api.adstage.app","5484568sdHVCO","/events/track","4794575QdEcAa","production","events","585928iMVJJh","/advertisements/events","startsWith","30812815ZhMPAZ","detail","track","list","10LkSbpv","2185389NSTXtH","60xUnCot","https://api.adstage.io","260077MarPym","baseUrl"];return(j=function(){return t})()}function H(t,e){const n=j();return(H=function(t,e){return n[t-=262]})(t,e)}V(269);const K={advertisements:{list:"/advertisements/list",detail:"/advertisements",events:V(272)},events:{track:V(267)}};class W{constructor(t){const e=V;this.advertisements={list:()=>""+this[e(283)]+K[e(263)][e(277)],detail:t=>""+this.baseUrl+K[e(263)][e(275)]+"/"+t,events:(t,n)=>""+this[e(283)]+K.advertisements.events+"/"+t+"/"+n},this[e(270)]={track:()=>""+this[e(283)]+K[e(270)][e(276)]},this[e(283)]=t||F.production}setBaseUrl(t){this.baseUrl=t}getBaseUrl(){return this[V(283)]}[V(264)](t){const e=V;return""+this[e(283)]+(t[e(273)]("/")?t:"/"+t)}}const G=new W;function X(t,e){var n=J();return(X=function(t,e){return n[t-=361]})(t,e)}function J(){var t=["6HVABTi","log","348ItogPm","261041XGNILl","963pFBWjz","_id","3792230lqzWHF","170bebgaZ","VIEWABLE","433491DkpvlU","32248zgllBe","450FiYxJM","24DtjNuR","24686bnxKkA",") in slot: "," (index: ","1545103YTRxjR"," (index: 0) in slot: ","25Jcltmk"];return(J=function(){return t})()}!function(t){for(var e=X,n=t();;)try{if(218673===-parseInt(e(366))/1*(parseInt(e(361))/2)+parseInt(e(376))/3+parseInt(e(369))/4*(-parseInt(e(378))/5)+parseInt(e(367))/6*(-parseInt(e(364))/7)+-parseInt(e(377))/8*(-parseInt(e(371))/9)+-parseInt(e(374))/10*(parseInt(e(370))/11)+parseInt(e(379))/12*(parseInt(e(373))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(J);class Y{static trackSlideViewable(t,e,n,r,s=!1){var o=X;s&&console.log("🎯 Triggering VIEWABLE event for slide change: ad "+t[o(372)]+o(363)+n+o(362)+e.id),r(t[o(372)],e.id,a[o(375)])}static trackInitialSlideViewable(t,e,n,r=!1){var s=X;r&&console[s(368)]("🎯 Triggering initial VIEWABLE event: ad "+t._id+s(365)+e.id),n(t._id,e.id,a.VIEWABLE)}}const q=Z;function Z(t,e){const n=$();return(Z=function(t,e){return n[t-=431]})(t,e)}!function(t){const e=Z,n=t();for(;;)try{if(395839===parseInt(e(446))/1*(parseInt(e(434))/2)+parseInt(e(452))/3+-parseInt(e(454))/4+parseInt(e(449))/5+parseInt(e(445))/6*(parseInt(e(447))/7)+parseInt(e(436))/8+-parseInt(e(455))/9*(parseInt(e(438))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class Q{static[q(453)](t,e,n,r,s=!1,o){const i=q;e[i(433)]&&(t[i(439)][i(457)]="pointer",t.addEventListener("click",t=>{const c=i;if(t[c(431)](),t.stopPropagation(),r&&r(e[c(437)],n.id,a[c(440)]),window.open(e[c(433)],c(450)),s){const t=o||String(n.adType)[c(448)]();console[c(456)](c(451)+t+c(458)+e[c(437)]+c(442)+e[c(433)])}}))}static[q(441)](t,e,n,r,s=!1,o){const i=q;e[i(433)]&&(t[i(439)][i(457)]=i(443),t.addEventListener("click",t=>{const c=i;t[c(431)](),t[c(444)]();if(r()(e[c(437)],n.id,a[c(440)]),window[c(432)](e[c(433)],c(450)),s){const t=o||String(n.adType).toLowerCase();console.log(c(451)+t+" ad clicked: "+e[c(437)]+" -> "+e[c(433)])}}))}static[q(435)](t,e,n,r,s=!1,o){this.addClickEvent(t,e,n,r,s,o)}static isClickable(t){return Boolean(t[q(433)])}static addClickEventsBatch(t,e,n,r,s=!1,o){t.forEach((t,i)=>{const a=Z,c=e[i];c&&this[a(453)](t,c,n,r,s,o)})}}function $(){const t=["1241475otTfzu","_blank","🔗 ","2154915ivAjAB","addClickEvent","575960LwbXed","55143bBoUsd","log","cursor"," ad clicked: ","preventDefault","open","linkUrl","126orIkAV","addClickEventForSlider","5394600OeidnP","_id","2310kLfkbP","style","CLICK","addClickEventForRenderer"," -> ","pointer","stopPropagation","30vFhIZy","2837XKWurv","189714mKqunc","toLowerCase"];return($=function(){return t})()}const tt=et;function et(t,e){const n=nt();return(et=function(t,e){return n[t-=494]})(t,e)}function nt(){const t=["block","3241YEctpG","flex","8px","1px solid #666","padding","className","data-adstage-slot-id","adstage-dot",".adstage-dot","adstage-slide-container","src","50px","1474158FMnuyx","remove","1JHsbcM","relative","hidden","width","adstage-slider-wrapper","addClickEventForSlider","\n position: absolute;\n bottom: 15px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n gap: 12px;\n z-index: 3;\n padding: 8px 16px;\n border-radius: 20px;\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(10px);\n ","createElement","7368498FMXVXu","1895838FvUHnm","addEventListener","querySelectorAll","removeChild","#000","#f9f9f9","inline-block","setAttribute","appendChild","createSimpleAdElement","VIDEO","changedTouches","data-adstage-ad-id","clientX","auto","setProperty","1240425CHSrNB","video","opacity","height","border","borderColor","center","createSliderContainer","transition","Banner Ad","preventDefault","length","adstage-slide","BANNER","100px","adstage-ad adstage-","getBoundingClientRect","display","whiteSpace","\n width: 8px;\n height: 8px;\n border-radius: 50%;\n border: 1px solid #cccccc;\n background: transparent;\n cursor: pointer;\n transition: all 0.3s ease;\n outline: none;\n opacity: 0.7;\n padding: 0;\n margin: 0;\n flex-shrink: 0;\n ","normal","cssText","adstage-dots","children","touchend","contains","touches","Video Ad","background","transform","entries","videoUrl","TEXT","abs","adType","597316pEUGYB","#cccccc","1px dashed #ccc","textContent","transparent","mouseleave","#999999","#f0f0f0","0.7","transform 0.4s ease-out","mouseenter","backgroundColor","Text Ad","autoSlideInterval","100%","200px","touchmove","0.9","forEach","createMinimalDotIndicator","_id","includes","string","every","add","img","active","2291914YDgKFq","classList","style","#666666","overflow","div","21304MrivGD","trackSlideViewable","fontSize","imageUrl"];return(nt=function(){return t})()}!function(t){const e=et,n=t();for(;;)try{if(654089===-parseInt(e(562))/1*(-parseInt(e(537))/2)+-parseInt(e(560))/3+parseInt(e(510))/4+-parseInt(e(587))/5+-parseInt(e(571))/6+-parseInt(e(548))/7*(-parseInt(e(543))/8)+-parseInt(e(570))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(nt);class rt{static[tt(580)](t,n){const r=tt,s=document[r(569)](r(542));switch(s.className=r(602)+String(t[r(509)]).toLowerCase(),s[r(578)](r(583),n[r(530)]),s[r(578)](r(554),t.id),s[r(539)][r(604)]=r(547),s[r(539)][r(565)]="100%",s[r(539)][r(590)]=r(585),t.adType){case e[r(600)]:if(n.imageUrl){const t=document[r(569)](r(535));t[r(558)]=n[r(546)],t[r(539)][r(565)]=r(524),t[r(539)][r(590)]=r(585),t[r(539)].objectFit="cover",s[r(579)](t)}else s[r(539)][r(590)]=r(601),s[r(539)][r(521)]=r(517),s[r(539)][r(591)]=r(512),s.textContent=r(596);break;case e[r(581)]:if(n[r(506)]){const t=document[r(569)](r(588));t[r(558)]=n[r(506)],t.style[r(565)]=r(524),t[r(539)][r(590)]="auto",s[r(579)](t)}else s.style[r(590)]=r(525),s.style[r(521)]=r(575),s.style[r(591)]=r(551),s.textContent=r(502),s[r(539)].color="white";break;case e.TEXT:if(n.textContent){const t=document.createElement(r(542));t[r(513)]=n[r(513)]||"",t[r(539)][r(552)]="8px",t[r(539)][r(545)]="14px",s[r(579)](t)}else s[r(539)].height=r(559),s.style.padding=r(550),s[r(513)]=r(522);break;default:s[r(539)].height=r(601),s.style[r(591)]=r(512),s[r(539)].backgroundColor=r(576),s[r(513)]=t[r(509)]+" Ad"}return s}static[tt(594)](t,n,r,s,o=!1){const i=tt,a=document.createElement("div");a[i(553)]=i(566);const c={position:i(563),overflow:i(564)};if(t[i(565)]&&0!==t[i(565)]){let e;e=typeof t[i(565)]===i(532)&&(t[i(565)][i(531)]("px")||t[i(565)].includes("%"))?t[i(565)]:t[i(565)]+"px",c[i(565)]=e,c[i(604)]=i(577)}else c[i(604)]="inline-block";if(t[i(590)]&&0!==t.height){const e=typeof t.height===i(532)?t[i(590)]:t[i(590)]+"px";c[i(590)]=e}Object[i(505)](c)[i(528)](([t,e])=>{const n=i;a.style[n(586)](t,e)});const d=!t[i(565)]||0===t[i(565)],l=!t[i(590)]||0===t[i(590)];if(d||l){const e=document[i(569)](i(542));if(e[i(539)].cssText="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!d&&t[i(565)]){let n;n=typeof t[i(565)]===i(532)&&(t[i(565)][i(531)]("px")||t[i(565)][i(531)]("%"))?t[i(565)]:t.width+"px",e[i(539)].width=n,e[i(539)][i(605)]=i(495)}document.body.appendChild(e);let r=0,s=0;n[i(528)](n=>{const o=i,a=this[o(580)](t,n);e[o(579)](a);const c=a.getBoundingClientRect();c.width>r&&(r=c.width),c[o(590)]>s&&(s=c[o(590)]),e[o(574)](a)}),d&&r>0&&(a.style[i(565)]=r+"px",c[i(565)]=r+"px"),l&&s>0&&(a[i(539)][i(590)]=s+"px",c.height=s+"px"),document.body.removeChild(e)}const u=[...n,n[0]],p=document[i(569)](i(542));p[i(553)]=i(557);const h={display:i(549),transition:i(519),width:100*u[i(598)]+"%"};t[i(590)]&&0!==t[i(590)]&&(h.height=i(524)),Object[i(505)](h)[i(528)](([t,e])=>{p.style.setProperty(t,e)}),u[i(528)]((e,n)=>{const r=i,a=document[r(569)](r(542));a[r(553)]=r(599);const c={width:100/u.length+"%","flex-shrink":"0",display:"flex","align-items":"center","justify-content":r(593)};t[r(590)]&&0!==t[r(590)]&&(c[r(590)]=r(524)),Object[r(505)](c).forEach(([t,e])=>{const n=r;a[n(539)][n(586)](t,e)});const d=this.createSimpleAdElement(t,e);Q[r(567)](d,e,t,s,o,String(t[r(509)]).toLowerCase()),a[r(579)](d),p[r(579)](a)});const f=n[i(533)](t=>t[i(509)]===e[i(507)])?null:this[i(529)](n[i(598)]);let g=0;const m=n[i(598)],y=1e3*(r?.[i(523)]||3),I=(e,r=!1)=>{const a=i;g=e,r?p.style[a(595)]="none":p[a(539)][a(595)]=a(519),p[a(539)][a(504)]="translateX(-"+100/u.length*g+"%)";const c=g===m?0:g;if(f){f.querySelectorAll(a(556))[a(528)]((t,e)=>{const n=a,r=t;e===c?(r[n(538)][n(534)]("active"),r[n(539)][n(503)]="#666666",r[n(539)].borderColor=n(540),r.style[n(589)]="1"):(r[n(538)][n(561)](n(536)),r[n(539)][n(503)]=n(514),r[n(539)][n(592)]=n(511),r[n(539)][n(589)]=n(518))})}Y[a(544)](n[c],t,c,s,o)},v=()=>{g===m&&setTimeout(()=>{I(0,!0)},400)};if(f){f[i(573)](i(556))[i(528)]((t,e)=>{t[i(572)]("click",()=>I(e))})}let b=setInterval(()=>{I(g+1),v()},y);return a.addEventListener(i(520),()=>{clearInterval(b)}),a[i(572)](i(515),()=>{b=setInterval(()=>{I(g+1),v()},y)}),this.addTouchSupport(p,I,()=>g,m,v),a[i(579)](p),f&&a[i(579)](f),I(0),(!t.width||0===t.width)&&setTimeout(()=>{const e=i,n=p[e(498)][0];if(n){const r=n.children[0];if(r){const n=r[e(603)]();a[e(539)][e(565)]=n[e(565)]+"px",(!t[e(590)]||0===t[e(590)])&&(a[e(539)].height=n[e(590)]+"px"),a.style[e(541)]="hidden"}}},10),a}static[tt(529)](t){const e=tt,n=document[e(569)](e(542));n.className=e(497),n[e(539)][e(496)]=e(568);for(let r=0;r<t;r++){const t=document[e(569)]("button");t[e(553)]=e(555),t[e(539)][e(496)]=e(494),t[e(572)]("mouseenter",()=>{const n=e;!t[n(538)][n(500)](n(536))&&(t[n(539)][n(592)]=n(516),t[n(539)][n(589)]=n(527))}),t.addEventListener(e(515),()=>{const n=e;!t[n(538)].contains(n(536))&&(t[n(539)][n(592)]=n(511),t[n(539)][n(589)]=n(518))}),n[e(579)](t)}return n}static addTouchSupport(t,e,n,r,s){const o=tt;let i=0,a=!1;t[o(572)]("touchstart",t=>{const e=o;i=t[e(501)][0][e(584)],a=!0}),t.addEventListener(o(526),t=>{a&&t[o(597)]()}),t.addEventListener(o(499),t=>{const c=o;if(!a)return;a=!1;const d=t[c(582)][0][c(584)],l=i-d;if(Math[c(508)](l)>50){const t=n();if(l>0){e(t+1),s&&s()}else{e(t>0?t-1:r-1)}}})}}const st=ot;function ot(t,e){const n=at();return(ot=function(t,e){return n[t-=408]})(t,e)}!function(t){const e=ot,n=t();for(;;)try{if(431082===-parseInt(e(410))/1*(parseInt(e(427))/2)+-parseInt(e(426))/3+-parseInt(e(423))/4*(parseInt(e(425))/5)+-parseInt(e(428))/6*(-parseInt(e(419))/7)+parseInt(e(417))/8*(parseInt(e(412))/9)+parseInt(e(422))/10+-parseInt(e(414))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(at);class it{static[st(415)](t,e,n=!1){const r=st,s=t+"_"+e;return it.viewableTracker[r(413)](s)?(n&&console[r(408)]("Duplicate viewable blocked for ad "+t+" in slot "+e),!0):(it[r(409)][r(424)](s),n&&console[r(408)](r(418)+t+r(411)+e),!1)}static[st(421)](){const t=st;it[t(409)][t(421)]()}static[st(420)](t,e){const n=st,r=t+"_"+e;it[n(409)][n(416)](r)}}function at(){const t=["608201waABrd","isDuplicateViewable","delete","15248yvZyeQ","✅ New viewable recorded for ad ","7bgGeVP","clearAdViewable","clear","1506720DMMwxC","4DCtXsd","add","1704865sOJIwy","375564qFjMWL","92652vHYNjS","4678044JPcbIa","log","viewableTracker","11Gogoje"," in slot ","2511aNWZEq","has"];return(at=function(){return t})()}it[st(409)]=new Set;const ct=lt;function dt(){const t=[" x ",'[class*="banner"]',"border","opacity","number","adType","closest","flex","adstage-slot adstage-","VIEWABLE","color"," container collapsed (",'[class*="ad"]',"createElement","div","display","4px"," ad...</span>","alignItems","7401717nMAkcg","monospace","adstage-official","70fzzVpE","parentElement","auto","getElementById","fontFamily","contains","transparent",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"689091FFDdcJ","getAttribute",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"true","681505csfpKd","1px dashed #ccc","justifyContent","appendChild"," event","center","classList"," for ad ","11px","data-adstage-empty",") - Mode: ","fontSize","borderRadius","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","getContainerHeight","advertisement","#f9f9f9","generic","applyPlaceholderStyle","rgba(0, 0, 0, 0.02)",'div[style*="height"]',"isEmpty","createEmptyContainer","🚫 Duplicate viewable blocked for ad ","advertisementEventTracker","adstage-class","px)","filter"," in slot ","className","1186542hRkQRj","❌ Failed to track ","innerHTML","cssText","285353CRBWcp","debug","log","<span>Loading ","): ","📊 Advertisement event tracked: ","data-adstage-container","unknown","hasAttribute","#666","data-adstage-slot"," container: ","invisible","getComputedStyle","📦 Placeholder created for ",'[class*="container"]'," for ","#e74c3c","100%","8mevTxy","rgba(231, 76, 60, 0.1)","minHeight","rgba(248, 249, 250, 0.5)","subtle","block","querySelector","backgroundColor","placeholderMode","height","calculateAdSize","createEventTrackingCallback","710496GYvDUD","toLowerCase","containerId","style","setAttribute","adstage-slot adstage-empty adstage-","createPlaceholder","🔄 Starting advertisement event tracking: ","243944NzJARP","✅ New viewable recorded for ad ","isDuplicateViewable","warn","none","1px solid rgba(0, 0, 0, 0.08)","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ",".adstage-"," slot: ","string","📏 Using default height ","minimal","trackAdvertisementEvent"];return(dt=function(){return t})()}function lt(t,e){const n=dt();return(lt=function(t,e){return n[t-=450]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(181424===-parseInt(e(474))/1+-parseInt(e(505))/2+parseInt(e(556))/3+parseInt(e(493))/4*(parseInt(e(560))/5)+-parseInt(e(470))/6+parseInt(e(548))/7*(-parseInt(e(513))/8)+parseInt(e(545))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class ut{constructor(t,e=!1,n){const r=lt;this[r(531)]=t,this[r(475)]=e,this.advertisementEventTracker=n||null}[ct(511)](t,e,n,r){const s=ct,o=document[s(539)](s(540));o.id=e,o[s(469)]=s(534)+String(this[s(531)])[s(506)](),o[s(509)](s(480),s(559)),o[s(509)]("data-adstage-type",String(this[s(531)])),o[s(509)](s(484),e);const{width:i,height:a}=this.calculateAdSize(t,n,r)||{width:s(492),height:this.getDefaultHeight()};o[s(508)].width=i,o.style.height=a;const c=r?.[s(501)]||n[s(501)]||"invisible";this.applyPlaceholderStyle(o,c),t[s(563)](o),this[s(475)]&&console[s(476)](s(488)+this[s(531)]+s(521)+e+" ("+i+s(526)+a+s(450)+c)}[ct(458)](t,e){const n=ct;switch(e){case n(486):t.style.backgroundColor=n(554),t.style.border=n(517),t.style[n(529)]="0",t[n(472)]="";break;case"transparent":t.style.backgroundColor="transparent",t[n(508)][n(528)]="none",t[n(508)][n(541)]=n(498),t[n(472)]="";break;case n(497):t.style[n(500)]=n(459),t[n(508)].border="none",t[n(508)].borderRadius=n(542),t[n(508)][n(541)]=n(533),t[n(508)][n(544)]=n(565),t[n(508)].justifyContent="center",t[n(472)]=n(555);break;case n(524):t[n(508)][n(500)]=n(496),t[n(508)][n(528)]=n(518),t[n(508)][n(452)]="6px",t[n(508)].display=n(533),t[n(508)][n(544)]=n(565),t[n(508)][n(562)]=n(565),t.innerHTML=n(558);break;case n(475):t[n(508)].border="2px dashed #e74c3c",t.style[n(541)]="flex",t.style[n(544)]=n(565),t.style[n(562)]=n(565),t[n(508)].backgroundColor=n(494),t[n(508)][n(536)]=n(491),t[n(508)][n(552)]=n(546),t[n(508)][n(451)]=n(568),t[n(472)]=n(477)+this.adType+n(543);break;default:t[n(508)][n(528)]=n(561),t[n(508)][n(541)]=n(533),t.style[n(544)]=n(565),t[n(508)].justifyContent=n(565),t[n(508)].backgroundColor=n(456),t[n(508)].color=n(483),t.innerHTML=n(477)+this[n(531)]+n(543)}}[ct(503)](t,e,n){const r=ct,s=e.width,o=e.height;let i,a;if(i=typeof s===r(530)?s+"px":typeof s===r(522)?s:r(492),typeof o===r(530))a=o+"px";else if(typeof o===r(522)&&o!==r(492)&&o!==r(550))a=o;else{const e=this[r(454)](t);e>0?(a=r(492),(n?.[r(475)]||this.debug)&&console[r(476)]("📏 Using 100% height (container: "+e+r(466))):(a=this.getDefaultHeight(),(n?.[r(475)]||this[r(475)])&&console.log(r(523)+a+r(490)+this[r(531)]))}return{width:i,height:a}}getContainerHeight(t){const e=ct,n=window[e(487)](t),r=parseFloat(n[e(502)]);if(!r||0===r){const r=parseFloat(n[e(495)]);if(r>0)return r;if(t[e(508)][e(502)]&&t.style[e(502)]!==e(550)){const n=parseFloat(t[e(508)][e(502)]);if(n>0)return n}const s=t[e(557)](e(502));if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}[ct(504)](){return async(t,e,n)=>{const r=lt;if(n===a[r(535)]){if(it[r(515)](t,e,this.debug))return void(this[r(475)]&&console[r(476)](r(463)+t+r(468)+e));this[r(475)]&&console[r(476)](r(514)+t+r(468)+e)}if(this[r(464)])try{this[r(475)]&&console.log(r(512)+n+" for ad "+t+" in slot "+e),await this[r(464)][r(525)](t,e,n),this[r(475)]&&console[r(476)](r(479)+n+r(567)+t+r(468)+e)}catch(e){this[r(475)]&&console.error(r(471)+n+" event for ad "+t+":",e)}else this.debug&&console[r(516)]("⚠️ AdvertisementEventTracker not available for "+n+r(564))}}renderFallback(t){const e=ct,n=document[e(551)](t.id);if(n){const r=[...[n[e(499)]('[data-adstage-container="true"]'),n[e(532)]('[data-adstage-container="true"]'),n][e(467)](t=>t&&t[e(482)](e(480))),...[n[e(532)](".adstage-slot"),n[e(532)](e(520)+String(this.adType)[e(506)]()),n[e(532)](e(538)),n[e(532)](e(527)),n[e(532)](e(489)),n[e(532)](e(460)),n.closest('div[style*="min-height"]'),n[e(549)]][e(467)](Boolean)][0];if(r){let n=e(481);n=r[e(482)](e(480))?e(547):r[e(566)][e(553)]("adstage-slot")?e(465):e(457),r[e(508)][e(473)]+=e(519),r[e(472)]="",r[e(509)](e(569),e(559)),this.debug&&console[e(516)]("⚠️ "+this[e(531)]+e(537)+n+e(478)+t.id,r)}else this[e(462)](t)}t[e(455)]=void 0,t[e(461)]=!0}createEmptyContainer(t){const e=ct,n=document[e(551)](t[e(507)]);if(n){n[e(472)]="";const r=document[e(539)]("div");r.id=t.id,r.className=e(510)+String(this.adType)[e(506)](),r.setAttribute(e(480),e(559)),r[e(509)](e(569),"true"),r[e(509)](e(484),t.id),r[e(508)][e(473)]=e(453),n[e(563)](r),this[e(475)]&&console[e(516)]("⚠️ Created empty "+this.adType+e(485)+t.id)}}[ct(476)](t,...e){const n=ct;this[n(475)]&&console.log("["+this[n(531)]+"] "+t,...e)}}function pt(){const t=["Banner Ad","abs","getDefaultHeight","allSettled","div","borderRadius","imageUrl","title","reduce","applyOptimizedImageStyle","values","3:2","Container not found: ","addClickEventForRenderer","onerror","Failed to calculate optimal banner size, using defaults:","Failed to load image: ","#f0f0f0"," ads (optimized: ","calculateAdSize","<div>","3333504xDxxDG","round","get","fulfilled","✅ Optimized banner image rendered for ad: ","length","naturalWidth","containerId","adstage-ad adstage-banner-ad","1582290IDUFeL","objectFit","_id","height","common","8qOdGIn","aspectRatio","22416rskwyZ","optimizeContainerForBannerAds","Image URL is not provided","📊 Using standard ratio: ","naturalHeight","status","loadImageDimensions","optimizedHeight","some","img","debug","map","slideInterval","Banner container optimization failed, using default size:","innerHTML","className","770114sSoGeT","filter","contain","calculateOptimalHeight","max","📦 Banner container dimensions: "," with ","📐 Optimal banner container calculated: ","3819996EDZbfG","1:1","665tAtjIo","calculateOptimalContainerSize","selectOptimalSizeStrategy"," ads: ","warn","default","forEach","log","250px","toFixed","parentElement","dominant","width","1466475LhVLGZ","alt","100%","appendChild","count","1760434XKkEeE"," (strategy: ","style","cover","createEventTrackingCallback","src","Banner","set","16:9","4:3","getElementById",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"toString","objectPosition","Banner Advertisement","createSliderContainer","createElement","BANNER","config","center","getBoundingClientRect","📸 Banner image dimensions: ","🎨 Banner image style applied: objectFit=","average","🎠 Banner carousel created for slot: ","ratio","renderMultipleAds"];return(pt=function(){return t})()}const ht=ft;function ft(t,e){const n=pt();return(ft=function(t,e){return n[t-=364]})(t,e)}!function(t){const e=ft,n=t();for(;;)try{if(740142===-parseInt(e(387))/1+parseInt(e(415))/2+parseInt(e(463))/3+parseInt(e(369))/4*(-parseInt(e(410))/5)+parseInt(e(364))/6+parseInt(e(397))/7*(parseInt(e(371))/8)+-parseInt(e(395))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(pt);class gt extends ut{constructor(t=!1,n){super(e[ft(432)],t,n)}[ht(444)](){return ht(405)}async renderAdElement(t,e){const n=ht,r=document[n(425)](t[n(470)]);if(!r)return;const s=document[n(431)](n(446));s[n(386)]=n(471);const o=t[n(378)],i=r[n(407)]||r;if(o)s[n(417)][n(409)]="100%",s[n(417)][n(367)]=String(o);else{const e=t[n(433)],r={width:e?.width,height:e?.[n(367)]},{width:o,height:a}=this[n(461)](i,r,{debug:this[n(381)]});s[n(417)][n(409)]=o,s.style[n(367)]=a}e[n(448)]?await this.renderOptimizedBannerImage(s,e,t):s[n(385)]=n(462)+(e.title||n(442))+"</div>",Q[n(455)](s,e,t,()=>this[n(419)](),this[n(381)],n(421)),r[n(385)]="",r[n(413)](s)}async[ht(441)](t,e){const n=ht,r=document[n(425)](t[n(470)]);if(!r)throw new Error(n(454)+t.containerId);await this[n(372)](t,e);const s=this[n(419)](),o={autoSlideInterval:(t[n(433)]?.[n(383)]||5e3)/1e3,...t[n(433)],optimizedHeight:t[n(378)],aspectRatio:t[n(370)]},i=rt[n(430)](t,e,o,s,this[n(381)]);i&&(r[n(385)]="",r[n(413)](i),this[n(381)]&&console[n(404)](n(439)+t.id+n(393)+e.length+n(460)+(t[n(378)]||n(402))+")"))}async[ht(398)](t,e){const n=ht;if(!t[n(468)])return{width:"100%",height:this.getDefaultHeight(),aspectRatio:16/9};try{const r=(await Promise[n(445)](t[n(388)](t=>t.imageUrl)[n(382)](t=>this[n(377)](t.imageUrl))))[n(388)](t=>t[n(376)]===n(466))[n(382)](t=>t.value);if(0===r[n(468)])return{width:n(412),height:this[n(444)](),aspectRatio:16/9};const s=this[n(399)](r),o=this[n(390)](r,e,s);return this[n(381)]&&console[n(404)](n(394)+e+"x"+o+n(416)+s+")"),{width:n(412),height:o+"px",aspectRatio:e/o}}catch(t){return console[n(401)](n(457),t),{width:n(412),height:this[n(444)](),aspectRatio:16/9}}}async[ht(372)](t,e){const n=ht;try{const r=document[n(425)](t.containerId),s=document[n(425)](t.id);if(!r||!s)return;const o=r[n(435)]().width||300,i=await this[n(398)](e,o);s[n(417)][n(367)]=i[n(367)],t[n(378)]=i[n(367)],t[n(370)]=i[n(370)],this.debug&&console[n(404)]("🔧 Banner container optimized for "+e.length+n(400)+i[n(367)])}catch(t){console[n(401)](n(384),t)}}[ht(399)](t){const e=ht,n=t[e(382)](t=>t[e(409)]/t[e(367)]),r=new Map;n.forEach(t=>{const n=e,s=(Math[n(464)](10*t)/10)[n(427)]();r[n(422)](s,(r[n(465)](s)||0)+1)});const s=Math[e(391)](...r[e(452)]()),o=t[e(468)];if(s/o>=.7)return"dominant";const i=[16/9,4/3,1,1.5],a=n[e(388)](t=>i[e(379)](e=>Math.abs(t-e)<.1))[e(468)];return e(a/o>=.5?368:438)}[ht(390)](t,e,n){const r=ht,s=t[r(382)](t=>t[r(409)]/t[r(367)]);switch(n){case r(408):{const t=new Map;s[r(403)](e=>{const n=r,s=Math.round(10*e)/10,o=s[n(427)](),i=t[n(465)](o);i?i.count++:t.set(o,{ratio:s,count:1})});const n=Array.from(t.values())[r(450)]((t,e)=>e[r(414)]>t[r(414)]?e:t);return Math[r(464)](e/n[r(440)])}case r(368):{const t=[{ratio:16/9,name:r(423)},{ratio:4/3,name:r(424)},{ratio:1,name:r(396)},{ratio:1.5,name:r(453)}],n=s[r(450)]((t,e)=>t+e,0)/s[r(468)],o=t[r(450)]((t,e)=>Math[r(443)](e.ratio-n)<Math[r(443)](t.ratio-n)?e:t);return this[r(381)]&&console[r(404)](r(374)+o.name+" (avg: "+n.toFixed(2)+")"),Math[r(464)](e/o[r(440)])}default:{const t=s[r(450)]((t,e)=>t+e,0)/s[r(468)];return Math[r(464)](e/t)}}}[ht(377)](t){return new Promise((e,n)=>{const r=ft,s=new Image;s.onload=()=>{const t=ft;e({width:s[t(469)],height:s[t(375)]})},s[r(456)]=()=>{n(new Error(r(458)+t))},s[r(420)]=t})}[ht(451)](t,e,n){const r=ht,s=e/n;Math[r(443)](s-1)<.1?(t[r(417)][r(365)]=r(418),t[r(417)][r(428)]="center"):s>1.3?(t[r(417)][r(365)]=r(389),t[r(417)].objectPosition=r(434),t[r(417)].backgroundColor=r(459)):s<.7?(t.style[r(365)]=r(418),t[r(417)].objectPosition="center"):(t[r(417)].objectFit=r(418),t[r(417)].objectPosition="center"),this.debug&&console.log(r(437)+t[r(417)][r(365)]+", ratio="+s[r(406)](2))}async renderOptimizedBannerImage(t,e,n){const r=ht,s=document.createElement(r(380));s[r(417)][r(409)]=r(412),s.style[r(367)]="100%",s[r(417)].display="block",s[r(417)][r(447)]="8px",s[r(411)]=e[r(449)]||r(429),t[r(385)]=r(426);try{if(!e[r(448)])throw new Error(r(373));const o=await this[r(377)](e[r(448)]),i=t[r(435)](),a=i.width,c=i.height;this[r(381)]&&(console[r(404)](r(436)+o.width+"x"+o[r(367)]),console.log(r(392)+a+"x"+c));const d=o[r(409)]/o[r(367)],l=a/c;return this[r(451)](s,d,l),s[r(420)]=e[r(448)],t[r(385)]="",t[r(413)](s),Q[r(455)](s,e,n,()=>this.createEventTrackingCallback(),this.debug,r(421)),this[r(381)]&&console.log(r(467)+e[r(366)]),s}catch(o){return console.error("❌ Failed to load optimized banner image:",o),e[r(448)]&&(s[r(420)]=e.imageUrl,s.style[r(365)]=r(418),s[r(417)][r(428)]=r(434),t[r(385)]="",t[r(413)](s),Q.addClickEventForRenderer(s,e,n,()=>this.createEventTrackingCallback(),this[r(381)],r(421))),s}}}const mt=It;function yt(){const t=["4zqtTTW","textContent","7GOsRDo","3316419qyPvmc","createTextAdStyles","602607zxIYaV","1081075zXOkXz","681184BurMDV","2319010OQpnWu","title","70953fYLtpH","\n font-family: 'Arial', sans-serif;\n text-decoration: none;\n display: block;\n text-align: left;\n transition: color 0.3s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: visible;\n padding-right: 2px;\n padding-left: 2px;\n white-space: nowrap;\n ","160158EufKOs","8mnLarv"];return(yt=function(){return t})()}function It(t,e){const n=yt();return(It=function(t,e){return n[t-=251]})(t,e)}!function(t){const e=It,n=t();for(;;)try{if(232117===parseInt(e(262))/1+parseInt(e(252))/2*(parseInt(e(257))/3)+parseInt(e(259))/4+parseInt(e(258))/5+parseInt(e(264))/6*(-parseInt(e(254))/7)+-parseInt(e(251))/8*(parseInt(e(255))/9)+-parseInt(e(260))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(yt);class vt{static[mt(256)](t=!1){return mt(263)}static setTextAdContent(t,e){const n=mt,r=e[n(253)]||e[n(261)]||"";t[n(253)]=r}}const bt=wt;function wt(t,e){const n=kt();return(wt=function(t,e){return n[t-=185]})(t,e)}function kt(){const t=["data-adstage-slot-id","Text","1086772snNXPb","relative","transform","opacity","autoSlideInterval","height: 100%;","minHeight","touchend","appendChild","zIndex","8MTCkkO","adstage-fade-slide-container","6327924FnXbwF","normal","height: auto;","32929155uLFBPM","adType","string",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","includes",";\n width: 100%;\n ","touches","mouseenter","cssText","addTouchSupport","clientY","className","auto","translateY(-20px)","mouseleave","preventDefault","length","absolute","createSimpleAdElement","\n position: relative;\n width: 100%;\n ","fit-content","301575uAShkK","style",";\n left: ","width","trackSlideViewable","data-adstage-ad-id","position","setTextAdContent","whiteSpace","createTextTransitionContainer","3723565iSLdVi","entries","push","touchmove","setProperty","clientX","8zoyZzi","toLowerCase","div","left","createElement","block","changedTouches","height","height: auto; min-height: fit-content;","translateY(20px)","2235832QBMhbM","_id","abs","createTextAdStyles","76692HTzjTG","\n position: ","adstage-fade-slider-wrapper","forEach","addEventListener","removeChild","top"];return(kt=function(){return t})()}!function(t){const e=wt,n=t();for(;;)try{if(604842===-parseInt(e(198))/1+-parseInt(e(208))/2*(-parseInt(e(235))/3)+-parseInt(e(185))/4+-parseInt(e(245))/5+-parseInt(e(210))/6+-parseInt(e(189))/7+parseInt(e(251))/8*(parseInt(e(213))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(kt);class Et{static[bt(232)](t,e){const n=bt,r=document[n(255)](n(253));return r[n(225)]="adstage-ad adstage-"+String(t[n(214)])[n(252)](),r.setAttribute(n(240),e[n(186)]),r.setAttribute(n(196),t.id),r[n(236)][n(222)]=vt[n(188)](!0),vt[n(242)](r,e),r}static[bt(244)](t,e,n,r,s=!1){const o=bt,i=t[o(258)]&&0!==t[o(258)]&&t[o(258)]!==o(226),a=document[o(255)](o(253));a[o(225)]=o(191);const c={position:"relative",overflow:"hidden",display:o(256)};if(!i&&(c[o(258)]=o(226),c[o(204)]=o(234)),t[o(238)]&&0!==t[o(238)]){let e;e="string"==typeof t.width?t[o(238)][o(218)]("px")||t.width[o(218)]("%")?t[o(238)]:t[o(238)]+"px":t.width+"px",c[o(238)]=e}if(t[o(258)]&&0!==t[o(258)]&&"auto"!==t[o(258)]&&i){let e;e=typeof t[o(258)]===o(215)&&(t.height[o(218)]("px")||t[o(258)].includes("%"))?t[o(258)]:t[o(258)]+"px",c[o(258)]=e}Object[o(246)](c)[o(192)](([t,e])=>{const n=o;a.style[n(249)](t,e)});const d=document.createElement(o(253));d[o(225)]=o(209),d[o(236)].cssText=o(233)+o(i?203:259)+"\n ";let l=null;const u=!t[o(238)]||0===t.width,p=!t[o(258)]||0===t.height||void 0===t[o(258)]||t.height===o(226);if(u||p&&i){if(l=document.createElement(o(253)),l.style[o(222)]=o(217),!u&&t[o(238)]){let e;e=typeof t.width===o(215)&&(t[o(238)].includes("px")||t[o(238)][o(218)]("%"))?t.width:t[o(238)]+"px",l[o(236)][o(238)]=e,l[o(236)][o(243)]=o(211)}document.body[o(206)](l);let n=0,r=0;e[o(192)](e=>{const s=o,i=this[s(232)](t,e);l[s(206)](i);const a=i.getBoundingClientRect();a[s(238)]>n&&(n=a[s(238)]),a[s(258)]>r&&(r=a[s(258)]),l[s(194)](i)}),u&&n>0&&(a[o(236)].width=n+"px"),p&&r>0&&i&&(a[o(236)].height=r+"px"),document.body[o(194)](l)}const h=[];e[o(192)]((e,n)=>{const a=o,c=document[a(255)](a(253));c[a(225)]="adstage-fade-slide";const l=0===n,u=i?a(231):l?"relative":a(231);c.style[a(222)]=a(190)+u+";\n top: "+("absolute"===u?"0":a(226))+a(237)+("absolute"===u?"0":"auto")+a(219)+a(i?203:212)+"\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: "+(0===n?"1":"0")+";\n transform: translateY("+(0===n?"0":"20px")+a(216)+(0===n?"2":"1")+";\n ";const p=this[a(232)](t,e);Q.addClickEventForSlider(p,e,t,r,s,a(197)),c.appendChild(p),d[a(206)](c),h[a(247)](c)});let f=0;const g=e[o(230)],m=1e3*(n?.[o(202)]||4),y=n=>{const a=o;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!i&&(c.style[a(241)]===a(199)&&(c.style[a(241)]=a(231),c[a(236)][a(195)]="0",c[a(236)][a(254)]="0"),d[a(236)].position=a(199),d[a(236)].top=a(226),d[a(236)].left=a(226)),c[a(236)].opacity="0",c[a(236)].transform=a(227),c[a(236)].zIndex="1",d[a(236)][a(201)]="1",d[a(236)].transform="translateY(0)",d[a(236)][a(207)]="2",h.forEach((t,e)=>{const r=a;e!==n&&e!==f&&(t.style[r(201)]="0",t[r(236)][r(200)]=r(260),t[r(236)][r(207)]="1",!i&&t[r(236)][r(241)]===r(199)&&(t[r(236)][r(241)]=r(231),t[r(236)][r(195)]="0",t[r(236)][r(254)]="0"))}),f=n,Y[a(239)](e[f],t,f,r,s)};let I=setInterval(()=>{y(f+1)},m);return a.addEventListener(o(221),()=>{clearInterval(I)}),a[o(193)](o(228),()=>{I=setInterval(()=>{y(f+1)},m)}),Et.addTouchSupport(a,y,()=>f,g),a[o(206)](d),a}static[bt(223)](t,e,n,r){const s=bt;let o=0,i=0,a=!1;t.addEventListener("touchstart",t=>{const e=wt;o=t[e(220)][0][e(250)],i=t[e(220)][0].clientY,a=!0}),t[s(193)](s(248),t=>{a&&t[s(229)]()}),t[s(193)](s(205),t=>{const r=s;if(!a)return;a=!1;const c=t[r(257)][0].clientX,d=t[r(257)][0][r(224)],l=o-c,u=i-d;if(Math[r(187)](l)>Math[r(187)](u)&&Math[r(187)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}const xt=At;function St(){const t=[" with ","log","createElement","cssText","createTextTransitionContainer","renderMultipleAds","display","createTextAdStyles"," ads","100%","config","34024YUeDQM","99686syGgXd","✨ Text transition created for slot: ","number","Container not found: ","style","Text","228543fOavft","optimizedHeight","1171602DGdyTB","width","adstage-ad adstage-text-ad","debug","4OrcyWX","innerHTML","7169750MrUniO","setTextAdContent","getDefaultHeight","6AWCKkV","getElementById","webkitLineClamp","renderAdElement","height","overflow","60px","151265JsKhto","705531Dlwbzc","className","adstage-text-content","aspectRatio","appendChild","vertical","511GrSRwr","div","parentElement","containerId","TEXT","webkitBoxOrient","createEventTrackingCallback","maxLines","calculateAdSize"];return(St=function(){return t})()}function At(t,e){const n=St();return(At=function(t,e){return n[t-=260]})(t,e)}!function(t){const e=At,n=t();for(;;)try{if(189598===parseInt(e(311))/1+-parseInt(e(305))/2+-parseInt(e(278))/3*(parseInt(e(265))/4)+-parseInt(e(277))/5*(parseInt(e(270))/6)+parseInt(e(284))/7*(-parseInt(e(304))/8)+-parseInt(e(261))/9+parseInt(e(267))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(St);class Ct extends ut{constructor(t=!1,n){super(e[At(288)],t,n)}[xt(269)](){return xt(276)}async[xt(273)](t,e){const n=xt,r=document[n(271)](t.containerId);if(!r)return;const s=document.createElement(n(285));s[n(279)]=n(263);const o=t[n(260)],i=r[n(286)]||r;if(o)s.style[n(262)]=n(302),s.style[n(274)]=String(o);else{const e=t.config,r={width:e?.[n(262)],height:e?.[n(274)]},{width:o,height:a}=this[n(292)](i,r,{debug:this[n(264)]});s[n(309)].width=o,s[n(309)][n(274)]=a}const a=document[n(295)](n(285));a.className=n(280),a.style[n(296)]=vt[n(300)](!1),vt[n(268)](a,e);const c=t[n(303)]?.[n(291)];c&&typeof c===n(307)&&(a[n(309)][n(299)]="-webkit-box",a[n(309)][n(272)]=String(c),a[n(309)][n(289)]=n(283),a[n(309)][n(275)]="hidden"),s.appendChild(a),Q.addClickEventForRenderer(s,e,t,()=>this.createEventTrackingCallback(),this[n(264)],n(310)),r[n(266)]="",r[n(282)](s),this[n(264)]&&console.log("✨ Single text ad rendered: "+e._id)}async[xt(298)](t,e){const n=xt,r=document[n(271)](t[n(287)]);if(!r)throw new Error(n(308)+t[n(287)]);const s=this[n(290)](),o={autoSlideInterval:(t.config?.slideInterval||5e3)/1e3,...t[n(303)],optimizedHeight:t[n(260)],aspectRatio:t[n(281)]},i=Et[n(297)](t,e,o,s,this[n(264)]);i&&(r.innerHTML="",r.appendChild(i),this[n(264)]&&console[n(294)](n(306)+t.id+n(293)+e.length+n(301)))}}const Tt=Rt;function Rt(t,e){const n=Dt();return(Rt=function(t,e){return n[t-=423]})(t,e)}function Dt(){const t=["loadedmetadata","1576022lWwEMN","hideRemainingTime","img","🎬 Final video settings:","hideFullscreenButton","imageUrl","contain"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","src","Video fallback"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","disabled (default)","🎬 Video controls setting:","block","createElement","scale(1.1)","loop","renderVideoElementDirect","hideVolumeSlider","100%","hidePlayButton","debug","config","none","adstage-video-container","7tuxRcX","🎬 Video can play, attempting autoplay...","appendChild","autoplay","Video","stopPropagation","transform","🎬 Video element created for ad: ","\n position: absolute;\n top: 12px;\n left: 12px;\n width: 40px;\n height: 40px;\n border: none;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.7);\n color: white;\n font-size: 16px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10;\n transition: all 0.3s ease;\n backdrop-filter: blur(4px);\n ","style","video","preload","VIEWABLE","mouseenter",", muted: ","🎬 Trying muted autoplay fallback...","button"," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","log","🎬 Video data loaded, attempting autoplay...","3955044fIYgMF","360px","textContent"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","🎬 Video config received:","2115944uCYWza","createEventTrackingCallback","hideMuteButton","rgba(0, 0, 0, 0.7)","catch","\n video::-webkit-media-controls-play-button {\n display: ","loadeddata","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","9iQPUEx","title","div","🎬 Single video ad rendered: ","cssText","Container not found: ","renderAdElement","width","adstage-video-default-controls","error"," !important;\n }\n ","162684lgFpKm","hideControls","className","🎬 Autoplay completely failed:","Video thumbnail","🎬 Video metadata loaded, attempting autoplay...","mouseleave","alt","Video load failed:","141916aqirOw","unmuted","addEventListener","playsinline","\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n ","⚠️ No video advertisements available for slot: ","background","objectFit","🎬 Initial autoplay attempt after timeout..."," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","1194039mIpWTf","_id","hideCurrentTime","canplay","height",", loop: ","\n pointer-events: none;\n ","paused","🎬 Auto-play was prevented:","21NDokoz","customControls","videoUrl","relative","5FILLHo"," (autoplay: ","getElementById","🎬 User explicitly enabled controls, overriding default","🔊 Video mute toggled: ","play","display",'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/>\n </svg>\n ',"scale(1)","muted","addClickEventForRenderer","innerHTML","controls","6439700FQdQHD","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","warn"];return(Dt=function(){return t})()}!function(t){const e=Rt,n=t();for(;;)try{if(561602===parseInt(e(437))/1+parseInt(e(486))/2+parseInt(e(465))/3*(-parseInt(e(446))/4)+parseInt(e(469))/5*(parseInt(e(531))/6)+parseInt(e(511))/7*(-parseInt(e(536))/8)+parseInt(e(426))/9*(-parseInt(e(482))/10)+parseInt(e(456))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Dt);class Ut extends ut{constructor(t=!1,n){super(e.VIDEO,t,n)}getDefaultHeight(){return Rt(532)}async[Tt(432)](t,e){const n=Tt,r=document.getElementById(t.containerId);if(!r)return;const s=document.createElement("div");s.className=n(510),s[n(520)][n(430)]=n(483),this[n(503)](s,e,t),r.innerHTML="",r[n(513)](s),this[n(507)]&&console[n(529)](n(429)+e._id)}async renderMultipleAds(t,e){const n=Tt,r=document[n(471)](t.containerId);if(!r)throw new Error(n(431)+t.containerId);if(e.length>0){const s=e[0],o=document[n(500)](n(428));o[n(439)]="adstage-video-container",o[n(520)][n(430)]=n(425),this[n(503)](o,s,t),r[n(480)]="",r[n(513)](o);const i=this[n(537)]();setTimeout(()=>{const e=n;i(s[e(457)],t.id,a[e(523)])},100),this[n(507)]&&console[n(529)]("🎬 Single video rendered for VIDEO slot: "+t.id+" ("+s[n(457)]+")")}else this[n(507)]&&console[n(484)](n(451)+t.id)}[Tt(503)](t,e,n){const r=Tt;t[r(520)].position=r(468);const s=document[r(500)](r(521));s[r(520)].width="100%",s[r(520)].height="100%",s.style.objectFit=r(492),s[r(522)]="metadata";const o=n[r(508)];if(this.debug&&console[r(529)](r(535),o),s.controls=!1,s.autoplay=!1!==o?.[r(514)],s[r(478)]=!0,s.loop=!1!==o?.[r(502)],this[r(507)]&&console[r(529)](r(489),{autoplay:s[r(514)],muted:s[r(478)],loop:s[r(502)],controls:s[r(481)]}),!1!==o?.[r(449)]&&s.setAttribute(r(449),""),!0===o?.[r(481)]&&(s[r(481)]=!0,this[r(507)]&&console[r(529)](r(472))),o?.[r(438)])s[r(481)]=!1,s[r(520)][r(430)]+=r(462);else if(o?.[r(466)]){if(s[r(481)]){const t=document.createElement(r(520));t[r(533)]=r(423)+(o[r(466)][r(506)]?r(509):r(499))+r(534)+(o[r(466)].hideProgressBar?"none":r(499))+r(496)+(o[r(466)][r(458)]?"none":"block")+r(455)+(o.customControls[r(487)]?r(509):r(499))+" !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: "+(o[r(466)][r(504)]?r(509):r(499))+r(528)+(o[r(466)][r(538)]?r(509):"block")+r(493)+(o[r(466)][r(490)]?"none":r(499))+r(436),document.head[r(513)](t)}}else if(s[r(481)]){const t=document[r(500)](r(520));t.id=r(434),t[r(533)]=r(450),!document[r(471)](r(434))&&document.head[r(513)](t)}this[r(507)]&&console[r(529)](r(498),s[r(481)]?"enabled":r(497));const i=document[r(500)](r(527));i[r(439)]="adstage-video-mute-button",i.style[r(430)]=r(519),o?.[r(438)]&&(i.style[r(475)]="none");const a=()=>{const t=r,e=t(476);i[t(480)]=s[t(478)]?e:'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/>\n </svg>\n ',i[t(427)]=s[t(478)]?"Click to unmute":"Click to mute"};if(a(),i.addEventListener("click",t=>{const e=r;t[e(516)](),s[e(478)]=!s[e(478)],a(),this[e(507)]&&console[e(529)](e(473)+(s[e(478)]?e(478):e(447)))}),i[r(448)](r(524),()=>{const t=r;i[t(520)].background="rgba(0, 0, 0, 0.9)",i.style[t(517)]=t(501)}),i[r(448)](r(443),()=>{const t=r;i[t(520)][t(452)]=t(539),i.style[t(517)]=t(477)}),e[r(467)]){s[r(494)]=e.videoUrl;const t=()=>{const t=r;s[t(514)]&&s[t(478)]&&s[t(463)]&&s[t(474)]().catch(e=>{const n=t;this[n(507)]&&(console.warn(n(464),e),console[n(484)](n(526))),s.muted=!0,s[n(474)]()[n(540)](t=>{const e=n;this[e(507)]&&console[e(435)](e(440),t)})})};s[r(448)](r(485),()=>{const e=r;this[e(507)]&&console[e(529)](e(442)),t()}),s[r(448)](r(459),()=>{const e=r;this[e(507)]&&console[e(529)](e(512)),t()}),s[r(448)](r(424),()=>{const e=r;this[e(507)]&&console[e(529)](e(530)),t()}),setTimeout(()=>{const e=r;this[e(507)]&&console.log(e(454)),t()},100)}else if(e[r(491)]){const n=document[r(500)](r(488));return n[r(494)]=e.imageUrl,n[r(520)][r(433)]=r(505),n[r(520)].height=r(505),n.style[r(453)]=r(492),n[r(444)]=e.title||r(441),void t[r(513)](n)}Q.addClickEventForRenderer(s,e,n,()=>this.createEventTrackingCallback(),this[r(507)],r(515)),s[r(448)]("error",s=>{const o=r;if(console[o(435)](o(445),s),e.imageUrl){const r=document.createElement(o(488));r[o(494)]=e[o(491)],r[o(520)][o(433)]=o(505),r.style[o(460)]=o(505),r[o(520)][o(453)]=o(492),r[o(444)]=e[o(427)]||o(441),Q[o(479)](r,e,n,()=>this.createEventTrackingCallback(),this[o(507)],o(495)),t[o(480)]="",t.appendChild(r)}}),t[r(513)](s),t.appendChild(i),this[r(507)]&&console[r(529)](r(518)+e._id+r(470)+s.autoplay+r(525)+s[r(478)]+r(461)+s[r(502)]+")")}}const Lt=Bt;function Pt(){const t=["cssText","click","168957LCGUEF","createElement","328cdZIys","warn","mouseleave","2813005PBxgSg","src","alt","textContent","addEventListener","13834eSHFmN","Native Advertisement","title","700JaCcOb","backgroundColor","getDefaultHeight","1849030PejPPv","log","\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n padding: 16px;\n background: #fff;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n ","⚠️ No native advertisements available for slot: ","adstage-ad adstage-native-ad","innerHTML","open","style","2FqYdIb","Learn More","\n padding: 8px 16px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 6px;\n font-size: 14px;\n font-weight: 500;\n cursor: pointer;\n align-self: flex-start;\n transition: background-color 0.2s;\n ","getElementById","): ","appendChild","div","200px","containerId","renderAdElement","19482XpvVbR","linkUrl","Native click tracked for ad: ","_id","className","imageUrl","🏠 Single native ad rendered: ","1891533WcTzcJ","NATIVE","#3b82f6","188160aLTvOB","debug","33knlhQx"];return(Pt=function(){return t})()}function Bt(t,e){const n=Pt();return(Bt=function(t,e){return n[t-=275]})(t,e)}!function(t){const e=Bt,n=t();for(;;)try{if(574388===-parseInt(e(306))/1*(-parseInt(e(292))/2)+parseInt(e(323))/3+-parseInt(e(277))/4+-parseInt(e(287))/5+-parseInt(e(316))/6*(-parseInt(e(295))/7)+parseInt(e(284))/8*(parseInt(e(282))/9)+-parseInt(e(298))/10*(parseInt(e(279))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Pt);class _t extends ut{constructor(t=!1,n){super(e[Bt(275)],t,n)}[Lt(297)](){return Lt(313)}async[Lt(315)](t,e){const n=Lt,r=document[n(309)](t[n(314)]);if(!r)return;const s=document[n(283)]("div");if(s[n(320)]=n(302),s[n(305)][n(280)]=n(300),e[n(294)]){const t=document.createElement("h3");t.textContent=e[n(294)],t[n(305)][n(280)]="\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ",s[n(311)](t)}if(e.textContent){const t=document[n(283)]("p");t[n(290)]=e[n(290)],t.style.cssText="\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ",s[n(311)](t)}if(e[n(321)]){const t=document.createElement(n(312));t[n(305)].cssText="\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ";const r=document[n(283)]("img");r[n(288)]=e[n(321)],r[n(289)]=e[n(294)]||n(293),r[n(305)].cssText="\n width: 100%;\n height: 100%;\n object-fit: cover;\n ",t[n(311)](r),s[n(311)](t)}if(e.linkUrl){const t=document[n(283)]("button");t[n(290)]=n(307),t.style[n(280)]=n(308),t[n(291)](n(281),()=>{const t=n;this.advertisementEventTracker&&console.log(t(318)+e[t(319)]),window[t(304)](e[t(317)],"_blank")}),t[n(291)]("mouseenter",()=>{t[n(305)].backgroundColor="#2563eb"}),t.addEventListener(n(286),()=>{const e=n;t[e(305)][e(296)]=e(276)}),s[n(311)](t)}r[n(303)]="",r[n(311)](s),this[n(278)]&&console[n(299)](n(322)+e[n(319)])}async renderMultipleAds(t,e){const n=Lt;e.length>0?(await this[n(315)](t,e[0]),this[n(278)]&&console[n(299)]("🏠 Native ad rendered (first of "+e.length+n(310)+t.id)):this[n(278)]&&console[n(285)](n(301)+t.id)}}const zt=Mt;function Mt(t,e){const n=Nt();return(Mt=function(t,e){return n[t-=270]})(t,e)}function Nt(){const t=["className","3831176VnReoY","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","#f3f4f6","animation","open","\n position: relative;\n max-width: 90vw;\n max-height: 90vh;\n background: white;\n border-radius: 12px;\n padding: 24px;\n box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);\n animation: slideUp 0.3s ease-out;\n overflow: auto;\n ","400px","renderAdElement","click","3FyVTcU","title","removeEventListener","parentNode","): ","mouseenter","style","div","🖼️ Interstitial ad closed","adstage-interstitial-styles","\n width: 100%;\n padding: 12px 24px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 8px;\n font-size: 16px;\n font-weight: 600;\n cursor: pointer;\n transition: background-color 0.2s;\n ","🖼️ Interstitial ad rendered: ","\n position: absolute;\n top: 12px;\n right: 12px;\n width: 32px;\n height: 32px;\n border: none;\n background: #f3f4f6;\n color: #6b7280;\n font-size: 20px;\n font-weight: bold;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s;\n ","closeInterstitial","#2563eb","414142QRNCyd","appendChild","alt","_blank","mouseleave","getDefaultHeight","removeChild","addEventListener","Interstitial Advertisement","textContent","⚠️ No interstitial advertisements available for slot: ","2216550nhErdd","button","length","#3b82f6","cssText","763928MNXyrt","_id","src","Interstitial click tracked for ad: ","renderMultipleAds","2096994YiHtRa","keydown","backgroundColor","innerHTML","body","log","linkUrl","key","1691300KzGEdT","createElement","color","imageUrl","Get Started","Escape","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","advertisementEventTracker","fadeOut 0.3s ease-out forwards","debug","86304SFgAuO","\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n }\n ","\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10000;\n animation: fadeIn 0.3s ease-out;\n ","getElementById"];return(Nt=function(){return t})()}!function(t){const e=Mt,n=t();for(;;)try{if(213763===parseInt(e(304))/1+-parseInt(e(333))/2+-parseInt(e(318))/3*(parseInt(e(281))/4)+parseInt(e(294))/5+parseInt(e(286))/6+parseInt(e(276))/7+-parseInt(e(309))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Nt);class Ot extends ut{constructor(t=!1,n){super(e.INTERSTITIAL,t,n)}[zt(270)](){return zt(315)}async[zt(316)](t,e){const n=zt;if(!document.getElementById(t.containerId))return;const r=document[n(295)](n(325));r[n(308)]="adstage-interstitial-overlay",r[n(324)][n(280)]=n(306);const s=document.createElement(n(325));s[n(308)]="adstage-interstitial-content",s[n(324)][n(280)]=n(314);const o=document[n(295)]("button");if(o[n(289)]="×",o.style[n(280)]=n(330),o[n(272)](n(317),()=>{this[n(331)](r)}),o.addEventListener(n(323),()=>{const t=n;o.style[t(288)]="#e5e7eb",o.style[t(296)]="#374151"}),o[n(272)](n(337),()=>{const t=n;o[t(324)][t(288)]=t(311),o.style[t(296)]="#6b7280"}),e[n(297)]){const t=document.createElement("img");t[n(283)]=e[n(297)],t[n(335)]=e.title||n(273),t.style[n(280)]="\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ",s[n(334)](t)}if(e[n(319)]){const t=document[n(295)]("h2");t[n(274)]=e[n(319)],t[n(324)][n(280)]=n(300),s[n(334)](t)}if(e[n(274)]){const t=document[n(295)]("p");t[n(274)]=e.textContent,t[n(324)].cssText=n(310),s[n(334)](t)}if(e.linkUrl){const t=document[n(295)](n(277));t.textContent=n(298),t.style[n(280)]=n(328),t[n(272)]("click",()=>{const t=n;this[t(301)]&&console[t(291)](t(284)+e[t(282)]),window[t(313)](e[t(292)],t(336)),this[t(331)](r)}),t[n(272)](n(323),()=>{const e=n;t[e(324)][e(288)]=e(332)}),t.addEventListener("mouseleave",()=>{const e=n;t.style[e(288)]=e(279)}),s[n(334)](t)}const i=t=>{const e=n;t[e(293)]===e(299)&&(this.closeInterstitial(r),document[e(320)]("keydown",i))};if(document[n(272)](n(287),i),r[n(272)](n(317),t=>{const e=n;t.target===r&&this[e(331)](r)}),!document[n(307)](n(327))){const t=document[n(295)](n(324));t.id=n(327),t[n(274)]=n(305),document.head[n(334)](t)}s[n(334)](o),r.appendChild(s),document[n(290)].appendChild(r),this.debug&&console[n(291)](n(329)+e._id)}async[zt(285)](t,e){const n=zt;e.length>0?(await this[n(316)](t,e[0]),this.debug&&console.log("🖼️ Interstitial ad rendered (first of "+e[n(278)]+n(322)+t.id)):this.debug&&console.warn(n(275)+t.id)}[zt(331)](t){const e=zt;t.style[e(312)]=e(302),setTimeout(()=>{const n=e;t[n(321)]&&t[n(321)][n(271)](t)},300),this[e(303)]&&console[e(291)](e(326))}}const Vt=jt;function Ft(){const t=["div","renderOptimizedBannerImage is only supported for BANNER ads","13330jpqEKy","setAttribute","1px dashed #ccc","toLowerCase","width","getDefaultHeight","4MLAZeW","renderMultipleAds","59279SVodlg","videoUrl","src","36bhbfxz","12nbMecO"," renderers","data-adstage-ad-id","8px","renderAdSlider","getDefaultHeightForAdType","renderFallback","838184Lkpbvw","advertisement","className","img","video","debug","12mYFAFm","BANNER","calculateAdSize","set","textContent","111342EXQUmL","⚠️ Container optimization is only supported for BANNER ads, got: ","renderers","TEXT","[AdRenderer] ","style","height","initializeRenderers","313810iovdJZ"," Ad","optimizeContainerForBannerAds","970CGZpTw","imageUrl","naturalWidth","appendChild","_id","border","createElement","cover","block","Failed to load image: ","padding","getRenderer","132NTbBIU","VIDEO","createAdElement","size","INTERSTITIAL","get","backgroundColor","objectFit","calculateOptimalContainerSize","adType","5336162iCZofl","356691JTVMOs","100%","createPlaceholder","onerror","log","advertisementEventTracker","adstage-ad adstage-","No advertisement to render"];return(Ft=function(){return t})()}function jt(t,e){const n=Ft();return(jt=function(t,e){return n[t-=465]})(t,e)}!function(t){const e=jt,n=t();for(;;)try{if(545258===-parseInt(e(497))/1+parseInt(e(507))/2*(parseInt(e(486))/3)+parseInt(e(513))/4*(parseInt(e(471))/5)+parseInt(e(532))/6*(parseInt(e(537))/7)+parseInt(e(526))/8*(-parseInt(e(518))/9)+-parseInt(e(474))/10*(-parseInt(e(515))/11)+parseInt(e(519))/12*(parseInt(e(496))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ft);class Ht{constructor(t=!1,e){const n=jt;this[n(465)]=new Map,this.debug=t,this[n(502)]=e||null,this[n(470)]()}[Vt(470)](){const t=Vt;this[t(465)][t(535)](e[t(533)],new gt(this[t(531)],this.advertisementEventTracker)),this[t(465)][t(535)](e[t(466)],new Ct(this[t(531)],this.advertisementEventTracker)),this[t(465)].set(e[t(487)],new Ut(this[t(531)],this[t(502)])),this[t(465)].set(e.NATIVE,new _t(this[t(531)],this.advertisementEventTracker)),this[t(465)].set(e[t(490)],new Ot(this[t(531)],this[t(502)])),this[t(531)]&&console.log("🏭 AdRenderer factory initialized with "+this[t(465)][t(489)]+t(520))}[Vt(488)](t,n){const r=Vt,s=this.getRenderer(t[r(495)]),o=document[r(480)](r(505));o[r(528)]=r(503)+String(t[r(495)])[r(510)](),o[r(508)](r(521),n[r(478)]),o[r(508)]("data-adstage-slot-id",t.id);const{width:i,height:a}=s[r(534)](o,t.config||{},n);switch(o[r(468)][r(511)]=i,o[r(468)][r(469)]=a,o[r(468)].display=r(482),t[r(495)]){case e[r(533)]:if(n[r(475)]){const t=document[r(480)](r(529));t[r(517)]=n[r(475)],t[r(468)][r(511)]=r(498),t.style[r(469)]=r(498),t.style[r(493)]=r(481),o.appendChild(t)}break;case e[r(487)]:if(n[r(516)]){const t=document.createElement(r(530));t[r(517)]=n[r(516)],t.style.width=r(498),t[r(468)][r(469)]="100%",o.appendChild(t)}break;case e[r(466)]:if(n[r(536)]){const t=document[r(480)](r(505));t[r(536)]=n[r(536)]||"",t[r(468)][r(484)]=r(522),o[r(477)](t)}break;default:o[r(468)][r(479)]=r(509),o[r(468)][r(492)]="#f9f9f9",o[r(536)]=t.adType+r(472)}return o}[Vt(485)](t){const e=Vt,n=this.renderers[e(491)](t);if(!n)throw new Error("No renderer found for ad type: "+t);return n}createPlaceholder(t,e,n,r,s){const o=Vt;this[o(485)](n)[o(499)](t,e,r,s)}async[Vt(473)](t,n){const r=Vt;if(t.adType!==e[r(533)])return void(this[r(531)]&&console.warn(r(538)+t[r(495)]));const s=this[r(485)](e.BANNER);await s[r(473)](t,n)}async[Vt(523)](t,e){const n=Vt,r=this[n(485)](t[n(495)]);await r[n(514)](t,e)}async renderAd(t){const e=Vt;if(!t[e(527)])throw new Error(e(504));const n=this[e(485)](t[e(495)]);await n.renderAdElement(t,t.advertisement),t.isLoaded=!0}async renderAdElement(t,e){const n=Vt,r=this[n(485)](t[n(495)]);await r.renderAdElement(t,e)}[Vt(525)](t){const e=Vt;this[e(485)](t.adType)[e(525)](t)}[Vt(524)](t){const e=Vt;return this[e(485)](t)[e(512)]()}[Vt(534)](t,e,n,r){return this[Vt(485)](e).calculateAdSize(t,n,r)}loadImageDimensions(t){return new Promise((e,n)=>{const r=jt,s=new Image;s.onload=()=>{e({width:s[jt(476)],height:s.naturalHeight})},s[r(500)]=()=>{n(new Error(r(483)+t))},s.src=t})}async renderOptimizedBannerImage(t,n,r){const s=Vt;if(r.adType!==e[s(533)])throw new Error(s(506));const o=this[s(485)](e[s(533)]);return await o.renderOptimizedBannerImage(t,n,r)}async[Vt(494)](t,n,r){const s=Vt;if(r!==e[s(533)]){return{width:"100%",height:this[s(485)](r).getDefaultHeight(),aspectRatio:16/9}}const o=this[s(485)](e[s(533)]);return await o[s(494)](t,n)}[Vt(501)](t,...e){const n=Vt;this[n(531)]&&console[n(501)](n(467)+t,...e)}}const Kt=Wt;function Wt(t,e){const n=Xt();return(Wt=function(t,e){return n[t-=321]})(t,e)}!function(t){const e=Wt,n=t();for(;;)try{if(269571===parseInt(e(444))/1*(parseInt(e(358))/2)+parseInt(e(348))/3+parseInt(e(418))/4*(-parseInt(e(433))/5)+-parseInt(e(334))/6+-parseInt(e(327))/7+-parseInt(e(451))/8+parseInt(e(445))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Xt);class Gt{constructor(){const t=Wt;this[t(391)]=!1,this[t(385)]=null,this[t(434)]=new Map,this[t(330)]=null,this[t(366)]=null,this[t(373)]=null}[Kt(323)](t){const e=Kt;this[e(385)]=t,this[e(330)]=new _(G.getBaseUrl(),t[e(335)],t[e(393)]||!1,this[e(434)]),this[e(366)]=new Ht(t.debug||!1,this[e(330)]),this.setupAutoCleanup(),this[e(391)]=!0,t[e(393)]&&console[e(447)]("🎯 Ads module initialized (sync mode) with auto-cleanup")}[Kt(421)](){return this[Kt(391)]}getConfig(){return this[Kt(385)]}[Kt(333)](t,n){const r=Kt;this[r(368)]();const s={width:n?.[r(324)]||r(322),height:n?.[r(399)]||r(343),autoSlide:n?.[r(412)]||!1,slideInterval:n?.[r(376)]||5e3,onClick:n?.[r(448)],adId:n?.[r(416)],language:n?.language,deviceType:n?.[r(371)],country:n?.country};return this[r(381)](t,e.BANNER,s)}[Kt(325)](t,n){const r=Kt;this[r(368)]();const s={maxLines:n?.[r(402)]||3,style:n?.style||r(415),onClick:n?.[r(448)],adId:n?.adId,language:n?.language,deviceType:n?.[r(371)],country:n?.[r(411)]};return this.createAd(t,e.TEXT,s)}[Kt(420)](t,n){const r=Kt;this[r(368)]();const s={width:n?.[r(324)]||640,height:n?.height||360,autoplay:void 0===n?.[r(357)]||n[r(357)],muted:void 0===n?.[r(326)]||n.muted,loop:void 0===n?.loop||n[r(374)],playsinline:!1!==n?.[r(404)],controls:void 0!==n?.controls&&n[r(435)],hideControls:n?.hideControls||!1,customControls:n?.customControls,autoSlide:!1,maxAds:1,onClick:n?.[r(448)],...n?.[r(416)]&&{adId:n[r(416)]}};return this[r(381)](t,e.VIDEO,s)}[Kt(359)](t,n){const r=Kt;return this[r(368)](),this[r(381)](t,e.NATIVE,n||{})}[Kt(408)](t,n){const r=Kt;return this[r(368)](),this[r(381)](t,e[r(414)],n||{})}[Kt(419)](t){const e=Kt;this[e(368)]();const n=this[e(434)][e(360)](t);if(!n)throw new Error(e(328)+t);this.refreshAdSlot(n),this._config?.[e(393)]&&console.log(e(388)+t)}destroy(t){const e=Kt;this.ensureReady();const n=this[e(434)][e(360)](t);if(!n)throw new Error(e(328)+t);n.viewabilityTracker&&n[e(321)][e(389)]();const r=document[e(431)](n[e(370)]);r&&(r.innerHTML=""),this[e(434)][e(346)](t),this[e(385)]?.[e(393)]&&console.log("🗑️ Ad slot destroyed: "+t)}getAllSlots(){const t=Kt;return this.ensureReady(),Array[t(364)](this[t(434)][t(386)]())}[Kt(450)](t){const e=Kt;return this[e(368)](),this[e(434)][e(360)](t)||null}[Kt(381)](t,e,n){const r=Kt;if(!this._config?.[r(335)])throw new Error(r(345));const s=r(380)+e+"-"+Date[r(440)]()+"-"+Math.random()[r(342)](36)[r(349)](2,9);return this[r(452)](t,e,n,s,0),s}async[Kt(452)](t,e,n,r,s){const o=Kt,i=[0,50,100,200,500];let a,c=null;if("string"==typeof t){if(a=t,c=document[o(431)](t),!c)return s<4?(this._config?.[o(393)]&&console[o(396)]("Container not found: "+t+". Retrying in "+i[s+1]+o(344)+(s+1)+"/5)"),void setTimeout(()=>{this[o(452)](t,e,n,r,s+1)},i[s+1])):void console[o(336)](o(410)+5+o(397)+t)}else c=t,a=c.id||o(439)+r,!c.id&&(c.id=a);try{this.createAdInternal(a,e,n,r,c)}catch(t){console[o(336)]("광고 생성 중 오류 발생:",t)}}createAdInternal(t,n,r,s,o){const i=Kt;o[i(407)](i(424),s),this[i(366)]?.[i(340)](o,s,n,r,this._config);const a={id:s,containerId:t,adType:n,width:r.width||"100%",height:r[i(399)]||(n===e.TEXT?i(343):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...r},load:async()=>this[i(423)](n,r).then(t=>t[0]||null),render:t=>this.adRenderer?.[i(426)](a,t),refresh:async()=>this.refreshAdSlot(a),destroy:()=>this[i(389)](s)};this[i(434)][i(425)](s,a),this[i(363)](a),this[i(330)]&&this._config?.[i(393)]&&console[i(447)](i(362)+s)}async[Kt(363)](t){const n=Kt;try{const r=await this.fetchAdData(t[n(401)],t[n(449)]);if(!r||0===r.length)return void this.adRenderer?.renderFallback(t);t[n(401)]===e[n(332)]&&r[n(428)]>0&&await(this[n(366)]?.[n(413)](t,r)),r[n(428)]>1||t.config?.autoSlide?(await(this[n(366)]?.[n(400)](t,r)),this[n(385)]?.debug&&console.log(n(337)+r[n(428)]+n(437))):(t[n(442)]=r[0],await(this[n(366)]?.renderAdElement(t,r[0])),this[n(379)](t,r[0])),t[n(443)]=!0,this[n(385)]?.[n(393)]&&console[n(447)]("✅ Ad loaded for slot: "+t.id+" ("+r[n(428)]+n(446))}catch(e){console[n(336)](n(347)+t.id,e),this.adRenderer?.[n(384)](t)}}[Kt(379)](t,e){const n=(r=0)=>{const s=Wt,o=document[s(431)](t.id);if(!o)return void(r<5?(setTimeout(()=>n(r+1),300),this._config?.[s(393)]&&console.log(s(427)+t.id+" (attempt "+(r+1)+")")):console.warn(s(417)+t.id));const i=new O(o,async()=>{await this.handleViewableEvent(e,t)});t[s(321)]=i,this[s(385)]?.[s(393)]&&console[s(447)]("🎯 Simple viewability tracking started for slot: "+t.id+s(354))};n()}async[Kt(398)](t,e){const n=Kt;try{this[n(330)]&&(await this.advertisementEventTracker[n(329)](t[n(377)],e.id,a[n(352)]),this[n(385)]?.[n(393)]&&console[n(447)](n(341)+t[n(377)]))}catch(t){console[n(336)](n(454),t)}}async[Kt(423)](t,e){const n=Kt;if(!this[n(385)]?.apiKey)throw new Error(n(345));if(e.adId){const t=""+G.advertisements[n(375)](e[n(416)]),r=await fetch(t,{method:n(331),headers:U[n(353)](this[n(385)][n(335)])});if(!r.ok){if(404===r[n(436)])return console[n(396)]("🚫 Advertisement not found with ID: "+e[n(416)]),[];throw new Error(n(387)+r.status)}const s=await r[n(390)]();return this._config?.[n(393)]&&console[n(447)](n(432)+e[n(416)],s),[s]}const r=new URLSearchParams;r.append(n(401),t),e[n(392)]&&r[n(339)](n(392),e[n(392)]),e[n(371)]&&r[n(339)]("deviceType",e.deviceType),e[n(411)]&&r[n(339)](n(411),e[n(411)]);const s=G[n(441)][n(351)]()+"?"+r[n(342)](),o=await fetch(s,{method:"GET",headers:U[n(353)](this[n(385)][n(335)])});if(!o.ok)throw new Error("Failed to fetch ad data: "+o[n(436)]);const i=(await o.json())[n(441)]||[];return this[n(385)]?.[n(393)]&&console[n(447)]("📊 Fetched "+i.length+" ads for type: "+t+", filters:",{language:e[n(392)],deviceType:e.deviceType,country:e.country}),i}async refreshAdSlot(t){const e=Kt;try{const n=await this[e(423)](t[e(401)],t.config||{});n&&n[e(428)]>0&&(t[e(442)]=n[0],await(this.adRenderer?.[e(430)](t)),this[e(330)]&&console[e(447)](e(367),t.id))}catch(n){console[e(336)](e(383)+t.id,n)}}[Kt(368)](){const t=Kt;if(!this[t(391)])throw new Error(t(365))}[Kt(355)](){const t=Kt;"undefined"!=typeof window&&typeof document!==t(453)&&(this[t(373)]&&this[t(373)][t(338)](),this.mutationObserver=new MutationObserver(e=>{const n=t;e[n(361)](t=>{const e=n;t[e(372)][e(361)](t=>{const n=e;t[n(429)]===Node[n(378)]&&this[n(422)](t)})})}),this[t(373)][t(405)](document[t(395)],{childList:!0,subtree:!0}),this[t(385)]?.[t(393)]&&console.log(t(356)))}[Kt(422)](t){const e=Kt,n=t.getAttribute(e(424));if(n)return void this[e(409)](n);t[e(382)](e(369))[e(361)](t=>{const n=e,r=t.getAttribute(n(424));r&&this[n(409)](r)})}[Kt(409)](t){const e=Kt;if(this[e(434)][e(360)](t))try{this[e(434)][e(346)](t),this._config?.[e(393)]&&console[e(447)](e(406)+t+e(350))}catch(n){this[e(385)]?.[e(393)]&&console[e(396)]("Auto-cleanup failed for slot "+t+":",n)}}[Kt(403)](){const t=Kt,e=this[t(385)]?.[t(393)];this[t(373)]&&(this[t(373)][t(338)](),this[t(373)]=null),this[t(434)][t(438)](),this[t(330)]=null,this[t(366)]=null,this[t(391)]=!1,this._config=null,e&&console[t(447)](t(394))}}function Xt(){const t=["banner","538968SkDNGN","apiKey","error","🎠 Slider will handle VIEWABLE events for ","disconnect","append","createPlaceholder","✅ Simple viewable impression tracked for ad ","toString","auto","ms... (attempt ","API key not configured","delete","❌ Failed to load ad for slot: ","371724YBDxAc","substr"," removed","list","VIEWABLE","create"," (element found)","setupAutoCleanup","🔍 Auto-cleanup MutationObserver enabled","autoplay","586156VLsCal","native","get","forEach","📊 Advertisement event tracking enabled for slot: ","loadAdContentInBackground","from","Ads module not initialized. Call AdStage.init() first.","adRenderer","New advertisement viewable tracked for slot:","ensureReady","[data-adstage-slot-id]","containerId","deviceType","removedNodes","mutationObserver","loop","detail","slideInterval","_id","ELEMENT_NODE","startSimpleViewabilityTracking","adstage-","createAd","querySelectorAll","Failed to refresh ad slot: ","renderFallback","_config","values","Failed to fetch ad data: ","🔄 Ad slot refreshed: ","destroy","json","_isReady","language","debug","🗑️ Ads module destroyed","body","warn"," attempts: ","handleViewableEvent","height","renderAdSlider","adType","maxLines","destroyModule","playsinline","observe","🧹 Auto-cleanup: slot ","setAttribute","interstitial","autoDestroy","Container not found after ","country","autoSlide","optimizeContainerForBannerAds","INTERSTITIAL","default","adId","❌ Failed to find element for viewability tracking: ","422908AObljb","refresh","video","isReady","handleRemovedElement","fetchAdData","data-adstage-slot-id","set","renderAdElement","🔄 Retrying viewability tracking for slot: ","length","nodeType","renderAd","getElementById","📊 Fetched specific ad with ID: ","5rtkqtx","slots","controls","status"," ads automatically","clear","auto-","now","advertisements","advertisement","isLoaded","1wvWGve","4505580BViOUY"," ads)","log","onClick","config","getSlotById","3310888vFxEAH","createAdWithRetry","undefined","❌ Failed to track viewable impression:","viewabilityTracker","100%","init","width","text","muted","270333VuUzni","Ad slot not found: ","trackAdvertisementEvent","advertisementEventTracker","GET","BANNER"];return(Xt=function(){return t})()}var Jt=qt;function Yt(){var t=["updateConfig","✅ Config module initialized (sync mode)","61280PKZFZh","4226576XaehSL","isDebugMode","_isReady","includes","init","862728qPPIUb","ads","events","apiKey","setBaseUrl","debug","21sZSbnk","API key not available","isReady","126032vbdjJs","modules","_organizationInfo","getApiEndpoint","config","1604466DQcTXG","isModuleEnabled","baseUrl","log","_config","Config module not initialized","create","getConfig","503825rJGccs","101241UiUGfb","getBaseUrl","development"];return(Yt=function(){return t})()}function qt(t,e){var n=Yt();return(qt=function(t,e){return n[t-=338]})(t,e)}!function(t){for(var e=qt,n=t();;)try{if(153237===-parseInt(e(355))/1+-parseInt(e(340))/2*(parseInt(e(352))/3)+-parseInt(e(346))/4+-parseInt(e(368))/5+parseInt(e(360))/6+parseInt(e(369))/7+parseInt(e(341))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Yt);class Zt{constructor(){var t=qt;this[t(343)]=!1,this[t(364)]=null,this._organizationInfo=null}[Jt(345)](t){var e=Jt;this[e(364)]={timeout:3e4,debug:!1,modules:[e(347),e(348),e(359)],...t},t[e(362)]&&G[e(350)](t.baseUrl),this[e(343)]=!0,t[e(351)]&&console[e(363)](e(339),{modules:this[e(364)][e(356)],endpoint:G[e(370)](),mode:e(371)})}[Jt(354)](){return this[Jt(343)]}[Jt(367)](){return this[Jt(364)]}getOrganizationInfo(){return this[Jt(357)]}[Jt(358)](){return G[Jt(370)]()}[Jt(342)](){var t=Jt;return this._config?.[t(351)]||!1}getEnabledModules(){var t=Jt;return this[t(364)]?.[t(356)]||[]}[Jt(361)](t){var e=Jt;return this.getEnabledModules()[e(344)](t)}[Jt(338)](t){var e=Jt;if(!this._config)throw new Error(e(365));this[e(364)]={...this[e(364)],...t},this[e(342)]()&&console.log("🔄 Config updated",t)}getApiHeaders(){var t=Jt;if(!this._config?.apiKey)throw new Error(t(353));return U[t(366)](this[t(364)][t(349)])}}const Qt=$t;function $t(t,e){const n=te();return($t=function(t,e){return n[t-=428]})(t,e)}function te(){const t=["tablet","ko-KR","mapPlatformForEvents","1612870UwaRXB","Mobile Web","getDetailedInfo","_userProvidedDeviceInfo","desktop","0x0","web","Desktop Web","getViewportInfo","height","5271832oulmsE","8881760ryPtgl","width","22822VgsxVM","setDeviceInfo","toLowerCase","language","isBrowser","60XdLRxl","iOS","getPlatform","Android","platform","getAutoDetectedDeviceInfo","101ossgkX","ios","getDeviceInfo","clearDeviceInfo","126882HVVEcL","37243950CYkwzM","3GUJiga","mobile","SSR","other","userAgent","9441846szhfQU","isMobile","setDeviceProperty","cookieEnabled"];return(te=function(){return t})()}!function(t){const e=$t,n=t();for(;;)try{if(928742===-parseInt(e(457))/1*(-parseInt(e(446))/2)+parseInt(e(463))/3*(parseInt(e(443))/4)+-parseInt(e(451))/5*(-parseInt(e(461))/6)+-parseInt(e(433))/7+parseInt(e(444))/8+parseInt(e(468))/9+-parseInt(e(462))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(te);class ee{static[Qt(459)](){const t=Qt;return{...ee[t(456)](),...ee[t(436)]}}static[Qt(456)](){const t=Qt;if(!I[t(450)]())return{category:t(466),platform:t(465),model:t(465),osVersion:t(465)};const e=navigator.userAgent[t(448)]();let n=t(437);/tablet|ipad/.test(e)?n=t(430):C[t(469)]()&&(n=t(464));const r=C[t(453)]();return{category:n,platform:ee[t(432)](r),model:navigator[t(455)],osVersion:navigator[t(455)]}}static[Qt(447)](t){const e=Qt;ee[e(436)]={...ee[e(436)],...t}}static[Qt(428)](t,e){ee[Qt(436)][t]=e}static[Qt(460)](){ee[Qt(436)]={}}static getUserDeviceInfo(){return{...ee[Qt(436)]}}static[Qt(432)](t){const e=Qt;switch(t){case e(458):return e(452);case"android":return e(454);case e(439):return e(434);case e(437):return e(440);default:return"Unknown"}}static[Qt(435)](){const t=Qt;if(!I[t(450)]())return{userAgent:t(465),language:t(431),platform:t(465),cookieEnabled:!1,onLine:!0,screenResolution:t(438),viewportSize:t(438)};const e=I[t(441)]();return{userAgent:navigator[t(467)],language:navigator[t(449)]||t(431),platform:navigator.platform,cookieEnabled:navigator[t(429)],onLine:navigator.onLine,screenResolution:screen[t(445)]+"x"+screen[t(442)],viewportSize:e[t(445)]+"x"+e[t(442)]}}}ee[Qt(436)]={};const ne=re;function re(t,e){const n=se();return(re=function(t,e){return n[t-=305]})(t,e)}function se(){const t=["UTC","3220602uuRFKM","1322324PKEriI","getBaseUserInfo","1994140NljtRe","timeZone","resolvedOptions","getUserInfo","setUserProperty","DateTimeFormat","1346432wNJgUc","1389OEdqUP","18XDgVQs","isBrowser","setUserProperties","_userProperties","ko-KR","45IHnNZg","clearUserProperties","19524eHWgvA","estimateLocation","66UnwpUY","extractCountryFromLanguage","1avCRYE","4236hysXDm","87858VjgDTY","split"];return(se=function(){return t})()}!function(t){const e=re,n=t();for(;;)try{if(522432===-parseInt(e(305))/1*(-parseInt(e(311))/2)+parseInt(e(320))/3*(-parseInt(e(306))/4)+parseInt(e(326))/5*(parseInt(e(307))/6)+parseInt(e(310))/7+parseInt(e(319))/8+-parseInt(e(321))/9*(parseInt(e(313))/10)+parseInt(e(330))/11*(-parseInt(e(328))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(se);class oe{static[ne(316)](){const t=ne;return{...oe[t(312)](),...oe[t(324)]}}static getBaseUserInfo(){const t=ne;if(!I[t(322)]())return{language:t(325),country:"KR"};const e=navigator.language||t(325);return{language:e,country:oe[t(331)](e)}}static[ne(331)](t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t[ne(308)]("-")[0]]||"KR"}static[ne(323)](t){const e=ne;oe[e(324)]={...oe[e(324)],...t}}static[ne(317)](t,e){oe._userProperties[t]=e}static[ne(327)](){oe[ne(324)]={}}static getCurrentUserProperties(){return{...oe[ne(324)]}}static[ne(329)](){const t=ne;if(!I[t(322)]())return{timezone:t(309),estimatedCountry:"KR"};const e=Intl[t(318)]()[t(315)]()[t(314)];return{timezone:e,estimatedCountry:{"Asia/Seoul":"KR","Asia/Tokyo":"JP","Asia/Shanghai":"CN","Asia/Hong_Kong":"HK","Asia/Taipei":"TW","America/New_York":"US","America/Los_Angeles":"US","Europe/London":"GB","Europe/Berlin":"DE","Europe/Paris":"FR"}[e]||"KR"}}}oe[ne(324)]={};const ie=ae;function ae(t,e){const n=ce();return(ae=function(t,e){return n[t-=341]})(t,e)}function ce(){const t=["1orxjjG","isNewSession","460dmwlCM","_userId","getSessionInfo","5EZsCyJ","isBrowser","ssr_session_","adstage_user_id","clearUserId","2110488tdyOey","getSessionStats","2197398odenIV","2176924fdRuQP","toString","2229780yNxgYB","_sessionStartTime","138758ggIsKB","getItem","isSessionExpired","getSessionId","removeItem","substr","random","setItem","adstage_session_start","setUserId","adstage_session_id","now","getUserId","getSessionDuration","408501IRHlpu","4267788EAlsOG"];return(ce=function(){return t})()}!function(t){const e=ae,n=t();for(;;)try{if(378711===parseInt(e(344))/1*(parseInt(e(361))/2)+-parseInt(e(356))/3+-parseInt(e(357))/4*(parseInt(e(349))/5)+parseInt(e(359))/6+-parseInt(e(343))/7+-parseInt(e(354))/8+parseInt(e(342))/9*(parseInt(e(346))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ce);class de{static getSessionId(){const t=ae;if(!I[t(350)]())return t(351)+Date[t(372)]();const e=sessionStorage[t(362)](t(371));if(e)return e;const n="session_"+Math[t(367)]()[t(358)](36)[t(366)](2,9)+"_"+Date[t(372)]();return sessionStorage[t(368)](t(371),n),!de[t(360)]&&(de[t(360)]=Date[t(372)](),I[t(350)]()&&sessionStorage[t(368)](t(369),String(de[t(360)]))),n}static[ie(370)](t){const e=ie;de[e(347)]=t,I[e(350)]()&&localStorage[e(368)](e(352),t)}static[ie(373)](){const t=ie;if(de[t(347)])return de[t(347)];if(I.isBrowser()){const e=localStorage[t(362)](t(352));if(e)return de[t(347)]=e,e}}static[ie(353)](){const t=ie;de[t(347)]=void 0,I.isBrowser()&&localStorage.removeItem(t(352))}static[ie(348)](){const t=ie,e=de[t(364)](),n=de[t(373)](),r=de[t(345)]();return{sessionId:e,userId:n,sessionDuration:de[t(341)](),isNewSession:r}}static isNewSession(){const t=ie;if(!I[t(350)]())return!0;const e=sessionStorage[t(362)](t(371)),n=sessionStorage[t(362)](t(369));return!e||!n}static[ie(341)](){const t=ie;if(!I.isBrowser())return 0;const e=sessionStorage.getItem(t(369));return e?Date[t(372)]()-parseInt(e,10):0}static refreshSession(){const t=ie;return I.isBrowser()&&(sessionStorage.removeItem(t(371)),sessionStorage[t(365)](t(369))),de[t(360)]=void 0,de[t(364)]()}static[ie(363)](t=24){return de[ie(341)]()>60*t*60*1e3}static[ie(355)](){const t=ie,e=de.getSessionId(),n=de[t(373)](),r=de[t(341)](),s=de[t(363)](),o=de[t(345)]();let i;if(I.isBrowser()){const e=sessionStorage[t(362)](t(369));i=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:i,duration:r,isExpired:s,isNewSession:o}}}const le=ue;function ue(t,e){const n=pe();return(ue=function(t,e){return n[t-=176]})(t,e)}function pe(){const t=["isReady","getUserId","getUserDeviceInfo","8072168YMXPup","📱 Device property set:","12qTTiNz","188cWydiH","_isReady","getUserProperties","Event data:","573963rJjKEB","status","24oTkzaP","create","❌ Failed to track event:","sendEventToServer","📊 Events module initialized","application/json","143mQfJHy","👤 User properties set:","3335905BymvFW","98802OlAMtB","setDeviceInfo","warn","getUserInfo","363830hqEKec","Event tracking failed: ","📱 User provided device info cleared","API key not configured for event tracking.","setDeviceProperty","getCurrentUserProperties","apiKey","3212314AUAhBI","getDeviceInfo","_config","POST","setUserProperties","statusText","1284wUNiMg","Events module not initialized. Call AdStage.init() first.","error","debug","log","24NbgnNI","track","init","6WLVdBW","👤 User ID set:","setUserId","events","clearDeviceInfo"];return(pe=function(){return t})()}!function(t){const e=ue,n=t();for(;;)try{if(556839===parseInt(e(191))/1*(parseInt(e(210))/2)+parseInt(e(214))/3*(-parseInt(e(209))/4)+parseInt(e(224))/5*(parseInt(e(199))/6)+-parseInt(e(185))/7+-parseInt(e(216))/8*(-parseInt(e(225))/9)+-parseInt(e(178))/10*(parseInt(e(222))/11)+-parseInt(e(196))/12*(-parseInt(e(207))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(pe);class he{constructor(){const t=ue;this._isReady=!1,this[t(187)]=null}[le(198)](t){const e=le;this[e(187)]=t,this[e(211)]=!0,t[e(194)]&&console[e(195)](e(220))}[le(204)](){return this._isReady}getConfig(){return this[le(187)]}[le(201)](t){const e=le;de.setUserId(t),this._config?.[e(194)]&&console.log(e(200),t)}[le(205)](){return de[le(205)]()}[le(189)](t){const e=le;oe[e(189)](t),this[e(187)]?.[e(194)]&&console[e(195)](e(223),t)}[le(212)](){return oe.getCurrentUserProperties()}[le(226)](t){const e=le;ee.setDeviceInfo(t),this[e(187)]?.debug&&console[e(195)]("📱 Device info set:",t)}[le(182)](t,e){const n=le;ee[n(182)](t,e),this[n(187)]?.[n(194)]&&console[n(195)](n(208),t,e)}[le(203)](){const t=le;ee.clearDeviceInfo(),this[t(187)]?.debug&&console[t(195)](t(180))}getUserDeviceInfo(){return ee[le(206)]()}getDeviceInfo(){return ee[le(186)]()}getUserInfo(){return oe[le(177)]()}[le(183)](){return oe[le(183)]()}async[le(197)](t,e){const n=le;if(this[n(211)])if(this[n(187)]?.[n(184)])try{const r={eventName:t,userId:de[n(205)](),sessionId:de.getSessionId(),sdkVersion:E(),device:ee[n(186)](),user:oe[n(177)](),params:e||{}};await this[n(219)](r),this[n(187)][n(194)]&&console[n(195)]("✅ Event tracked:",t,e)}catch(r){console.error(n(218),r),this._config.debug&&console[n(193)](n(213),{eventName:t,properties:e})}else console[n(176)](n(181));else console.warn(n(192))}async[le(219)](t){const e=le,n=await fetch(G[e(202)][e(197)](),{method:e(188),headers:{...U[e(217)](this._config.apiKey),"Content-Type":e(221)},body:JSON.stringify(t)});if(!n.ok)throw new Error(e(179)+n[e(215)]+" "+n[e(190)])}}const fe=ge;function ge(t,e){const n=ye();return(ge=function(t,e){return n[t-=336]})(t,e)}!function(t){const e=ge,n=t();for(;;)try{if(564624===-parseInt(e(362))/1*(-parseInt(e(368))/2)+-parseInt(e(367))/3*(-parseInt(e(360))/4)+-parseInt(e(371))/5*(-parseInt(e(375))/6)+-parseInt(e(342))/7+-parseInt(e(352))/8*(-parseInt(e(348))/9)+-parseInt(e(363))/10+parseInt(e(356))/11*(-parseInt(e(358))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ye);class me{constructor(){const t=ge;this[t(361)]=!1,this[t(353)]=null,this[t(359)]=new Zt,this.ads=new Gt,this[t(376)]=new he}static[fe(370)](t){const e=fe;!me[e(357)]&&(me[e(357)]=new me);const n=me.instance;if(!t.apiKey)throw new Error(e(344));n[e(353)]={timeout:3e4,debug:!1,modules:[e(346),e(376),e(359)],...t},n[e(353)][e(369)]&&(G[e(339)](n[e(353)][e(369)]),t[e(340)]&&console.log(e(337),n[e(353)].baseUrl));const r=n[e(353)][e(373)]||["ads","events",e(359)];for(const t of r){const r=n[t];r&&typeof r.init===e(355)&&r[e(370)](n[e(353)])}n._isInitialized=!0,t.debug&&console.log("🚀 AdStage SDK initialized (sync mode)",{version:e(345),modules:r,apiKey:t[e(365)][e(351)](0,8)+e(343),mode:e(347)})}static isReady(){const t=fe;return me[t(357)]?.[t(361)]||!1}static[fe(336)](){const t=fe;return me[t(357)]?.[t(353)]||null}static[fe(377)](){const t=fe;if(!me[t(357)])throw new Error(t(354));return me[t(357)]}static get ads(){const t=fe;return me.getInstance()[t(346)]}static get events(){const t=fe;return me[t(377)]()[t(376)]}static get[fe(359)](){const t=fe;return me[t(377)]()[t(359)]}static[fe(364)](){const t=fe;me.instance&&(me[t(357)]._isInitialized=!1,me[t(357)][t(353)]=null)}}function ye(){const t=["config","776YdiOsC","_isInitialized","108987QKvRWU","7881390UrSPBi","reset","apiKey","clear","8439YWmCMU","14nAqaSA","baseUrl","init","4975XYfCNj","size","modules","viewableTracker","5604ZKjwww","events","getInstance","getConfig","🌐 API endpoint configured:","from","setBaseUrl","debug","✅ AdStage Debug: 광고 ","7796656yVzxzW","...","API key is required for AdStage initialization","2.0.0","ads","development","72279zPrpLZ","📊 AdStage Debug: 현재 viewable 추적 상태","log","substring","856zlqBUR","_config","AdStage not initialized. Call AdStage.init() first.","function","77fQPLpG","instance","1081212SVPpEu"];return(ye=function(){return t})()}function Ie(){var t=["getUserProperties","resolve","7440986PRFxkY","184006fcjRJr","track","8eLJAjS","setUserId","4164PWUKOZ","1683654tPiosB","6805685MccSMf","75493NBRYYz","4LjUMKx","18ZyRNtw","setUserProperties","isReady","warn","7284128PzqeDc","events","AdStage not initialized. Call AdStage.init() first.","6atskiP","4178260SnVuBd"];return(Ie=function(){return t})()}function ve(t,e){var n=Ie();return(ve=function(t,e){return n[t-=200]})(t,e)}me[fe(340)]={clearAllViewable:()=>{it[fe(366)](),console.log("✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨")},clearAdViewable:(t,e)=>{const n=fe;it.clearAdViewable(t,e),console[n(350)](n(341)+t+"("+e+")의 viewable 추적 초기화됨")},getViewableStatus:()=>{const t=fe;console[t(350)](t(349),{trackedCount:it[t(374)][t(372)],trackedItems:Array[t(338)](it[t(374)])})}},function(t){for(var e=ve,n=t();;)try{if(758626===-parseInt(e(205))/1*(parseInt(e(207))/2)+parseInt(e(210))/3*(parseInt(e(213))/4)+parseInt(e(211))/5*(parseInt(e(200))/6)+-parseInt(e(204))/7+-parseInt(e(218))/8+parseInt(e(214))/9*(-parseInt(e(201))/10)+-parseInt(e(212))/11*(-parseInt(e(209))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ie);var be,we={exports:{}},ke={},Ee={exports:{}},xe={};Ee.exports=function(){if(be)return xe;be=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),u=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,f={};function g(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}function m(){}function y(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=g.prototype;var I=y.prototype=new m;I.constructor=y,h(I,g.prototype),I.isPureReactComponent=!0;var v=Array.isArray,b=Object.prototype.hasOwnProperty,w={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function E(e,n,r){var s,o={},i=null,a=null;if(null!=n)for(s in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(i=""+n.key),n)b.call(n,s)&&!k.hasOwnProperty(s)&&(o[s]=n[s]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var d=Array(c),l=0;l<c;l++)d[l]=arguments[l+2];o.children=d}if(e&&e.defaultProps)for(s in c=e.defaultProps)void 0===o[s]&&(o[s]=c[s]);return{$$typeof:t,type:e,key:i,ref:a,props:o,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var S=/\/+/g;function A(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}(""+t.key):e.toString(36)}function C(n,r,s,o,i){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var c=!1;if(null===n)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(n.$$typeof){case t:case e:c=!0}}if(c)return i=i(c=n),n=""===o?"."+A(c,0):o,v(i)?(s="",null!=n&&(s=n.replace(S,"$&/")+"/"),C(i,r,s,"",function(t){return t})):null!=i&&(x(i)&&(i=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,s+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(S,"$&/")+"/")+n)),r.push(i)),1;if(c=0,o=""===o?".":o+":",v(n))for(var d=0;d<n.length;d++){var l=o+A(a=n[d],d);c+=C(a,r,s,l,i)}else if(l=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof l)for(n=l.call(n),d=0;!(a=n.next()).done;)c+=C(a=a.value,r,s,l=o+A(a,d++),i);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}function T(t,e,n){if(null==t)return t;var r=[],s=0;return C(t,r,"","",function(t){return e.call(n,t,s++)}),r}function R(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var D={current:null},U={transition:null},L={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:U,ReactCurrentOwner:w};function P(){throw Error("act(...) is not supported in production builds of React.")}return xe.Children={map:T,forEach:function(t,e,n){T(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return T(t,function(){e++}),e},toArray:function(t){return T(t,function(t){return t})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},xe.Component=g,xe.Fragment=n,xe.Profiler=s,xe.PureComponent=y,xe.StrictMode=r,xe.Suspense=c,xe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,xe.act=P,xe.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var s=h({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,a=w.current),void 0!==n.key&&(o=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(d in n)b.call(n,d)&&!k.hasOwnProperty(d)&&(s[d]=void 0===n[d]&&void 0!==c?c[d]:n[d])}var d=arguments.length-2;if(1===d)s.children=r;else if(1<d){c=Array(d);for(var l=0;l<d;l++)c[l]=arguments[l+2];s.children=c}return{$$typeof:t,type:e.type,key:o,ref:i,props:s,_owner:a}},xe.createContext=function(t){return(t={$$typeof:i,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:t},t.Consumer=t},xe.createElement=E,xe.createFactory=function(t){var e=E.bind(null,t);return e.type=t,e},xe.createRef=function(){return{current:null}},xe.forwardRef=function(t){return{$$typeof:a,render:t}},xe.isValidElement=x,xe.lazy=function(t){return{$$typeof:l,_payload:{_status:-1,_result:t},_init:R}},xe.memo=function(t,e){return{$$typeof:d,type:t,compare:void 0===e?null:e}},xe.startTransition=function(t){var e=U.transition;U.transition={};try{t()}finally{U.transition=e}},xe.unstable_act=P,xe.useCallback=function(t,e){return D.current.useCallback(t,e)},xe.useContext=function(t){return D.current.useContext(t)},xe.useDebugValue=function(){},xe.useDeferredValue=function(t){return D.current.useDeferredValue(t)},xe.useEffect=function(t,e){return D.current.useEffect(t,e)},xe.useId=function(){return D.current.useId()},xe.useImperativeHandle=function(t,e,n){return D.current.useImperativeHandle(t,e,n)},xe.useInsertionEffect=function(t,e){return D.current.useInsertionEffect(t,e)},xe.useLayoutEffect=function(t,e){return D.current.useLayoutEffect(t,e)},xe.useMemo=function(t,e){return D.current.useMemo(t,e)},xe.useReducer=function(t,e,n){return D.current.useReducer(t,e,n)},xe.useRef=function(t){return D.current.useRef(t)},xe.useState=function(t){return D.current.useState(t)},xe.useSyncExternalStore=function(t,e,n){return D.current.useSyncExternalStore(t,e,n)},xe.useTransition=function(){return D.current.useTransition()},xe.version="18.3.1",xe}();var Se,Ae=Ee.exports;
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).AdStage={})}(this,function(t){"use strict";function e(t,n){var r=f();return(e=function(t,e){return r[t-=471]})(t,n)}var n,r,s,o,i,a,c,d,l,u,p,h;function f(){var t=["14wUOgFL","CLICK","TEXT","NATIVE","3674QJTVHj","VIDEO","DESKTOP","4460sJSfWw","VIEWABLE","POPUP","739863YXGKXN","1531424AVPnJO","BANNER","12aHDiYy","554935UEFHAm","106608IpZjvy","921324Mtpjct","MOBILE","TABLET","WEB","887440cqmZuy","3lvRhkQ","INTERSTITIAL"];return(f=function(){return t})()}function g(t,e){const n=m();return(g=function(t,e){return n[t-=332]})(t,e)}function m(){const t=["readyState","isBrowser","safeSetTextContent","textContent","open","7082520LwWoxs","pageYOffset",'❌ 컨테이너를 찾을 수 없습니다: "',"isDOMReady","log","scrollTop","undefined","error","getDocumentProperty","safeAddClass","2gtPlHy","1085287PWMuwA","entries","safeCreateElement","classList","safeQuerySelector","getComputedStyle","safeRemoveClass","531666SUsMil","referrer","canUseDOM","createElement","ms (","1890548shlVdH",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"addEventListener",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"waitForDOM","⏳ 컨테이너 대기 중: ","29878XOWLqs","번 시도)","ms 경과)","✅ 컨테이너 즉시 발견: ","207ZkOAqS","all","from","querySelectorAll","getScrollInfo","ms)","pageXOffset","safeGetComputedStyle","✅ 컨테이너 발견: ","safeGetElementById","location","map","safeWindowOpen","waitForElements","pow","style","getWindowProperty","forEach","6cIOqJj","removeEventListener","getPageInfo","150504eQutpn","DOMContentLoaded","title","safeSetInnerHTML","1682365VkfDOu","innerWidth","safeQuerySelectorAll","getViewportInfo","innerHTML","loading","ceil","getElementById","documentElement","번째 시도, ","safeAddEventListener","safeRemoveEventListener"];return(m=function(){return t})()}!function(t){for(var n=e,r=t();;)try{if(251285===parseInt(n(471))/1+parseInt(n(472))/2+-parseInt(n(477))/3*(parseInt(n(490))/4)+-parseInt(n(493))/5*(-parseInt(n(492))/6)+parseInt(n(479))/7*(-parseInt(n(476))/8)+-parseInt(n(489))/9+-parseInt(n(486))/10*(-parseInt(n(483))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(f),r=n||(n={}),s=e,r.BANNER=s(491),r[s(488)]=s(488),r[s(478)]=s(478),r.NATIVE=s(482),r[s(484)]="VIDEO",r[s(481)]=s(481),(i=o||(o={}))[(a=e)(475)]=a(475),i.MOBILE=a(473),(d=c||(c={}))[(l=e)(487)]=l(487),d.CLICK=l(480),p=u||(u={}),h=e,p.DESKTOP=h(485),p.MOBILE=h(473),p.TABLET=h(474);const y=g;!function(t){const e=g,n=t();for(;;)try{if(339538===parseInt(e(357))/1*(parseInt(e(376))/2)+-parseInt(e(365))/3+-parseInt(e(370))/4+-parseInt(e(405))/5*(parseInt(e(398))/6)+parseInt(e(358))/7+-parseInt(e(401))/8*(-parseInt(e(380))/9)+parseInt(e(347))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class I{static[y(343)](){const t=y;return typeof window!==t(353)&&typeof document!==t(353)}static isSSR(){return!this.isBrowser()}static[y(367)](){return this[y(343)]()&&void 0!==document.readyState}static[y(389)](t){const e=y;return this[e(367)]()?document[e(337)](t):null}static[y(362)](t){return this.canUseDOM()?document.querySelector(t):null}static[y(332)](t){const e=y;return this[e(367)]()?Array[e(382)](document[e(383)](t)):[]}static[y(360)](t){const e=y;return this[e(367)]()?document[e(368)](t):null}static[y(340)](t,e,n,r){const s=y;this[s(367)]()&&t&&t[s(372)](e,n,r)}static[y(341)](t,e,n,r){const s=y;this[s(367)]()&&t&&t[s(399)](e,n,r)}static getWindowProperty(t,e){return this[y(343)]()?window[t]??e:e}static[y(355)](t,e){return this[y(367)]()?document[t]??e:e}static[y(392)](t,e,n){const r=y;return this[r(343)]()?window[r(346)](t,e,n):null}static[y(387)](t){const e=y;return this[e(343)]()&&t?window[e(363)](t):null}static[y(350)](){const t=y;return!!this[t(367)]()&&document[t(342)]!==t(335)}static[y(374)](){return new Promise(t=>{const e=g;this[e(367)]()?this[e(350)]()?t():this[e(340)](document,e(402),()=>t()):t()})}static safeApplyStyles(t,e){const n=y;this[n(367)]()&&t&&Object[n(359)](e)[n(397)](([e,r])=>{t[n(395)].setProperty(e,r)})}static[y(356)](t,e){const n=y;this[n(367)]()&&t&&t[n(361)].add(e)}static[y(364)](t,e){const n=y;this[n(367)]()&&t&&t[n(361)].remove(e)}static[y(344)](t,e){const n=y;this.canUseDOM()&&t&&(t[n(345)]=e)}static[y(404)](t,e){const n=y;this[n(367)]()&&t&&(t[n(334)]=e)}static safeAppendChild(t,e){this[y(367)]()&&t&&e&&t.appendChild(e)}static safeRemoveChild(t,e){this.canUseDOM()&&t&&e&&t.removeChild(e)}static[y(400)](){const t=y;return{url:this[t(396)](t(390),{href:""}).href,title:this[t(355)](t(403),""),referrer:this[t(355)](t(366),"")}}static[y(333)](){const t=y;return{width:this.getWindowProperty(t(406),0),height:this[t(396)]("innerHeight",0),pixelRatio:this.getWindowProperty("devicePixelRatio",1)}}static[y(384)](){const t=y;return{scrollTop:this.canUseDOM()?window[t(348)]||document[t(338)][t(352)]:0,scrollLeft:this[t(396)](t(386),0)}}static async waitForElement(t,e={}){const n=y,{timeout:r=3e3,retryInterval:s=100,debug:o=!1}=e;if(!this.canUseDOM())throw new Error("DOM을 사용할 수 없는 환경입니다.");const i=document[n(337)](t);return i?(o&&console.log(n(379)+t),i):(o&&console[n(351)]("⏳ 컨테이너 대기 시작: "+t+" (최대 "+r+n(385)),new Promise((e,i)=>{const a=n;let c=0;const d=Math[a(336)](r/s),l=()=>{const n=a;c++;const u=document[n(337)](t);if(u)return o&&console[n(351)](n(388)+t+" ("+c+n(339)+c*s+n(378)),void e(u);if(c>=d){const e=n(349)+t+n(371)+t+n(373)+r+n(369)+c+n(377);return o&&console[n(354)](e),void i(new Error(e))}o&&c%10==0&&console[n(351)](n(375)+t+" ("+c+"/"+d+")");const p=Math.min(s*Math[n(394)](1.2,c),500);setTimeout(l,p)};setTimeout(l,s)}))}static async[y(393)](t,e={}){const n=y,r=t[n(391)](t=>this.waitForElement(t,e));return Promise[n(381)](r)}}const v=k;function b(){const t=["3239046vgrVfa","20vXnTSX","4692438uadPbA","2323728CitDRh","AdStageSDK/","1302480HgvlWq","userAgent","13066QWOwNs","4111240HUFbGX","1367394cBTwVm",'"3.0.7"',"8SZTBva"];return(b=function(){return t})()}!function(t){const e=k,n=t();for(;;)try{if(480433===parseInt(e(448))/1*(-parseInt(e(442))/2)+parseInt(e(438))/3+parseInt(e(444))/4+-parseInt(e(446))/5+parseInt(e(443))/6+parseInt(e(437))/7*(-parseInt(e(440))/8)+-parseInt(e(441))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);const w=v(439);function k(t,e){const n=b();return(k=function(t,e){return n[t-=437]})(t,e)}function E(){return w}function x(t,e){const n=A();return(x=function(t,e){return n[t-=258]})(t,e)}const S=x;function A(){const t=[",y:","now","20xFlngh","UTC","259281YUmPVA","1316059MHPItH","generateDeviceId","android","696798TlGYqU","adstage_session_id","colorDepth","toString","connection","isBrowser","language","SSR","getSlotPosition","width","collectDeviceInfo","getScrollInfo","2763216SKOySX","safeGetElementById","getPlatform","timeZone","getViewportInfo","130RbSDeC","26tFfOUs","generateSessionId","isMobile","1.0.0","web","userAgent","getItem","scrollTop","483SWpbjJ","pixelRatio","height","ssr_device_","platform","substr","1067945QPbtAM","unknown","test","desktop","108282Vqcbay","48985497fzrcGU","toLowerCase","random","effectiveType","adstage_device_id","left","ios"];return(A=function(){return t})()}!function(t){const e=x,n=t();for(;;)try{if(839027===-parseInt(e(275))/1+-parseInt(e(296))/2*(parseInt(e(274))/3)+parseInt(e(272))/4*(-parseInt(e(258))/5)+-parseInt(e(262))/6*(-parseInt(e(304))/7)+-parseInt(e(290))/8+parseInt(e(278))/9*(-parseInt(e(295))/10)+parseInt(e(263))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(A);class C{static[S(276)](){const t=S;if(!I.isBrowser())return t(307)+Date[t(271)]();const e=localStorage.getItem(t(267));if(e)return e;const n="device_"+Math[t(265)]()[t(281)](36)[t(309)](2,9)+"_"+Date[t(271)]();return localStorage.setItem(t(267),n),n}static[S(297)](){const t=S;if(!I[t(283)]())return"ssr_session_"+Date[t(271)]();const e=sessionStorage[t(302)]("adstage_session_id");if(e)return e;const n="session_"+Math[t(265)]()[t(281)](36)[t(309)](2,9)+"_"+Date.now();return sessionStorage.setItem(t(279),n),n}static[S(298)](){const t=S;return!!I[t(283)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator[t(301)])}static[S(292)](){const t=S;if(!I[t(283)]())return t(300);const e=navigator[t(301)][t(264)]();return/iphone|ipad|ipod/[t(260)](e)?t(269):/android/[t(260)](e)?t(277):C.isMobile()?t(300):t(261)}static[S(288)](){const t=S,e=I[t(294)]();return{deviceId:C[t(276)](),sessionId:C[t(297)](),osVersion:I[t(283)]()?navigator[t(308)]:"SSR",deviceModel:I[t(283)]()?navigator.platform:t(285),appVersion:t(299),sdkVersion:E(),language:I[t(283)]()&&navigator[t(284)]||"ko",country:"KR",ipAddress:"",userAgent:I[t(283)]()?navigator[t(301)]:t(285),timezone:I[t(283)]()?Intl.DateTimeFormat().resolvedOptions()[t(293)]:t(273),viewportWidth:e.width,viewportHeight:e[t(306)],screenWidth:I[t(283)]()?screen[t(287)]:0,screenHeight:I[t(283)]()?screen[t(306)]:0,colorDepth:I.isBrowser()?screen[t(280)]:24,pixelRatio:e[t(305)],connectionType:I[t(283)]()?navigator[t(282)]?.[t(266)]||t(259):"unknown",platform:C.getPlatform()}}static[S(286)](t){const e=S,n=I[e(291)](t);if(!n)return e(259);const r=n.getBoundingClientRect(),s=I[e(289)]();return"x:"+Math.round(r[e(268)])+e(270)+Math.round(r.top+s[e(303)])}}function T(){const t=["contentType","143heXZsZ","11916144NJThrn","8lALJxw","6955NWKZnM","596EjhoRo","create","1695670UEtbKh","userAgent","322159pKIWrj","2671760LBRcXZ","2744340QlIwin","undefined","363507zivzxe","User-Agent","10xCjPpG"];return(T=function(){return t})()}const R=P;function P(t,e){const n=T();return(P=function(t,e){return n[t-=351]})(t,e)}!function(t){const e=P,n=t();for(;;)try{if(728218===parseInt(e(359))/1+-parseInt(e(365))/2*(parseInt(e(363))/3)+parseInt(e(355))/4*(parseInt(e(354))/5)+-parseInt(e(361))/6+-parseInt(e(360))/7*(-parseInt(e(353))/8)+-parseInt(e(352))/9+parseInt(e(357))/10*(parseInt(e(351))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);class _{static[R(356)](t,e){const n=R;if(!t)throw new Error("API key is required");const r={"x-api-key":t,"Content-Type":e?.[n(366)]||"application/json"};return typeof navigator!==n(362)&&(r["User-Agent"]=e?.[n(358)]||navigator[n(358)]),r}static createForEvents(t,e){const n=R,r=_.create(t);return e?.[n(358)]&&(r[n(364)]=e[n(358)]),r}}const D=U;function U(t,e){const n=L();return(U=function(t,e){return n[t-=213]})(t,e)}function L(){const t=["7178437YQlPQY","API request failed: ","211416RiuVEs","sessionId","substring","1002ulrqRq","/advertisements/events/","deviceId","length","string","baseUrl","parseNumericValue","containerId"," in slot ","adType","now","🚀 Sending advertisement event: ","url","log","get","apiKey"," - ","error"," event for ad ","✅ Successfully tracked advertisement event: ","615674RaDozx","🌐 Full API call details:","POST","❌ Failed to track advertisement event:","getSlotPosition","stringify","...","platform","width","text","debug","warn","statusText",". Skipping event tracking to prevent incorrect adType.","slots","collectDeviceInfo","⚠️ Slot not found for slotId: ","replace","getPageInfo"," for ad ","NOT_SET","height","5691584hlYksR","referrer","2910ExChfp","VIEWABLE","1371094BNxian","title","25151984udQdLg"];return(L=function(){return t})()}!function(t){const e=U,n=t();for(;;)try{if(792206===-parseInt(e(248))/1+parseInt(e(220))/2+-parseInt(e(225))/3+-parseInt(e(216))/4+parseInt(e(218))/5*(parseInt(e(228))/6)+-parseInt(e(223))/7+parseInt(e(222))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(L);class O{constructor(t,e,n,r){const s=U;this[s(233)]=t,this.apiKey=e,this[s(258)]=n,this[s(262)]=r}async trackAdvertisementEvent(t,e,n){const r=U;try{this[r(258)]&&console[r(241)]("🚀 AdvertisementEventTracker: Processing "+n+r(246)+t+r(236)+e);const s=this.slots[r(242)](e);if(!s)return void(this[r(258)]&&console[r(259)](r(264)+e+r(261)));const o=C[r(263)](),i={adType:s[r(237)],platform:o[r(255)],deviceId:o[r(230)],deviceInfo:o,pageUrl:I[r(266)]()[r(240)],pageTitle:I[r(266)]()[r(221)],referrer:I.getPageInfo()[r(217)],slotId:e,slotPosition:C[r(252)](s[r(235)]),slotWidth:O.parseNumericValue(s[r(256)]),slotHeight:O[r(234)](s[r(215)]),sessionId:o[r(226)],pageLoadTime:performance.now(),metadata:{eventType:n,sdkVersion:E(),timestamp:Date[r(238)]()},...n===c[r(219)]&&{isViewable:!0,iabCompliant:!0}},a=this[r(233)]+r(229)+t+"/"+n,d=_.createForEvents(this[r(243)],i);this[r(258)]&&(console[r(241)](r(239)+n+" for ad "+t,{url:a,headers:d,eventData:i}),console[r(241)](r(249),{method:r(250),url:a,hasApiKey:!!this.apiKey,bodySize:JSON[r(253)](i)[r(231)]}));const l=await fetch(a,{method:"POST",headers:d,body:JSON[r(253)](i)});if(this[r(258)]&&console[r(241)]("📡 API Response Status: "+l.status+" "+l[r(260)],{url:a,ok:l.ok}),!l.ok){const t=await l[r(257)]();throw new Error(r(224)+l.status+" "+l.statusText+r(244)+t)}this[r(258)]&&console[r(241)](r(247)+n+r(213)+t)}catch(s){console[r(245)](r(251),s),console[r(245)]("🔍 Debug info:",{baseUrl:this.baseUrl,apiKey:this[r(243)]?this[r(243)][r(227)](0,8)+r(254):r(214),url:this[r(233)]+r(229)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[D(234)](t){const e=D;if("number"==typeof t)return t;if(typeof t===e(232)){const n=parseFloat(t[e(265)](/px$/,""));return isNaN(n)?0:n}return 0}}var z=N;function B(){var t=["element","initIntersectionObserver","disconnect","warn","100526JTbQve","1715598sOQmbm","isViewableTriggered","visible","onViewableCallback","hidden","IntersectionObserver","destroy","handleIntersection","8qUiGhI","intersectionRatio","visibilityState","forEach","observe","4016277iIRHfw","8154825HlvQEy","IntersectionObserver not supported, viewability tracking disabled","28UEkOJF","7787700osmqLt","1187346pTFYbg","30RWHnyC","observer","0px","406556KAsEqg","isDocumentVisible"];return(B=function(){return t})()}function N(t,e){var n=B();return(N=function(t,e){return n[t-=293]})(t,e)}!function(t){for(var e=N,n=t();;)try{if(716643===-parseInt(e(308))/1*(parseInt(e(320))/2)+parseInt(e(310))/3+-parseInt(e(314))/4*(-parseInt(e(311))/5)+parseInt(e(321))/6+parseInt(e(306))/7+-parseInt(e(300))/8*(-parseInt(e(305))/9)+-parseInt(e(309))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(B);class M{constructor(t,e){var n=N;this[n(312)]=null,this[n(293)]=!1,this.element=t,this[n(295)]=e,this.initIntersectionObserver()}[z(317)](){var t=z;t(297)in window?(this[t(312)]=new IntersectionObserver(e=>this[t(299)](e),{threshold:.5,rootMargin:t(313)}),this[t(312)][t(304)](this[t(316)])):console[t(319)](t(307))}[z(299)](t){var e=z;t[e(303)](t=>{var n=e;t[n(301)]>=.5&&this[n(315)]()&&!this[n(293)]&&(this[n(293)]=!0,this.onViewableCallback&&this[n(295)]())})}[z(315)](){var t=z;return!document[t(296)]&&document[t(302)]===t(294)}[z(298)](){var t=z;this.observer&&(this[t(312)][t(318)](),this.observer=null)}}const V=F;function F(t,e){const n=K();return(F=function(t,e){return n[t-=452]})(t,e)}!function(t){const e=F,n=t();for(;;)try{if(244829===parseInt(e(460))/1+parseInt(e(466))/2+parseInt(e(461))/3*(parseInt(e(455))/4)+-parseInt(e(458))/5*(-parseInt(e(472))/6)+-parseInt(e(473))/7+-parseInt(e(465))/8+-parseInt(e(454))/9*(-parseInt(e(463))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);const H={production:V(459),beta:V(470)},j={advertisements:{list:"/advertisements/list",detail:V(464),events:"/advertisements/events"},events:{track:V(471)}};class W{constructor(t){const e=V;this.advertisements={list:()=>""+this[e(452)]+j.advertisements[e(469)],detail:t=>""+this[e(452)]+j[e(456)].detail+"/"+t,events:(t,n)=>""+this[e(452)]+j[e(456)][e(468)]+"/"+t+"/"+n},this[e(468)]={track:()=>""+this[e(452)]+j[e(468)][e(462)]},this.baseUrl=t||H.production}[V(453)](t){this[V(452)]=t}getBaseUrl(){return this[V(452)]}[V(467)](t){const e=V;return""+this[e(452)]+(t[e(457)]("/")?t:"/"+t)}}function K(){const t=["advertisements","startsWith","65fNtFIX","https://api.adstage.app","182491DtDepx","849048KDTUpw","track","108060lSeUCT","/advertisements","2964552ArlSfb","566754tcXVhN","custom","events","list","https://beta-api.adstage.app","/events/track","143718ijVELL","3341051QBWnEz","baseUrl","setBaseUrl","27TlGWKZ","4jLaRId"];return(K=function(){return t})()}const X=new W;function Z(t,e){var n=Y();return(Z=function(t,e){return n[t-=424]})(t,e)}var J=Z;!function(t){for(var e=Z,n=t();;)try{if(431261===-parseInt(e(432))/1+parseInt(e(440))/2*(parseInt(e(427))/3)+-parseInt(e(429))/4+parseInt(e(430))/5+parseInt(e(441))/6*(-parseInt(e(424))/7)+-parseInt(e(435))/8+-parseInt(e(433))/9*(-parseInt(e(438))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y);class Q{static[J(428)](t,e,n,r,s=!1){var o=J;s&&console.log(o(437)+t[o(426)]+o(439)+n+o(425)+e.id),r(t[o(426)],e.id,c[o(434)])}static[J(431)](t,e,n,r=!1){var s=J;r&&console.log("🎯 Triggering initial VIEWABLE event: ad "+t[s(426)]+s(436)+e.id),n(t._id,e.id,c.VIEWABLE)}}function Y(){var t=["2rzLJwH","24nvZMMz","203238ytHYVS",") in slot: ","_id","542139HeXOTJ","trackSlideViewable","1089428QDJDAm","1365485ZEMNxO","trackInitialSlideViewable","356721gDJEzy","9NOEeDW","VIEWABLE","716784aQQlxN"," (index: 0) in slot: ","🎯 Triggering VIEWABLE event for slide change: ad ","8122630QPZGVe"," (index: "];return(Y=function(){return t})()}function q(t,e){const n=G();return(q=function(t,e){return n[t-=312]})(t,e)}function G(){const t=["9OhZgOr","_id","4QXIAId","pointer","log","6822783KZzNIA","linkUrl","toLowerCase","889024HNiJDB","style","forEach","open","stopPropagation","addClickEventForSlider","_blank","217418sulgbc"," -> ","addClickEvent","CLICK","adType","9dqneZm","33544116ORtjKf"," ad clicked: ","cursor","addEventListener","🔗 ","1012424UqPObA","89290fNvfxl","7xZzWtV","5729250XGJFCM","42OaMGyi","addClickEventForRenderer","click","preventDefault","isClickable"];return(G=function(){return t})()}const $=q;!function(t){const e=q,n=t();for(;;)try{if(394133===-parseInt(e(322))/1*(parseInt(e(344))/2)+parseInt(e(327))/3*(-parseInt(e(333))/4)+-parseInt(e(334))/5*(parseInt(e(337))/6)+-parseInt(e(335))/7*(-parseInt(e(315))/8)+parseInt(e(342))/9*(-parseInt(e(336))/10)+-parseInt(e(312))/11+parseInt(e(328))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class tt{static[$(324)](t,e,n,r,s=!1,o){const i=$;e[i(313)]&&(t[i(316)][i(330)]=i(345),t[i(331)]("click",t=>{const a=i;if(t.preventDefault(),t[a(319)](),r&&r(e[a(343)],n.id,c[a(325)]),window[a(318)](e.linkUrl,a(321)),s){const t=o||String(n[a(326)])[a(314)]();console[a(346)](a(332)+t+a(329)+e[a(343)]+a(323)+e[a(313)])}}))}static[$(338)](t,e,n,r,s=!1,o){const i=$;e[i(313)]&&(t[i(316)][i(330)]="pointer",t[i(331)](i(339),t=>{const a=i;t[a(340)](),t[a(319)]();if(r()(e[a(343)],n.id,c.CLICK),window[a(318)](e[a(313)],"_blank"),s){const t=o||String(n[a(326)])[a(314)]();console[a(346)]("🔗 "+t+a(329)+e._id+a(323)+e.linkUrl)}}))}static[$(320)](t,e,n,r,s=!1,o){this.addClickEvent(t,e,n,r,s,o)}static[$(341)](t){return Boolean(t[$(313)])}static addClickEventsBatch(t,e,n,r,s=!1,o){const i=$;t[i(317)]((t,a)=>{const c=i,d=e[a];d&&this[c(324)](t,d,n,r,s,o)})}}const et=nt;function nt(t,e){const n=st();return(nt=function(t,e){return n[t-=211]})(t,e)}!function(t){const e=nt,n=t();for(;;)try{if(868808===-parseInt(e(236))/1*(parseInt(e(304))/2)+parseInt(e(318))/3+-parseInt(e(272))/4+parseInt(e(275))/5*(parseInt(e(251))/6)+-parseInt(e(298))/7*(parseInt(e(314))/8)+-parseInt(e(223))/9*(-parseInt(e(286))/10)+-parseInt(e(264))/11*(parseInt(e(311))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(st);class rt{static createSimpleAdElement(t,e){const r=nt,s=document[r(221)](r(215));switch(s[r(256)]=r(277)+String(t[r(230)])[r(253)](),s.setAttribute(r(271),e[r(283)]),s.setAttribute(r(276),t.id),s[r(217)].display=r(292),s[r(217)][r(249)]=r(313),s[r(217)][r(254)]=r(302),t[r(230)]){case n[r(300)]:if(e[r(267)]){const t=document.createElement(r(270));t[r(303)]=e[r(267)],t[r(217)].width=r(313),t[r(217)].height=r(302),t[r(217)].objectFit="cover",s.appendChild(t)}else s[r(217)][r(254)]="100px",s[r(217)][r(239)]="#f0f0f0",s.style[r(310)]=r(218),s[r(248)]=r(309);break;case n[r(232)]:if(e[r(258)]){const t=document.createElement(r(211));t[r(303)]=e.videoUrl,t[r(217)][r(249)]=r(313),t[r(217)].height=r(302),s[r(289)](t)}else s[r(217)][r(254)]="200px",s[r(217)][r(239)]=r(284),s.style[r(310)]=r(316),s[r(248)]=r(260),s[r(217)][r(229)]=r(255);break;case n[r(266)]:if(e[r(248)]){const t=document[r(221)](r(215));t[r(248)]=e[r(248)]||"",t[r(217)].padding=r(317),t[r(217)][r(269)]="14px",s.appendChild(t)}else s[r(217)][r(254)]="50px",s[r(217)][r(285)]="8px",s[r(248)]=r(225);break;default:s[r(217)][r(254)]=r(308),s[r(217)][r(310)]=r(218),s[r(217)][r(239)]=r(238),s[r(248)]=t[r(230)]+r(224)}return s}static createSliderContainer(t,e,r,s,o=!1){const i=nt,a=document[i(221)](i(215));a[i(256)]=i(288);const c={position:i(212),overflow:"hidden"};if(t[i(249)]&&0!==t[i(249)]){let e;e=typeof t[i(249)]===i(235)&&(t.width.includes("px")||t[i(249)].includes("%"))?t[i(249)]:t[i(249)]+"px",c.width=e,c[i(280)]="inline-block"}else c[i(280)]=i(240);if(t[i(254)]&&0!==t.height){const e="string"==typeof t[i(254)]?t[i(254)]:t[i(254)]+"px";c.height=e}Object[i(301)](c)[i(216)](([t,e])=>{a[i(217)].setProperty(t,e)});const d=!t[i(249)]||0===t[i(249)],l=!t[i(254)]||0===t[i(254)];if(d||l){const n=document[i(221)](i(215));if(n[i(217)].cssText="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!d&&t.width){let e;e=typeof t[i(249)]===i(235)?t[i(249)][i(291)]("px")||t.width[i(291)]("%")?t[i(249)]:t.width+"px":t[i(249)]+"px",n[i(217)][i(249)]=e,n[i(217)][i(259)]=i(320)}document.body[i(289)](n);let r=0,s=0;e[i(216)](e=>{const o=i,a=this[o(220)](t,e);n.appendChild(a);const c=a[o(213)]();c[o(249)]>r&&(r=c[o(249)]),c[o(254)]>s&&(s=c[o(254)]),n[o(219)](a)}),d&&r>0&&(a[i(217)][i(249)]=r+"px",c[i(249)]=r+"px"),l&&s>0&&(a.style[i(254)]=s+"px",c.height=s+"px"),document.body.removeChild(n)}const u=[...e,e[0]],p=document.createElement("div");p[i(256)]=i(290);const h={display:i(231),transition:i(250),width:100*u.length+"%"};t[i(254)]&&0!==t[i(254)]&&(h[i(254)]=i(313)),Object.entries(h)[i(216)](([t,e])=>{const n=i;p[n(217)][n(233)](t,e)}),u.forEach((e,n)=>{const r=i,a=document.createElement(r(215));a.className=r(281);const c={width:100/u[r(242)]+"%","flex-shrink":"0",display:r(231),"align-items":r(306),"justify-content":r(306)};t[r(254)]&&0!==t[r(254)]&&(c.height=r(313)),Object[r(301)](c)[r(216)](([t,e])=>{const n=r;a[n(217)][n(233)](t,e)});const d=this[r(220)](t,e);tt[r(278)](d,e,t,s,o,String(t.adType)[r(253)]()),a[r(289)](d),p[r(289)](a)});const f=e[i(257)](t=>t[i(230)]===n[i(266)])?null:this[i(296)](e.length);let g=0;const m=e[i(242)],y=1e3*(r?.[i(307)]||3),I=(n,r=!1)=>{const a=i;g=n,r?p.style[a(237)]=a(305):p[a(217)].transition=a(250),p[a(217)].transform="translateX(-"+100/u.length*g+"%)";const c=g===m?0:g;if(f){f.querySelectorAll(a(227))[a(216)]((t,e)=>{const n=a,r=t;e===c?(r[n(312)][n(299)](n(268)),r[n(217)][n(262)]=n(297),r.style[n(293)]=n(297),r[n(217)][n(228)]="1"):(r[n(312)].remove(n(268)),r.style.background=n(226),r[n(217)][n(293)]="#cccccc",r[n(217)].opacity=n(274))})}Q[a(214)](e[c],t,c,s,o)},v=()=>{g===m&&setTimeout(()=>{I(0,!0)},400)};if(f){f[i(287)](i(227))[i(216)]((t,e)=>{const n=i;t[n(246)](n(282),()=>I(e))})}let b=setInterval(()=>{I(g+1),v()},y);return a[i(246)](i(244),()=>{clearInterval(b)}),a[i(246)]("mouseleave",()=>{b=setInterval(()=>{I(g+1),v()},y)}),this.addTouchSupport(p,I,()=>g,m,v),a[i(289)](p),f&&a[i(289)](f),I(0),(!t[i(249)]||0===t.width)&&setTimeout(()=>{const e=i,n=p[e(247)][0];if(n){const r=n.children[0];if(r){const n=r[e(213)]();a[e(217)].width=n[e(249)]+"px",(!t[e(254)]||0===t[e(254)])&&(a[e(217)].height=n[e(254)]+"px"),a[e(217)][e(243)]=e(261)}}},10),a}static[et(296)](t){const e=et,n=document[e(221)](e(215));n.className="adstage-dots",n[e(217)][e(273)]=e(315);for(let r=0;r<t;r++){const t=document[e(221)](e(252));t[e(256)]=e(263),t[e(217)][e(273)]="\n width: 8px;\n height: 8px;\n border-radius: 50%;\n border: 1px solid #cccccc;\n background: transparent;\n cursor: pointer;\n transition: all 0.3s ease;\n outline: none;\n opacity: 0.7;\n padding: 0;\n margin: 0;\n flex-shrink: 0;\n ",t.addEventListener(e(244),()=>{const n=e;!t[n(312)][n(245)](n(268))&&(t[n(217)].borderColor="#999999",t[n(217)].opacity=n(279))}),t[e(246)](e(234),()=>{const n=e;!t[n(312)].contains(n(268))&&(t[n(217)][n(293)]="#cccccc",t[n(217)][n(228)]=n(274))}),n.appendChild(t)}return n}static addTouchSupport(t,e,n,r,s){const o=et;let i=0,a=!1;t.addEventListener(o(241),t=>{const e=o;i=t[e(222)][0][e(295)],a=!0}),t.addEventListener(o(265),t=>{a&&t.preventDefault()}),t[o(246)]("touchend",t=>{const c=o;if(!a)return;a=!1;const d=t[c(319)][0][c(295)],l=i-d;if(Math[c(294)](l)>50){const t=n();if(l>0){e(t+1),s&&s()}else{e(t>0?t-1:r-1)}}})}}function st(){const t=["Text Ad","transparent",".adstage-dot","opacity","color","adType","flex","VIDEO","setProperty","mouseleave","string","2333bOeXSW","transition","#f9f9f9","backgroundColor","inline-block","touchstart","length","overflow","mouseenter","contains","addEventListener","children","textContent","width","transform 0.4s ease-out","6517806gpdXDS","button","toLowerCase","height","white","className","every","videoUrl","whiteSpace","Video Ad","hidden","background","adstage-dot","11kePJpF","touchmove","TEXT","imageUrl","active","fontSize","img","data-adstage-ad-id","465572srlUzZ","cssText","0.7","5RCMlvu","data-adstage-slot-id","adstage-ad adstage-","addClickEventForSlider","0.9","display","adstage-slide","click","_id","#000","padding","11170ocDBQi","querySelectorAll","adstage-slider-wrapper","appendChild","adstage-slide-container","includes","block","borderColor","abs","clientX","createMinimalDotIndicator","#666666","4003440WWXkmE","add","BANNER","entries","auto","src","68EYcWtm","none","center","autoSlideInterval","100px","Banner Ad","border","25057596bBdtYD","classList","100%","8rWZvhI","\n position: absolute;\n bottom: 15px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n gap: 12px;\n z-index: 3;\n padding: 8px 16px;\n border-radius: 20px;\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(10px);\n ","1px solid #666","8px","5193813hblqWF","changedTouches","normal","video","relative","getBoundingClientRect","trackSlideViewable","div","forEach","style","1px dashed #ccc","removeChild","createSimpleAdElement","createElement","touches","7308uQbxgL"," Ad"];return(st=function(){return t})()}const ot=it;function it(t,e){const n=ct();return(it=function(t,e){return n[t-=206]})(t,e)}!function(t){const e=it,n=t();for(;;)try{if(333265===parseInt(e(216))/1*(-parseInt(e(217))/2)+parseInt(e(212))/3+parseInt(e(223))/4*(-parseInt(e(208))/5)+parseInt(e(211))/6+parseInt(e(221))/7*(-parseInt(e(210))/8)+-parseInt(e(218))/9+parseInt(e(219))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ct);class at{static[ot(220)](t,e,n=!1){const r=ot,s=t+"_"+e;return at[r(206)][r(213)](s)?(n&&console[r(225)](r(215)+t+r(222)+e),!0):(at.viewableTracker.add(s),n&&console[r(225)](r(207)+t+r(222)+e),!1)}static clear(){const t=ot;at[t(206)][t(209)]()}static[ot(224)](t,e){const n=ot,r=t+"_"+e;at[n(206)][n(214)](r)}}function ct(){const t=["viewableTracker","✅ New viewable recorded for ad ","657805KlBVUr","clear","799440mfdTEX","701028AzrxqT","483270dzStIl","has","delete","Duplicate viewable blocked for ad ","3QJsIGX","82138aJswMU","3938157NuebIj","8476080RkCTbX","isDuplicateViewable","7ntedWc"," in slot ","4vniYhC","clearAdViewable","log"];return(ct=function(){return t})()}at[ot(206)]=new Set;const dt=lt;function lt(t,e){const n=pt();return(lt=function(t,e){return n[t-=184]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(283956===parseInt(e(269))/1*(parseInt(e(238))/2)+-parseInt(e(251))/3+parseInt(e(226))/4*(parseInt(e(258))/5)+parseInt(e(189))/6*(-parseInt(e(221))/7)+parseInt(e(207))/8*(-parseInt(e(231))/9)+-parseInt(e(259))/10+parseInt(e(225))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(pt);class ut{constructor(t,e=!1,n){this[lt(215)]=t,this.debug=e,this.advertisementEventTracker=n||null}[dt(245)](t,e,n,r){const s=dt,o=document[s(195)](s(290));o.id=e,o[s(288)]=s(261)+String(this.adType)[s(270)](),o.setAttribute(s(257),s(263)),o[s(191)](s(212),String(this[s(215)])),o.setAttribute(s(274),e);const{width:i,height:a}=this.calculateAdSize(t,n,r)||{width:s(209),height:this[s(224)]()};o.style[s(213)]=i,o[s(243)][s(218)]=a;const c=r?.[s(210)]||n[s(210)]||s(250);this[s(291)](o,c),t[s(275)](o),this[s(193)]&&console[s(219)]("📦 Placeholder created for "+this[s(215)]+s(228)+e+" ("+i+" x "+a+s(281)+c)}applyPlaceholderStyle(t,e){const n=dt;switch(e){case"invisible":t[n(243)][n(296)]=n(287),t[n(243)][n(187)]=n(205),t[n(243)].opacity="0",t[n(292)]="";break;case n(287):t[n(243)][n(296)]="transparent",t[n(243)][n(187)]=n(205),t[n(243)][n(277)]=n(285),t.innerHTML="";break;case n(186):t[n(243)][n(296)]=n(244),t.style[n(187)]=n(205),t[n(243)][n(247)]="4px",t.style[n(277)]=n(197),t[n(243)].alignItems="center",t[n(243)][n(255)]=n(282),t[n(292)]=n(264);break;case n(272):t[n(243)].backgroundColor=n(236),t[n(243)][n(187)]=n(265),t[n(243)][n(247)]=n(202),t[n(243)][n(277)]="flex",t[n(243)][n(194)]="center",t[n(243)].justifyContent="center",t[n(292)]='<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>';break;case n(193):t[n(243)].border=n(232),t[n(243)].display=n(197),t.style[n(194)]=n(282),t.style[n(255)]=n(282),t[n(243)][n(296)]=n(237),t.style.color=n(201),t[n(243)][n(295)]=n(242),t.style[n(190)]=n(200),t[n(292)]="<span>Loading "+this[n(215)]+" ad...</span>";break;default:t[n(243)][n(187)]="1px dashed #ccc",t[n(243)][n(277)]=n(197),t[n(243)][n(194)]=n(282),t[n(243)][n(255)]=n(282),t[n(243)].backgroundColor="#f9f9f9",t[n(243)][n(267)]="#666",t.innerHTML="<span>Loading "+this.adType+n(289)}}[dt(280)](t,e,n){const r=dt,s=e[r(213)],o=e[r(218)];let i,a;if(i=typeof s===r(266)?s+"px":"string"==typeof s?s:r(209),typeof o===r(266))a=o+"px";else if("string"==typeof o&&"100%"!==o&&o!==r(271))a=o;else{const e=this.getContainerHeight(t);e>0?(a=r(209),(n?.[r(193)]||this[r(193)])&&console[r(219)]("📏 Using 100% height (container: "+e+r(222))):(a=this[r(224)](),(n?.[r(193)]||this[r(193)])&&console[r(219)](r(203)+a+r(262)+this.adType))}return{width:i,height:a}}[dt(241)](t){const e=dt,n=window[e(188)](t),r=parseFloat(n.height);if(!r||0===r){const r=parseFloat(n[e(234)]);if(r>0)return r;if(t[e(243)][e(218)]&&t.style[e(218)]!==e(271)){const n=parseFloat(t[e(243)][e(218)]);if(n>0)return n}const s=t[e(196)]("height");if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}createEventTrackingCallback(){return async(t,e,n)=>{const r=lt;if(n===c[r(286)]){if(at[r(252)](t,e,this[r(193)]))return void(this[r(193)]&&console[r(219)](r(249)+t+r(206)+e));this[r(193)]&&console[r(219)]("✅ New viewable recorded for ad "+t+" in slot "+e)}if(this[r(239)])try{this[r(193)]&&console[r(219)]("🔄 Starting advertisement event tracking: "+n+r(253)+t+r(206)+e),await this.advertisementEventTracker[r(211)](t,e,n),this[r(193)]&&console[r(219)]("📊 Advertisement event tracked: "+n+" for ad "+t+r(206)+e)}catch(e){this[r(193)]&&console[r(268)](r(273)+n+r(276)+t+":",e)}else this.debug&&console[r(223)]("⚠️ AdvertisementEventTracker not available for "+n+r(230))}}renderFallback(t){const e=dt,n=document[e(278)](t.id);if(n){const r=[...[n[e(204)]('[data-adstage-container="true"]'),n[e(198)](e(220)),n][e(294)](t=>t&&t[e(260)](e(257))),...[n[e(198)](e(184)),n.closest(e(216)+String(this[e(215)])[e(270)]()),n[e(198)]('[class*="ad"]'),n[e(198)]('[class*="banner"]'),n.closest('[class*="container"]'),n[e(198)](e(293)),n[e(198)](e(235)),n[e(185)]][e(294)](Boolean)][0];if(r){let n=e(233);n=r.hasAttribute(e(257))?e(284):r.classList[e(283)](e(279))?e(192):e(240),r[e(243)][e(217)]+=e(208),r.innerHTML="",r[e(191)]("data-adstage-empty",e(263)),this[e(193)]&&console[e(223)]("⚠️ "+this[e(215)]+e(254)+n+e(248)+t.id,r)}else this.createEmptyContainer(t)}t.advertisement=void 0,t[e(256)]=!0}createEmptyContainer(t){const e=dt,n=document.getElementById(t.containerId);if(n){n[e(292)]="";const r=document[e(195)]("div");r.id=t.id,r[e(288)]=e(246)+String(this[e(215)])[e(270)](),r[e(191)]("data-adstage-container",e(263)),r[e(191)](e(214),"true"),r[e(191)](e(274),t.id),r[e(243)].cssText=e(227),n.appendChild(r),this[e(193)]&&console[e(223)](e(199)+this[e(215)]+e(229)+t.id)}}[dt(219)](t,...e){const n=dt;this[n(193)]&&console.log("["+this[n(215)]+"] "+t,...e)}}function pt(){const t=["borderRadius","): ","🚫 Duplicate viewable blocked for ad ","invisible","739692jLwjzG","isDuplicateViewable"," for ad "," container collapsed (","justifyContent","isEmpty","data-adstage-container","5zQpxqS","4178330RZEulg","hasAttribute","adstage-slot adstage-"," for ","true",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"1px solid rgba(0, 0, 0, 0.08)","number","color","error","439130YTvIlN","toLowerCase","auto","minimal","❌ Failed to track ","data-adstage-slot","appendChild"," event for ad ","display","getElementById","adstage-slot","calculateAdSize",") - Mode: ","center","contains","adstage-official","block","VIEWABLE","transparent","className"," ad...</span>","div","applyPlaceholderStyle","innerHTML",'div[style*="height"]',"filter","fontFamily","backgroundColor",".adstage-slot","parentElement","subtle","border","getComputedStyle","186myUxeY","fontSize","setAttribute","adstage-class","debug","alignItems","createElement","getAttribute","flex","closest","⚠️ Created empty ","11px","#e74c3c","6px","📏 Using default height ","querySelector","none"," in slot ","8lRcBAM","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","100%","placeholderMode","trackAdvertisementEvent","data-adstage-type","width","data-adstage-empty","adType",".adstage-","cssText","height","log",'[data-adstage-container="true"]',"84707kruaZZ","px)","warn","getDefaultHeight","11094072udUumO","20612JyhpGP","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n "," slot: "," container: "," event","1164159dNnTzU","2px dashed #e74c3c","unknown","minHeight",'div[style*="min-height"]',"rgba(248, 249, 250, 0.5)","rgba(231, 76, 60, 0.1)","2qZfJuZ","advertisementEventTracker","generic","getContainerHeight","monospace","style","rgba(0, 0, 0, 0.02)","createPlaceholder","adstage-slot adstage-empty adstage-"];return(pt=function(){return t})()}const ht=gt;function ft(){const t=["contain","aspectRatio","status","value","length","allSettled","8px","imageUrl","getBoundingClientRect","innerHTML","round","backgroundColor","log","abs","Image URL is not provided","adstage-ad adstage-banner-ad","config","borderRadius","ratio","481345jHjSeV","24330185zoLYqm","toString","center","default","map","width","loadImageDimensions","count","24471JTPCjo","250px","createEventTrackingCallback","set","Container not found: ","calculateOptimalHeight"," with ","debug","3151216YvwUjq","#f0f0f0","2fkwTBE","max","get","getElementById","applyOptimizedImageStyle","naturalWidth","BANNER","📐 Optimal banner container calculated: ","100%","style","className","objectFit","title","2140NdVXJL","optimizeContainerForBannerAds","5369kvErxn","optimizedHeight","fulfilled"," (avg: ","78284mIMfRG","height","renderAdElement","toFixed","Banner Advertisement","🎠 Banner carousel created for slot: ","5034koXgyb","common","renderOptimizedBannerImage","16:9","<div>","📦 Banner container dimensions: ","selectOptimalSizeStrategy","getDefaultHeight","some","renderMultipleAds","Banner","Banner Ad",", ratio=","values","createSliderContainer","containerId","name","addClickEventForRenderer","src","slideInterval","parentElement","appendChild","3:2","forEach"," ads: ","onerror","dominant","105hWoOJA","📸 Banner image dimensions: ","from","🎨 Banner image style applied: objectFit=","reduce","📊 Using standard ratio: ","average","Failed to load image: ","filter","block","display","cover","4015010poEQAQ","img",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"</div>","objectPosition","createElement","_id"];return(ft=function(){return t})()}function gt(t,e){const n=ft();return(gt=function(t,e){return n[t-=161]})(t,e)}!function(t){const e=gt,n=t();for(;;)try{if(414088===parseInt(e(179))/1*(-parseInt(e(198))/2)+-parseInt(e(250))/3*(-parseInt(e(217))/4)+parseInt(e(262))/5+parseInt(e(223))/6*(parseInt(e(213))/7)+parseInt(e(196))/8+parseInt(e(188))/9*(parseInt(e(211))/10)+-parseInt(e(180))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ft);class mt extends ut{constructor(t=!1,e){super(n[gt(204)],t,e)}getDefaultHeight(){return gt(189)}async[ht(219)](t,e){const n=ht,r=document[n(201)](t[n(238)]);if(!r)return;const s=document[n(267)]("div");s[n(208)]=n(175);const o=t[n(214)],i=r[n(243)]||r;if(o)s[n(207)][n(185)]="100%",s[n(207)][n(218)]=String(o);else{const e=t[n(176)],r={width:e?.[n(185)],height:e?.[n(218)]},{width:o,height:a}=this.calculateAdSize(i,r,{debug:this.debug});s.style[n(185)]=o,s[n(207)][n(218)]=a}e[n(167)]?await this[n(225)](s,e,t):s[n(169)]=n(227)+(e[n(210)]||n(234))+n(265),tt[n(240)](s,e,t,()=>this[n(190)](),this[n(195)],"Banner"),r[n(169)]="",r.appendChild(s)}async[ht(232)](t,e){const n=ht,r=document[n(201)](t[n(238)]);if(!r)throw new Error(n(192)+t[n(238)]);await this[n(212)](t,e);const s=this[n(190)](),o={autoSlideInterval:(t.config?.[n(242)]||5e3)/1e3,...t[n(176)],optimizedHeight:t[n(214)],aspectRatio:t[n(161)]},i=rt[n(237)](t,e,o,s,this.debug);i&&(r.innerHTML="",r[n(244)](i),this[n(195)]&&console.log(n(222)+t.id+n(194)+e.length+" ads (optimized: "+(t[n(214)]||n(183))+")"))}async calculateOptimalContainerSize(t,e){const n=ht;if(!t[n(164)])return{width:"100%",height:this.getDefaultHeight(),aspectRatio:16/9};try{const r=(await Promise[n(165)](t[n(258)](t=>t[n(167)])[n(184)](t=>this[n(186)](t[n(167)])))).filter(t=>t[n(162)]===n(215)).map(t=>t[n(163)]);if(0===r.length)return{width:"100%",height:this[n(230)](),aspectRatio:16/9};const s=this[n(229)](r),o=this.calculateOptimalHeight(r,e,s);return this.debug&&console[n(172)](n(205)+e+"x"+o+" (strategy: "+s+")"),{width:n(206),height:o+"px",aspectRatio:e/o}}catch(t){return console.warn("Failed to calculate optimal banner size, using defaults:",t),{width:n(206),height:this[n(230)](),aspectRatio:16/9}}}async optimizeContainerForBannerAds(t,e){const n=ht;try{const r=document.getElementById(t[n(238)]),s=document[n(201)](t.id);if(!r||!s)return;const o=r[n(168)]()[n(185)]||300,i=await this.calculateOptimalContainerSize(e,o);s.style[n(218)]=i[n(218)],t[n(214)]=i[n(218)],t[n(161)]=i[n(161)],this[n(195)]&&console.log("🔧 Banner container optimized for "+e[n(164)]+n(247)+i[n(218)])}catch(t){console.warn("Banner container optimization failed, using default size:",t)}}[ht(229)](t){const e=ht,n=t[e(184)](t=>t[e(185)]/t.height),r=new Map;n[e(246)](t=>{const n=e,s=(Math[n(170)](10*t)/10)[n(181)]();r[n(191)](s,(r[n(200)](s)||0)+1)});const s=Math[e(199)](...r[e(236)]()),o=t.length;if(s/o>=.7)return"dominant";const i=[16/9,4/3,1,1.5],a=n[e(258)](t=>i[e(231)](n=>Math[e(173)](t-n)<.1)).length;return e(a/o>=.5?224:256)}[ht(193)](t,e,n){const r=ht,s=t[r(184)](t=>t.width/t[r(218)]);switch(n){case r(249):{const t=new Map;s.forEach(e=>{const n=r,s=Math.round(10*e)/10,o=s.toString(),i=t[n(200)](o);i?i[n(187)]++:t.set(o,{ratio:s,count:1})});const n=Array[r(252)](t[r(236)]())[r(254)]((t,e)=>e[r(187)]>t[r(187)]?e:t);return Math[r(170)](e/n[r(178)])}case r(224):{const t=[{ratio:16/9,name:r(226)},{ratio:4/3,name:"4:3"},{ratio:1,name:"1:1"},{ratio:1.5,name:r(245)}],n=s.reduce((t,e)=>t+e,0)/s[r(164)],o=t[r(254)]((t,e)=>Math.abs(e[r(178)]-n)<Math.abs(t.ratio-n)?e:t);return this.debug&&console[r(172)](r(255)+o[r(239)]+r(216)+n[r(220)](2)+")"),Math[r(170)](e/o.ratio)}case r(256):default:{const t=s[r(254)]((t,e)=>t+e,0)/s.length;return Math[r(170)](e/t)}}}[ht(186)](t){return new Promise((e,n)=>{const r=gt,s=new Image;s.onload=()=>{e({width:s[gt(203)],height:s.naturalHeight})},s[r(248)]=()=>{n(new Error(r(257)+t))},s[r(241)]=t})}[ht(202)](t,e,n){const r=ht,s=e/n;Math[r(173)](s-1)<.1?(t[r(207)][r(209)]=r(261),t[r(207)].objectPosition=r(182)):s>1.3?(t[r(207)].objectFit=r(269),t[r(207)][r(266)]=r(182),t.style[r(171)]=r(197)):s<.7?(t[r(207)].objectFit=r(261),t[r(207)][r(266)]=r(182)):(t[r(207)][r(209)]=r(261),t[r(207)][r(266)]=r(182)),this.debug&&console[r(172)](r(253)+t[r(207)][r(209)]+r(235)+s[r(220)](2))}async[ht(225)](t,e,n){const r=ht,s=document.createElement(r(263));s[r(207)][r(185)]="100%",s[r(207)][r(218)]=r(206),s[r(207)][r(260)]=r(259),s[r(207)][r(177)]=r(166),s.alt=e[r(210)]||r(221),t[r(169)]=r(264);try{if(!e.imageUrl)throw new Error(r(174));const o=await this.loadImageDimensions(e[r(167)]),i=t[r(168)](),a=i[r(185)],c=i.height;this[r(195)]&&(console.log(r(251)+o[r(185)]+"x"+o.height),console[r(172)](r(228)+a+"x"+c));const d=o.width/o[r(218)],l=a/c;return this[r(202)](s,d,l),s[r(241)]=e[r(167)],t.innerHTML="",t[r(244)](s),tt[r(240)](s,e,n,()=>this[r(190)](),this[r(195)],"Banner"),this[r(195)]&&console[r(172)]("✅ Optimized banner image rendered for ad: "+e[r(268)]),s}catch(o){return console.error("❌ Failed to load optimized banner image:",o),e.imageUrl&&(s[r(241)]=e[r(167)],s.style[r(209)]=r(261),s[r(207)][r(266)]=r(182),t[r(169)]="",t[r(244)](s),tt[r(240)](s,e,n,()=>this[r(190)](),this[r(195)],r(233))),s}}}function yt(){const t=["762160aXhyHd","textContent","\n font-family: 'Arial', sans-serif;\n text-decoration: none;\n display: block;\n text-align: left;\n transition: color 0.3s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: visible;\n padding-right: 2px;\n padding-left: 2px;\n white-space: nowrap;\n ","5PcmQpH","1376901ihVbiU","975512pKEfyJ","204500VcBnZZ","setTextAdContent","379292UQSKbs","title","2968662eGFJzs","7897248yhvLcX"];return(yt=function(){return t})()}const It=vt;function vt(t,e){const n=yt();return(vt=function(t,e){return n[t-=303]})(t,e)}!function(t){const e=vt,n=t();for(;;)try{if(344767===-parseInt(e(313))/1+-parseInt(e(312))/2+-parseInt(e(311))/3+-parseInt(e(303))/4+parseInt(e(310))/5*(parseInt(e(305))/6)+parseInt(e(307))/7+parseInt(e(306))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(yt);class bt{static createTextAdStyles(t=!1){return vt(309)}static[It(314)](t,e){const n=It,r=e[n(308)]||e[n(304)]||"";t[n(308)]=r}}const wt=kt;function kt(t,e){const n=Et();return(kt=function(t,e){return n[t-=260]})(t,e)}function Et(){const t=["42azyatB","getBoundingClientRect","44tvyxtG","setProperty","absolute","top",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","56tAUfxX",";\n width: 100%;\n ","forEach","touchmove","relative","adstage-ad adstage-","entries","adstage-fade-slider-wrapper","style","7LOiSQY","\n ","data-adstage-slot-id","normal","clientX","setAttribute","opacity","transform","adstage-fade-slide","createElement","clientY","autoSlideInterval","6929838McSOHY","abs","block","touches","createSimpleAdElement","removeChild","height: 100%;","preventDefault",";\n top: ","8521335FmZBkl","cssText","fit-content","zIndex","translateY(-20px)","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","_id","length","changedTouches","left","trackSlideViewable","398325hFsauN","position","hidden","addEventListener","div","setTextAdContent","touchend","adType","height","appendChild","string","addTouchSupport","className","20px","minHeight","10hgPjcB","8732832JwnPih","8458896ifUdKy","translateY(20px)","whiteSpace","Text","height: auto; min-height: fit-content;","height: auto;","mouseleave","width","toLowerCase","73947FAgtAL","628101YtrxZm","auto","push",";\n ","createTextTransitionContainer","includes",";\n left: ","addClickEventForSlider"];return(Et=function(){return t})()}!function(t){const e=kt,n=t();for(;;)try{if(583666===-parseInt(e(299))/1+parseInt(e(307))/2*(parseInt(e(298))/3)+-parseInt(e(314))/4*(parseInt(e(272))/5)+-parseInt(e(335))/6*(parseInt(e(323))/7)+parseInt(e(288))/8+parseInt(e(261))/9*(-parseInt(e(287))/10)+parseInt(e(309))/11*(parseInt(e(289))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Et);class xt{static createSimpleAdElement(t,e){const n=kt,r=document[n(332)](n(276));return r[n(284)]=n(319)+String(t[n(279)])[n(297)](),r[n(328)]("data-adstage-ad-id",e[n(267)]),r[n(328)](n(325),t.id),r[n(322)][n(262)]=bt.createTextAdStyles(!0),bt[n(277)](r,e),r}static[wt(303)](t,e,n,r,s=!1){const o=wt,i=t.height&&0!==t[o(280)]&&t[o(280)]!==o(300),a=document[o(332)](o(276));a[o(284)]=o(321);const c={position:o(318),overflow:o(274),display:o(337)};if(!i&&(c.height="auto",c[o(286)]=o(263)),t[o(296)]&&0!==t[o(296)]){let e;e=typeof t.width===o(282)&&(t[o(296)].includes("px")||t[o(296)].includes("%"))?t[o(296)]:t.width+"px",c[o(296)]=e}if(t[o(280)]&&0!==t.height&&t.height!==o(300)&&i){let e;e=typeof t[o(280)]===o(282)?t.height[o(304)]("px")||t[o(280)][o(304)]("%")?t[o(280)]:t[o(280)]+"px":t.height+"px",c[o(280)]=e}Object[o(320)](c)[o(316)](([t,e])=>{const n=o;a.style[n(310)](t,e)});const d=document[o(332)]("div");d.className="adstage-fade-slide-container",d[o(322)].cssText="\n position: relative;\n width: 100%;\n "+o(i?341:293)+o(324);let l=null;const u=!t.width||0===t[o(296)],p=!t[o(280)]||0===t[o(280)]||void 0===t[o(280)]||t[o(280)]===o(300);if(u||p&&i){if(l=document.createElement("div"),l[o(322)].cssText=o(266),!u&&t[o(296)]){let e;e=typeof t.width===o(282)&&(t[o(296)][o(304)]("px")||t[o(296)][o(304)]("%"))?t[o(296)]:t.width+"px",l[o(322)][o(296)]=e,l[o(322)][o(291)]=o(326)}document.body[o(281)](l);let n=0,r=0;e[o(316)](e=>{const s=o,i=this[s(339)](t,e);l.appendChild(i);const a=i[s(308)]();a[s(296)]>n&&(n=a[s(296)]),a[s(280)]>r&&(r=a[s(280)]),l.removeChild(i)}),u&&n>0&&(a[o(322)].width=n+"px"),p&&r>0&&i&&(a[o(322)][o(280)]=r+"px"),document.body[o(340)](l)}const h=[];e[o(316)]((e,n)=>{const a=o,c=document[a(332)](a(276));c[a(284)]=a(331);const l=i?"absolute":a(0===n?318:311);c[a(322)][a(262)]="\n position: "+l+a(260)+(l===a(311)?"0":a(300))+a(305)+(l===a(311)?"0":a(300))+a(315)+a(i?341:294)+"\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: "+(0===n?"1":"0")+";\n transform: translateY("+(0===n?"0":a(285))+a(313)+(0===n?"2":"1")+a(302);const u=this[a(339)](t,e);tt[a(306)](u,e,t,r,s,a(292)),c[a(281)](u),d.appendChild(c),h[a(301)](c)});let f=0;const g=e[o(268)],m=1e3*(n?.[o(334)]||4),y=n=>{const a=o;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!i&&(c.style.position===a(318)&&(c[a(322)].position=a(311),c[a(322)][a(312)]="0",c[a(322)].left="0"),d[a(322)][a(273)]=a(318),d[a(322)].top=a(300),d[a(322)][a(270)]=a(300)),c[a(322)].opacity="0",c.style[a(330)]=a(265),c[a(322)][a(264)]="1",d.style[a(329)]="1",d.style[a(330)]="translateY(0)",d[a(322)][a(264)]="2",h[a(316)]((t,e)=>{const r=a;e!==n&&e!==f&&(t[r(322)][r(329)]="0",t[r(322)][r(330)]=r(290),t[r(322)][r(264)]="1",!i&&"relative"===t.style[r(273)]&&(t.style.position=r(311),t[r(322)][r(312)]="0",t[r(322)][r(270)]="0"))}),f=n,Q[a(271)](e[f],t,f,r,s)};let I=setInterval(()=>{y(f+1)},m);return a[o(275)]("mouseenter",()=>{clearInterval(I)}),a[o(275)](o(295),()=>{I=setInterval(()=>{y(f+1)},m)}),xt[o(283)](a,y,()=>f,g),a.appendChild(d),a}static[wt(283)](t,e,n,r){const s=wt;let o=0,i=0,a=!1;t[s(275)]("touchstart",t=>{const e=s;o=t[e(338)][0][e(327)],i=t[e(338)][0].clientY,a=!0}),t.addEventListener(s(317),t=>{a&&t[s(342)]()}),t[s(275)](s(278),t=>{const r=s;if(!a)return;a=!1;const c=t[r(269)][0].clientX,d=t[r(269)][0][r(333)],l=o-c,u=i-d;if(Math[r(336)](l)>Math.abs(u)&&Math[r(336)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}const St=At;function At(t,e){const n=Ct();return(At=function(t,e){return n[t-=326]})(t,e)}function Ct(){const t=["style","62010cKiQMd","adstage-ad adstage-text-ad","display","maxLines","59067ehZTKX","36ZLcDnN","createTextAdStyles","createTextTransitionContainer","number","div","28JAfCus","className","slideInterval","createElement","setTextAdContent","120EcVtoo","renderMultipleAds","hidden","debug","✨ Single text ad rendered: ","overflow","width","✨ Text transition created for slot: ","_id","innerHTML","452590duYZEl","getElementById","vertical","renderAdElement","config","calculateAdSize","60px"," ads","7070IiNhdQ","aspectRatio","Container not found: ","100%","109dGbRkW","1086728jkgxsX","-webkit-box","Text","optimizedHeight","643405WIgiia","height","addClickEventForRenderer","log","createEventTrackingCallback","webkitLineClamp","appendChild","containerId","cssText","2047573CaNWBE","length"];return(Ct=function(){return t})()}!function(t){const e=At,n=t();for(;;)try{if(223197===parseInt(e(377))/1*(-parseInt(e(373))/2)+-parseInt(e(344))/3*(-parseInt(e(350))/4)+-parseInt(e(340))/5*(-parseInt(e(355))/6)+parseInt(e(328))/7+parseInt(e(378))/8+-parseInt(e(345))/9*(-parseInt(e(365))/10)+-parseInt(e(337))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ct);class Tt extends ut{constructor(t=!1,e){super(n.TEXT,t,e)}getDefaultHeight(){return At(371)}async[St(368)](t,e){const n=St,r=document[n(366)](t[n(335)]);if(!r)return;const s=document[n(353)](n(349));s[n(351)]=n(341);const o=t[n(327)],i=r.parentElement||r;if(o)s[n(339)][n(361)]=n(376),s[n(339)][n(329)]=String(o);else{const e=t[n(369)],r={width:e?.[n(361)],height:e?.[n(329)]},{width:o,height:a}=this[n(370)](i,r,{debug:this[n(358)]});s[n(339)][n(361)]=o,s.style.height=a}const a=document.createElement("div");a.className="adstage-text-content",a[n(339)][n(336)]=bt[n(346)](!1),bt[n(354)](a,e);const c=t[n(369)]?.[n(343)];c&&typeof c===n(348)&&(a[n(339)][n(342)]=n(379),a[n(339)][n(333)]=String(c),a[n(339)].webkitBoxOrient=n(367),a[n(339)][n(360)]=n(357)),s[n(334)](a),tt[n(330)](s,e,t,()=>this.createEventTrackingCallback(),this[n(358)],n(326)),r.innerHTML="",r.appendChild(s),this.debug&&console[n(331)](n(359)+e[n(363)])}async[St(356)](t,e){const n=St,r=document[n(366)](t.containerId);if(!r)throw new Error(n(375)+t[n(335)]);const s=this[n(332)](),o={autoSlideInterval:(t[n(369)]?.[n(352)]||5e3)/1e3,...t[n(369)],optimizedHeight:t[n(327)],aspectRatio:t[n(374)]},i=xt[n(347)](t,e,o,s,this[n(358)]);i&&(r[n(364)]="",r[n(334)](i),this.debug&&console.log(n(362)+t.id+" with "+e[n(338)]+n(372)))}}function Rt(t,e){const n=_t();return(Rt=function(t,e){return n[t-=337]})(t,e)}const Pt=Rt;function _t(){const t=["🎬 Video config received:","⚠️ No video advertisements available for slot: ","VIDEO",", loop: ","rgba(0, 0, 0, 0.7)","imageUrl","loadeddata","relative","objectFit","mouseenter","display",'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/>\n </svg>\n ',"748vTyvHX","hideRemainingTime","addEventListener","🎬 Initial autoplay attempt after timeout...","adstage-video-default-controls","block","createElement","paused","100%","stopPropagation","button","unmuted","addClickEventForRenderer","disabled (default)","length","🎬 Single video rendered for VIDEO slot: ","\n video::-webkit-media-controls-play-button {\n display: ","metadata","muted","playsinline","loadedmetadata","style","Click to unmute","debug","loop","adstage-video-mute-button","renderMultipleAds","360px","controls","getElementById","\n position: absolute;\n top: 12px;\n left: 12px;\n width: 40px;\n height: 40px;\n border: none;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.7);\n color: white;\n font-size: 16px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10;\n transition: all 0.3s ease;\n backdrop-filter: blur(4px);\n ","getDefaultHeight","height","🎬 Final video settings:","hideMuteButton","contain","Video thumbnail","🔊 Video mute toggled: ","img","containerId","6042980xcpHyb","src","appendChild","🎬 Autoplay completely failed:","config","rgba(0, 0, 0, 0.9)","cssText","Video","background","1420979hKeIIE","click","hideControls","11274OvEwCB","customControls","innerHTML","textContent","renderVideoElementDirect","preload","play","scale(1.1)","3130HnHBao"," !important;\n }\n ","video","adstage-video-container","width","setAttribute","_id","log","none","autoplay","videoUrl","532056zBAkAS","hidePlayButton","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","Video load failed:","createEventTrackingCallback","canplay","className","transform","title","🎬 Auto-play was prevented:","head","🎬 Video element created for ad: ",'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/>\n </svg>\n ',"scale(1)","catch","hideFullscreenButton","div","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","🎬 Trying muted autoplay fallback...","alt","9rDnSnJ","VIEWABLE","warn","18aFunaQ"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","1137303oUQbNQ","hideCurrentTime","🎬 Video metadata loaded, attempting autoplay...","hideProgressBar","4706215gKwagv","error"];return(_t=function(){return t})()}!function(t){const e=Rt,n=t();for(;;)try{if(576321===-parseInt(e(362))/1+-parseInt(e(440))/2+parseInt(e(432))/3*(parseInt(e(380))/4)+parseInt(e(366))/5+parseInt(e(360))/6*(parseInt(e(429))/7)+parseInt(e(337))/8+parseInt(e(357))/9*(-parseInt(e(420))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_t);class Dt extends ut{constructor(t=!1,e){super(n[Rt(370)],t,e)}[Pt(411)](){return Pt(407)}async renderAdElement(t,e){const n=Pt,r=document[n(409)](t[n(419)]);if(!r)return;const s=document[n(386)](n(353));s[n(343)]=n(443),s[n(401)].cssText=n(354),this.renderVideoElementDirect(s,e,t),r[n(434)]="",r.appendChild(s),this.debug&&console[n(447)]("🎬 Single video ad rendered: "+e[n(446)])}async[Pt(406)](t,e){const n=Pt,r=document[n(409)](t[n(419)]);if(!r)throw new Error("Container not found: "+t[n(419)]);if(e[n(394)]>0){const s=e[0],o=document[n(386)](n(353));o.className=n(443),o.style[n(426)]=n(339),this.renderVideoElementDirect(o,s,t),r[n(434)]="",r[n(422)](o);const i=this[n(341)]();setTimeout(()=>{const e=n;i(s[e(446)],t.id,c[e(358)])},100),this[n(403)]&&console.log(n(395)+t.id+" ("+s[n(446)]+")")}else this[n(403)]&&console[n(359)](n(369)+t.id)}[Pt(436)](t,e,n){const r=Pt;t[r(401)].position=r(375);const s=document[r(386)](r(442));s[r(401)][r(444)]="100%",s[r(401)][r(412)]=r(388),s[r(401)][r(376)]=r(415),s[r(437)]=r(397);const o=n[r(424)];if(this[r(403)]&&console[r(447)](r(368),o),s.controls=!1,s[r(449)]=!1!==o?.autoplay,s[r(398)]=!0,s[r(404)]=!1!==o?.[r(404)],this[r(403)]&&console[r(447)](r(413),{autoplay:s.autoplay,muted:s.muted,loop:s[r(404)],controls:s[r(408)]}),!1!==o?.playsinline&&s[r(445)](r(399),""),!0===o?.controls&&(s[r(408)]=!0,this[r(403)]&&console[r(447)]("🎬 User explicitly enabled controls, overriding default")),o?.[r(431)])s[r(408)]=!1,s.style[r(426)]+="\n pointer-events: none;\n ";else if(o?.[r(433)]){if(s[r(408)]){const t=document[r(386)]("style");t[r(435)]=r(396)+(o.customControls[r(338)]?r(448):"block")+" !important;\n }\n video::-webkit-media-controls-timeline {\n display: "+(o[r(433)][r(365)]?r(448):r(385))+" !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: "+(o.customControls[r(363)]?r(448):r(385))+" !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: "+(o[r(433)][r(381)]?"none":r(385))+r(361)+(o[r(433)].hideVolumeSlider?"none":r(385))+" !important;\n }\n video::-webkit-media-controls-mute-button {\n display: "+(o.customControls[r(414)]?"none":r(385))+" !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: "+(o.customControls[r(352)]?"none":r(385))+r(441),document[r(347)].appendChild(t)}}else if(s[r(408)]){const t=document[r(386)](r(401));t.id=r(384),t[r(435)]="\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n ",!document[r(409)](r(384))&&document[r(347)][r(422)](t)}this.debug&&console[r(447)]("🎬 Video controls setting:",s[r(408)]?"enabled":r(393));const i=document[r(386)](r(390));i[r(343)]=r(405),i[r(401)][r(426)]=r(410),o?.[r(431)]&&(i[r(401)][r(378)]=r(448));const a=()=>{const t=r,e=t(349),n=t(379);i[t(434)]=s[t(398)]?e:n,i[t(345)]=s.muted?t(402):"Click to mute"};if(a(),i[r(382)](r(430),t=>{const e=r;t[e(389)](),s[e(398)]=!s[e(398)],a(),this[e(403)]&&console[e(447)](e(417)+(s.muted?e(398):e(391)))}),i[r(382)](r(377),()=>{const t=r;i[t(401)][t(428)]=t(425),i.style[t(344)]=t(439)}),i[r(382)]("mouseleave",()=>{const t=r;i.style[t(428)]=t(372),i.style.transform=t(350)}),e[r(450)]){s[r(421)]=e.videoUrl;const t=()=>{const t=r;s[t(449)]&&s[t(398)]&&s[t(387)]&&s[t(438)]()[t(351)](e=>{const n=t;this[n(403)]&&(console[n(359)](n(346),e),console[n(359)](n(355))),s.muted=!0,s.play()[n(351)](t=>{const e=n;this.debug&&console[e(367)](e(423),t)})})};s[r(382)](r(400),()=>{const e=r;this[e(403)]&&console[e(447)](e(364)),t()}),s[r(382)](r(342),()=>{const e=r;this[e(403)]&&console[e(447)]("🎬 Video can play, attempting autoplay..."),t()}),s[r(382)](r(374),()=>{this[r(403)]&&console.log("🎬 Video data loaded, attempting autoplay..."),t()}),setTimeout(()=>{const e=r;this[e(403)]&&console.log(e(383)),t()},100)}else if(e[r(373)]){const n=document[r(386)]("img");return n.src=e[r(373)],n[r(401)][r(444)]=r(388),n[r(401)].height=r(388),n[r(401)].objectFit="contain",n[r(356)]=e.title||r(416),void t.appendChild(n)}tt[r(392)](s,e,n,()=>this[r(341)](),this[r(403)],r(427)),s.addEventListener("error",s=>{const o=r;if(console[o(367)](o(340),s),e[o(373)]){const r=document[o(386)](o(418));r[o(421)]=e[o(373)],r.style.width=o(388),r[o(401)][o(412)]="100%",r[o(401)][o(376)]="contain",r.alt=e[o(345)]||o(416),tt.addClickEventForRenderer(r,e,n,()=>this[o(341)](),this[o(403)],"Video fallback"),t.innerHTML="",t[o(422)](r)}}),t[r(422)](s),t.appendChild(i),this[r(403)]&&console[r(447)](r(348)+e[r(446)]+" (autoplay: "+s.autoplay+", muted: "+s.muted+r(371)+s[r(404)]+")")}}function Ut(){const t=["linkUrl","div","containerId","161265VlbGEe","): ","1846280znygXi","NATIVE","5516xZSXgR","🏠 Single native ad rendered: ","debug","#3b82f6","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","style","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","1245976atfxJp","Native Advertisement","className","⚠️ No native advertisements available for slot: ","_blank","src","54DiJFBZ","mouseleave","button","appendChild","1216779WZjMPC","advertisementEventTracker","alt","2402432crWuIR","click","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","textContent","#2563eb","imageUrl","warn","\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n padding: 16px;\n background: #fff;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n ","getDefaultHeight","backgroundColor","open","6324AuoATN","addEventListener","Learn More","title","453715lLUfnZ","log","length","Native click tracked for ad: ","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","innerHTML","createElement","\n padding: 8px 16px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 6px;\n font-size: 14px;\n font-weight: 500;\n cursor: pointer;\n align-self: flex-start;\n transition: background-color 0.2s;\n ","getElementById","🏠 Native ad rendered (first of ","renderAdElement","cssText","renderMultipleAds","img","mouseenter"];return(Ut=function(){return t})()}const Lt=Ot;function Ot(t,e){const n=Ut();return(Ot=function(t,e){return n[t-=444]})(t,e)}!function(t){const e=Ot,n=t();for(;;)try{if(592407===parseInt(e(471))/1+parseInt(e(500))/2+-parseInt(e(453))/3+-parseInt(e(456))/4+-parseInt(e(489))/5+-parseInt(e(467))/6*(parseInt(e(493))/7)+-parseInt(e(491))/8*(-parseInt(e(449))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ut);class zt extends ut{constructor(t=!1,e){super(n[Ot(492)],t,e)}[Lt(464)](){return"200px"}async[Lt(481)](t,e){const n=Lt,r=document[n(479)](t[n(488)]);if(!r)return;const s=document[n(477)]("div");if(s[n(445)]="adstage-ad adstage-native-ad",s[n(498)].cssText=n(463),e.title){const t=document[n(477)]("h3");t.textContent=e[n(470)],t.style.cssText=n(499),s[n(452)](t)}if(e[n(459)]){const t=document[n(477)]("p");t[n(459)]=e[n(459)],t[n(498)].cssText=n(475),s[n(452)](t)}if(e[n(461)]){const t=document.createElement(n(487));t[n(498)][n(482)]=n(458);const r=document[n(477)](n(484));r[n(448)]=e[n(461)],r[n(455)]=e[n(470)]||n(444),r[n(498)].cssText=n(497),t.appendChild(r),s.appendChild(t)}if(e[n(486)]){const t=document[n(477)](n(451));t[n(459)]=n(469),t[n(498)][n(482)]=n(478),t[n(468)](n(457),()=>{const t=n;this[t(454)]&&console[t(472)](t(474)+e._id),window[t(466)](e[t(486)],t(447))}),t.addEventListener(n(485),()=>{const e=n;t.style.backgroundColor=e(460)}),t[n(468)](n(450),()=>{const e=n;t[e(498)][e(465)]=e(496)}),s.appendChild(t)}r[n(476)]="",r[n(452)](s),this[n(495)]&&console.log(n(494)+e._id)}async[Lt(483)](t,e){const n=Lt;e[n(473)]>0?(await this[n(481)](t,e[0]),this[n(495)]&&console[n(472)](n(480)+e.length+n(490)+t.id)):this.debug&&console[n(462)](n(446)+t.id)}}const Bt=Mt;function Nt(){const t=["innerHTML","#6b7280","body","open","_id","click","div","createElement","_blank","): ","appendChild","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","8499720KwzJFR","className","length","#2563eb","38KRiRrc","🖼️ Interstitial ad rendered: ","95908CWRNwE","2326008uwShIR","fadeOut 0.3s ease-out forwards","head","🖼️ Interstitial ad closed","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","getDefaultHeight","🖼️ Interstitial ad rendered (first of ","3455TplHCZ","src","advertisementEventTracker","animation","Escape","button","336477vvJNFJ","Interstitial click tracked for ad: ","removeEventListener","backgroundColor","mouseenter","adstage-interstitial-styles","imageUrl","2987852suFzxO","debug","\n position: relative;\n max-width: 90vw;\n max-height: 90vh;\n background: white;\n border-radius: 12px;\n padding: 24px;\n box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);\n animation: slideUp 0.3s ease-out;\n overflow: auto;\n ","color","635445IgnNYv","getElementById","Interstitial Advertisement","#3b82f6","log","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","104UkWqlx","⚠️ No interstitial advertisements available for slot: ","img","linkUrl","5538cCMUjX","adstage-interstitial-content","textContent","adstage-interstitial-overlay","warn","renderAdElement","closeInterstitial","renderMultipleAds","title","keydown","addEventListener","style","cssText","containerId","#374151"];return(Nt=function(){return t})()}function Mt(t,e){const n=Nt();return(Mt=function(t,e){return n[t-=311]})(t,e)}!function(t){const e=Mt,n=t();for(;;)try{if(985527===parseInt(e(367))/1*(parseInt(e(365))/2)+-parseInt(e(313))/3+-parseInt(e(368))/4+parseInt(e(375))/5*(-parseInt(e(334))/6)+parseInt(e(320))/7+-parseInt(e(330))/8*(-parseInt(e(324))/9)+-parseInt(e(361))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Nt);class Vt extends ut{constructor(t=!1,e){super(n.INTERSTITIAL,t,e)}[Bt(373)](){return"400px"}async[Bt(339)](t,e){const n=Bt;if(!document[n(325)](t[n(347)]))return;const r=document.createElement(n(355));r[n(362)]=n(337),r[n(345)][n(346)]="\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10000;\n animation: fadeIn 0.3s ease-out;\n ";const s=document[n(356)](n(355));s[n(362)]=n(335),s[n(345)].cssText=n(322);const o=document[n(356)](n(312));if(o[n(349)]="×",o[n(345)][n(346)]="\n position: absolute;\n top: 12px;\n right: 12px;\n width: 32px;\n height: 32px;\n border: none;\n background: #f3f4f6;\n color: #6b7280;\n font-size: 20px;\n font-weight: bold;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s;\n ",o[n(344)]("click",()=>{this[n(340)](r)}),o[n(344)](n(317),()=>{const t=n;o[t(345)].backgroundColor="#e5e7eb",o.style[t(323)]=t(348)}),o[n(344)]("mouseleave",()=>{const t=n;o[t(345)][t(316)]="#f3f4f6",o.style.color=t(350)}),e[n(319)]){const t=document.createElement(n(332));t[n(376)]=e[n(319)],t.alt=e.title||n(326),t.style.cssText=n(360),s.appendChild(t)}if(e[n(342)]){const t=document[n(356)]("h2");t[n(336)]=e.title,t[n(345)].cssText=n(329),s[n(359)](t)}if(e[n(336)]){const t=document[n(356)]("p");t[n(336)]=e[n(336)],t.style[n(346)]=n(372),s[n(359)](t)}if(e.linkUrl){const t=document[n(356)](n(312));t[n(336)]="Get Started",t.style[n(346)]="\n width: 100%;\n padding: 12px 24px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 8px;\n font-size: 16px;\n font-weight: 600;\n cursor: pointer;\n transition: background-color 0.2s;\n ",t[n(344)]("click",()=>{const t=n;this[t(377)]&&console[t(328)](t(314)+e[t(353)]),window[t(352)](e[t(333)],t(357)),this[t(340)](r)}),t[n(344)](n(317),()=>{const e=n;t[e(345)][e(316)]=e(364)}),t[n(344)]("mouseleave",()=>{const e=n;t[e(345)][e(316)]=e(327)}),s[n(359)](t)}const i=t=>{const e=n;t.key===e(311)&&(this[e(340)](r),document[e(315)](e(343),i))};if(document[n(344)]("keydown",i),r[n(344)](n(354),t=>{const e=n;t.target===r&&this[e(340)](r)}),!document[n(325)](n(318))){const t=document[n(356)](n(345));t.id=n(318),t[n(336)]="\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n }\n ",document[n(370)][n(359)](t)}s.appendChild(o),r[n(359)](s),document[n(351)][n(359)](r),this[n(321)]&&console[n(328)](n(366)+e[n(353)])}async[Bt(341)](t,e){const n=Bt;e.length>0?(await this[n(339)](t,e[0]),this[n(321)]&&console[n(328)](n(374)+e[n(363)]+n(358)+t.id)):this.debug&&console[n(338)](n(331)+t.id)}[Bt(340)](t){const e=Bt;t[e(345)][e(378)]=e(369),setTimeout(()=>{t.parentNode&&t.parentNode.removeChild(t)},300),this.debug&&console.log(e(371))}}const Ft=Ht;function Ht(t,e){const n=jt();return(Ht=function(t,e){return n[t-=442]})(t,e)}function jt(){const t=["loadImageDimensions","toLowerCase","appendChild","306477ruEzYR","adstage-ad adstage-","naturalHeight","createElement","No renderer found for ad type: ","42095vOdvWO","VIDEO","img","setAttribute","data-adstage-ad-id","get","debug","100%","warn","src"," renderers","⚠️ Container optimization is only supported for BANNER ads, got: ","getRenderer","[AdRenderer] ","calculateOptimalContainerSize","imageUrl","style","createPlaceholder","backgroundColor","padding","4365396CHkjma","283617dHqLTW","renderFallback","renderAd","set","advertisementEventTracker","NATIVE","objectFit","INTERSTITIAL","8px","size","76rbYgQM","config","advertisement","textContent","renderAdElement","adType","initializeRenderers","calculateAdSize","renderers","#f9f9f9","584WxbCtO","getDefaultHeightForAdType","className","width","BANNER","🏭 AdRenderer factory initialized with ","renderOptimizedBannerImage","height"," Ad","Failed to load image: ","display","optimizeContainerForBannerAds","TEXT","border","onerror","3131324wqVyFW","isLoaded","videoUrl","renderAdSlider","log","556179PUmdRH","4632678ggBaEa","getDefaultHeight"];return(jt=function(){return t})()}!function(t){const e=Ht,n=t();for(;;)try{if(810507===-parseInt(e(485))/1+-parseInt(e(448))/2+parseInt(e(453))/3+parseInt(e(495))/4*(-parseInt(e(464))/5)+parseInt(e(454))/6+-parseInt(e(484))/7+-parseInt(e(505))/8*(-parseInt(e(459))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(jt);class Wt{constructor(t=!1,e){const n=Ht;this[n(503)]=new Map,this[n(470)]=t,this[n(489)]=e||null,this.initializeRenderers()}[Ft(501)](){const t=Ft;this[t(503)].set(n[t(509)],new mt(this.debug,this[t(489)])),this[t(503)][t(488)](n[t(445)],new Tt(this[t(470)],this[t(489)])),this[t(503)][t(488)](n.VIDEO,new Dt(this[t(470)],this[t(489)])),this[t(503)][t(488)](n[t(490)],new zt(this[t(470)],this[t(489)])),this.renderers[t(488)](n[t(492)],new Vt(this[t(470)],this[t(489)])),this.debug&&console[t(452)](t(510)+this[t(503)][t(494)]+t(474))}createAdElement(t,e){const r=Ft,s=this[r(476)](t[r(500)]),o=document[r(462)]("div");o[r(507)]=r(460)+String(t[r(500)])[r(457)](),o[r(467)](r(468),e._id),o.setAttribute("data-adstage-slot-id",t.id);const{width:i,height:a}=s[r(502)](o,t[r(496)]||{},e);switch(o.style[r(508)]=i,o[r(480)][r(512)]=a,o.style[r(443)]="block",t[r(500)]){case n[r(509)]:if(e[r(479)]){const t=document[r(462)](r(466));t[r(473)]=e[r(479)],t[r(480)][r(508)]=r(471),t[r(480)][r(512)]=r(471),t[r(480)][r(491)]="cover",o[r(458)](t)}break;case n[r(465)]:if(e[r(450)]){const t=document[r(462)]("video");t[r(473)]=e[r(450)],t.style[r(508)]=r(471),t[r(480)][r(512)]=r(471),o[r(458)](t)}break;case n[r(445)]:if(e.textContent){const t=document.createElement("div");t[r(498)]=e[r(498)]||"",t[r(480)][r(483)]=r(493),o[r(458)](t)}break;default:o[r(480)][r(446)]="1px dashed #ccc",o[r(480)][r(482)]=r(504),o[r(498)]=t[r(500)]+r(513)}return o}getRenderer(t){const e=Ft,n=this.renderers[e(469)](t);if(!n)throw new Error(e(463)+t);return n}[Ft(481)](t,e,n,r,s){const o=Ft;this.getRenderer(n)[o(481)](t,e,r,s)}async optimizeContainerForBannerAds(t,e){const r=Ft;if(t.adType!==n[r(509)])return void(this.debug&&console[r(472)](r(475)+t[r(500)]));const s=this[r(476)](n[r(509)]);await s[r(444)](t,e)}async[Ft(451)](t,e){const n=Ft,r=this[n(476)](t[n(500)]);await r.renderMultipleAds(t,e)}async[Ft(487)](t){const e=Ft;if(!t[e(497)])throw new Error("No advertisement to render");const n=this[e(476)](t[e(500)]);await n.renderAdElement(t,t[e(497)]),t[e(449)]=!0}async[Ft(499)](t,e){const n=Ft,r=this[n(476)](t[n(500)]);await r.renderAdElement(t,e)}renderFallback(t){const e=Ft;this.getRenderer(t[e(500)])[e(486)](t)}[Ft(506)](t){const e=Ft;return this.getRenderer(t)[e(455)]()}calculateAdSize(t,e,n,r){const s=Ft;return this.getRenderer(e)[s(502)](t,n,r)}[Ft(456)](t){return new Promise((e,n)=>{const r=Ht,s=new Image;s.onload=()=>{const t=Ht;e({width:s.naturalWidth,height:s[t(461)]})},s[r(447)]=()=>{n(new Error(r(442)+t))},s[r(473)]=t})}async[Ft(511)](t,e,r){const s=Ft;if(r[s(500)]!==n.BANNER)throw new Error("renderOptimizedBannerImage is only supported for BANNER ads");const o=this[s(476)](n[s(509)]);return await o[s(511)](t,e,r)}async calculateOptimalContainerSize(t,e,r){const s=Ft;if(r!==n[s(509)]){return{width:"100%",height:this.getRenderer(r)[s(455)](),aspectRatio:16/9}}const o=this[s(476)](n[s(509)]);return await o[s(478)](t,e)}log(t,...e){const n=Ft;this[n(470)]&&console.log(n(477)+t,...e)}}const Kt=Xt;function Xt(t,e){const n=Zt();return(Xt=function(t,e){return n[t-=398]})(t,e)}function Zt(){const t=["slots"," ads automatically","🚫 Advertisement not found with ID: ","language","destroy","renderAdSlider","autoSlide","warn","createAd","advertisement"," (element found)","adType","Failed to fetch ad data: ","onClick","getAllSlots","getAttribute","mutationObserver","ELEMENT_NODE","BANNER","autoplay","status","fetchAdData","Failed to refresh ad slot: ","Ads module not initialized. Call AdStage.init() first.","height","video","🔄 Ad slot refreshed: ","advertisementEventTracker","data-adstage-slot-id","viewabilityTracker","createAdWithRetry","maxLines","setAttribute","✅ Simple viewable impression tracked for ad ","renderAd","2410525fLnJOY","852RFPXRs","renderAdElement","VIDEO","json","100%","refreshAdSlot","slideInterval","getElementById","adstage-","debug","deviceType","auto","delete","🔍 Auto-cleanup MutationObserver enabled","NATIVE","startSimpleViewabilityTracking","📊 Advertisement event tracking enabled for slot: ","append","clear","error","then"," removed",". Retrying in ","length","getBaseUrl","loadAdContentInBackground","🗑️ Ads module destroyed","INTERSTITIAL","🗑️ Ad slot destroyed: ","🎯 Ads module initialized (sync mode) with auto-cleanup","get","ms... (attempt ","renderFallback","API key not configured","adId"," attempts: ","optimizeContainerForBannerAds","observe","native","forEach","Auto-cleanup failed for slot "," ads for type: ","_id","innerHTML","5506105Zhrrmx","ensureReady","isReady","interstitial","advertisements","Container not found: ","1940cfoJhX","create","6wVQEYe","_isReady","autoDestroy","auto-","detail","undefined","width","muted","controls","7952985ZUAwep","apiKey"," ads)","_config"," (attempt ","GET","18FfrhWM","toString","removedNodes","📊 Fetched ","init","createPlaceholder","country","1773961nYpjhp","setupAutoCleanup","hideControls","banner","containerId","log","TEXT","📊 Fetched specific ad with ID: ","disconnect","config","loop","createAdInternal","❌ Failed to track viewable impression:","119728GZemtD","random","❌ Failed to load ad for slot: ","2055088RdfpiK","playsinline","handleRemovedElement","🧹 Auto-cleanup: slot ","style","refresh","adRenderer","10MZpbCj","body"];return(Zt=function(){return t})()}!function(t){const e=Xt,n=t();for(;;)try{if(583276===-parseInt(e(465))/1*(-parseInt(e(500))/2)+parseInt(e(413))/3*(-parseInt(e(463))/4)+parseInt(e(412))/5+-parseInt(e(480))/6*(parseInt(e(487))/7)+parseInt(e(503))/8+parseInt(e(474))/9+parseInt(e(510))/10*(-parseInt(e(457))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Zt);class Jt{constructor(){const t=Xt;this._isReady=!1,this[t(477)]=null,this[t(512)]=new Map,this[t(404)]=null,this[t(509)]=null,this.mutationObserver=null}[Kt(484)](t){const e=Kt;this[e(477)]=t,this.advertisementEventTracker=new O(X[e(437)](),t[e(475)],t[e(422)]||!1,this[e(512)]),this[e(509)]=new Wt(t[e(422)]||!1,this[e(404)]),this.setupAutoCleanup(),this[e(466)]=!0,t[e(422)]&&console[e(492)](e(442))}[Kt(459)](){return this[Kt(466)]}getConfig(){return this._config}[Kt(490)](t,e){const r=Kt;this.ensureReady();const s={width:e?.[r(471)]||r(417),height:e?.height||r(424),autoSlide:e?.[r(518)]||!1,slideInterval:e?.[r(419)]||5e3,onClick:e?.[r(525)],adId:e?.[r(447)],language:e?.[r(515)],deviceType:e?.deviceType,country:e?.country};return this[r(520)](t,n[r(530)],s)}text(t,e){const r=Kt;this[r(458)]();const s={maxLines:e?.[r(408)]||3,style:e?.[r(507)]||"default",onClick:e?.[r(525)],adId:e?.[r(447)],language:e?.language,deviceType:e?.[r(423)],country:e?.[r(486)]};return this[r(520)](t,n[r(493)],s)}[Kt(402)](t,e){const r=Kt;this[r(458)]();const s={width:e?.[r(471)]||640,height:e?.[r(401)]||360,autoplay:void 0===e?.autoplay||e[r(531)],muted:void 0===e?.muted||e[r(472)],loop:void 0===e?.[r(497)]||e.loop,playsinline:!1!==e?.[r(504)],controls:void 0!==e?.[r(473)]&&e[r(473)],hideControls:e?.[r(489)]||!1,customControls:e?.customControls,autoSlide:!1,maxAds:1,onClick:e?.onClick,...e?.[r(447)]&&{adId:e[r(447)]}};return this.createAd(t,n[r(415)],s)}[Kt(451)](t,e){const r=Kt;return this.ensureReady(),this[r(520)](t,n[r(427)],e||{})}[Kt(460)](t,e){const r=Kt;return this[r(458)](),this[r(520)](t,n[r(440)],e||{})}[Kt(508)](t){const e=Kt;this[e(458)]();const n=this[e(512)][e(443)](t);if(!n)throw new Error("Ad slot not found: "+t);this[e(418)](n),this[e(477)]?.[e(422)]&&console[e(492)](e(403)+t)}[Kt(516)](t){const e=Kt;this[e(458)]();const n=this[e(512)][e(443)](t);if(!n)throw new Error("Ad slot not found: "+t);n.viewabilityTracker&&n.viewabilityTracker[e(516)]();const r=document[e(420)](n[e(491)]);r&&(r[e(456)]=""),this[e(512)][e(425)](t),this[e(477)]?.debug&&console[e(492)](e(441)+t)}[Kt(526)](){const t=Kt;return this.ensureReady(),Array.from(this[t(512)].values())}getSlotById(t){const e=Kt;return this[e(458)](),this[e(512)].get(t)||null}[Kt(520)](t,e,n){const r=Kt;if(!this[r(477)]?.[r(475)])throw new Error(r(446));const s=r(421)+e+"-"+Date.now()+"-"+Math[r(501)]()[r(481)](36).substr(2,9);return this[r(407)](t,e,n,s,0),s}async[Kt(407)](t,e,n,r,s){const o=Kt,i=[0,50,100,200,500];let a,c=null;if("string"==typeof t){if(a=t,c=document[o(420)](t),!c)return s<4?(this._config?.debug&&console[o(519)](o(462)+t+o(435)+i[s+1]+o(444)+(s+1)+"/5)"),void setTimeout(()=>{this[o(407)](t,e,n,r,s+1)},i[s+1])):void console[o(432)]("Container not found after 5"+o(448)+t)}else c=t,a=c.id||o(468)+r,!c.id&&(c.id=a);try{this[o(498)](a,e,n,r,c)}catch(t){console[o(432)]("광고 생성 중 오류 발생:",t)}}[Kt(498)](t,e,r,s,o){const i=Kt;o[i(409)](i(405),s),this.adRenderer?.[i(485)](o,s,e,r,this[i(477)]);const a={id:s,containerId:t,adType:e,width:r[i(471)]||"100%",height:r[i(401)]||(e===n.TEXT?i(424):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:e,...r},load:async()=>this[i(398)](e,r)[i(433)](t=>t[0]||null),render:t=>this[i(509)]?.[i(414)](a,t),refresh:async()=>this[i(418)](a),destroy:()=>this.destroy(s)};this[i(512)].set(s,a),this[i(438)](a),this[i(404)]&&this[i(477)]?.debug&&console[i(492)](i(429)+s)}async[Kt(438)](t){const e=Kt;try{const r=await this[e(398)](t[e(523)],t[e(496)]);if(!r||0===r[e(436)])return void this[e(509)]?.[e(445)](t);t[e(523)]===n.BANNER&&r.length>0&&await(this[e(509)]?.[e(449)](t,r)),r.length>1||t[e(496)]?.[e(518)]?(await(this[e(509)]?.[e(517)](t,r)),this._config?.[e(422)]&&console[e(492)]("🎠 Slider will handle VIEWABLE events for "+r[e(436)]+e(513))):(t.advertisement=r[0],await(this[e(509)]?.[e(414)](t,r[0])),this[e(428)](t,r[0])),t.isLoaded=!0,this._config?.[e(422)]&&console[e(492)]("✅ Ad loaded for slot: "+t.id+" ("+r[e(436)]+e(476))}catch(n){console.error(e(502)+t.id,n),this[e(509)]?.[e(445)](t)}}[Kt(428)](t,e){const n=(r=0)=>{const s=Xt,o=document[s(420)](t.id);if(!o)return void(r<5?(setTimeout(()=>n(r+1),300),this[s(477)]?.debug&&console[s(492)]("🔄 Retrying viewability tracking for slot: "+t.id+s(478)+(r+1)+")")):console[s(519)]("❌ Failed to find element for viewability tracking: "+t.id));const i=new M(o,async()=>{await this.handleViewableEvent(e,t)});t[s(406)]=i,this[s(477)]?.[s(422)]&&console.log("🎯 Simple viewability tracking started for slot: "+t.id+s(522))};n()}async handleViewableEvent(t,e){const n=Kt;try{this[n(404)]&&(await this[n(404)].trackAdvertisementEvent(t[n(455)],e.id,c.VIEWABLE),this[n(477)]?.[n(422)]&&console[n(492)](n(410)+t[n(455)]))}catch(t){console[n(432)](n(499),t)}}async fetchAdData(t,e){const n=Kt;if(!this._config?.[n(475)])throw new Error(n(446));if(e[n(447)]){const t=""+X[n(461)][n(469)](e.adId),r=await fetch(t,{method:n(479),headers:_[n(464)](this[n(477)][n(475)])});if(!r.ok){if(404===r[n(532)])return console[n(519)](n(514)+e[n(447)]),[];throw new Error("Failed to fetch ad data: "+r[n(532)])}const s=await r.json();return this[n(477)]?.[n(422)]&&console[n(492)](n(494)+e.adId,s),[s]}const r=new URLSearchParams;r[n(430)](n(523),t),e[n(515)]&&r[n(430)](n(515),e[n(515)]),e.deviceType&&r.append("deviceType",e[n(423)]),e[n(486)]&&r[n(430)](n(486),e[n(486)]);const s=X[n(461)].list()+"?"+r[n(481)](),o=await fetch(s,{method:n(479),headers:_.create(this._config.apiKey)});if(!o.ok)throw new Error(n(524)+o[n(532)]);const i=(await o[n(416)]())[n(461)]||[];return this[n(477)]?.[n(422)]&&console[n(492)](n(483)+i[n(436)]+n(454)+t+", filters:",{language:e.language,deviceType:e[n(423)],country:e.country}),i}async[Kt(418)](t){const e=Kt;try{const n=await this[e(398)](t[e(523)],t.config||{});n&&n[e(436)]>0&&(t[e(521)]=n[0],await(this[e(509)]?.[e(411)](t)),this[e(404)]&&console[e(492)]("New advertisement viewable tracked for slot:",t.id))}catch(n){console.error(e(399)+t.id,n)}}[Kt(458)](){const t=Kt;if(!this[t(466)])throw new Error(t(400))}[Kt(488)](){const t=Kt;typeof window!==t(470)&&typeof document!==t(470)&&(this[t(528)]&&this[t(528)][t(495)](),this[t(528)]=new MutationObserver(e=>{const n=t;e[n(452)](t=>{const e=n;t[e(482)].forEach(t=>{const n=e;t.nodeType===Node[n(529)]&&this[n(505)](t)})})}),this.mutationObserver[t(450)](document[t(511)],{childList:!0,subtree:!0}),this[t(477)]?.[t(422)]&&console[t(492)](t(426)))}[Kt(505)](t){const e=Kt,n=t.getAttribute(e(405));if(n)return void this[e(467)](n);t.querySelectorAll("[data-adstage-slot-id]").forEach(t=>{const n=e,r=t[n(527)](n(405));r&&this[n(467)](r)})}[Kt(467)](t){const e=Kt;if(this[e(512)][e(443)](t))try{this[e(512)].delete(t),this[e(477)]?.debug&&console[e(492)](e(506)+t+e(434))}catch(n){this._config?.debug&&console[e(519)](e(453)+t+":",n)}}destroyModule(){const t=Kt,e=this[t(477)]?.debug;this[t(528)]&&(this[t(528)][t(495)](),this[t(528)]=null),this[t(512)][t(431)](),this[t(404)]=null,this[t(509)]=null,this[t(466)]=!1,this[t(477)]=null,e&&console[t(492)](t(439))}}var Qt=Yt;function Yt(t,e){var n=qt();return(Yt=function(t,e){return n[t-=279]})(t,e)}function qt(){var t=["ads","35101440AVqHNx","✅ Config module initialized (sync mode)","1653435igcwVe","updateConfig","7177520mZaZfb","getBaseUrl","_isReady","993981GVKgoV","432qaTwxP","debug","API key not available","_config","1WsHUIM","isModuleEnabled","getApiHeaders","baseUrl","1720326ILOxkI","Config module not initialized","modules","includes","_organizationInfo","4dPChsc","events","getOrganizationInfo","log","9AoubyA","1846232QNGmxc","init","getEnabledModules","create","setBaseUrl","isReady","🔄 Config updated","58705KPYvxS","getConfig","isDebugMode","getApiEndpoint"];return(qt=function(){return t})()}!function(t){for(var e=Yt,n=t();;)try{if(441872===-parseInt(e(303))/1*(parseInt(e(307))/2)+parseInt(e(298))/3*(-parseInt(e(312))/4)+parseInt(e(286))/5*(-parseInt(e(299))/6)+parseInt(e(293))/7+-parseInt(e(279))/8*(parseInt(e(316))/9)+-parseInt(e(295))/10+parseInt(e(291))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(qt);class Gt{constructor(){var t=Yt;this[t(297)]=!1,this[t(302)]=null,this[t(311)]=null}[Qt(280)](t){var e=Qt;this._config={timeout:3e4,debug:!1,modules:[e(290),e(313),"config"],...t},t.baseUrl&&X[e(283)](t[e(306)]),this[e(297)]=!0,t.debug&&console[e(315)](e(292),{modules:this[e(302)][e(309)],endpoint:X[e(296)](),mode:"development"})}[Qt(284)](){return this[Qt(297)]}[Qt(287)](){return this[Qt(302)]}[Qt(314)](){return this[Qt(311)]}[Qt(289)](){return X.getBaseUrl()}[Qt(288)](){var t=Qt;return this[t(302)]?.[t(300)]||!1}[Qt(281)](){var t=Qt;return this[t(302)]?.modules||[]}[Qt(304)](t){var e=Qt;return this[e(281)]()[e(310)](t)}[Qt(294)](t){var e=Qt;if(!this[e(302)])throw new Error(e(308));this[e(302)]={...this[e(302)],...t},this[e(288)]()&&console[e(315)](e(285),t)}[Qt(305)](){var t=Qt;if(!this[t(302)]?.apiKey)throw new Error(t(301));return _[t(282)](this[t(302)].apiKey)}}function $t(t,e){const n=ne();return($t=function(t,e){return n[t-=404]})(t,e)}const te=$t;!function(t){const e=$t,n=t();for(;;)try{if(914729===-parseInt(e(425))/1*(parseInt(e(408))/2)+-parseInt(e(442))/3+parseInt(e(428))/4*(parseInt(e(426))/5)+-parseInt(e(406))/6+parseInt(e(438))/7+parseInt(e(413))/8+parseInt(e(435))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ne);class ee{static[te(416)](){const t=te;return{...ee[t(418)](),...ee[t(420)]}}static[te(418)](){const t=te;if(!I[t(417)]())return{category:"other",platform:t(432),model:t(432),osVersion:t(432)};const e=navigator.userAgent.toLowerCase();let n="desktop";/tablet|ipad/[t(437)](e)?n=t(427):C[t(429)]()&&(n=t(424));const r=C[t(439)]();return{category:n,platform:ee[t(405)](r),model:navigator[t(434)],osVersion:navigator[t(434)]}}static[te(404)](t){ee[te(420)]={...ee._userProvidedDeviceInfo,...t}}static setDeviceProperty(t,e){ee[te(420)][t]=e}static clearDeviceInfo(){ee[te(420)]={}}static[te(440)](){return{...ee._userProvidedDeviceInfo}}static[te(405)](t){const e=te;switch(t){case e(433):return"iOS";case e(421):return e(419);case e(407):return e(436);case e(412):return e(409);default:return e(422)}}static[te(441)](){const t=te;if(!I.isBrowser())return{userAgent:t(432),language:"ko-KR",platform:"SSR",cookieEnabled:!1,onLine:!0,screenResolution:t(430),viewportSize:"0x0"};const e=I.getViewportInfo();return{userAgent:navigator[t(431)],language:navigator[t(411)]||"ko-KR",platform:navigator[t(434)],cookieEnabled:navigator[t(415)],onLine:navigator[t(423)],screenResolution:screen[t(410)]+"x"+screen[t(414)],viewportSize:e[t(410)]+"x"+e[t(414)]}}}function ne(){const t=["test","2628192coTNzW","getPlatform","getUserDeviceInfo","getDetailedInfo","3967152ZBfQWi","setDeviceInfo","mapPlatformForEvents","8305044okvrcN","web","2KvWcRQ","Desktop Web","width","language","desktop","11394072fwNJFN","height","cookieEnabled","getDeviceInfo","isBrowser","getAutoDetectedDeviceInfo","Android","_userProvidedDeviceInfo","android","Unknown","onLine","mobile","1481011zNapyX","5LLvfCl","tablet","5549088tsURdU","isMobile","0x0","userAgent","SSR","ios","platform","17237799kAoXkt","Mobile Web"];return(ne=function(){return t})()}ee[te(420)]={};const re=ie;function se(){const t=["3dicvmG","language","1108614IJcLId","2566151zQXkQG","4760FqHPoO","1287sBaSHo","split","setUserProperty","5VfhPFi","resolvedOptions","12FbPOTh","getUserInfo","extractCountryFromLanguage","1209164KthqOI","1203494IGZJnU","setUserProperties","getBaseUserInfo","timeZone","43816woTePm","42262CsORSc","isBrowser","ko-KR","4350940PllFwA","192nalpFw","_userProperties"];return(se=function(){return t})()}!function(t){const e=ie,n=t();for(;;)try{if(994687===-parseInt(e(350))/1+-parseInt(e(351))/2*(-parseInt(e(362))/3)+-parseInt(e(359))/4*(-parseInt(e(345))/5)+-parseInt(e(347))/6*(parseInt(e(365))/7)+-parseInt(e(355))/8*(-parseInt(e(342))/9)+-parseInt(e(366))/10*(-parseInt(e(356))/11)+-parseInt(e(360))/12*(parseInt(e(364))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(se);class oe{static[re(348)](){return{...oe[re(353)](),...oe._userProperties}}static[re(353)](){const t=re;if(!I[t(357)]())return{language:t(358),country:"KR"};const e=navigator[t(363)]||t(358);return{language:e,country:oe[t(349)](e)}}static[re(349)](t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t[re(343)]("-")[0]]||"KR"}static[re(352)](t){oe[re(361)]={...oe._userProperties,...t}}static[re(344)](t,e){oe._userProperties[t]=e}static clearUserProperties(){oe._userProperties={}}static getCurrentUserProperties(){return{...oe[re(361)]}}static estimateLocation(){const t=re;if(!I[t(357)]())return{timezone:"UTC",estimatedCountry:"KR"};const e=Intl.DateTimeFormat()[t(346)]()[t(354)];return{timezone:e,estimatedCountry:{"Asia/Seoul":"KR","Asia/Tokyo":"JP","Asia/Shanghai":"CN","Asia/Hong_Kong":"HK","Asia/Taipei":"TW","America/New_York":"US","America/Los_Angeles":"US","Europe/London":"GB","Europe/Berlin":"DE","Europe/Paris":"FR"}[e]||"KR"}}}function ie(t,e){const n=se();return(ie=function(t,e){return n[t-=342]})(t,e)}oe[re(361)]={};const ae=de;function ce(){const t=["getSessionId","getItem","substr","removeItem","256774pavcec","ssr_session_","2503998HOLLjs","_sessionStartTime","isBrowser","5640092jLsYPB","now","adstage_session_start","1146446dAZAbI","196230saEZDP","setUserId","refreshSession","clearUserId","248RVfnyE","getSessionInfo","isNewSession","adstage_session_id","_userId","getSessionStats","4042095NhZWPi","2788758kNfLPf","adstage_user_id","getSessionDuration","isSessionExpired","50egJbny"];return(ce=function(){return t})()}function de(t,e){const n=ce();return(de=function(t,e){return n[t-=161]})(t,e)}!function(t){const e=de,n=t();for(;;)try{if(877781===parseInt(e(180))/1+-parseInt(e(174))/2+parseInt(e(162))/3+parseInt(e(177))/4+parseInt(e(167))/5*(-parseInt(e(181))/6)+parseInt(e(172))/7*(-parseInt(e(185))/8)+-parseInt(e(163))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ce);class le{static[ae(168)](){const t=ae;if(!I[t(176)]())return t(173)+Date.now();const e=sessionStorage.getItem(t(188));if(e)return e;const n="session_"+Math.random().toString(36)[t(170)](2,9)+"_"+Date[t(178)]();return sessionStorage.setItem(t(188),n),!le[t(175)]&&(le[t(175)]=Date[t(178)](),I[t(176)]()&&sessionStorage.setItem("adstage_session_start",String(le._sessionStartTime))),n}static[ae(182)](t){le[ae(189)]=t,I.isBrowser()&&localStorage.setItem("adstage_user_id",t)}static getUserId(){const t=ae;if(le._userId)return le[t(189)];if(I[t(176)]()){const e=localStorage[t(169)](t(164));if(e)return le[t(189)]=e,e}}static[ae(184)](){const t=ae;le[t(189)]=void 0,I[t(176)]()&&localStorage[t(171)](t(164))}static[ae(186)](){const t=ae,e=le[t(168)](),n=le.getUserId(),r=le[t(187)]();return{sessionId:e,userId:n,sessionDuration:le[t(165)](),isNewSession:r}}static[ae(187)](){const t=ae;if(!I[t(176)]())return!0;const e=sessionStorage.getItem(t(188)),n=sessionStorage[t(169)](t(179));return!e||!n}static getSessionDuration(){const t=ae;if(!I[t(176)]())return 0;const e=sessionStorage[t(169)](t(179));return e?Date[t(178)]()-parseInt(e,10):0}static[ae(183)](){const t=ae;return I[t(176)]()&&(sessionStorage[t(171)](t(188)),sessionStorage[t(171)](t(179))),le._sessionStartTime=void 0,le[t(168)]()}static isSessionExpired(t=24){return le[ae(165)]()>60*t*60*1e3}static[ae(161)](){const t=ae,e=le.getSessionId(),n=le.getUserId(),r=le[t(165)](),s=le[t(166)](),o=le.isNewSession();let i;if(I.isBrowser()){const e=sessionStorage[t(169)](t(179));i=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:i,duration:r,isExpired:s,isNewSession:o}}}const ue=pe;function pe(t,e){const n=he();return(pe=function(t,e){return n[t-=229]})(t,e)}function he(){const t=["create","events","📊 Events module initialized","setUserId","📱 User provided device info cleared","❌ Failed to track event:","📱 Device property set:","status","apiKey","👤 User ID set:","clearDeviceInfo","getCurrentUserProperties","Events module not initialized. Call AdStage.init() first.","sendEventToServer","log","error","7506CfPvLI","getUserProperties","setDeviceProperty","📱 Device info set:","1521090xxukHk","_isReady","getDeviceInfo","getSessionId","4807316hNQWKP","3029196eyXxKe","isReady","debug","application/json","40056zeAoMQ","getUserInfo","API key not configured for event tracking.","setDeviceInfo","5188353AwrkXo","Event tracking failed: ","_config","6195aplVGF","getUserId","5OcjiPn","1746VcMKBz","813410YobPRQ","warn","Event data:","statusText","setUserProperties","👤 User properties set:","getUserDeviceInfo","POST"];return(he=function(){return t})()}!function(t){const e=pe,n=t();for(;;)try{if(940924===-parseInt(e(243))/1+parseInt(e(276))/2+parseInt(e(236))/3+-parseInt(e(275))/4*(parseInt(e(241))/5)+parseInt(e(267))/6*(-parseInt(e(239))/7)+-parseInt(e(232))/8*(-parseInt(e(242))/9)+-parseInt(e(271))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(he);class fe{constructor(){const t=pe;this[t(272)]=!1,this[t(238)]=null}init(t){const e=pe;this[e(238)]=t,this[e(272)]=!0,t[e(230)]&&console.log(e(253))}[ue(229)](){return this[ue(272)]}getConfig(){return this[ue(238)]}[ue(254)](t){const e=ue;le.setUserId(t),this[e(238)]?.[e(230)]&&console[e(265)](e(260),t)}[ue(240)](){return le[ue(240)]()}[ue(247)](t){const e=ue;oe[e(247)](t),this[e(238)]?.[e(230)]&&console[e(265)](e(248),t)}[ue(268)](){return oe[ue(262)]()}[ue(235)](t){const e=ue;ee[e(235)](t),this[e(238)]?.debug&&console[e(265)](e(270),t)}[ue(269)](t,e){const n=ue;ee.setDeviceProperty(t,e),this[n(238)]?.debug&&console[n(265)](n(257),t,e)}[ue(261)](){const t=ue;ee[t(261)](),this[t(238)]?.[t(230)]&&console[t(265)](t(255))}[ue(249)](){return ee[ue(249)]()}[ue(273)](){return ee[ue(273)]()}[ue(233)](){return oe.getUserInfo()}[ue(262)](){return oe.getCurrentUserProperties()}async track(t,e){const n=ue;if(this[n(272)])if(this[n(238)]?.apiKey)try{const r={eventName:t,userId:le[n(240)](),sessionId:le[n(274)](),sdkVersion:E(),device:ee[n(273)](),user:oe[n(233)](),params:e||{}};await this.sendEventToServer(r),this[n(238)][n(230)]&&console[n(265)]("✅ Event tracked:",t,e)}catch(r){console.error(n(256),r),this[n(238)][n(230)]&&console[n(266)](n(245),{eventName:t,properties:e})}else console[n(244)](n(234));else console[n(244)](n(263))}async[ue(264)](t){const e=ue,n=await fetch(X[e(252)].track(),{method:e(250),headers:{..._[e(251)](this[e(238)][e(259)]),"Content-Type":e(231)},body:JSON.stringify(t)});if(!n.ok)throw new Error(e(237)+n[e(258)]+" "+n[e(246)])}}const ge=ye;!function(t){const e=ye,n=t();for(;;)try{if(603871===-parseInt(e(477))/1*(-parseInt(e(475))/2)+-parseInt(e(510))/3*(parseInt(e(489))/4)+parseInt(e(502))/5*(-parseInt(e(487))/6)+parseInt(e(488))/7+-parseInt(e(492))/8*(parseInt(e(480))/9)+-parseInt(e(498))/10*(parseInt(e(493))/11)+-parseInt(e(471))/12*(-parseInt(e(497))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ie);class me{constructor(){const t=ye;this[t(484)]=!1,this._config=null,this[t(499)]=new Gt,this[t(483)]=new Jt,this[t(476)]=new fe}static init(t){const e=ye;!me[e(505)]&&(me[e(505)]=new me);const n=me[e(505)];if(!t[e(511)])throw new Error("API key is required for AdStage initialization");n[e(504)]={timeout:3e4,debug:!1,modules:["ads","events",e(499)],...t},n[e(504)].baseUrl&&(X[e(478)](n[e(504)][e(491)]),t[e(490)]&&console[e(501)](e(472),n[e(504)][e(491)]));const r=n._config.modules||[e(483),"events",e(499)];for(const t of r){const r=n[t];r&&"function"==typeof r[e(512)]&&r[e(512)](n._config)}n[e(484)]=!0,t[e(490)]&&console[e(501)](e(481),{version:"2.0.0",modules:r,apiKey:t[e(511)][e(500)](0,8)+e(508),mode:e(495)})}static[ge(507)](){const t=ge;return me[t(505)]?.[t(484)]||!1}static[ge(494)](){const t=ge;return me[t(505)]?._config||null}static[ge(509)](){const t=ge;if(!me[t(505)])throw new Error(t(485));return me.instance}static get[ge(483)](){const t=ge;return me[t(509)]()[t(483)]}static get[ge(476)](){const t=ge;return me[t(509)]()[t(476)]}static get config(){const t=ge;return me[t(509)]()[t(499)]}static[ge(486)](){const t=ge;me[t(505)]&&(me[t(505)][t(484)]=!1,me[t(505)][t(504)]=null)}}function ye(t,e){const n=Ie();return(ye=function(t,e){return n[t-=471]})(t,e)}function Ie(){const t=["545UIfPQI","from","_config","instance","✅ AdStage Debug: 광고 ","isReady","...","getInstance","3VSNAtC","apiKey","init","9141144vfUxHS","🌐 API endpoint configured:","📊 AdStage Debug: 현재 viewable 추적 상태","clear","254vnceOs","events","919FWUgYe","setBaseUrl","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","2358KElkEZ","🚀 AdStage SDK initialized (sync mode)","viewableTracker","ads","_isInitialized","AdStage not initialized. Call AdStage.init() first.","reset","3492Fwzazk","6553526DoEmaY","2532296WlMHkw","debug","baseUrl","3376QcipDf","11XeNGwK","getConfig","development","clearAdViewable","13COMkiw","4037460rqsVsZ","config","substring","log"];return(Ie=function(){return t})()}function ve(t,e){var n=be();return(ve=function(t,e){return n[t-=470]})(t,e)}function be(){var t=["resolve","735702fCfdyk","9EMdPbR","getUserId","setUserProperties","6VcXjNo","1443430CLXRhk","track","warn","events","1226228TyVzAO","1279552PqZLkH","AdStage not initialized. Call AdStage.init() first.","isReady","3560067rWLiVh","1371774tynDJr","setUserId","5694664sQoOFI"];return(be=function(){return t})()}me[ge(490)]={clearAllViewable:()=>{const t=ge;at[t(474)](),console.log(t(479))},clearAdViewable:(t,e)=>{const n=ge;at[n(496)](t,e),console[n(501)](n(506)+t+"("+e+")의 viewable 추적 초기화됨")},getViewableStatus:()=>{const t=ge;console[t(501)](t(473),{trackedCount:at[t(482)].size,trackedItems:Array[t(503)](at[t(482)])})}},function(t){for(var e=ve,n=t();;)try{if(397993===-parseInt(e(484))/1+-parseInt(e(476))/2+parseInt(e(470))/3*(parseInt(e(475))/4)+-parseInt(e(471))/5+parseInt(e(480))/6+parseInt(e(479))/7+-parseInt(e(482))/8*(-parseInt(e(485))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(be);var we,ke={exports:{}},Ee={},xe={exports:{}},Se={};xe.exports=function(){if(we)return Se;we=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),u=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,f={};function g(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}function m(){}function y(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=g.prototype;var I=y.prototype=new m;I.constructor=y,h(I,g.prototype),I.isPureReactComponent=!0;var v=Array.isArray,b=Object.prototype.hasOwnProperty,w={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function E(e,n,r){var s,o={},i=null,a=null;if(null!=n)for(s in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(i=""+n.key),n)b.call(n,s)&&!k.hasOwnProperty(s)&&(o[s]=n[s]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var d=Array(c),l=0;l<c;l++)d[l]=arguments[l+2];o.children=d}if(e&&e.defaultProps)for(s in c=e.defaultProps)void 0===o[s]&&(o[s]=c[s]);return{$$typeof:t,type:e,key:i,ref:a,props:o,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var S=/\/+/g;function A(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}(""+t.key):e.toString(36)}function C(n,r,s,o,i){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var c=!1;if(null===n)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(n.$$typeof){case t:case e:c=!0}}if(c)return i=i(c=n),n=""===o?"."+A(c,0):o,v(i)?(s="",null!=n&&(s=n.replace(S,"$&/")+"/"),C(i,r,s,"",function(t){return t})):null!=i&&(x(i)&&(i=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,s+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(S,"$&/")+"/")+n)),r.push(i)),1;if(c=0,o=""===o?".":o+":",v(n))for(var d=0;d<n.length;d++){var l=o+A(a=n[d],d);c+=C(a,r,s,l,i)}else if(l=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof l)for(n=l.call(n),d=0;!(a=n.next()).done;)c+=C(a=a.value,r,s,l=o+A(a,d++),i);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}function T(t,e,n){if(null==t)return t;var r=[],s=0;return C(t,r,"","",function(t){return e.call(n,t,s++)}),r}function R(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var P={current:null},_={transition:null},D={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:_,ReactCurrentOwner:w};function U(){throw Error("act(...) is not supported in production builds of React.")}return Se.Children={map:T,forEach:function(t,e,n){T(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return T(t,function(){e++}),e},toArray:function(t){return T(t,function(t){return t})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},Se.Component=g,Se.Fragment=n,Se.Profiler=s,Se.PureComponent=y,Se.StrictMode=r,Se.Suspense=c,Se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,Se.act=U,Se.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var s=h({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,a=w.current),void 0!==n.key&&(o=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(d in n)b.call(n,d)&&!k.hasOwnProperty(d)&&(s[d]=void 0===n[d]&&void 0!==c?c[d]:n[d])}var d=arguments.length-2;if(1===d)s.children=r;else if(1<d){c=Array(d);for(var l=0;l<d;l++)c[l]=arguments[l+2];s.children=c}return{$$typeof:t,type:e.type,key:o,ref:i,props:s,_owner:a}},Se.createContext=function(t){return(t={$$typeof:i,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:t},t.Consumer=t},Se.createElement=E,Se.createFactory=function(t){var e=E.bind(null,t);return e.type=t,e},Se.createRef=function(){return{current:null}},Se.forwardRef=function(t){return{$$typeof:a,render:t}},Se.isValidElement=x,Se.lazy=function(t){return{$$typeof:l,_payload:{_status:-1,_result:t},_init:R}},Se.memo=function(t,e){return{$$typeof:d,type:t,compare:void 0===e?null:e}},Se.startTransition=function(t){var e=_.transition;_.transition={};try{t()}finally{_.transition=e}},Se.unstable_act=U,Se.useCallback=function(t,e){return P.current.useCallback(t,e)},Se.useContext=function(t){return P.current.useContext(t)},Se.useDebugValue=function(){},Se.useDeferredValue=function(t){return P.current.useDeferredValue(t)},Se.useEffect=function(t,e){return P.current.useEffect(t,e)},Se.useId=function(){return P.current.useId()},Se.useImperativeHandle=function(t,e,n){return P.current.useImperativeHandle(t,e,n)},Se.useInsertionEffect=function(t,e){return P.current.useInsertionEffect(t,e)},Se.useLayoutEffect=function(t,e){return P.current.useLayoutEffect(t,e)},Se.useMemo=function(t,e){return P.current.useMemo(t,e)},Se.useReducer=function(t,e,n){return P.current.useReducer(t,e,n)},Se.useRef=function(t){return P.current.useRef(t)},Se.useState=function(t){return P.current.useState(t)},Se.useSyncExternalStore=function(t,e,n){return P.current.useSyncExternalStore(t,e,n)},Se.useTransition=function(){return P.current.useTransition()},Se.version="18.3.1",Se}();var Ae,Ce=xe.exports;
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
@@ -7,4 +7,4 @@
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */we.exports=function(){if(Se)return ke;Se=1;var t=Ae,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(t,n,i){var a,c={},d=null,l=null;for(a in void 0!==i&&(d=""+i),void 0!==n.key&&(d=""+n.key),void 0!==n.ref&&(l=n.ref),n)r.call(n,a)&&!o.hasOwnProperty(a)&&(c[a]=n[a]);if(t&&t.defaultProps)for(a in n=t.defaultProps)void 0===c[a]&&(c[a]=n[a]);return{$$typeof:e,type:t,key:d,ref:l,props:c,_owner:s.current}}return ke.Fragment=n,ke.jsx=i,ke.jsxs=i,ke}();var Ce=we.exports;const Te=Ae.createContext(null);function Re(){const t=Ae.useContext(Te);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function De(t,e){var n=Ue();return(De=function(t,e){return n[t-=138]})(t,e)}function Ue(){var t=["1084905iPcDov","499807IauWnc","30quMRSy","6sPgFYD","192409syPkJf","43833neOwwj","173735auTqJX","40ToShSk","2LoeQfQ","4rihGsf","162395UPzoFI","450552jWJOql"];return(Ue=function(){return t})()}!function(t){for(var e=De,n=t();;)try{if(100656===parseInt(e(145))/1*(parseInt(e(143))/2)+parseInt(e(140))/3*(-parseInt(e(144))/4)+parseInt(e(141))/5*(parseInt(e(138))/6)+parseInt(e(139))/7*(parseInt(e(142))/8)+-parseInt(e(147))/9+parseInt(e(149))/10*(-parseInt(e(148))/11)+parseInt(e(146))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ue);const Le=ze;function Pe(){const t=["ads","3987328UWIHoJ","2.0.0","undefined","3777363TECDZV","AdStage","events","422904VmwSmm","1555312nMuRTR","223321zDoLrb","261660IMqrLg","6ZDPrYP","102MgKuDr","278238LgvOzZ"];return(Pe=function(){return t})()}!function(t){const e=ze,n=t();for(;;)try{if(466762===-parseInt(e(297))/1+-parseInt(e(287))/2*(-parseInt(e(289))/3)+-parseInt(e(298))/4+parseInt(e(300))/5*(parseInt(e(288))/6)+parseInt(e(299))/7+parseInt(e(291))/8+-parseInt(e(294))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Pe);const Be=Le(292),_e=[Le(290),Le(296),"config"];function ze(t,e){const n=Pe();return(ze=function(t,e){return n[t-=287]})(t,e)}typeof window!==Le(293)&&(window[Le(295)]=me),t.AdStage=me,t.AdStageProvider=function({children:t,config:e}){const[n,r]=Ae.useState(!1),[s,o]=Ae.useState(null),[i,a]=Ae.useState(null),c=t=>{try{a(null),n&&me.reset(),me.init(t),o(t),r(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),r(!1),o(null)}};Ae.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:s,initialize:c,reset:()=>{try{me.reset(),r(!1),o(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:i};return Ce.jsx(Te.Provider,{value:d,children:t})},t.SDK_VERSION=Be,t.SUPPORTED_MODULES=_e,t.getUserId=function(){var t=ve;if(me[t(216)]())return me[t(219)].getUserId();console[t(217)](t(220))},t.getUserProperties=function(){var t=ve;if(me[t(216)]())return me[t(219)][t(202)]();console[t(217)]("AdStage not initialized. Call AdStage.init() first.")},t.setUserId=function(t){var e=ve;me[e(216)]()?me[e(219)][e(208)](t):console[e(217)](e(220))},t.setUserProperties=function(t){var e=ve;me.isReady()?me[e(219)][e(215)](t):console[e(217)](e(220))},t.track=function(t,e){var n=ve;return me.isReady()?me[n(219)][n(206)](t,e):(console[n(217)]("AdStage not initialized. Call AdStage.init() first."),Promise[n(203)]())},t.useAdStageContext=Re,t.useAdStageInstance=function(){const{isInitialized:t}=Re();return t?me:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}});
10
+ */ke.exports=function(){if(Ae)return Ee;Ae=1;var t=Ce,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(t,n,i){var a,c={},d=null,l=null;for(a in void 0!==i&&(d=""+i),void 0!==n.key&&(d=""+n.key),void 0!==n.ref&&(l=n.ref),n)r.call(n,a)&&!o.hasOwnProperty(a)&&(c[a]=n[a]);if(t&&t.defaultProps)for(a in n=t.defaultProps)void 0===c[a]&&(c[a]=n[a]);return{$$typeof:e,type:t,key:d,ref:l,props:c,_owner:s.current}}return Ee.Fragment=n,Ee.jsx=i,Ee.jsxs=i,Ee}();var Te=ke.exports;const Re=Ce.createContext(null);function Pe(){const t=Ce.useContext(Re);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function _e(){var t=["7PdhtqH","4563420oUdVFJ","6315453tFIvQG","1140pwmFrZ","21XMCrjm","21366LPzTPW","659824EkDWUW","2119443sNutCg","1194138Jxvwcm","4Wbatly","44242BtYnxl","192kygrcv"];return(_e=function(){return t})()}function De(t,e){var n=_e();return(De=function(t,e){return n[t-=313]})(t,e)}!function(t){for(var e=De,n=t();;)try{if(408899===-parseInt(e(318))/1*(-parseInt(e(324))/2)+-parseInt(e(321))/3*(-parseInt(e(323))/4)+parseInt(e(317))/5*(parseInt(e(319))/6)+parseInt(e(314))/7*(-parseInt(e(320))/8)+parseInt(e(316))/9+-parseInt(e(315))/10+-parseInt(e(322))/11*(parseInt(e(313))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_e);const Ue=Le;function Le(t,e){const n=Oe();return(Le=function(t,e){return n[t-=174]})(t,e)}!function(t){const e=Le,n=t();for(;;)try{if(935053===parseInt(e(177))/1+-parseInt(e(175))/2+-parseInt(e(182))/3*(parseInt(e(178))/4)+parseInt(e(183))/5+-parseInt(e(181))/6+parseInt(e(186))/7*(parseInt(e(185))/8)+parseInt(e(179))/9*(parseInt(e(184))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Oe);function Oe(){const t=["8173494rpTkVJ","577482zeWRYI","1417260LKZPRo","150330jazxAe","664CbohHX","143787sJUZma","AdStage","events","39860eVFAGg","undefined","452792IQFeCY","36PGvnGp","963JGxZCs","ads"];return(Oe=function(){return t})()}const ze=[Ue(180),Ue(174),"config"];typeof window!==Ue(176)&&(window[Ue(187)]=me),t.AdStage=me,t.AdStageProvider=function({children:t,config:e}){const[n,r]=Ce.useState(!1),[s,o]=Ce.useState(null),[i,a]=Ce.useState(null),c=t=>{try{a(null),n&&me.reset(),me.init(t),o(t),r(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),r(!1),o(null)}};Ce.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:s,initialize:c,reset:()=>{try{me.reset(),r(!1),o(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:i};return Te.jsx(Re.Provider,{value:d,children:t})},t.SDK_VERSION="2.0.0",t.SUPPORTED_MODULES=ze,t.getUserId=function(){var t=ve;if(me[t(478)]())return me[t(474)][t(486)]();console[t(473)](t(477))},t.getUserProperties=function(){var t=ve;if(me[t(478)]())return me[t(474)].getUserProperties();console.warn(t(477))},t.setUserId=function(t){var e=ve;me.isReady()?me[e(474)][e(481)](t):console[e(473)](e(477))},t.setUserProperties=function(t){var e=ve;me[e(478)]()?me[e(474)][e(487)](t):console[e(473)](e(477))},t.track=function(t,e){var n=ve;return me[n(478)]()?me[n(474)][n(472)](t,e):(console[n(473)](n(477)),Promise[n(483)]())},t.useAdStageContext=Pe,t.useAdStageInstance=function(){const{isInitialized:t}=Pe();return t?me:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}});