@adstage/web-sdk 3.0.8 → 3.0.10
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.cjs.js +1 -1
- package/dist/index.d.ts +143 -22
- package/dist/index.esm.js +1 -1
- package/dist/index.standalone.js +2 -2
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
- package/src/constants/endpoints.ts +8 -7
- package/src/core/adstage.ts +141 -11
- package/src/events/global-events.ts +5 -35
- package/src/index.ts +3 -1
- package/src/modules/ads/ads-module.ts +10 -1
- package/src/modules/events/events-module.ts +174 -39
- package/src/modules/tracking/tracking-params.ts +317 -0
- package/src/types/events.ts +0 -2
- package/src/managers/events/event-session-manager.ts +0 -183
package/dist/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t,e,n,s,i,r,o,a,c,d,l,u,p=require("react/jsx-runtime"),h=require("react");function f(t,e){var n=g();return(f=function(t,e){return n[t-=237]})(t,e)}function g(){var t=["4448408KnJppB","347196wCSbAu","325631zpQveS","NATIVE","VIDEO","WEB","INTERSTITIAL","CLICK","1522392pKlkDK","TEXT","2299654YVHxca","DESKTOP","POPUP","BANNER","VIEWABLE","657945SnvHYe","9EfjYwc","3pfVlBx","TABLET","698356ApAsdg","MOBILE"];return(g=function(){return t})()}!function(){for(var t=f,e=g();;)try{if(215732===-parseInt(t(251))/1+parseInt(t(247))/2*(parseInt(t(245))/3)+parseInt(t(250))/4+parseInt(t(243))/5+-parseInt(t(257))/6+-parseInt(t(238))/7+parseInt(t(249))/8*(parseInt(t(244))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(e=t||(t={}))[(n=f)(241)]="BANNER",e.POPUP=n(240),e[n(255)]=n(255),e[n(252)]=n(252),e[n(253)]=n(253),e[n(237)]=n(237),(i=s||(s={}))[(r=f)(254)]=r(254),i[r(248)]=r(248),(a=o||(o={}))[(c=f)(242)]=c(242),a[c(256)]=c(256),(l=d||(d={}))[(u=f)(239)]=u(239),l[u(248)]=u(248),l[u(246)]=u(246);const m=I;function I(t,e){const n=y();return(I=function(t,e){return n[t-=492]})(t,e)}!function(){const t=I,e=y();for(;;)try{if(196432===parseInt(t(497))/1*(-parseInt(t(498))/2)+parseInt(t(516))/3+parseInt(t(519))/4+-parseInt(t(543))/5*(parseInt(t(494))/6)+parseInt(t(522))/7*(parseInt(t(541))/8)+-parseInt(t(512))/9*(parseInt(t(525))/10)+parseInt(t(555))/11*(parseInt(t(552))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class v{static isBrowser(){return typeof window!==I(530)&&"undefined"!=typeof document}static[m(554)](){return!this[m(511)]()}static[m(507)](){const t=m;return this[t(511)]()&&void 0!==document[t(499)]}static safeGetElementById(t){const e=m;return this.canUseDOM()?document[e(500)](t):null}static[m(560)](t){return this[m(507)]()?document.querySelector(t):null}static[m(504)](t){const e=m;return this[e(507)]()?Array[e(551)](document.querySelectorAll(t)):[]}static[m(502)](t){const e=m;return this[e(507)]()?document[e(523)](t):null}static[m(547)](t,e,n,s){const i=m;this.canUseDOM()&&t&&t[i(527)](e,n,s)}static[m(503)](t,e,n,s){const i=m;this[i(507)]()&&t&&t[i(501)](e,n,s)}static[m(540)](t,e){return this[m(511)]()?window[t]??e:e}static[m(544)](t,e){return this[m(507)]()?document[t]??e:e}static[m(536)](t,e,n){return this[m(511)]()?window.open(t,e,n):null}static safeGetComputedStyle(t){const e=m;return this[e(511)]()&&t?window[e(528)](t):null}static[m(538)](){const t=m;return!!this[t(507)]()&&document[t(499)]!==t(513)}static waitForDOM(){return new Promise(t=>{const e=I;this[e(507)]()?this[e(538)]()?t():this[e(547)](document,e(514),()=>t()):t()})}static[m(529)](t,e){const n=m;this[n(507)]()&&t&&Object[n(561)](e).forEach(([e,s])=>{const i=n;t.style[i(521)](e,s)})}static safeAddClass(t,e){const n=m;this[n(507)]()&&t&&t[n(549)][n(493)](e)}static safeRemoveClass(t,e){const n=m;this[n(507)]()&&t&&t.classList[n(515)](e)}static[m(545)](t,e){const n=m;this[n(507)]()&&t&&(t[n(517)]=e)}static[m(553)](t,e){const n=m;this.canUseDOM()&&t&&(t[n(508)]=e)}static[m(542)](t,e){const n=m;this.canUseDOM()&&t&&e&&t[n(558)](e)}static safeRemoveChild(t,e){this[m(507)]()&&t&&e&&t.removeChild(e)}static[m(562)](){const t=m;return{url:this[t(540)]("location",{href:""})[t(537)],title:this[t(544)](t(556),""),referrer:this[t(544)]("referrer","")}}static[m(506)](){const t=m;return{width:this[t(540)]("innerWidth",0),height:this[t(540)](t(546),0),pixelRatio:this[t(540)]("devicePixelRatio",1)}}static[m(550)](){const t=m;return{scrollTop:this.canUseDOM()?window[t(548)]||document[t(510)].scrollTop:0,scrollLeft:this[t(540)](t(557),0)}}static async[m(492)](t,e={}){const n=m,{timeout:s=3e3,retryInterval:i=100,debug:r=!1}=e;if(!this.canUseDOM())throw new Error(n(524));const o=document.getElementById(t);return o?(r&&console[n(535)](n(495)+t),o):(r&&console[n(535)]("⏳ 컨테이너 대기 시작: "+t+" (최대 "+s+n(531)),new Promise((e,o)=>{const a=n;let c=0;const d=Math[a(559)](s/i),l=()=>{const n=a;c++;const u=document[n(500)](t);if(u)return r&&console[n(535)]("✅ 컨테이너 발견: "+t+" ("+c+n(534)+c*i+"ms 경과)"),void e(u);if(c>=d){const e=n(539)+t+n(518)+t+'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: '+s+n(533)+c+n(526);return r&&console[n(509)](e),void o(new Error(e))}r&&c%10==0&&console[n(535)](n(505)+t+" ("+c+"/"+d+")");const p=Math.min(i*Math[n(520)](1.2,c),500);setTimeout(l,p)};setTimeout(l,i)}))}static async[m(532)](t,e={}){const n=m,s=t[n(496)](t=>this[n(492)](t,e));return Promise.all(s)}}function y(){const t=["error","documentElement","isBrowser","51417fhaopa","loading","DOMContentLoaded","remove","1018893JBndka","textContent",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"1040032QPXgvc","pow","setProperty","339787BzIOcq","createElement","DOM을 사용할 수 없는 환경입니다.","110QAcdOy","번 시도)","addEventListener","getComputedStyle","safeApplyStyles","undefined","ms)","waitForElements","ms (","번째 시도, ","log","safeWindowOpen","href","isDOMReady",'❌ 컨테이너를 찾을 수 없습니다: "',"getWindowProperty","8ZkhKuR","safeAppendChild","17210Qjaucf","getDocumentProperty","safeSetTextContent","innerHeight","safeAddEventListener","pageYOffset","classList","getScrollInfo","from","12YWIauf","safeSetInnerHTML","isSSR","8206ViSFeR","title","pageXOffset","appendChild","ceil","safeQuerySelector","entries","getPageInfo","waitForElement","add","258UOMqsH","✅ 컨테이너 즉시 발견: ","map","241645TteCQm","2sSapXY","readyState","getElementById","removeEventListener","safeCreateElement","safeRemoveEventListener","safeQuerySelectorAll","⏳ 컨테이너 대기 중: ","getViewportInfo","canUseDOM","innerHTML"];return(y=function(){return t})()}const b=E;function w(){const t=["54348irwfrd","27401LDrcYX",'"3.0.8"',"12uRKlfR","3636LLYICl","15150uOWMyS"," AdStageSDK/","77932jMgECn","678069xkDIyd","undefined","userAgent","AdStageSDK/","33lNfuoY","451580drbxeK","88CzTXmW","6940110TRAynr","1883YymlwM"];return(w=function(){return t})()}!function(){const t=E,e=w();for(;;)try{if(437969===-parseInt(t(191))/1*(-parseInt(t(204))/2)+parseInt(t(196))/3*(parseInt(t(201))/4)+-parseInt(t(197))/5+-parseInt(t(206))/6*(-parseInt(t(200))/7)+parseInt(t(198))/8*(-parseInt(t(192))/9)+-parseInt(t(199))/10+parseInt(t(202))/11*(parseInt(t(205))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const k=b(203);function x(){return k}function E(t,e){const n=w();return(E=function(t,e){return n[t-=191]})(t,e)}const S=A;function A(t,e){const n=T();return(A=function(t,e){return n[t-=128]})(t,e)}!function(){const t=A,e=T();for(;;)try{if(908375===-parseInt(t(166))/1+-parseInt(t(179))/2+parseInt(t(136))/3+-parseInt(t(173))/4*(parseInt(t(159))/5)+-parseInt(t(174))/6+parseInt(t(175))/7*(parseInt(t(142))/8)+parseInt(t(141))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class C{static[S(144)](){const t=S;if(!v[t(176)]())return"ssr_device_"+Date[t(164)]();const e=localStorage[t(146)](t(133));if(e)return e;const n="device_"+Math[t(140)]()[t(167)](36)[t(177)](2,9)+"_"+Date[t(164)]();return localStorage[t(171)](t(133),n),n}static[S(168)](){const t=S;if(!v.isBrowser())return t(149)+Date[t(164)]();const e=sessionStorage[t(146)](t(145));if(e)return e;const n=t(153)+Math.random()[t(167)](36)[t(177)](2,9)+"_"+Date.now();return sessionStorage[t(171)](t(145),n),n}static isMobile(){const t=S;return!!v[t(176)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(162)](navigator[t(155)])}static[S(128)](){const t=S;if(!v[t(176)]())return"web";const e=navigator[t(155)][t(132)]();return/iphone|ipad|ipod/[t(162)](e)?"ios":/android/[t(162)](e)?t(150):C[t(165)]()?t(148):"desktop"}static[S(131)](){const t=S,e=v[t(160)]();return{deviceId:C.generateDeviceId(),sessionId:C[t(168)](),osVersion:v.isBrowser()?navigator[t(138)]:"SSR",deviceModel:v.isBrowser()?navigator[t(138)]:t(143),appVersion:t(161),sdkVersion:x(),language:v[t(176)]()&&navigator[t(154)]||"ko",country:"KR",ipAddress:"",userAgent:v[t(176)]()?navigator[t(155)]:t(143),timezone:v.isBrowser()?Intl[t(129)]()[t(156)]().timeZone:t(163),viewportWidth:e.width,viewportHeight:e[t(134)],screenWidth:v.isBrowser()?screen[t(181)]:0,screenHeight:v[t(176)]()?screen.height:0,colorDepth:v[t(176)]()?screen[t(158)]:24,pixelRatio:e.pixelRatio,connectionType:v[t(176)]()&&navigator[t(135)]?.effectiveType||t(172),platform:C[t(128)]()}}static[S(180)](t){const e=S;let n=v.safeGetElementById(t);if(!n){const s=v[e(178)]("#"+t+e(169));s&&(n=s)}if(!n&&(n=v[e(178)](e(137)+t+'"]')),!n)return e(172);const s=n[e(170)](),i=v[e(139)]();return"x:"+Math[e(147)](s[e(151)])+e(157)+Math[e(147)](s[e(130)]+i[e(152)])}}function T(){const t=["scrollTop","session_","language","userAgent","resolvedOptions",",y:","colorDepth","112655hmauwn","getViewportInfo","1.0.0","test","UTC","now","isMobile","438918BkNvhl","toString","generateSessionId"," .adstage-slider-wrapper","getBoundingClientRect","setItem","unknown","40tIkqwY","7234812vMskGB","14TTLaFP","isBrowser","substr","safeQuerySelector","3607576IlNmsI","getSlotPosition","width","getPlatform","DateTimeFormat","top","collectDeviceInfo","toLowerCase","adstage_device_id","height","connection","4269648DLrqFI",'[data-adstage-slot-id="',"platform","getScrollInfo","random","19909197JFVEUS","3787376eEQXpK","SSR","generateDeviceId","adstage_session_id","getItem","round","web","ssr_session_","android","left"];return(T=function(){return t})()}function D(t,e){const n=U();return(D=function(t,e){return n[t-=310]})(t,e)}const R=D;function U(){const t=["13947616nbHnQO","create","9182824wulcNm","userAgent","User-Agent","65SewfAT","198236hhHoes","API key is required","1094RyZbAj","520824sEQMFb","contentType","undefined","87DRNCrJ","439ZzXYUJ","12408633WKgneX","6373670jqgufx"];return(U=function(){return t})()}!function(){const t=D,e=U();for(;;)try{if(990858===parseInt(t(324))/1*(-parseInt(t(319))/2)+-parseInt(t(323))/3*(parseInt(t(317))/4)+-parseInt(t(316))/5*(parseInt(t(320))/6)+parseInt(t(313))/7+parseInt(t(311))/8+parseInt(t(325))/9+-parseInt(t(310))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class L{static[R(312)](t,e){const n=R;if(!t)throw new Error(n(318));const s={"x-api-key":t,"Content-Type":e?.[n(321)]||"application/json"};return typeof navigator!==n(322)&&(s[n(315)]=e?.[n(314)]||navigator[n(314)]),s}static createForEvents(t,e){const n=R,s=L.create(t);return e?.[n(314)]&&(s["User-Agent"]=e[n(314)]),s}}const B=P;function P(t,e){const n=M();return(P=function(t,e){return n[t-=168]})(t,e)}!function(){const t=P,e=M();for(;;)try{if(698205===parseInt(t(214))/1+parseInt(t(203))/2*(parseInt(t(207))/3)+-parseInt(t(215))/4+parseInt(t(171))/5+parseInt(t(193))/6*(parseInt(t(182))/7)+-parseInt(t(195))/8*(parseInt(t(192))/9)+-parseInt(t(216))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class z{constructor(t,e,n,s){const i=P;this[i(189)]=t,this[i(183)]=e,this[i(179)]=n,this[i(177)]=s}async[B(174)](t,e,n){const s=B;try{this[s(179)]&&console.log(s(198)+n+s(190)+t+s(200)+e);const i=this.slots[s(197)](e);if(!i)return void(this[s(179)]&&console[s(186)]("⚠️ Slot not found for slotId: "+e+". Skipping event tracking to prevent incorrect adType."));if(!(document[s(175)](i[s(219)])||document[s(201)](s(210)+e+'"]')))return void(this[s(179)]&&console.warn(s(209)+e+s(173)+i.containerId+"). Skipping event tracking."));const r=C[s(218)](),a={adType:i.adType,platform:r.platform,deviceId:r[s(206)],deviceInfo:r,pageUrl:v[s(217)]().url,pageTitle:v[s(217)]()[s(204)],referrer:v[s(217)]().referrer,slotId:e,slotPosition:C[s(221)](i[s(219)]),slotWidth:z.parseNumericValue(i[s(199)]),slotHeight:z[s(205)](i.height),sessionId:r[s(184)],pageLoadTime:performance[s(224)](),metadata:{eventType:n,sdkVersion:x(),timestamp:Date[s(224)]()},...n===o[s(187)]&&{isViewable:!0,iabCompliant:!0}},c=this[s(189)]+s(168)+t+"/"+n,d=L[s(185)](this.apiKey,a);this[s(179)]&&(console.log(s(223)+n+" for ad "+t,{url:c,headers:d,eventData:a}),console[s(211)](s(194),{method:s(220),url:c,hasApiKey:!!this[s(183)],bodySize:JSON[s(212)](a)[s(178)]}));const l=await fetch(c,{method:s(220),headers:d,body:JSON[s(212)](a)});if(this[s(179)]&&console[s(211)](s(181)+l.status+" "+l[s(180)],{url:c,ok:l.ok}),!l.ok){const t=await l[s(188)]();throw new Error(s(225)+l[s(172)]+" "+l[s(180)]+s(222)+t)}this.debug&&console[s(211)]("✅ Successfully tracked advertisement event: "+n+s(196)+t)}catch(i){console[s(226)](s(213),i),console.error(s(176),{baseUrl:this[s(189)],apiKey:this[s(183)]?this[s(183)][s(208)](0,8)+s(202):s(170),url:this[s(189)]+s(168)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[B(205)](t){const e=B;if(typeof t===e(191))return t;if(typeof t===e(169)){const e=parseFloat(t.replace(/px$/,""));return isNaN(e)?0:e}return 0}}function M(){const t=["string","NOT_SET","5409570qHNfer","status"," (containerId: ","trackAdvertisementEvent","getElementById","🔍 Debug info:","slots","length","debug","statusText","📡 API Response Status: ","15407rKpOlL","apiKey","sessionId","createForEvents","warn","VIEWABLE","text","baseUrl"," event for ad ","number","9RkFQUp","3522ODdckg","🌐 Full API call details:","9328584KMnOeG"," for ad ","get","🚀 AdvertisementEventTracker: Processing ","width"," in slot ","querySelector","...","12sJvfcG","title","parseNumericValue","deviceId","38481UUFQqf","substring","⚠️ DOM element not found for slotId: ",'[data-adstage-slot-id="',"log","stringify","❌ Failed to track advertisement event:","543101DLmPwt","2385188pjxkdl","5333890UQhZnP","getPageInfo","collectDeviceInfo","containerId","POST","getSlotPosition"," - ","🚀 Sending advertisement event: ","now","API request failed: ","error","/advertisements/events/"];return(M=function(){return t})()}var N=V;function O(){var t=["2571QbcCEy","IntersectionObserver","initIntersectionObserver","visibilityState","296160NmKhHi","11OUvyqN","observer","onViewableCallback","1uLoSWd","observe","hidden","0px","warn","416765GeplGY","isDocumentVisible","intersectionRatio","disconnect","248CoMIwJ","visible","element","IntersectionObserver not supported, viewability tracking disabled","isViewableTriggered","2567470folKkC","destroy","handleIntersection","forEach","1132XTPlAv","217pAFPha","113139ylAXgr","53280ybCYKo","615302YpmKkF"];return(O=function(){return t})()}function V(t,e){var n=O();return(V=function(t,e){return n[t-=404]})(t,e)}!function(){for(var t=V,e=O();;)try{if(266119===parseInt(t(406))/1*(parseInt(t(428))/2)+parseInt(t(429))/3*(-parseInt(t(424))/4)+parseInt(t(411))/5+parseInt(t(427))/6*(parseInt(t(425))/7)+-parseInt(t(415))/8*(parseInt(t(426))/9)+parseInt(t(420))/10+parseInt(t(434))/11*(-parseInt(t(433))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class F{constructor(t,e){var n=V;this.observer=null,this[n(419)]=!1,this[n(417)]=t,this[n(405)]=e,this[n(431)]()}[N(431)](){var t=N;t(430)in window?(this[t(404)]=new IntersectionObserver(e=>this[t(422)](e),{threshold:.5,rootMargin:t(409)}),this[t(404)][t(407)](this[t(417)])):console[t(410)](t(418))}handleIntersection(t){var e=N;t[e(423)](t=>{var n=e;t[n(413)]>=.5&&this[n(412)]()&&!this[n(419)]&&(this[n(419)]=!0,this[n(405)]&&this[n(405)]())})}[N(412)](){var t=N;return!document[t(408)]&&document[t(432)]===t(416)}[N(421)](){var t=N;this[t(404)]&&(this[t(404)][t(414)](),this.observer=null)}}const _=j;!function(){const t=j,e=q();for(;;)try{if(175917===parseInt(t(225))/1+-parseInt(t(218))/2+-parseInt(t(224))/3+-parseInt(t(221))/4*(parseInt(t(228))/5)+parseInt(t(231))/6+parseInt(t(230))/7+-parseInt(t(220))/8*(-parseInt(t(229))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const K={production:_(213),beta:"https://beta-api.adstage.app"},H={advertisements:{list:_(222),detail:_(219),events:_(227)},events:{track:"/events/track"}};function j(t,e){const n=q();return(j=function(t,e){return n[t-=213]})(t,e)}function q(){const t=["events","182031JUfmNZ","340974cqZVxk","baseUrl","/advertisements/events","4990WfunPr","156105cNOcgv","832279BkDgkC","559872QIWKHN","https://api.adstage.app","advertisements","list","detail","track","538886RwqdNr","/advertisements","16mFYcjm","328tZhPmy","/advertisements/list"];return(q=function(){return t})()}const W=new class{constructor(t){const e=_;this.advertisements={list:()=>""+this[e(226)]+H.advertisements[e(215)],detail:t=>""+this[e(226)]+H.advertisements[e(216)]+"/"+t,events:(t,n)=>""+this[e(226)]+H[e(214)][e(223)]+"/"+t+"/"+n},this.events={track:()=>""+this[e(226)]+H.events[e(217)]},this[e(226)]=t||K.production}setBaseUrl(t){this[_(226)]=t}getBaseUrl(){return this.baseUrl}custom(t){return""+this[_(226)]+(t.startsWith("/")?t:"/"+t)}};var Y=X;function Q(){var t=["9tBXGmr","65790OoCKqL","161qLHQtz","_id","trackSlideViewable","334050AJobQZ","39534muMfen"," (index: ","VIEWABLE",") in slot: ","273102oJRmlV","46158KQmujr","84rczbsx","812300ujKkzg","🎯 Triggering VIEWABLE event for slide change: ad ","🎯 Triggering initial VIEWABLE event: ad "," (index: 0) in slot: ","1952392BOgukm","log"];return(Q=function(){return t})()}function X(t,e){var n=Q();return(X=function(t,e){return n[t-=221]})(t,e)}!function(){for(var t=X,e=Q();;)try{if(148917===-parseInt(t(228))/1+parseInt(t(229))/2+parseInt(t(223))/3+-parseInt(t(230))/4*(-parseInt(t(238))/5)+parseInt(t(224))/6*(-parseInt(t(239))/7)+parseInt(t(235))/8*(parseInt(t(237))/9)+-parseInt(t(231))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Z{static[Y(222)](t,e,n,s,i=!1){var r=Y;i&&console[r(236)](r(232)+t[r(221)]+r(225)+n+r(227)+e.id),s(t._id,e.id,o[r(226)])}static trackInitialSlideViewable(t,e,n,s=!1){var i=Y;s&&console[i(236)](i(233)+t._id+i(234)+e.id),n(t[i(221)],e.id,o[i(226)])}}const J=$;function G(){const t=["2074070HGXkKO","open","click","addClickEvent","113325rxJBnp","addEventListener","_id","adType","style","623584oySyHE","10PlcSiC","367995WfQjVX","2FXjIuc","preventDefault","isClickable","toLowerCase","1569861wmOUNm","log","1490984LVxPnz"," ad clicked: ","forEach","stopPropagation","addClickEventForRenderer","pointer"," -> ","_blank","linkUrl","1184113hOLLQm","🔗 ","addClickEventForSlider","CLICK","addClickEventsBatch","cursor","6hBZlNV"];return(G=function(){return t})()}function $(t,e){const n=G();return($=function(t,e){return n[t-=118]})(t,e)}!function(){const t=$,e=G();for(;;)try{if(214571===-parseInt(t(137))/1*(parseInt(t(145))/2)+-parseInt(t(144))/3+-parseInt(t(142))/4+parseInt(t(133))/5+-parseInt(t(132))/6*(parseInt(t(126))/7)+parseInt(t(151))/8+-parseInt(t(149))/9*(-parseInt(t(143))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class tt{static[J(136)](t,e,n,s,i=!1,r){const a=J;e.linkUrl&&(t.style[a(131)]=a(122),t[a(138)](a(135),t=>{const c=a;if(t[c(146)](),t[c(120)](),s&&s(e[c(139)],n.id,o[c(129)]),window[c(134)](e.linkUrl,c(124)),i){const t=r||String(n.adType).toLowerCase();console[c(150)](c(127)+t+" ad clicked: "+e._id+c(123)+e[c(125)])}}))}static[J(121)](t,e,n,s,i=!1,r){const a=J;e.linkUrl&&(t[a(141)][a(131)]=a(122),t.addEventListener(a(135),t=>{const c=a;t.preventDefault(),t.stopPropagation();if(s()(e._id,n.id,o[c(129)]),window.open(e.linkUrl,"_blank"),i){const t=r||String(n[c(140)])[c(148)]();console[c(150)](c(127)+t+c(118)+e._id+c(123)+e.linkUrl)}}))}static[J(128)](t,e,n,s,i=!1,r){this.addClickEvent(t,e,n,s,i,r)}static[J(147)](t){return Boolean(t[J(125)])}static[J(130)](t,e,n,s,i=!1,r){const o=J;t[o(119)]((t,a)=>{const c=o,d=e[a];d&&this[c(136)](t,d,n,s,i,r)})}}const et=st;function nt(){const t=["1px dashed #ccc","objectFit","querySelectorAll","50px","borderColor","Text Ad","283260nWpLEQ","1053HezoHP","opacity","includes","4yRhHFP","appendChild","Banner Ad","imageUrl","className","relative","15573470eWehLL","adstage-slider-wrapper","200px","TEXT","cover","add","100px","video","style","img","forEach","src","13016ilROHU","Video Ad","textContent","mouseleave","\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 ","transform 0.4s ease-out","clientX","center","setAttribute","entries","1285359nOoHeh","inline-block","abs","addClickEventForSlider","300ttoNCW","\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 ","active","adstage-slide-container","button","addTouchSupport","addEventListener","classList","adstage-dots","width","translateX(-","#cccccc","adstage-dot","0.7","1610ZYsWTr","transform","750560jIBxCf","body","padding","string"," Ad","fontSize","1px solid #666","mouseenter","every","#f0f0f0","toLowerCase","height","removeChild","_id","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","div","flex","0.9","remove",".adstage-dot","white","BANNER","#f9f9f9","contains","createSimpleAdElement","auto","background","border","transparent","color","backgroundColor","data-adstage-ad-id","display","data-adstage-slot-id","8px","length","trackSlideViewable","createMinimalDotIndicator","100%","videoUrl","adstage-slide","overflow","adType","children","390538enVPoc","normal","createElement","transition","touchstart","changedTouches","block","touches","#666666","14px","getBoundingClientRect","touchmove","cssText"];return(nt=function(){return t})()}function st(t,e){const n=nt();return(st=function(t,e){return n[t-=349]})(t,e)}!function(){const t=st,e=nt();for(;;)try{if(267755===-parseInt(t(440))/1+-parseInt(t(459))/2+parseInt(t(376))/3*(-parseInt(t(463))/4)+-parseInt(t(396))/5+-parseInt(t(380))/6*(-parseInt(t(394))/7)+-parseInt(t(366))/8*(parseInt(t(460))/9)+parseInt(t(354))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class it{static[et(420)](e,n){const s=et,i=document.createElement(s(411));switch(i.className="adstage-ad adstage-"+String(e[s(438)])[s(406)](),i.setAttribute(s(427),n[s(409)]),i[s(374)](s(429),e.id),i[s(362)][s(428)]=s(446),i[s(362)][s(389)]=s(434),i[s(362)].height=s(421),e[s(438)]){case t[s(417)]:if(n[s(351)]){const t=document[s(442)](s(363));t.src=n[s(351)],t[s(362)][s(389)]=s(434),t[s(362)][s(407)]=s(421),t.style[s(454)]=s(358),i.appendChild(t)}else i.style[s(407)]=s(360),i[s(362)][s(426)]=s(405),i[s(362)][s(423)]="1px dashed #ccc",i.textContent=s(350);break;case t.VIDEO:if(n[s(435)]){const t=document[s(442)](s(361));t[s(365)]=n[s(435)],t[s(362)][s(389)]="100%",t.style[s(407)]=s(421),i[s(349)](t)}else i.style[s(407)]=s(356),i[s(362)][s(426)]="#000",i[s(362)][s(423)]=s(402),i.textContent=s(367),i[s(362)][s(425)]=s(416);break;case t[s(357)]:if(n[s(368)]){const t=document.createElement("div");t[s(368)]=n[s(368)]||"",t[s(362)][s(398)]=s(430),t[s(362)][s(401)]=s(449),i.appendChild(t)}else i[s(362)][s(407)]=s(456),i.style.padding=s(430),i[s(368)]=s(458);break;default:i[s(362)][s(407)]="100px",i.style[s(423)]=s(453),i[s(362)][s(426)]=s(418),i[s(368)]=e.adType+s(400)}return i}static createSliderContainer(e,n,s,i,r=!1){const o=et,a=document[o(442)](o(411));a[o(352)]=o(355);const c={position:o(353),overflow:"hidden"};if(e[o(389)]&&0!==e.width){let t;t=typeof e[o(389)]===o(399)&&(e.width[o(462)]("px")||e[o(389)][o(462)]("%"))?e[o(389)]:e[o(389)]+"px",c[o(389)]=t,c[o(428)]=o(377)}else c[o(428)]=o(377);if(e[o(407)]&&0!==e.height){const t=typeof e[o(407)]===o(399)?e[o(407)]:e.height+"px";c[o(407)]=t}Object.entries(c).forEach(([t,e])=>{a[o(362)].setProperty(t,e)});const d=!e[o(389)]||0===e[o(389)],l=!e.height||0===e[o(407)];if(d||l){const t=document[o(442)]("div");if(t.style.cssText=o(410),!d&&e.width){let n;n="string"==typeof e[o(389)]?e[o(389)][o(462)]("px")||e[o(389)].includes("%")?e[o(389)]:e.width+"px":e[o(389)]+"px",t.style[o(389)]=n,t.style.whiteSpace=o(441)}document[o(397)].appendChild(t);let s=0,i=0;n[o(364)](n=>{const r=o,a=this.createSimpleAdElement(e,n);t[r(349)](a);const c=a[r(450)]();c[r(389)]>s&&(s=c[r(389)]),c[r(407)]>i&&(i=c[r(407)]),t.removeChild(a)}),d&&s>0&&(a[o(362)][o(389)]=s+"px",c[o(389)]=s+"px"),l&&i>0&&(a[o(362)].height=i+"px",c[o(407)]=i+"px"),document[o(397)][o(408)](t)}const u=[...n,n[0]],p=document[o(442)](o(411));p[o(352)]=o(383);const h={display:o(412),transition:o(371),width:100*u.length+"%"};e.height&&0!==e[o(407)]&&(h.height=o(434)),Object[o(375)](h)[o(364)](([t,e])=>{p[o(362)].setProperty(t,e)}),u[o(364)]((t,n)=>{const s=o,a=document[s(442)](s(411));a.className=s(436);const c={width:100/u.length+"%","flex-shrink":"0",display:s(412),"align-items":s(373),"justify-content":s(373)};e.height&&0!==e[s(407)]&&(c.height=s(434)),Object[s(375)](c)[s(364)](([t,e])=>{a[s(362)].setProperty(t,e)});const d=this[s(420)](e,t);tt[s(379)](d,t,e,i,r,String(e[s(438)])[s(406)]()),a[s(349)](d),p.appendChild(a)});const f=n[o(404)](e=>e[o(438)]===t.TEXT)?null:this[o(433)](n[o(431)]);let g=0;const m=n[o(431)],I=1e3*(s?.autoSlideInterval||3),v=(t,s=!1)=>{const a=o;g=t,s?p[a(362)][a(443)]="none":p.style.transition=a(371),p[a(362)][a(395)]=a(390)+100/u[a(431)]*g+"%)";const c=g===m?0:g;if(f){f[a(455)](a(415))[a(364)]((t,e)=>{const n=a,s=t;e===c?(s[n(387)][n(359)](n(382)),s[n(362)][n(422)]="#666666",s[n(362)][n(457)]=n(448),s[n(362)].opacity="1"):(s[n(387)][n(414)](n(382)),s[n(362)][n(422)]=n(424),s[n(362)].borderColor=n(391),s.style[n(461)]=n(393))})}Z[a(432)](n[c],e,c,i,r)},y=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(f){f[o(455)](o(415))[o(364)]((t,e)=>{t[o(386)]("click",()=>v(e))})}let b=setInterval(()=>{v(g+1),y()},I);return a[o(386)](o(403),()=>{clearInterval(b)}),a[o(386)](o(369),()=>{b=setInterval(()=>{v(g+1),y()},I)}),this[o(385)](p,v,()=>g,m,y),a.appendChild(p),f&&a[o(349)](f),v(0),(!e.width||0===e[o(389)])&&setTimeout(()=>{const t=o,n=p[t(439)][0];if(n){const s=n[t(439)][0];if(s){const n=s[t(450)]();a.style.width=n[t(389)]+"px",(!e[t(407)]||0===e[t(407)])&&(a.style.height=n.height+"px"),a[t(362)][t(437)]="hidden"}}},10),a}static[et(433)](t){const e=et,n=document.createElement("div");n[e(352)]=e(388),n[e(362)][e(452)]=e(381);for(let s=0;s<t;s++){const t=document.createElement(e(384));t.className=e(392),t[e(362)].cssText=e(370),t[e(386)](e(403),()=>{const n=e;!t.classList[n(419)](n(382))&&(t[n(362)].borderColor="#999999",t[n(362)][n(461)]=n(413))}),t[e(386)]("mouseleave",()=>{const n=e;!t[n(387)][n(419)](n(382))&&(t[n(362)].borderColor=n(391),t.style.opacity=n(393))}),n[e(349)](t)}return n}static[et(385)](t,e,n,s,i){const r=et;let o=0,a=!1;t.addEventListener(r(444),t=>{const e=r;o=t[e(447)][0][e(372)],a=!0}),t[r(386)](r(451),t=>{a&&t.preventDefault()}),t.addEventListener("touchend",t=>{const c=r;if(!a)return;a=!1;const d=t[c(445)][0][c(372)],l=o-d;if(Math[c(378)](l)>50){const t=n();if(l>0){e(t+1),i&&i()}else{e(t>0?t-1:s-1)}}})}}function rt(t,e){const n=at();return(rt=function(t,e){return n[t-=406]})(t,e)}const ot=rt;function at(){const t=["3900955mUTBsY","3515472umULtl"," in slot ","4KEIMqp","has","2800418gUMqWY","10YsioXj","158648tPkJwC","Duplicate viewable blocked for ad ","335802HzagTx","log","27ygAfUj","1158429ztvzPL","clearAdViewable","✅ New viewable recorded for ad ","clear","add","102wDKLep","2665707jnVzxM","viewableTracker","delete"];return(at=function(){return t})()}!function(){const t=rt,e=at();for(;;)try{if(812022===parseInt(t(413))/1+-parseInt(t(406))/2+-parseInt(t(410))/3+parseInt(t(425))/4*(-parseInt(t(422))/5)+parseInt(t(418))/6*(parseInt(t(408))/7)+parseInt(t(423))/8*(parseInt(t(412))/9)+-parseInt(t(407))/10*(-parseInt(t(419))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ct{static isDuplicateViewable(t,e,n=!1){const s=rt,i=t+"_"+e;return ct[s(420)][s(426)](i)?(n&&console[s(411)](s(409)+t+s(424)+e),!0):(ct.viewableTracker[s(417)](i),n&&console.log(s(415)+t+s(424)+e),!1)}static[ot(416)](){const t=ot;ct[t(420)][t(416)]()}static[ot(414)](t,e){const n=ot,s=t+"_"+e;ct[n(420)][n(421)](s)}}ct[ot(420)]=new Set;const dt=ut;function lt(){const t=["advertisementEventTracker","querySelector","12jMgRaC","⚠️ Created empty ","1628282SGFXIq","color",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"setAttribute","getElementById"," x "," container collapsed (",'[class*="banner"]',"calculateAdSize","borderRadius","📏 Using default height ","data-adstage-container","appendChild","cssText","createEmptyContainer","adstage-slot","unknown","950376BDEGha","width","transparent","backgroundColor","filter","755397uzIMLS"," for ad ","⚠️ ","getDefaultHeight","217JRRvWI","VIEWABLE","subtle","error"," event for ad "," container: "," slot: ","auto","100%","adType","classList","getAttribute","alignItems","<span>Loading ","📊 Advertisement event tracked: ","fontSize","containerId",'div[style*="min-height"]',"none",".adstage-","hasAttribute","createEventTrackingCallback","1px dashed #ccc",") - Mode: ","center","display","advertisement",'[class*="container"]',"adstage-slot adstage-empty adstage-","#666","4aPeTXU","true","createElement","getContainerHeight","6px","flex","justifyContent","🔄 Starting advertisement event tracking: ","invisible","): ","style","generic","❌ Failed to track ","applyPlaceholderStyle","innerHTML","log","rgba(248, 249, 250, 0.5)","📦 Placeholder created for ","monospace","rgba(0, 0, 0, 0.02)","border","string","warn","toLowerCase","block","12660CYkMmF",'div[style*="height"]',"1px solid rgba(0, 0, 0, 0.08)","createPlaceholder","1dqpBTU","\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 ","minimal","px)","data-adstage-slot","9sujtvI","isEmpty","renderFallback","2px dashed #e74c3c",".adstage-slot",'[data-adstage-container="true"]',"#e74c3c","height","isDuplicateViewable","fontFamily","placeholderMode","debug"," ad...</span>","data-adstage-empty","className","div","closest","7462270UDYmyU","1128410ZxVznA","opacity","minHeight","1860485kFYElM","number"," for ",'[class*="ad"]'," in slot "," event","⚠️ AdvertisementEventTracker not available for "];return(lt=function(){return t})()}function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=427]})(t,e)}!function(){const t=ut,e=lt();for(;;)try{if(820431===-parseInt(t(447))/1*(parseInt(t(484))/2)+-parseInt(t(506))/3*(-parseInt(t(540))/4)+parseInt(t(469))/5+-parseInt(t(443))/6*(-parseInt(t(510))/7)+-parseInt(t(501))/8+parseInt(t(452))/9*(parseInt(t(470))/10)+-parseInt(t(473))/11*(parseInt(t(482))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class pt{constructor(t,e=!1,n){const s=ut;this[s(519)]=t,this.debug=e,this[s(480)]=n||null}[dt(446)](t,e,n,s){const i=dt,r=document.createElement(i(467));r.id=e,r[i(466)]="adstage-slot adstage-"+String(this[i(519)])[i(441)](),r.setAttribute(i(495),i(541)),r[i(487)]("data-adstage-type",String(this[i(519)])),r[i(487)](i(451),e);const{width:o,height:a}=this[i(492)](t,n,s)||{width:i(518),height:this[i(509)]()};r.style[i(502)]=o,r.style[i(459)]=a;const c=s?.[i(462)]||n[i(462)]||"invisible";this.applyPlaceholderStyle(r,c),t[i(496)](r),this[i(463)]&&console[i(433)](i(435)+this[i(519)]+i(516)+e+" ("+o+i(489)+a+i(533)+c)}[dt(431)](t,e){const n=dt;switch(e){case n(548):t.style.backgroundColor=n(503),t[n(428)].border="none",t[n(428)][n(471)]="0",t[n(432)]="";break;case n(503):t[n(428)].backgroundColor="transparent",t[n(428)][n(438)]=n(528),t[n(428)][n(535)]=n(442),t[n(432)]="";break;case n(512):t[n(428)][n(504)]=n(437),t[n(428)][n(438)]=n(528),t[n(428)].borderRadius="4px",t.style[n(535)]=n(545),t[n(428)][n(522)]=n(534),t[n(428)].justifyContent="center",t[n(432)]='<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>';break;case n(449):t[n(428)][n(504)]=n(434),t.style[n(438)]=n(445),t[n(428)][n(493)]=n(544),t.style[n(535)]=n(545),t[n(428)][n(522)]=n(534),t[n(428)][n(546)]=n(534),t.innerHTML=n(486);break;case"debug":t[n(428)][n(438)]=n(455),t[n(428)].display=n(545),t[n(428)].alignItems=n(534),t[n(428)].justifyContent=n(534),t[n(428)][n(504)]="rgba(231, 76, 60, 0.1)",t.style[n(485)]=n(458),t.style[n(461)]=n(436),t[n(428)][n(525)]="11px",t[n(432)]=n(523)+this[n(519)]+" ad...</span>";break;default:t[n(428)][n(438)]=n(532),t.style[n(535)]=n(545),t[n(428)][n(522)]=n(534),t[n(428)][n(546)]=n(534),t[n(428)].backgroundColor="#f9f9f9",t.style[n(485)]=n(539),t[n(432)]="<span>Loading "+this[n(519)]+n(464)}}[dt(492)](t,e,n){const s=dt,i=e[s(502)],r=e[s(459)];let o,a;if(o=typeof i===s(474)?i+"px":typeof i===s(439)?i:s(518),"number"==typeof r)a=r+"px";else if(typeof r===s(439)&&r!==s(518)&&r!==s(517))a=r;else{const e=this[s(543)](t);e>0?(a="100%",(n?.[s(463)]||this.debug)&&console[s(433)]("📏 Using 100% height (container: "+e+s(450))):(a=this[s(509)](),(n?.debug||this[s(463)])&&console[s(433)](s(494)+a+s(475)+this[s(519)]))}return{width:o,height:a}}getContainerHeight(t){const e=dt,n=window.getComputedStyle(t),s=parseFloat(n[e(459)]);if(!s||0===s){const s=parseFloat(n[e(472)]);if(s>0)return s;if(t[e(428)][e(459)]&&"auto"!==t[e(428)][e(459)]){const n=parseFloat(t[e(428)][e(459)]);if(n>0)return n}const i=t[e(521)]("height");if(i){const t=parseFloat(i);if(t>0)return t}}return s||0}[dt(531)](){return async(t,e,n)=>{const s=ut;if(n===o[s(511)]){if(ct[s(460)](t,e,this.debug))return void(this[s(463)]&&console[s(433)]("🚫 Duplicate viewable blocked for ad "+t+" in slot "+e));this[s(463)]&&console[s(433)]("✅ New viewable recorded for ad "+t+" in slot "+e)}if(this[s(480)])try{this.debug&&console[s(433)](s(547)+n+s(507)+t+" in slot "+e),await this[s(480)].trackAdvertisementEvent(t,e,n),this.debug&&console[s(433)](s(524)+n+s(507)+t+s(477)+e)}catch(e){this[s(463)]&&console[s(513)](s(430)+n+s(514)+t+":",e)}else this.debug&&console[s(440)](s(479)+n+s(478))}}[dt(454)](t){const e=dt,n=document[e(488)](t.id);if(n){const s=[...[n[e(481)](e(457)),n[e(468)]('[data-adstage-container="true"]'),n][e(505)](t=>t&&t[e(530)](e(495))),...[n.closest(e(456)),n[e(468)](e(529)+String(this.adType)[e(441)]()),n.closest(e(476)),n.closest(e(491)),n[e(468)](e(537)),n[e(468)](e(444)),n[e(468)](e(527)),n.parentElement][e(505)](Boolean)][0];if(s){let n=e(500);n=s[e(530)](e(495))?"adstage-official":s[e(520)].contains(e(499))?"adstage-class":e(429),s[e(428)][e(497)]+="\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 ",s[e(432)]="",s[e(487)]("data-adstage-empty","true"),this.debug&&console[e(440)](e(508)+this.adType+e(490)+n+e(427)+t.id,s)}else this[e(498)](t)}t[e(536)]=void 0,t[e(453)]=!0}[dt(498)](t){const e=dt,n=document[e(488)](t[e(526)]);if(n){n[e(432)]="";const s=document[e(542)](e(467));s.id=t.id,s[e(466)]=e(538)+String(this[e(519)])[e(441)](),s.setAttribute(e(495),e(541)),s[e(487)](e(465),"true"),s[e(487)]("data-adstage-slot",t.id),s[e(428)][e(497)]=e(448),n[e(496)](s),this[e(463)]&&console[e(440)](e(483)+this[e(519)]+e(515)+t.id)}}[dt(433)](t,...e){const n=dt;this.debug&&console.log("["+this[n(519)]+"] "+t,...e)}}const ht=ft;function ft(t,e){const n=gt();return(ft=function(t,e){return n[t-=149]})(t,e)}function gt(){const t=["log","aspectRatio","optimizedHeight","alt","onerror","from","common"," ads: ","applyOptimizedImageStyle","length","default","get"," (avg: ","style","renderOptimizedBannerImage","10SCpFMB","appendChild","8px","count","center","map","loadImageDimensions","Image URL is not provided","88vVhPdV","filter","68081hzQmHq","abs","selectOptimalSizeStrategy","2dhFrPV","calculateOptimalHeight","🔧 Banner container optimized for ","✅ Optimized banner image rendered for ad: ","585021JBmYqw","toString","🎠 Banner carousel created for slot: ","727980FcawFR","4:3","forEach","debug","BANNER","some","📐 Optimal banner container calculated: ","parentElement","<div>","allSettled","values","Banner container optimization failed, using default size:","dominant"," with ","objectPosition","calculateOptimalContainerSize","display","420fFSUOs","getDefaultHeight","1:1","objectFit","status","ratio","11450NYZSwd","getBoundingClientRect","getElementById","img","6055511BJxuBd","naturalHeight","average","100%","📸 Banner image dimensions: ","backgroundColor","title","warn","3:2","createSliderContainer","toFixed","fulfilled","onload","Failed to load image: ","calculateAdSize","addClickEventForRenderer","12NxxZVU","height","className",", ratio=","adstage-ad adstage-banner-ad","createEventTrackingCallback","createElement","Failed to calculate optimal banner size, using defaults:","Banner","📦 Banner container dimensions: ","renderMultipleAds","round","Container not found: ","name","12467wZCTQh","error","imageUrl","renderAdElement","config","cover","src","width","containerId","optimizeContainerForBannerAds","reduce","868257lMiBJi","innerHTML","value"];return(gt=function(){return t})()}!function(){const t=ft,e=gt();for(;;)try{if(131764===parseInt(t(218))/1*(parseInt(t(221))/2)+parseInt(t(225))/3+parseInt(t(228))/4+parseInt(t(251))/5*(parseInt(t(245))/6)+-parseInt(t(179))/7*(parseInt(t(216))/8)+-parseInt(t(190))/9*(-parseInt(t(208))/10)+-parseInt(t(149))/11*(parseInt(t(165))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class mt extends pt{constructor(e=!1,n){super(t[ft(232)],e,n)}[ht(246)](){return"250px"}async[ht(182)](t,e){const n=ht,s=document[n(253)](t.containerId);if(!s)return;const i=document.createElement("div");i[n(167)]=n(169);const r=t[n(195)],o=s[n(235)]||s;if(r)i[n(206)][n(186)]=n(152),i.style[n(166)]=String(r);else{const e=t.config,s={width:e?.width,height:e?.[n(166)]},{width:r,height:a}=this[n(163)](o,s,{debug:this[n(231)]});i.style[n(186)]=r,i[n(206)][n(166)]=a}e[n(181)]?await this[n(207)](i,e,t):i[n(191)]=n(236)+(e[n(155)]||"Banner Ad")+"</div>",tt.addClickEventForRenderer(i,e,t,()=>this[n(170)](),this[n(231)],n(173)),s.innerHTML="",s[n(209)](i)}async[ht(175)](t,e){const n=ht,s=document[n(253)](t.containerId);if(!s)throw new Error(n(177)+t[n(187)]);await this[n(188)](t,e);const i=this.createEventTrackingCallback(),r={autoSlideInterval:(t.config?.slideInterval||5e3)/1e3,...t[n(183)],optimizedHeight:t.optimizedHeight,aspectRatio:t[n(194)]},o=it[n(158)](t,e,r,i,this.debug);o&&(s[n(191)]="",s.appendChild(o),this[n(231)]&&console.log(n(227)+t.id+n(241)+e[n(202)]+" ads (optimized: "+(t[n(195)]||n(203))+")"))}async calculateOptimalContainerSize(t,e){const n=ht;if(!t[n(202)])return{width:n(152),height:this[n(246)](),aspectRatio:16/9};try{const s=(await Promise[n(237)](t[n(217)](t=>t[n(181)])[n(213)](t=>this.loadImageDimensions(t.imageUrl))))[n(217)](t=>t[n(249)]===n(160))[n(213)](t=>t[n(192)]);if(0===s[n(202)])return{width:n(152),height:this.getDefaultHeight(),aspectRatio:16/9};const i=this[n(220)](s),r=this.calculateOptimalHeight(s,e,i);return this[n(231)]&&console[n(193)](n(234)+e+"x"+r+" (strategy: "+i+")"),{width:n(152),height:r+"px",aspectRatio:e/r}}catch(t){return console[n(156)](n(172),t),{width:n(152),height:this[n(246)](),aspectRatio:16/9}}}async[ht(188)](t,e){const n=ht;try{const s=document.getElementById(t[n(187)]),i=document[n(253)](t.id);if(!s||!i)return;const r=s.getBoundingClientRect()[n(186)]||300,o=await this[n(243)](e,r);i[n(206)][n(166)]=o[n(166)],t[n(195)]=o[n(166)],t[n(194)]=o.aspectRatio,this[n(231)]&&console[n(193)](n(223)+e[n(202)]+n(200)+o.height)}catch(t){console.warn(n(239),t)}}selectOptimalSizeStrategy(t){const e=ht,n=t[e(213)](t=>t[e(186)]/t.height),s=new Map;n[e(230)](t=>{const n=e,i=(Math[n(176)](10*t)/10).toString();s.set(i,(s[n(204)](i)||0)+1)});const i=Math.max(...s.values()),r=t[e(202)];if(i/r>=.7)return e(240);const o=[16/9,4/3,1,1.5];return n[e(217)](t=>o[e(233)](e=>Math.abs(t-e)<.1))[e(202)]/r>=.5?e(199):"average"}[ht(222)](t,e,n){const s=ht,i=t[s(213)](t=>t.width/t.height);switch(n){case s(240):{const t=new Map;i[s(230)](e=>{const n=s,i=Math[n(176)](10*e)/10,r=i[n(226)](),o=t[n(204)](r);o?o[n(211)]++:t.set(r,{ratio:i,count:1})});const n=Array[s(198)](t[s(238)]())[s(189)]((t,e)=>e.count>t[s(211)]?e:t);return Math.round(e/n.ratio)}case"common":{const t=[{ratio:16/9,name:"16:9"},{ratio:4/3,name:s(229)},{ratio:1,name:s(247)},{ratio:1.5,name:s(157)}],n=i.reduce((t,e)=>t+e,0)/i[s(202)],r=t[s(189)]((t,e)=>Math[s(219)](e[s(250)]-n)<Math[s(219)](t[s(250)]-n)?e:t);return this.debug&&console.log("📊 Using standard ratio: "+r[s(178)]+s(205)+n.toFixed(2)+")"),Math[s(176)](e/r[s(250)])}case s(151):default:{const t=i[s(189)]((t,e)=>t+e,0)/i[s(202)];return Math[s(176)](e/t)}}}loadImageDimensions(t){return new Promise((e,n)=>{const s=ft,i=new Image;i[s(161)]=()=>{const t=s;e({width:i.naturalWidth,height:i[t(150)]})},i[s(197)]=()=>{n(new Error(s(162)+t))},i[s(185)]=t})}[ht(201)](t,e,n){const s=ht,i=e/n;Math[s(219)](i-1)<.1?(t[s(206)][s(248)]="cover",t.style[s(242)]=s(212)):i>1.3?(t[s(206)][s(248)]="contain",t[s(206)][s(242)]=s(212),t[s(206)][s(154)]="#f0f0f0"):i<.7?(t[s(206)][s(248)]="cover",t.style.objectPosition="center"):(t[s(206)][s(248)]=s(184),t[s(206)][s(242)]=s(212)),this[s(231)]&&console.log("🎨 Banner image style applied: objectFit="+t[s(206)][s(248)]+s(168)+i[s(159)](2))}async[ht(207)](t,e,n){const s=ht,i=document[s(171)](s(254));i[s(206)][s(186)]=s(152),i.style[s(166)]="100%",i[s(206)][s(244)]="block",i[s(206)].borderRadius=s(210),i[s(196)]=e[s(155)]||"Banner Advertisement",t[s(191)]='<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>';try{if(!e.imageUrl)throw new Error(s(215));const r=await this[s(214)](e[s(181)]),o=t[s(252)](),a=o[s(186)],c=o[s(166)];this[s(231)]&&(console.log(s(153)+r[s(186)]+"x"+r.height),console[s(193)](s(174)+a+"x"+c));const d=r[s(186)]/r.height,l=a/c;return this[s(201)](i,d,l),i[s(185)]=e.imageUrl,t.innerHTML="",t[s(209)](i),tt[s(164)](i,e,n,()=>this[s(170)](),this[s(231)],s(173)),this.debug&&console[s(193)](s(224)+e._id),i}catch(r){return console[s(180)]("❌ Failed to load optimized banner image:",r),e.imageUrl&&(i[s(185)]=e[s(181)],i.style[s(248)]="cover",i[s(206)][s(242)]=s(212),t[s(191)]="",t.appendChild(i),tt[s(164)](i,e,n,()=>this.createEventTrackingCallback(),this[s(231)],s(173))),i}}}const It=vt;function vt(t,e){const n=yt();return(vt=function(t,e){return n[t-=278]})(t,e)}function yt(){const t=["6JtibBZ","textContent","1666389OvNNoM","67324QaGrQC","createTextAdStyles","2144464eJtAuH","2237505QoFryl","title","362257UTzhWQ","37330TUZqjF","223374rfioUO","setTextAdContent","\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 ","3951cyFuxO","72wZaUCQ"];return(yt=function(){return t})()}!function(){const t=vt,e=yt();for(;;)try{if(335486===-parseInt(t(289))/1*(parseInt(t(284))/2)+-parseInt(t(291))/3+parseInt(t(292))/4+-parseInt(t(280))/5+parseInt(t(288))/6*(parseInt(t(282))/7)+-parseInt(t(279))/8+-parseInt(t(287))/9*(-parseInt(t(283))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class bt{static[It(278)](t=!1){return It(286)}static[It(285)](t,e){const n=It,s=e[n(290)]||e[n(281)]||"";t[n(290)]=s}}const wt=kt;function kt(t,e){const n=xt();return(kt=function(t,e){return n[t-=489]})(t,e)}function xt(){const t=["36972495dvQseV","minHeight","1769744Yvwcgu","64652pEGzvq","createTextTransitionContainer","createSimpleAdElement","position","autoSlideInterval","mouseenter","adstage-fade-slide-container","height: auto; min-height: fit-content;","includes","3862263tegjxY","createTextAdStyles","adType",";\n width: 100%;\n ","clientX","forEach","\n ","Text",";\n ","absolute","string","height",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ",";\n top: ","div","adstage-fade-slider-wrapper","adstage-fade-slide","whiteSpace","clientY","3740498ZIMPfc","appendChild","data-adstage-slot-id","height: 100%;","1AncnqP","hidden","opacity","auto","createElement","touches",";\n left: ","top","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","setTextAdContent","addEventListener","left","normal","10CVxpCD","push","width","transform","abs","mouseleave","toLowerCase","fit-content","20px","addTouchSupport","zIndex","translateY(-20px)","relative","42ItLNoK","body","style","className","setAttribute","cssText","entries","height: auto;","removeChild","\n position: relative;\n width: 100%;\n ","8347940CRtQwy","256772toZNqK"];return(xt=function(){return t})()}!function(){const t=kt,e=xt();for(;;)try{if(940880===parseInt(t(538))/1*(parseInt(t(534))/2)+parseInt(t(515))/3+-parseInt(t(502))/4+parseInt(t(501))/5+-parseInt(t(491))/6*(-parseInt(t(506))/7)+parseInt(t(505))/8+parseInt(t(503))/9*(-parseInt(t(551))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Et{static[wt(508)](t,e){const n=wt,s=document.createElement(n(529));return s[n(494)]="adstage-ad adstage-"+String(t[n(517)])[n(557)](),s[n(495)]("data-adstage-ad-id",e._id),s[n(495)](n(536),t.id),s[n(493)][n(496)]=bt[n(516)](!0),bt[n(547)](s,e),s}static[wt(507)](t,e,n,s,i=!1){const r=wt,o=t[r(526)]&&0!==t[r(526)]&&t[r(526)]!==r(541),a=document[r(542)](r(529));a[r(494)]=r(530);const c={position:"relative",overflow:r(539),display:"block"};if(!o&&(c[r(526)]=r(541),c[r(504)]=r(558)),t[r(553)]&&0!==t[r(553)]){let e;e=typeof t.width===r(525)&&(t[r(553)][r(514)]("px")||t.width[r(514)]("%"))?t.width:t[r(553)]+"px",c.width=e}if(t[r(526)]&&0!==t.height&&t[r(526)]!==r(541)&&o){let e;e=typeof t.height===r(525)&&(t[r(526)][r(514)]("px")||t[r(526)][r(514)]("%"))?t.height:t[r(526)]+"px",c[r(526)]=e}Object[r(497)](c).forEach(([t,e])=>{a.style.setProperty(t,e)});const d=document[r(542)](r(529));d.className=r(512),d[r(493)][r(496)]=r(500)+r(o?537:513)+r(521);let l=null;const u=!t[r(553)]||0===t[r(553)],p=!t.height||0===t[r(526)]||void 0===t[r(526)]||"auto"===t[r(526)];if(u||p&&o){if(l=document[r(542)](r(529)),l[r(493)].cssText=r(546),!u&&t[r(553)]){let e;e=typeof t.width===r(525)?t[r(553)].includes("px")||t.width[r(514)]("%")?t[r(553)]:t[r(553)]+"px":t.width+"px",l[r(493)][r(553)]=e,l[r(493)][r(532)]=r(550)}document[r(492)][r(535)](l);let n=0,s=0;e[r(520)](e=>{const i=r,o=this.createSimpleAdElement(t,e);l[i(535)](o);const a=o.getBoundingClientRect();a[i(553)]>n&&(n=a[i(553)]),a[i(526)]>s&&(s=a[i(526)]),l[i(499)](o)}),u&&n>0&&(a.style[r(553)]=n+"px"),p&&s>0&&o&&(a[r(493)][r(526)]=s+"px"),document[r(492)][r(499)](l)}const h=[];e[r(520)]((e,n)=>{const a=r,c=document[a(542)](a(529));c[a(494)]=a(531);const l=a(o?524:0===n?490:524);c.style[a(496)]="\n position: "+l+a(528)+(l===a(524)?"0":a(541))+a(544)+(l===a(524)?"0":"auto")+a(518)+a(o?537:498)+"\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(559))+a(527)+(0===n?"2":"1")+a(523);const u=this[a(508)](t,e);tt.addClickEventForSlider(u,e,t,s,i,a(522)),c[a(535)](u),d[a(535)](c),h[a(552)](c)});let f=0;const g=e.length,m=1e3*(n?.[r(510)]||4),I=n=>{const a=r;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!o&&(c[a(493)][a(509)]===a(490)&&(c[a(493)].position="absolute",c[a(493)][a(545)]="0",c[a(493)].left="0"),d[a(493)][a(509)]=a(490),d.style.top=a(541),d[a(493)][a(549)]=a(541)),c[a(493)][a(540)]="0",c[a(493)][a(554)]=a(489),c[a(493)][a(561)]="1",d[a(493)][a(540)]="1",d.style[a(554)]="translateY(0)",d[a(493)][a(561)]="2",h[a(520)]((t,e)=>{const s=a;e!==n&&e!==f&&(t[s(493)][s(540)]="0",t[s(493)][s(554)]="translateY(20px)",t[s(493)][s(561)]="1",!o&&t[s(493)].position===s(490)&&(t.style[s(509)]=s(524),t[s(493)].top="0",t.style[s(549)]="0"))}),f=n,Z.trackSlideViewable(e[f],t,f,s,i)};let v=setInterval(()=>{I(f+1)},m);return a[r(548)](r(511),()=>{clearInterval(v)}),a.addEventListener(r(556),()=>{v=setInterval(()=>{I(f+1)},m)}),Et[r(560)](a,I,()=>f,g),a[r(535)](d),a}static[wt(560)](t,e,n,s){const i=wt;let r=0,o=0,a=!1;t[i(548)]("touchstart",t=>{const e=i;r=t[e(543)][0][e(519)],o=t[e(543)][0].clientY,a=!0}),t[i(548)]("touchmove",t=>{a&&t.preventDefault()}),t.addEventListener("touchend",t=>{const s=i;if(!a)return;a=!1;const c=t.changedTouches[0][s(519)],d=t.changedTouches[0][s(533)],l=r-c,u=o-d;if(Math[s(555)](l)>Math[s(555)](u)&&Math[s(555)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}const St=Ct;function At(){const t=["slideInterval","621qVleds","45190zfRFgM","2LpdedD","length","createElement","30pSCcLb","style","maxLines","1057yHxOsl","3259MOWDWg","parentElement","45672XqrUls","log","optimizedHeight","div"," ads","display","number","createTextAdStyles","cssText","14471116yatOPt","width","appendChild","createEventTrackingCallback","getDefaultHeight","innerHTML","-webkit-box","height","100%","2524qMjVeJ","renderAdElement","setTextAdContent","containerId","213IRikgI","className","calculateAdSize","1153578tNCbUW","_id","60px","createTextTransitionContainer","adstage-text-content","getElementById","debug","TEXT","config","34800000bRYYPk","addClickEventForRenderer"];return(At=function(){return t})()}function Ct(t,e){const n=At();return(Ct=function(t,e){return n[t-=362]})(t,e)}!function(){const t=Ct,e=At();for(;;)try{if(694944===parseInt(t(409))/1*(-parseInt(t(402))/2)+parseInt(t(385))/3*(-parseInt(t(381))/4)+parseInt(t(405))/5*(parseInt(t(388))/6)+parseInt(t(408))/7*(parseInt(t(363))/8)+-parseInt(t(400))/9*(-parseInt(t(401))/10)+parseInt(t(372))/11+-parseInt(t(397))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Tt extends pt{constructor(e=!1,n){super(t[Ct(395)],e,n)}[St(376)](){return St(390)}async[St(382)](t,e){const n=St,s=document.getElementById(t[n(384)]);if(!s)return;const i=document.createElement(n(366));i[n(386)]="adstage-ad adstage-text-ad";const r=t[n(365)],o=s[n(362)]||s;if(r)i[n(406)][n(373)]=n(380),i[n(406)].height=String(r);else{const e=t.config,s={width:e?.[n(373)],height:e?.[n(379)]},{width:r,height:a}=this[n(387)](o,s,{debug:this[n(394)]});i.style[n(373)]=r,i[n(406)][n(379)]=a}const a=document[n(404)](n(366));a[n(386)]=n(392),a[n(406)][n(371)]=bt[n(370)](!1),bt[n(383)](a,e);const c=t[n(396)]?.[n(407)];c&&typeof c===n(369)&&(a[n(406)][n(368)]=n(378),a[n(406)].webkitLineClamp=String(c),a[n(406)].webkitBoxOrient="vertical",a[n(406)].overflow="hidden"),i.appendChild(a),tt[n(398)](i,e,t,()=>this[n(375)](),this[n(394)],"Text"),s.innerHTML="",s[n(374)](i),this[n(394)]&&console[n(364)]("✨ Single text ad rendered: "+e[n(389)])}async renderMultipleAds(t,e){const n=St,s=document[n(393)](t[n(384)]);if(!s)throw new Error("Container not found: "+t[n(384)]);const i=this[n(375)](),r={autoSlideInterval:(t[n(396)]?.[n(399)]||5e3)/1e3,...t.config,optimizedHeight:t.optimizedHeight,aspectRatio:t.aspectRatio},o=Et[n(391)](t,e,r,i,this[n(394)]);o&&(s[n(377)]="",s.appendChild(o),this[n(394)]&&console[n(364)]("✨ Text transition created for slot: "+t.id+" with "+e[n(403)]+n(367)))}}const Dt=Rt;function Rt(t,e){const n=Lt();return(Rt=function(t,e){return n[t-=102]})(t,e)}!function(){const t=Rt,e=Lt();for(;;)try{if(300548===parseInt(t(155))/1*(-parseInt(t(154))/2)+-parseInt(t(139))/3+-parseInt(t(212))/4+-parseInt(t(177))/5*(parseInt(t(200))/6)+parseInt(t(123))/7*(parseInt(t(165))/8)+parseInt(t(220))/9*(parseInt(t(148))/10)+parseInt(t(203))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ut extends pt{constructor(e=!1,n){super(t[Rt(113)],e,n)}getDefaultHeight(){return Rt(152)}async[Dt(114)](t,e){const n=Dt,s=document[n(172)](t.containerId);if(!s)return;const i=document[n(143)]("div");i.className=n(180),i[n(124)][n(104)]="\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 ",this[n(206)](i,e,t),s[n(107)]="",s.appendChild(i),this.debug&&console[n(170)]("🎬 Single video ad rendered: "+e[n(159)])}async[Dt(173)](t,e){const n=Dt,s=document[n(172)](t[n(111)]);if(!s)throw new Error("Container not found: "+t[n(111)]);if(e[n(183)]>0){const i=e[0],r=document[n(143)](n(163));r[n(169)]=n(180),r[n(124)][n(104)]=n(217),this[n(206)](r,i,t),s.innerHTML="",s.appendChild(r);const a=this[n(116)]();setTimeout(()=>{const e=n;a(i[e(159)],t.id,o[e(197)])},100),this[n(126)]&&console[n(170)]("🎬 Single video rendered for VIDEO slot: "+t.id+" ("+i[n(159)]+")")}else this.debug&&console[n(162)](n(195)+t.id)}[Dt(206)](t,e,n){const s=Dt;t[s(124)][s(142)]=s(129);const i=document.createElement("video");i.style[s(191)]=s(128),i[s(124)].height="100%",i[s(124)][s(145)]=s(115),i[s(164)]="metadata";const r=n.config;if(this[s(126)]&&console[s(170)](s(147),r),i[s(211)]=!1,i[s(171)]=!1!==r?.autoplay,i[s(156)]=!0,i[s(136)]=!1!==r?.[s(136)],this[s(126)]&&console[s(170)](s(168),{autoplay:i[s(171)],muted:i[s(156)],loop:i[s(136)],controls:i[s(211)]}),!1!==r?.[s(202)]&&i[s(185)](s(202),""),!0===r?.controls&&(i[s(211)]=!0,this[s(126)]&&console[s(170)]("🎬 User explicitly enabled controls, overriding default")),r?.[s(179)])i[s(211)]=!1,i[s(124)][s(104)]+=s(198);else if(r?.[s(119)]){if(i.controls){const t=document[s(143)](s(124));t[s(140)]=s(130)+(r.customControls[s(153)]?s(205):s(216))+s(166)+(r[s(119)][s(175)]?s(205):s(216))+s(120)+(r[s(119)][s(189)]?s(205):s(216))+s(122)+(r[s(119)].hideRemainingTime?s(205):"block")+s(134)+(r[s(119)][s(105)]?s(205):s(216))+s(131)+(r.customControls[s(167)]?"none":s(216))+" !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: "+(r[s(119)][s(176)]?s(205):s(216))+s(174),document[s(196)].appendChild(t)}}else if(i[s(211)]){const t=document[s(143)](s(124));t.id="adstage-video-default-controls",t[s(140)]=s(181),!document[s(172)](s(144))&&document[s(196)][s(118)](t)}this.debug&&console.log(s(190),i[s(211)]?s(138):s(135));const o=document[s(143)]("button");o.className=s(199),o[s(124)][s(104)]=s(127),r?.[s(179)]&&(o[s(124)][s(102)]=s(205));const a=()=>{const t=s,e=t(112);o[t(107)]=i[t(156)]?'\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 ':e,o[t(188)]=i.muted?t(186):t(182)};if(a(),o[s(184)](s(192),t=>{const e=s;t.stopPropagation(),i[e(156)]=!i[e(156)],a(),this.debug&&console.log(e(209)+(i[e(156)]?e(156):e(141)))}),o.addEventListener(s(106),()=>{const t=s;o[t(124)][t(160)]=t(103),o[t(124)][t(201)]=t(125)}),o[s(184)](s(110),()=>{const t=s;o.style.background=t(161),o[t(124)][t(201)]=t(117)}),e.videoUrl){i.src=e[s(149)];const t=()=>{const t=s;i[t(171)]&&i[t(156)]&&i[t(215)]&&i[t(109)]()[t(207)](e=>{const n=t;this.debug&&(console[n(162)](n(150),e),console[n(162)](n(213))),i[n(156)]=!0,i[n(109)]()[n(207)](t=>{const e=n;this[e(126)]&&console[e(158)](e(193),t)})})};i[s(184)](s(137),()=>{const e=s;this[e(126)]&&console.log(e(178)),t()}),i[s(184)](s(219),()=>{const e=s;this[e(126)]&&console[e(170)](e(208)),t()}),i[s(184)]("loadeddata",()=>{const e=s;this[e(126)]&&console[e(170)]("🎬 Video data loaded, attempting autoplay..."),t()}),setTimeout(()=>{const e=s;this[e(126)]&&console[e(170)](e(194)),t()},100)}else if(e.imageUrl){const n=document[s(143)]("img");return n[s(133)]=e[s(151)],n.style[s(191)]="100%",n[s(124)][s(146)]=s(128),n[s(124)][s(145)]="contain",n[s(121)]=e[s(188)]||s(204),void t.appendChild(n)}tt[s(157)](i,e,n,()=>this[s(116)](),this[s(126)],s(210)),i[s(184)]("error",i=>{const r=s;if(console[r(158)](r(132),i),e[r(151)]){const s=document[r(143)]("img");s[r(133)]=e.imageUrl,s[r(124)][r(191)]="100%",s.style[r(146)]=r(128),s.style[r(145)]=r(115),s.alt=e[r(188)]||r(204),tt[r(157)](s,e,n,()=>this[r(116)](),this[r(126)],"Video fallback"),t[r(107)]="",t[r(118)](s)}}),t[s(118)](i),t.appendChild(o),this.debug&&console[s(170)](s(187)+e[s(159)]+s(214)+i.autoplay+s(218)+i.muted+s(108)+i.loop+")")}}function Lt(){const t=["log","autoplay","getElementById","renderMultipleAds"," !important;\n }\n ","hideProgressBar","hideFullscreenButton","6285EVRUmO","🎬 Video metadata loaded, attempting autoplay...","hideControls","adstage-video-container","\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 ","Click to mute","length","addEventListener","setAttribute","Click to unmute","🎬 Video element created for ad: ","title","hideCurrentTime","🎬 Video controls setting:","width","click","🎬 Autoplay completely failed:","🎬 Initial autoplay attempt after timeout...","⚠️ No video advertisements available for slot: ","head","VIEWABLE","\n pointer-events: none;\n ","adstage-video-mute-button","24SceGko","transform","playsinline","5383147JJBKEA","Video thumbnail","none","renderVideoElementDirect","catch","🎬 Video can play, attempting autoplay...","🔊 Video mute toggled: ","Video","controls","136624hrpecd","🎬 Trying muted autoplay fallback..."," (autoplay: ","paused","block","\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 ",", muted: ","canplay","581391JRzgIc","display","rgba(0, 0, 0, 0.9)","cssText","hideVolumeSlider","mouseenter","innerHTML",", loop: ","play","mouseleave","containerId",'\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 ',"VIDEO","renderAdElement","contain","createEventTrackingCallback","scale(1)","appendChild","customControls"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","alt"," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","84854gkIaQX","style","scale(1.1)","debug","\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 ","100%","relative","\n video::-webkit-media-controls-play-button {\n display: "," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","Video load failed:","src"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","disabled (default)","loop","loadedmetadata","enabled","1134426ejGNhL","textContent","unmuted","position","createElement","adstage-video-default-controls","objectFit","height","🎬 Video config received:","70RhXvxb","videoUrl","🎬 Auto-play was prevented:","imageUrl","360px","hidePlayButton","44ETJsRK","21739fvZIDL","muted","addClickEventForRenderer","error","_id","background","rgba(0, 0, 0, 0.7)","warn","div","preload","168SwpHML"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","hideMuteButton","🎬 Final video settings:","className"];return(Lt=function(){return t})()}function Bt(t,e){const n=Mt();return(Bt=function(t,e){return n[t-=482]})(t,e)}const Pt=Bt;!function(){const t=Bt,e=Mt();for(;;)try{if(308996===-parseInt(t(507))/1*(-parseInt(t(499))/2)+-parseInt(t(516))/3*(parseInt(t(486))/4)+parseInt(t(485))/5*(parseInt(t(490))/6)+-parseInt(t(528))/7+parseInt(t(482))/8+parseInt(t(508))/9+-parseInt(t(495))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class zt extends pt{constructor(e=!1,n){super(t[Bt(513)],e,n)}[Pt(524)](){return"200px"}async[Pt(494)](t,e){const n=Pt,s=document[n(509)](t[n(510)]);if(!s)return;const i=document[n(503)](n(491));if(i[n(520)]="adstage-ad adstage-native-ad",i[n(527)][n(529)]="\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 ",e[n(518)]){const t=document[n(503)]("h3");t.textContent=e[n(518)],t.style.cssText=n(483),i[n(501)](t)}if(e.textContent){const t=document.createElement("p");t[n(484)]=e[n(484)],t[n(527)][n(529)]="\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ",i[n(501)](t)}if(e[n(497)]){const t=document[n(503)](n(491));t.style.cssText=n(515);const s=document[n(503)](n(505));s[n(514)]=e[n(497)],s.alt=e.title||"Native Advertisement",s[n(527)].cssText=n(511),t.appendChild(s),i[n(501)](t)}if(e.linkUrl){const t=document[n(503)]("button");t[n(484)]=n(506),t.style[n(529)]=n(498),t[n(496)]("click",()=>{const t=n;this[t(500)]&&console[t(504)]("Native click tracked for ad: "+e[t(487)]),window[t(525)](e.linkUrl,"_blank")}),t.addEventListener(n(492),()=>{const e=n;t[e(527)][e(521)]=e(517)}),t.addEventListener("mouseleave",()=>{const e=n;t.style[e(521)]="#3b82f6"}),i[n(501)](t)}s[n(489)]="",s[n(501)](i),this[n(502)]&&console[n(504)](n(493)+e._id)}async[Pt(522)](t,e){const n=Pt;e[n(523)]>0?(await this[n(494)](t,e[0]),this.debug&&console[n(504)](n(519)+e[n(523)]+n(526)+t.id)):this[n(502)]&&console[n(512)](n(488)+t.id)}}function Mt(){const t=["length","getDefaultHeight","open","): ","style","3227749swUAqp","cssText","3608248UCZENh","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","textContent","475GAoElT","1729340XfiAiL","_id","⚠️ No native advertisements available for slot: ","innerHTML","35202UAVnKs","div","mouseenter","🏠 Single native ad rendered: ","renderAdElement","1374440rAHtIm","addEventListener","imageUrl","\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 ","413548IisQCF","advertisementEventTracker","appendChild","debug","createElement","log","img","Learn More","1JlGIZG","1122408lSWmdV","getElementById","containerId","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","warn","NATIVE","src","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","3KGpgWB","#2563eb","title","🏠 Native ad rendered (first of ","className","backgroundColor","renderMultipleAds"];return(Mt=function(){return t})()}const Nt=Vt;!function(){const t=Vt,e=Ft();for(;;)try{if(684181===-parseInt(t(368))/1+-parseInt(t(419))/2*(-parseInt(t(392))/3)+-parseInt(t(423))/4*(parseInt(t(407))/5)+parseInt(t(424))/6*(-parseInt(t(376))/7)+-parseInt(t(370))/8*(-parseInt(t(380))/9)+parseInt(t(373))/10+parseInt(t(403))/11*(parseInt(t(405))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ot extends pt{constructor(e=!1,n){super(t[Vt(393)],e,n)}getDefaultHeight(){return Vt(418)}async[Nt(408)](t,e){const n=Nt;if(!document[n(386)](t.containerId))return;const s=document[n(362)](n(400));s[n(398)]=n(422),s[n(364)].cssText=n(416);const i=document[n(362)](n(400));i[n(398)]=n(361),i.style[n(404)]="\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 ";const r=document[n(362)]("button");if(r[n(401)]="×",r.style[n(404)]="\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 ",r[n(402)]("click",()=>{this[n(388)](s)}),r[n(402)](n(377),()=>{const t=n;r[t(364)][t(390)]="#e5e7eb",r[t(364)].color=t(382)}),r.addEventListener(n(385),()=>{const t=n;r[t(364)].backgroundColor=t(394),r[t(364)][t(375)]=t(415)}),e[n(391)]){const t=document[n(362)]("img");t[n(381)]=e[n(391)],t.alt=e[n(417)]||"Interstitial Advertisement",t[n(364)][n(404)]=n(365),i[n(395)](t)}if(e[n(417)]){const t=document.createElement("h2");t.textContent=e.title,t[n(364)][n(404)]="\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ",i[n(395)](t)}if(e[n(378)]){const t=document[n(362)]("p");t.textContent=e[n(378)],t[n(364)][n(404)]=n(366),i[n(395)](t)}if(e[n(427)]){const t=document.createElement(n(397));t[n(378)]=n(410),t[n(364)][n(404)]=n(409),t[n(402)]("click",()=>{const t=n;this[t(412)]&&console[t(429)]("Interstitial click tracked for ad: "+e[t(383)]),window[t(389)](e.linkUrl,t(421)),this[t(388)](s)}),t.addEventListener("mouseenter",()=>{const e=n;t.style[e(390)]=e(384)}),t[n(402)](n(385),()=>{const e=n;t.style[e(390)]=e(420)}),i[n(395)](t)}const o=t=>{const e=n;t[e(399)]===e(426)&&(this[e(388)](s),document[e(396)]("keydown",o))};if(document[n(402)](n(413),o),s[n(402)]("click",t=>{const e=n;t[e(406)]===s&&this[e(388)](s)}),!document[n(386)]("adstage-interstitial-styles")){const t=document.createElement(n(364));t.id=n(411),t[n(378)]="\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(379)][n(395)](t)}i[n(395)](r),s.appendChild(i),document[n(369)].appendChild(s),this[n(371)]&&console[n(429)]("🖼️ Interstitial ad rendered: "+e[n(383)])}async renderMultipleAds(t,e){const n=Nt;e[n(374)]>0?(await this[n(408)](t,e[0]),this.debug&&console.log(n(363)+e[n(374)]+n(372)+t.id)):this[n(371)]&&console.warn(n(367)+t.id)}[Nt(388)](t){const e=Nt;t[e(364)].animation=e(414),setTimeout(()=>{const n=e;t[n(425)]&&t[n(425)][n(387)](t)},300),this[e(371)]&&console.log(e(428))}}function Vt(t,e){const n=Ft();return(Vt=function(t,e){return n[t-=361]})(t,e)}function Ft(){const t=["): ","834150EpEeDS","length","color","7cmKRbk","mouseenter","textContent","head","13896QbBorL","src","#374151","_id","#2563eb","mouseleave","getElementById","removeChild","closeInterstitial","open","backgroundColor","imageUrl","14223AMlZdd","INTERSTITIAL","#f3f4f6","appendChild","removeEventListener","button","className","key","div","innerHTML","addEventListener","6567QqUaZq","cssText","38436LlFUCn","target","16670eeCSne","renderAdElement","\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 ","Get Started","adstage-interstitial-styles","advertisementEventTracker","keydown","fadeOut 0.3s ease-out forwards","#6b7280","\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 ","title","400px","34HwQfkK","#3b82f6","_blank","adstage-interstitial-overlay","1204ggAUdx","798252pDYnWD","parentNode","Escape","linkUrl","🖼️ Interstitial ad closed","log","adstage-interstitial-content","createElement","🖼️ Interstitial ad rendered (first of ","style","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","⚠️ No interstitial advertisements available for slot: ","851430daqICi","body","3088MvZuVE","debug"];return(Ft=function(){return t})()}const _t=Ht;function Kt(){const t=["appendChild","getRenderer","134062DIxdcw","1986428pQGpLr","get","4735881EuZCLx","10409YWPatl","objectFit","[AdRenderer] ","createElement","54pTdLWT","INTERSTITIAL","renderAdElement","imageUrl","debug","style","padding","cover","8px","_id","optimizeContainerForBannerAds","set","20230710PiYxsI","renderMultipleAds","block","initializeRenderers","adstage-ad adstage-","No renderer found for ad type: ","toLowerCase","setAttribute","data-adstage-slot-id","div","VIDEO","100%","TEXT","src","renderAdSlider","BANNER","naturalHeight","className","width","#f9f9f9","loadImageDimensions","textContent","config","1HxXhIZ","renderAd","video","NATIVE","calculateOptimalContainerSize"," Ad","onload","display","renderOptimizedBannerImage","border","log","height","img"," renderers","renderers","createPlaceholder","calculateAdSize","adType","48WKCqiZ","backgroundColor","1456140YhHasJ","11hSsnHh","renderOptimizedBannerImage is only supported for BANNER ads","naturalWidth","renderFallback","advertisement","getDefaultHeight","advertisementEventTracker","Failed to load image: ","data-adstage-ad-id","62415MJkUgg"];return(Kt=function(){return t})()}function Ht(t,e){const n=Kt();return(Ht=function(t,e){return n[t-=304]})(t,e)}!function(){const t=Ht,e=Kt();for(;;)try{if(344419===parseInt(t(327))/1*(-parseInt(t(360))/2)+-parseInt(t(347))/3+-parseInt(t(361))/4+-parseInt(t(357))/5*(parseInt(t(368))/6)+parseInt(t(364))/7*(parseInt(t(345))/8)+-parseInt(t(363))/9+-parseInt(t(304))/10*(-parseInt(t(348))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class jt{constructor(t=!1,e){const n=Ht;this.renderers=new Map,this[n(372)]=t,this[n(354)]=e||null,this[n(307)]()}initializeRenderers(){const e=Ht;this[e(341)].set(t[e(319)],new mt(this[e(372)],this[e(354)])),this[e(341)].set(t[e(316)],new Tt(this[e(372)],this[e(354)])),this[e(341)].set(t[e(314)],new Ut(this[e(372)],this.advertisementEventTracker)),this[e(341)][e(379)](t[e(330)],new zt(this[e(372)],this[e(354)])),this[e(341)][e(379)](t[e(369)],new Ot(this.debug,this[e(354)])),this.debug&&console[e(337)]("🏭 AdRenderer factory initialized with "+this[e(341)].size+e(340))}createAdElement(e,n){const s=Ht,i=this.getRenderer(e[s(344)]),r=document[s(367)]("div");r[s(321)]=s(308)+String(e.adType)[s(310)](),r[s(311)](s(356),n[s(377)]),r[s(311)](s(312),e.id);const{width:o,height:a}=i.calculateAdSize(r,e[s(326)]||{},n);switch(r[s(373)][s(322)]=o,r[s(373)].height=a,r.style[s(334)]=s(306),e[s(344)]){case t[s(319)]:if(n[s(371)]){const t=document[s(367)](s(339));t[s(317)]=n[s(371)],t[s(373)][s(322)]=s(315),t[s(373)][s(338)]=s(315),t[s(373)][s(365)]=s(375),r[s(358)](t)}break;case t[s(314)]:if(n.videoUrl){const t=document[s(367)](s(329));t[s(317)]=n.videoUrl,t[s(373)][s(322)]=s(315),t[s(373)][s(338)]=s(315),r[s(358)](t)}break;case t[s(316)]:if(n[s(325)]){const t=document[s(367)](s(313));t[s(325)]=n.textContent||"",t[s(373)][s(374)]=s(376),r[s(358)](t)}break;default:r.style[s(336)]="1px dashed #ccc",r[s(373)][s(346)]=s(323),r[s(325)]=e.adType+s(332)}return r}[_t(359)](t){const e=_t,n=this[e(341)][e(362)](t);if(!n)throw new Error(e(309)+t);return n}[_t(342)](t,e,n,s,i){const r=_t;this[r(359)](n)[r(342)](t,e,s,i)}async[_t(378)](e,n){const s=_t;if(e[s(344)]!==t[s(319)])return void(this[s(372)]&&console.warn("⚠️ Container optimization is only supported for BANNER ads, got: "+e[s(344)]));const i=this[s(359)](t[s(319)]);await i[s(378)](e,n)}async[_t(318)](t,e){const n=_t,s=this[n(359)](t[n(344)]);await s[n(305)](t,e)}async[_t(328)](t){const e=_t;if(!t[e(352)])throw new Error("No advertisement to render");const n=this.getRenderer(t.adType);await n[e(370)](t,t[e(352)]),t.isLoaded=!0}async[_t(370)](t,e){const n=_t,s=this[n(359)](t[n(344)]);await s.renderAdElement(t,e)}renderFallback(t){const e=_t;this.getRenderer(t[e(344)])[e(351)](t)}getDefaultHeightForAdType(t){const e=_t;return this[e(359)](t)[e(353)]()}[_t(343)](t,e,n,s){const i=_t;return this[i(359)](e)[i(343)](t,n,s)}[_t(324)](t){return new Promise((e,n)=>{const s=Ht,i=new Image;i[s(333)]=()=>{const t=s;e({width:i[t(350)],height:i[t(320)]})},i.onerror=()=>{n(new Error(s(355)+t))},i.src=t})}async[_t(335)](e,n,s){const i=_t;if(s[i(344)]!==t.BANNER)throw new Error(i(349));const r=this[i(359)](t[i(319)]);return await r[i(335)](e,n,s)}async calculateOptimalContainerSize(e,n,s){const i=_t;if(s!==t.BANNER){const t=this[i(359)](s);return{width:i(315),height:t.getDefaultHeight(),aspectRatio:16/9}}const r=this[i(359)](t[i(319)]);return await r[i(331)](e,n)}[_t(337)](t,...e){const n=_t;this[n(372)]&&console[n(337)](n(366)+t,...e)}}const qt=Wt;function Wt(t,e){const n=Yt();return(Wt=function(t,e){return n[t-=400]})(t,e)}function Yt(){const t=["adId","refreshAdSlot","init","Ads module not initialized. Call AdStage.init() first.","set","📊 Advertisement event tracking enabled for slot: ","create","undefined"," (element found)","substr","string","getSlotById","🗑️ Ads module destroyed","now","[data-adstage-slot-id]","getAttribute","getBaseUrl","🎯 Simple viewability tracking started for slot: ","1302922eRvXxS","advertisement","🗑️ Ad slot destroyed: ","advertisements","data-adstage-slot-id","width","8kTCGjR","video","deviceType","1336214NKJtvB","ELEMENT_NODE","adType","style","108npPMeN","🔄 Ad slot refreshed: ","length",". Retrying in ","debug","getAllSlots","📊 Fetched ","VIDEO","get","loadAdContentInBackground"," removed","body","forEach","🔍 Auto-cleanup MutationObserver enabled"," ads automatically","renderFallback","🧹 Auto-cleanup: slot ","setupAutoCleanup","trackAdvertisementEvent","advertisementEventTracker","height","text","from","🎯 Ads module initialized (sync mode) with auto-cleanup","BANNER","isLoaded","81714jnBmSr","setAttribute","99fKwsYK","status","createPlaceholder","hideControls","mutationObserver","warn","error","getElementById","slots","INTERSTITIAL","then","controls","list","random","createAdInternal","createAdWithRetry","loop","onClick","append","Container not found after ","interstitial","❌ Failed to find element for viewability tracking: ","ensureReady","json","광고 생성 중 오류 발생:","288wuSXsd","100%","nodeType","📊 Fetched specific ad with ID: ","disconnect","118060ykCINL","toString","🚫 Advertisement not found with ID: ","_isReady","renderAdSlider","containerId","API key not configured","log","startSimpleViewabilityTracking","delete","handleRemovedElement"," (attempt ","querySelectorAll","apiKey","Failed to refresh ad slot: ","destroyModule","fetchAdData","clear","destroy","optimizeContainerForBannerAds","_config"," ads for type: ","639887hrKUWT","adRenderer","viewabilityTracker","observe","country","autoSlide","4622275VZpsnW","config","GET","default","205NEDIFF","renderAd","innerHTML","autoDestroy","🎠 Slider will handle VIEWABLE events for ","detail","language","renderAdElement","auto","handleViewableEvent","values","56540dayqzz","Ad slot not found: ","NATIVE","createAd","Failed to fetch ad data: ","🔄 Retrying viewability tracking for slot: ","❌ Failed to load ad for slot: ","❌ Failed to track viewable impression:"," attempts: ","refresh",", filters:","autoplay"];return(Yt=function(){return t})()}!function(){const t=Wt,e=Yt();for(;;)try{if(339391===parseInt(t(457))/1+-parseInt(t(508))/2+-parseInt(t(405))/3*(parseInt(t(478))/4)+parseInt(t(467))/5*(-parseInt(t(403))/6)+-parseInt(t(463))/7*(-parseInt(t(514))/8)+-parseInt(t(430))/9*(parseInt(t(435))/10)+parseInt(t(517))/11*(parseInt(t(521))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Qt{constructor(){const t=Wt;this[t(438)]=!1,this[t(455)]=null,this[t(413)]=new Map,this[t(540)]=null,this[t(458)]=null,this[t(409)]=null}[qt(492)](t){const e=qt;this[e(455)]=t,this.advertisementEventTracker=new z(W[e(506)](),t.apiKey,t[e(525)]||!1,this[e(413)]),this[e(458)]=new jt(t.debug||!1,this[e(540)]),this[e(538)](),this[e(438)]=!0,t.debug&&console[e(442)](e(400))}isReady(){return this[qt(438)]}getConfig(){return this[qt(455)]}banner(e,n){const s=qt;this.ensureReady();const i={width:n?.width||s(431),height:n?.height||s(475),autoSlide:n?.[s(462)]||!1,slideInterval:n?.slideInterval||5e3,onClick:n?.[s(422)],adId:n?.[s(490)],language:n?.language,deviceType:n?.[s(516)],country:n?.country};return this[s(481)](e,t[s(401)],i)}[qt(542)](e,n){const s=qt;this[s(427)]();const i={maxLines:n?.maxLines||3,style:n?.[s(520)]||s(466),onClick:n?.onClick,adId:n?.[s(490)],language:n?.[s(473)],deviceType:n?.[s(516)],country:n?.country};return this[s(481)](e,t.TEXT,i)}[qt(515)](e,n){const s=qt;this[s(427)]();const i={width:n?.[s(513)]||640,height:n?.[s(541)]||360,autoplay:void 0===n?.[s(489)]||n[s(489)],muted:void 0===n?.muted||n.muted,loop:void 0===n?.[s(421)]||n[s(421)],playsinline:!1!==n?.playsinline,controls:void 0!==n?.[s(416)]&&n[s(416)],hideControls:n?.[s(408)]||!1,customControls:n?.customControls,autoSlide:!1,maxAds:1,onClick:n?.onClick,...n?.[s(490)]&&{adId:n[s(490)]}};return this.createAd(e,t[s(528)],i)}native(e,n){const s=qt;return this[s(427)](),this[s(481)](e,t[s(480)],n||{})}[qt(425)](e,n){const s=qt;return this[s(427)](),this[s(481)](e,t[s(414)],n||{})}[qt(487)](t){const e=qt;this[e(427)]();const n=this.slots[e(529)](t);if(!n)throw new Error(e(479)+t);this.refreshAdSlot(n),this[e(455)]?.[e(525)]&&console[e(442)](e(522)+t)}[qt(453)](t){const e=qt;this.ensureReady();const n=this.slots.get(t);if(!n)throw new Error("Ad slot not found: "+t);n[e(459)]&&n[e(459)].destroy();const s=document[e(412)](n[e(440)]);s&&(s[e(469)]=""),this[e(413)][e(444)](t),this[e(455)]?.[e(525)]&&console[e(442)](e(510)+t)}[qt(526)](){const t=qt;return this[t(427)](),Array[t(543)](this.slots[t(477)]())}[qt(501)](t){const e=qt;return this[e(427)](),this.slots[e(529)](t)||null}createAd(t,e,n){const s=qt;if(!this[s(455)]?.[s(448)])throw new Error(s(441));const i="adstage-"+e+"-"+Date[s(503)]()+"-"+Math[s(418)]().toString(36)[s(499)](2,9);return this[s(420)](t,e,n,i,0),i}async[qt(420)](t,e,n,s,i){const r=qt,o=[0,50,100,200,500];let a,c=null;if(typeof t===r(500)){if(a=t,c=document.getElementById(t),!c)return i<4?(this._config?.[r(525)]&&console.warn("Container not found: "+t+r(524)+o[i+1]+"ms... (attempt "+(i+1)+"/5)"),void setTimeout(()=>{this[r(420)](t,e,n,s,i+1)},o[i+1])):void console.error(r(424)+5+r(486)+t)}else c=t,a=c.id||"auto-"+s,!c.id&&(c.id=a);try{this[r(419)](a,e,n,s,c)}catch(t){console[r(411)](r(429),t)}}createAdInternal(e,n,s,i,r){const o=qt;r[o(404)](o(512),i),this[o(458)]?.[o(407)](r,i,n,s,this._config);const a={id:i,containerId:e,adType:n,width:s.width||o(431),height:s[o(541)]||(n===t.TEXT?o(475):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...s},load:async()=>this[o(451)](n,s)[o(415)](t=>t[0]||null),render:t=>this.adRenderer?.[o(474)](a,t),refresh:async()=>this[o(491)](a),destroy:()=>this[o(453)](i)};this[o(413)][o(494)](i,a),this[o(530)](a),this.advertisementEventTracker&&this[o(455)]?.[o(525)]&&console[o(442)](o(495)+i)}async[qt(530)](e){const n=qt;try{const s=await this[n(451)](e[n(519)],e.config);if(!s||0===s.length)return void this[n(458)]?.[n(536)](e);e[n(519)]===t[n(401)]&&s[n(523)]>0&&await(this[n(458)]?.[n(454)](e,s)),s[n(523)]>1||e[n(464)]?.[n(462)]?(await(this.adRenderer?.[n(439)](e,s)),this[n(455)]?.[n(525)]&&console[n(442)](n(471)+s[n(523)]+n(535))):(e[n(509)]=s[0],await(this[n(458)]?.[n(474)](e,s[0])),this[n(443)](e,s[0])),e[n(402)]=!0,this[n(455)]?.debug&&console[n(442)]("✅ Ad loaded for slot: "+e.id+" ("+s[n(523)]+" ads)")}catch(t){console[n(411)](n(484)+e.id,t),this[n(458)]?.renderFallback(e)}}[qt(443)](t,e){const n=(s=0)=>{const i=Wt,r=document.getElementById(t.id);if(!r)return void(s<5?(setTimeout(()=>n(s+1),300),this._config?.[i(525)]&&console.log(i(483)+t.id+i(446)+(s+1)+")")):console[i(410)](i(426)+t.id));const o=new F(r,async()=>{const n=i;await this[n(476)](e,t)});t[i(459)]=o,this[i(455)]?.[i(525)]&&console[i(442)](i(507)+t.id+i(498))};n()}async[qt(476)](t,e){const n=qt;try{this[n(540)]&&(await this[n(540)][n(539)](t._id,e.id,o.VIEWABLE),this._config?.[n(525)]&&console[n(442)]("✅ Simple viewable impression tracked for ad "+t._id))}catch(t){console[n(411)](n(485),t)}}async[qt(451)](t,e){const n=qt;if(!this[n(455)]?.apiKey)throw new Error(n(441));if(e.adId){const t=""+W[n(511)][n(472)](e[n(490)]),s=await fetch(t,{method:n(465),headers:L[n(496)](this[n(455)][n(448)])});if(!s.ok){if(404===s[n(406)])return console[n(410)](n(437)+e[n(490)]),[];throw new Error(n(482)+s.status)}const i=await s[n(428)]();return this._config?.[n(525)]&&console[n(442)](n(433)+e[n(490)],i),[i]}const s=new URLSearchParams;s[n(423)](n(519),t),e.language&&s[n(423)](n(473),e[n(473)]),e[n(516)]&&s[n(423)]("deviceType",e[n(516)]),e.country&&s[n(423)](n(461),e[n(461)]);const i=W.advertisements[n(417)]()+"?"+s[n(436)](),r=await fetch(i,{method:n(465),headers:L[n(496)](this._config[n(448)])});if(!r.ok)throw new Error("Failed to fetch ad data: "+r[n(406)]);const o=(await r[n(428)]()).advertisements||[];return this._config?.[n(525)]&&console[n(442)](n(527)+o[n(523)]+n(456)+t+n(488),{language:e[n(473)],deviceType:e[n(516)],country:e[n(461)]}),o}async[qt(491)](t){const e=qt;try{const n=await this[e(451)](t.adType,t[e(464)]||{});n&&n[e(523)]>0&&(t[e(509)]=n[0],await(this[e(458)]?.[e(468)](t)),this.advertisementEventTracker&&console.log("New advertisement viewable tracked for slot:",t.id))}catch(n){console[e(411)](e(449)+t.id,n)}}[qt(427)](){const t=qt;if(!this[t(438)])throw new Error(t(493))}[qt(538)](){const t=qt;"undefined"!=typeof window&&typeof document!==t(497)&&(this[t(409)]&&this[t(409)][t(434)](),this[t(409)]=new MutationObserver(e=>{const n=t;e[n(533)](t=>{const e=n;t.removedNodes[e(533)](t=>{const n=e;t[n(432)]===Node[n(518)]&&this[n(445)](t)})})}),this[t(409)][t(460)](document[t(532)],{childList:!0,subtree:!0}),this[t(455)]?.[t(525)]&&console[t(442)](t(534)))}[qt(445)](t){const e=qt,n=t[e(505)](e(512));if(n)return void this[e(470)](n);t[e(447)](e(504)).forEach(t=>{const n=t[e(505)]("data-adstage-slot-id");n&&this.autoDestroy(n)})}[qt(470)](t){const e=qt;if(this[e(413)][e(529)](t))try{this[e(413)][e(444)](t),this._config?.[e(525)]&&console[e(442)](e(537)+t+e(531))}catch(n){this[e(455)]?.debug&&console[e(410)]("Auto-cleanup failed for slot "+t+":",n)}}[qt(450)](){const t=qt,e=this[t(455)]?.[t(525)];this[t(409)]&&(this[t(409)].disconnect(),this[t(409)]=null),this[t(413)][t(452)](),this[t(540)]=null,this.adRenderer=null,this[t(438)]=!1,this[t(455)]=null,e&&console[t(442)](t(502))}}function Xt(t,e){var n=Jt();return(Xt=function(t,e){return n[t-=279]})(t,e)}var Zt=Xt;function Jt(){var t=["3672193ccvTWu","65ZnYjvr","API key not available","474fOrdzm","1402dPYflM","_config","🔄 Config updated","events","includes","config","baseUrl","log","debug","isModuleEnabled","24428XkFMDZ","3313467TdTEYf","development","getApiHeaders","getOrganizationInfo","ads","5058060jCFSUJ","163554OhtyMg","modules","_isReady","create","93rLVOab","_organizationInfo","8sNOkKB","getBaseUrl","init","apiKey","updateConfig","getEnabledModules","5991634ILmoDv","isDebugMode"];return(Jt=function(){return t})()}!function(){for(var t=Xt,e=Jt();;)try{if(284772===-parseInt(t(288))/1*(-parseInt(t(289))/2)+parseInt(t(310))/3*(parseInt(t(299))/4)+parseInt(t(286))/5*(-parseInt(t(306))/6)+-parseInt(t(285))/7*(-parseInt(t(312))/8)+-parseInt(t(300))/9+parseInt(t(305))/10+-parseInt(t(283))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Gt{constructor(){var t=Xt;this._isReady=!1,this[t(290)]=null,this[t(311)]=null}[Zt(279)](t){var e=Zt;this[e(290)]={timeout:3e4,debug:!1,modules:[e(304),e(292),e(294)],...t},t[e(295)]&&W.setBaseUrl(t[e(295)]),this[e(308)]=!0,t[e(297)]&&console.log("✅ Config module initialized (sync mode)",{modules:this[e(290)][e(307)],endpoint:W[e(313)](),mode:e(301)})}isReady(){return this[Zt(308)]}getConfig(){return this._config}[Zt(303)](){return this[Zt(311)]}getApiEndpoint(){return W[Zt(313)]()}[Zt(284)](){var t=Zt;return this[t(290)]?.[t(297)]||!1}[Zt(282)](){var t=Zt;return this[t(290)]?.[t(307)]||[]}[Zt(298)](t){var e=Zt;return this.getEnabledModules()[e(293)](t)}[Zt(281)](t){var e=Zt;if(!this[e(290)])throw new Error("Config module not initialized");this[e(290)]={...this[e(290)],...t},this[e(284)]()&&console[e(296)](e(291),t)}[Zt(302)](){var t=Zt;if(!this[t(290)]?.[t(280)])throw new Error(t(287));return L[t(309)](this[t(290)].apiKey)}}function $t(t,e){const n=ee();return($t=function(t,e){return n[t-=487]})(t,e)}const te=$t;function ee(){const t=["tablet","9742696HehPAB","getDeviceInfo","platform","765436GJlzPt","userAgent","mapPlatformForEvents","_userProvidedDeviceInfo","isBrowser","821136VlgeYb","height","getDetailedInfo","1902QwLcXm","width","setDeviceInfo","clearDeviceInfo","3003970NZClui","test","getPlatform","Unknown","mobile","setDeviceProperty","android","getAutoDetectedDeviceInfo","0x0","2959558lzYOyS","SSR","9hxuopb","language","5kfCJoL","getViewportInfo","toLowerCase","2034618GwqWGe","Android","ios","Desktop Web","onLine","11tlRxIw","desktop","isMobile","1863wCOrkq","Mobile Web"];return(ee=function(){return t})()}!function(){const t=$t,e=ee();for(;;)try{if(620982===-parseInt(t(528))/1+-parseInt(t(494))/2*(-parseInt(t(522))/3)+parseInt(t(491))/4*(-parseInt(t(511))/5)+-parseInt(t(514))/6+parseInt(t(507))/7+-parseInt(t(525))/8*(-parseInt(t(509))/9)+parseInt(t(498))/10*(-parseInt(t(519))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ne{static[te(526)](){const t=te;return{...ne[t(505)](),...ne[t(489)]}}static getAutoDetectedDeviceInfo(){const t=te;if(!v[t(490)]())return{category:"other",platform:t(508),model:t(508),osVersion:t(508)};const e=navigator.userAgent[t(513)]();let n=t(520);/tablet|ipad/[t(499)](e)?n=t(524):C[t(521)]()&&(n=t(502));const s=C[t(500)]();return{category:n,platform:ne[t(488)](s),model:navigator[t(527)],osVersion:navigator[t(527)]}}static[te(496)](t){const e=te;ne[e(489)]={...ne[e(489)],...t}}static[te(503)](t,e){ne._userProvidedDeviceInfo[t]=e}static[te(497)](){ne[te(489)]={}}static getUserDeviceInfo(){return{...ne._userProvidedDeviceInfo}}static mapPlatformForEvents(t){const e=te;switch(t){case e(516):return"iOS";case e(504):return e(515);case"web":return e(523);case e(520):return e(517);default:return e(501)}}static[te(493)](){const t=te;if(!v[t(490)]())return{userAgent:t(508),language:"ko-KR",platform:t(508),cookieEnabled:!1,onLine:!0,screenResolution:t(506),viewportSize:"0x0"};const e=v[t(512)]();return{userAgent:navigator[t(487)],language:navigator[t(510)]||"ko-KR",platform:navigator[t(527)],cookieEnabled:navigator.cookieEnabled,onLine:navigator[t(518)],screenResolution:screen.width+"x"+screen.height,viewportSize:e[t(495)]+"x"+e[t(492)]}}}ne[te(489)]={};const se=oe;function ie(){const t=["12fxsPfL","clearUserProperties","ko-KR","_userProperties","getBaseUserInfo","50fXUYWb","56sQSAhv","146pBeqsO","1241944DNOAyP","2242734qNqgDO","20646802enSSTm","10giVIYd","split","resolvedOptions","setUserProperty","1219455kDYqKo","19477wBquNt","10935846GPnIco","timeZone","62924OzZdrm","DateTimeFormat","language","isBrowser","extractCountryFromLanguage","getCurrentUserProperties"];return(ie=function(){return t})()}!function(){const t=oe,e=ie();for(;;)try{if(934293===-parseInt(t(253))/1*(parseInt(t(244))/2)+-parseInt(t(246))/3+-parseInt(t(256))/4*(parseInt(t(248))/5)+parseInt(t(254))/6+-parseInt(t(243))/7*(parseInt(t(245))/8)+parseInt(t(252))/9*(parseInt(t(242))/10)+-parseInt(t(247))/11*(-parseInt(t(237))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class re{static getUserInfo(){const t=oe;return{...re[t(241)](),...re[t(240)]}}static[se(241)](){const t=se;if(!v[t(259)]())return{language:"ko-KR",country:"KR"};const e=navigator[t(258)]||t(239);return{language:e,country:re[t(235)](e)}}static[se(235)](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[se(249)]("-")[0]]||"KR"}static setUserProperties(t){const e=se;re[e(240)]={...re[e(240)],...t}}static[se(251)](t,e){re._userProperties[t]=e}static[se(238)](){re._userProperties={}}static[se(236)](){return{...re[se(240)]}}static estimateLocation(){const t=se;if(!v[t(259)]())return{timezone:"UTC",estimatedCountry:"KR"};const e=Intl[t(257)]()[t(250)]()[t(255)];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 oe(t,e){const n=ie();return(oe=function(t,e){return n[t-=235]})(t,e)}function ae(t,e){const n=le();return(ae=function(t,e){return n[t-=134]})(t,e)}re[se(240)]={};const ce=ae;!function(){const t=ae,e=le();for(;;)try{if(886815===-parseInt(t(135))/1+-parseInt(t(152))/2+-parseInt(t(146))/3*(-parseInt(t(143))/4)+parseInt(t(137))/5*(-parseInt(t(150))/6)+parseInt(t(165))/7+-parseInt(t(149))/8+parseInt(t(153))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class de{static[ce(151)](){const t=ce;if(!v.isBrowser())return t(144)+Date.now();const e=sessionStorage[t(141)](t(148));if(e)return e;const n=t(142)+Math[t(157)]()[t(145)](36)[t(138)](2,9)+"_"+Date[t(161)]();return sessionStorage[t(162)](t(148),n),!de[t(139)]&&(de[t(139)]=Date.now(),v[t(164)]()&&sessionStorage[t(162)](t(160),String(de._sessionStartTime))),n}static[ce(140)](t){const e=ce;de[e(136)]=t,v.isBrowser()&&localStorage[e(162)]("adstage_user_id",t)}static getUserId(){const t=ce;if(de[t(136)])return de[t(136)];if(v[t(164)]()){const e=localStorage[t(141)](t(155));if(e)return de._userId=e,e}}static clearUserId(){const t=ce;de[t(136)]=void 0,v.isBrowser()&&localStorage[t(147)]("adstage_user_id")}static[ce(163)](){const t=ce,e=de[t(151)](),n=de[t(134)](),s=de[t(154)]();return{sessionId:e,userId:n,sessionDuration:de.getSessionDuration(),isNewSession:s}}static isNewSession(){const t=ce;if(!v[t(164)]())return!0;const e=sessionStorage[t(141)](t(148)),n=sessionStorage[t(141)](t(160));return!e||!n}static[ce(158)](){const t=ce;if(!v.isBrowser())return 0;const e=sessionStorage[t(141)]("adstage_session_start");return e?Date[t(161)]()-parseInt(e,10):0}static refreshSession(){const t=ce;return v[t(164)]()&&(sessionStorage[t(147)](t(148)),sessionStorage[t(147)](t(160))),de[t(139)]=void 0,de[t(151)]()}static[ce(156)](t=24){return de[ce(158)]()>60*t*60*1e3}static[ce(159)](){const t=ce,e=de[t(151)](),n=de[t(134)](),s=de[t(158)](),i=de.isSessionExpired(),r=de.isNewSession();let o;if(v[t(164)]()){const e=sessionStorage.getItem(t(160));o=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:o,duration:s,isExpired:i,isNewSession:r}}}function le(){const t=["session_","36nHaMyy","ssr_session_","toString","42279yNZAAR","removeItem","adstage_session_id","5389664bzpRmV","906dylXfr","getSessionId","480184LCWQef","26369424DeeeIe","isNewSession","adstage_user_id","isSessionExpired","random","getSessionDuration","getSessionStats","adstage_session_start","now","setItem","getSessionInfo","isBrowser","11800096OQCKrB","getUserId","1765143kDjgeD","_userId","38965XtWfbm","substr","_sessionStartTime","setUserId","getItem"];return(le=function(){return t})()}const ue=pe;function pe(t,e){const n=he();return(pe=function(t,e){return n[t-=117]})(t,e)}function he(){const t=["setDeviceInfo","_config","sendEventToServer","getUserDeviceInfo","status","setDeviceProperty","1692maYpSs","3831pTVele","6635CwEzXD","1100TqPvdD","isReady","📱 User provided device info cleared","application/json","getSessionId","📱 Device info set:","getUserProperties","getUserId","debug","Event tracking failed: ","warn","events","init","👤 User ID set:","134307abDKVp","getCurrentUserProperties","API key not configured for event tracking.","setUserId","log","📱 Device property set:","Events module not initialized. Call AdStage.init() first.","14oFLrfF","track","❌ Failed to track event:","544YLtgnV","create","197827xBRwYB","error","getUserInfo","apiKey","Event data:","statusText","📊 Events module initialized","24QNzatc","stringify","136fnHbID","984420YciGUG","_isReady","7032TrVTrx","getDeviceInfo"];return(he=function(){return t})()}!function(){const t=pe,e=he();for(;;)try{if(149758===parseInt(t(128))/1+parseInt(t(135))/2*(-parseInt(t(161))/3)+-parseInt(t(138))/4*(-parseInt(t(162))/5)+-parseInt(t(147))/6*(parseInt(t(140))/7)+parseInt(t(149))/8*(-parseInt(t(160))/9)+-parseInt(t(150))/10+-parseInt(t(163))/11*(-parseInt(t(152))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class fe{constructor(){const t=pe;this._isReady=!1,this[t(155)]=null}[ue(126)](t){const e=ue;this[e(155)]=t,this[e(151)]=!0,t[e(122)]&&console[e(132)](e(146))}[ue(164)](){return this[ue(151)]}getConfig(){return this[ue(155)]}[ue(131)](t){const e=ue;de[e(131)](t),this[e(155)]?.debug&&console[e(132)](e(127),t)}[ue(121)](){return de[ue(121)]()}setUserProperties(t){const e=ue;re.setUserProperties(t),this[e(155)]?.[e(122)]&&console[e(132)]("👤 User properties set:",t)}[ue(120)](){return re.getCurrentUserProperties()}[ue(154)](t){const e=ue;ne[e(154)](t),this[e(155)]?.[e(122)]&&console[e(132)](e(119),t)}setDeviceProperty(t,e){const n=ue;ne[n(159)](t,e),this[n(155)]?.[n(122)]&&console[n(132)](n(133),t,e)}clearDeviceInfo(){const t=ue;ne.clearDeviceInfo(),this[t(155)]?.[t(122)]&&console.log(t(165))}[ue(157)](){return ne[ue(157)]()}[ue(153)](){return ne.getDeviceInfo()}getUserInfo(){return re[ue(142)]()}[ue(129)](){return re[ue(129)]()}async[ue(136)](t,e){const n=ue;if(this[n(151)])if(this[n(155)]?.apiKey)try{const s={eventName:t,userId:de[n(121)](),sessionId:de[n(118)](),sdkVersion:x(),device:ne.getDeviceInfo(),user:re[n(142)](),params:e||{}};await this[n(156)](s),this._config[n(122)]&&console.log("✅ Event tracked:",t,e)}catch(s){console[n(141)](n(137),s),this[n(155)][n(122)]&&console.error(n(144),{eventName:t,properties:e})}else console[n(124)](n(130));else console[n(124)](n(134))}async[ue(156)](t){const e=ue,n=await fetch(W[e(125)][e(136)](),{method:"POST",headers:{...L[e(139)](this[e(155)][e(143)]),"Content-Type":e(117)},body:JSON[e(148)](t)});if(!n.ok)throw new Error(e(123)+n[e(158)]+" "+n[e(145)])}}const ge=Ie;function me(){const t=[")의 viewable 추적 초기화됨","config","size","1990872MhjKAI","🌐 API endpoint configured:","...","29772rcwtiy","development","3636816MDSakS","ads","3102183GeQwjB","clearAdViewable","from","253WSdKFz","_config","clear","395446BRaxkl","init","_isInitialized","instance","modules","840120LyykRp","AdStage not initialized. Call AdStage.init() first.","log","isReady","debug","1659edIeTC","5cmDYcu","setBaseUrl","baseUrl","getInstance","API key is required for AdStage initialization","2.0.0","function","events","2819132ycddim","✅ AdStage Debug: 광고 ","getConfig","apiKey","2ZZkVLT"];return(me=function(){return t})()}function Ie(t,e){const n=me();return(Ie=function(t,e){return n[t-=235]})(t,e)}!function(){const t=Ie,e=me();for(;;)try{if(589056===-parseInt(t(268))/1*(-parseInt(t(245))/2)+-parseInt(t(239))/3+parseInt(t(264))/4*(parseInt(t(256))/5)+parseInt(t(235))/6*(-parseInt(t(255))/7)+-parseInt(t(237))/8+parseInt(t(272))/9+parseInt(t(250))/10*(parseInt(t(242))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ve{constructor(){const t=Ie;this[t(247)]=!1,this._config=null,this[t(270)]=new Gt,this.ads=new Qt,this[t(263)]=new fe}static[ge(246)](t){const e=ge;!ve[e(248)]&&(ve[e(248)]=new ve);const n=ve.instance;if(!t[e(267)])throw new Error(e(260));n._config={timeout:3e4,debug:!1,modules:["ads",e(263),"config"],...t},n._config[e(258)]&&(W[e(257)](n._config[e(258)]),t[e(254)]&&console[e(252)](e(273),n[e(243)].baseUrl));const s=n[e(243)][e(249)]||[e(238),e(263),e(270)];for(const t of s){const s=n[t];s&&typeof s[e(246)]===e(262)&&s.init(n[e(243)])}n._isInitialized=!0,t[e(254)]&&console[e(252)]("🚀 AdStage SDK initialized (sync mode)",{version:e(261),modules:s,apiKey:t[e(267)].substring(0,8)+e(274),mode:e(236)})}static[ge(253)](){const t=ge;return ve[t(248)]?.[t(247)]||!1}static[ge(266)](){const t=ge;return ve[t(248)]?._config||null}static[ge(259)](){const t=ge;if(!ve[t(248)])throw new Error(t(251));return ve.instance}static get[ge(238)](){return ve[ge(259)]().ads}static get[ge(263)](){const t=ge;return ve[t(259)]()[t(263)]}static get[ge(270)](){const t=ge;return ve[t(259)]()[t(270)]}static reset(){const t=ge;ve[t(248)]&&(ve[t(248)]._isInitialized=!1,ve[t(248)][t(243)]=null)}}function ye(){var t=["getUserProperties","getUserId","24102XWvjPj","108966GDbxIx","115380YgLQpC","warn","isReady","events","AdStage not initialized. Call AdStage.init() first.","16lcZvhA","279800ccUeyu","track","206352HRfkhg","54681tZHVYZ","40ruzOqu","resolve","2UdUJPR","830xqDKVv","setUserProperties","328349OBkriR"];return(ye=function(){return t})()}function be(t,e){var n=ye();return(be=function(t,e){return n[t-=292]})(t,e)}ve[ge(254)]={clearAllViewable:()=>{const t=ge;ct[t(244)](),console[t(252)]("✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨")},clearAdViewable:(t,e)=>{const n=ge;ct[n(240)](t,e),console[n(252)](n(265)+t+"("+e+n(269))},getViewableStatus:()=>{const t=ge;console[t(252)]("📊 AdStage Debug: 현재 viewable 추적 상태",{trackedCount:ct.viewableTracker[t(271)],trackedItems:Array[t(241)](ct.viewableTracker)})}},function(){for(var t=be,e=ye();;)try{if(120555===parseInt(t(306))/1+parseInt(t(299))/2*(parseInt(t(307))/3)+-parseInt(t(292))/4*(parseInt(t(293))/5)+-parseInt(t(305))/6+-parseInt(t(302))/7*(parseInt(t(297))/8)+parseInt(t(295))/9+parseInt(t(300))/10*(parseInt(t(296))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const we=h.createContext(null);function ke(){const t=h.useContext(we);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function xe(){var t=["253rMnDxV","12ZVWDQS","4997658NNkeqR","9DSheqy","25514294AnbndU","6QocyHA","106324hcLRBw","429055hsNiIL","252704ROCLDA","16ngFhrq","7fSXCLP","165070LBeINq","6565240IVUaqo"];return(xe=function(){return t})()}function Ee(t,e){var n=xe();return(Ee=function(t,e){return n[t-=179]})(t,e)}!function(){for(var t=Ee,e=xe();;)try{if(567808===parseInt(t(189))/1*(parseInt(t(179))/2)+parseInt(t(188))/3*(-parseInt(t(191))/4)+-parseInt(t(190))/5+-parseInt(t(185))/6*(parseInt(t(180))/7)+parseInt(t(182))/8*(-parseInt(t(186))/9)+-parseInt(t(181))/10*(parseInt(t(183))/11)+-parseInt(t(184))/12*(-parseInt(t(187))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Se=De;!function(){const t=De,e=Ce();for(;;)try{if(204166===-parseInt(t(293))/1+-parseInt(t(294))/2*(-parseInt(t(289))/3)+parseInt(t(291))/4+parseInt(t(295))/5+-parseInt(t(296))/6+parseInt(t(292))/7+parseInt(t(300))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ae=Se(299);function Ce(){const t=["2.0.0","75480CyXbBN","3OXAngP","AdStage","1623664qxRmHG","586978jxpUyN","292696mxKDqx","102040rKEeda","300xpFqTP","320538FDKNsS","ads","events"];return(Ce=function(){return t})()}const Te=[Se(297),Se(298),"config"];function De(t,e){const n=Ce();return(De=function(t,e){return n[t-=289]})(t,e)}"undefined"!=typeof window&&(window[Se(290)]=ve),exports.AdStage=ve,exports.AdStageProvider=function({children:t,config:e}){const[n,s]=h.useState(!1),[i,r]=h.useState(null),[o,a]=h.useState(null),c=t=>{try{a(null),n&&ve.reset(),ve.init(t),r(t),s(!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),s(!1),r(null)}};h.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:i,initialize:c,reset:()=>{try{ve.reset(),s(!1),r(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:o};return p.jsx(we.Provider,{value:d,children:t})},exports.SDK_VERSION=Ae,exports.SUPPORTED_MODULES=Te,exports.getUserId=function(){var t=be;if(ve.isReady())return ve.events[t(304)]();console[t(308)](t(311))},exports.getUserProperties=function(){var t=be;if(ve[t(309)]())return ve.events[t(303)]();console[t(308)](t(311))},exports.setUserId=function(t){var e=be;ve.isReady()?ve[e(310)].setUserId(t):console[e(308)]("AdStage not initialized. Call AdStage.init() first.")},exports.setUserProperties=function(t){var e=be;ve.isReady()?ve[e(310)][e(301)](t):console.warn(e(311))},exports.track=function(t,e){var n=be;return ve[n(309)]()?ve[n(310)][n(294)](t,e):(console[n(308)]("AdStage not initialized. Call AdStage.init() first."),Promise[n(298)]())},exports.useAdStageContext=ke,exports.useAdStageInstance=function(){const{isInitialized:t}=ke();return t?ve:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)};
|
|
1
|
+
"use strict";var t,e,n,s,i,r,o,a,c,d,l,u,p=require("react/jsx-runtime"),h=require("react");function f(t,e){var n=g();return(f=function(t,e){return n[t-=462]})(t,e)}function g(){var t=["WEB","POPUP","18Xdqwaa","4rxSNXt","TEXT","2938256AfFzNT","MOBILE","VIDEO","CLICK","15039277qnXGji","BANNER","TABLET","12OQdbRW","1476542yvComu","7261219bqdSWq","VIEWABLE","900520ZoDAlV","INTERSTITIAL","1ZQYdnA","1245639YlhtBT","3158830kUaWpz","NATIVE","DESKTOP"];return(g=function(){return t})()}!function(){for(var t=f,e=g();;)try{if(706308===-parseInt(t(467))/1*(parseInt(t(462))/2)+-parseInt(t(468))/3*(-parseInt(t(475))/4)+parseInt(t(465))/5*(parseInt(t(484))/6)+parseInt(t(463))/7+parseInt(t(477))/8+-parseInt(t(474))/9*(-parseInt(t(469))/10)+-parseInt(t(481))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(e=t||(t={}))[(n=f)(482)]=n(482),e[n(473)]="POPUP",e[n(466)]="INTERSTITIAL",e[n(470)]=n(470),e.VIDEO=n(479),e.TEXT=n(476),(i=s||(s={}))[(r=f)(472)]=r(472),i.MOBILE=r(478),(a=o||(o={}))[(c=f)(464)]=c(464),a[c(480)]=c(480),(l=d||(d={}))[(u=f)(471)]=u(471),l.MOBILE="MOBILE",l[u(483)]="TABLET";const m=v;function I(){const t=["all","setProperty","264feUMPs","entries","safeGetComputedStyle","ms (","querySelectorAll","waitForElement","7FhZFnt","safeAddClass","DOM을 사용할 수 없는 환경입니다.","safeAppendChild","safeApplyStyles","textContent","isDOMReady","pageXOffset","isBrowser","safeCreateElement","⏳ 컨테이너 대기 중: ","pow","error",'❌ 컨테이너를 찾을 수 없습니다: "',"addEventListener","85213oPCBQZ","canUseDOM","referrer",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"safeQuerySelector","safeSetInnerHTML","innerHTML","scrollTop","ms 경과)","loading","2522360PPnJUe","20fypwIe","querySelector","isSSR","safeAddEventListener","log","getDocumentProperty","998202Rixbjq","readyState","12849177waCZLS","getWindowProperty","getComputedStyle","innerHeight","8xeQymy","pageYOffset","53367MdZaxl","classList","remove","style","2994498qdnpgz","safeRemoveEventListener","devicePixelRatio","ceil","add","safeRemoveClass","undefined",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"forEach","DOMContentLoaded","getViewportInfo","29115InOqPM","innerWidth","documentElement","⏳ 컨테이너 대기 시작: ","open","location","waitForDOM","✅ 컨테이너 즉시 발견: ","min","getElementById"];return(I=function(){return t})()}function v(t,e){const n=I();return(v=function(t,e){return n[t-=334]})(t,e)}!function(){const t=v,e=I();for(;;)try{if(434805===-parseInt(t(341))/1+parseInt(t(352))/2*(-parseInt(t(366))/3)+parseInt(t(393))/4*(-parseInt(t(381))/5)+parseInt(t(358))/6*(-parseInt(t(399))/7)+parseInt(t(364))/8*(parseInt(t(370))/9)+-parseInt(t(351))/10+parseInt(t(360))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class y{static[m(334)](){const t=m;return typeof window!==t(376)&&typeof document!==t(376)}static[m(354)](){return!this.isBrowser()}static[m(342)](){const t=m;return this[t(334)]()&&void 0!==document[t(359)]}static safeGetElementById(t){const e=m;return this.canUseDOM()?document[e(390)](t):null}static[m(345)](t){const e=m;return this[e(342)]()?document[e(353)](t):null}static safeQuerySelectorAll(t){const e=m;return this[e(342)]()?Array.from(document[e(397)](t)):[]}static[m(335)](t){return this[m(342)]()?document.createElement(t):null}static safeAddEventListener(t,e,n,s){const i=m;this[i(342)]()&&t&&t[i(340)](e,n,s)}static[m(371)](t,e,n,s){this[m(342)]()&&t&&t.removeEventListener(e,n,s)}static[m(361)](t,e){return this.isBrowser()?window[t]??e:e}static[m(357)](t,e){return this[m(342)]()?document[t]??e:e}static safeWindowOpen(t,e,n){const s=m;return this.isBrowser()?window[s(385)](t,e,n):null}static[m(395)](t){const e=m;return this[e(334)]()&&t?window[e(362)](t):null}static[m(405)](){const t=m;return!!this[t(342)]()&&document[t(359)]!==t(350)}static[m(387)](){return new Promise(t=>{const e=v;this[e(342)]()?this[e(405)]()?t():this[e(355)](document,e(379),()=>t()):t()})}static[m(403)](t,e){const n=m;this[n(342)]()&&t&&Object[n(394)](e)[n(378)](([e,s])=>{const i=n;t[i(369)][i(392)](e,s)})}static[m(400)](t,e){const n=m;this[n(342)]()&&t&&t[n(367)][n(374)](e)}static[m(375)](t,e){const n=m;this[n(342)]()&&t&&t.classList[n(368)](e)}static safeSetTextContent(t,e){const n=m;this[n(342)]()&&t&&(t[n(404)]=e)}static[m(346)](t,e){const n=m;this.canUseDOM()&&t&&(t[n(347)]=e)}static[m(402)](t,e){this[m(342)]()&&t&&e&&t.appendChild(e)}static safeRemoveChild(t,e){this[m(342)]()&&t&&e&&t.removeChild(e)}static getPageInfo(){const t=m;return{url:this[t(361)](t(386),{href:""}).href,title:this[t(357)]("title",""),referrer:this.getDocumentProperty(t(343),"")}}static[m(380)](){const t=m;return{width:this.getWindowProperty(t(382),0),height:this[t(361)](t(363),0),pixelRatio:this[t(361)](t(372),1)}}static getScrollInfo(){const t=m;return{scrollTop:this.canUseDOM()?window[t(365)]||document[t(383)][t(348)]:0,scrollLeft:this[t(361)](t(406),0)}}static async[m(398)](t,e={}){const n=m,{timeout:s=3e3,retryInterval:i=100,debug:r=!1}=e;if(!this.canUseDOM())throw new Error(n(401));const o=document.getElementById(t);return o?(r&&console.log(n(388)+t),o):(r&&console.log(n(384)+t+" (최대 "+s+"ms)"),new Promise((e,o)=>{const a=n;let c=0;const d=Math[a(373)](s/i),l=()=>{const n=a;c++;const u=document[n(390)](t);if(u)return r&&console[n(356)]("✅ 컨테이너 발견: "+t+" ("+c+"번째 시도, "+c*i+n(349)),void e(u);if(c>=d){const e=n(339)+t+n(344)+t+n(377)+s+n(396)+c+"번 시도)";return r&&console[n(338)](e),void o(new Error(e))}r&&c%10==0&&console[n(356)](n(336)+t+" ("+c+"/"+d+")");const p=Math[n(389)](i*Math[n(337)](1.2,c),500);setTimeout(l,p)};setTimeout(l,i)}))}static async waitForElements(t,e={}){const n=m,s=t.map(t=>this[n(398)](t,e));return Promise[n(391)](s)}}const b=k;function w(){const t=["600600aGGVII","1238499DqGqgs","10VRRITM","373786FmVTpE","4CIVZyr","3.0.10","undefined","956153FfIxru","925008OcAlUS","AdStageSDK/","10912xPEMTe"," AdStageSDK/","32IehBXB","1598675osRbEj","userAgent","62MKUphQ"];return(w=function(){return t})()}function k(t,e){const n=w();return(k=function(t,e){return n[t-=400]})(t,e)}!function(){const t=k,e=w();for(;;)try{if(190399===-parseInt(t(407))/1*(parseInt(t(412))/2)+parseInt(t(413))/3+-parseInt(t(401))/4*(-parseInt(t(410))/5)+-parseInt(t(405))/6+-parseInt(t(400))/7*(-parseInt(t(409))/8)+-parseInt(t(414))/9+parseInt(t(415))/10*(parseInt(t(404))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const E=b(402);function x(){return E}const S=A;function A(t,e){const n=T();return(A=function(t,e){return n[t-=318]})(t,e)}function T(){const t=["getItem","UTC","getViewportInfo","SSR","substr","resolvedOptions","1337bokraU","ssr_session_","160pXnznh","generateSessionId","5252958RrpEoP","height",'[data-adstage-slot-id="',"session_","pixelRatio","unknown","safeGetElementById","userAgent","ios","collectDeviceInfo","toString","connection","platform","width","getBoundingClientRect","safeQuerySelector","adstage_session_id","random","top","getPlatform","toLowerCase","6072348BDgHdI","1301583GaDGvC","127708XYZuCw","generateDeviceId","getScrollInfo","isBrowser","now",",y:","22ZohRel","1.0.0","scrollTop","1698626PGMcbY","2818570pkCMHT","adstage_device_id","27272xwWbjO","language"," .adstage-slider-wrapper","test","android","web","1RWQVip","getSlotPosition","round"];return(T=function(){return t})()}!function(){const t=A,e=T();for(;;)try{if(661609===parseInt(t(330))/1*(parseInt(t(321))/2)+parseInt(t(365))/3+parseInt(t(366))/4*(parseInt(t(341))/5)+-parseInt(t(364))/6+-parseInt(t(339))/7*(parseInt(t(324))/8)+parseInt(t(343))/9+-parseInt(t(322))/10*(parseInt(t(318))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class C{static generateDeviceId(){const t=A;if(!y[t(369)]())return"ssr_device_"+Date[t(370)]();const e=localStorage[t(333)](t(323));if(e)return e;const n="device_"+Math.random()[t(353)](36)[t(337)](2,9)+"_"+Date.now();return localStorage.setItem(t(323),n),n}static[S(342)](){const t=S;if(!y[t(369)]())return t(340)+Date[t(370)]();const e=sessionStorage[t(333)](t(359));if(e)return e;const n=t(346)+Math[t(360)]()[t(353)](36)[t(337)](2,9)+"_"+Date.now();return sessionStorage.setItem(t(359),n),n}static isMobile(){return!!y[S(369)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}static[S(362)](){const t=S;if(!y[t(369)]())return t(329);const e=navigator[t(350)][t(363)]();return/iphone|ipad|ipod/[t(327)](e)?t(351):/android/.test(e)?t(328):C.isMobile()?t(329):"desktop"}static[S(352)](){const t=S,e=y[t(335)]();return{deviceId:C[t(367)](),sessionId:C[t(342)](),osVersion:y.isBrowser()?navigator[t(355)]:t(336),deviceModel:y[t(369)]()?navigator[t(355)]:t(336),appVersion:t(319),sdkVersion:x(),language:y[t(369)]()&&navigator[t(325)]||"ko",country:"KR",ipAddress:"",userAgent:y[t(369)]()?navigator[t(350)]:"SSR",timezone:y.isBrowser()?Intl.DateTimeFormat()[t(338)]().timeZone:t(334),viewportWidth:e[t(356)],viewportHeight:e.height,screenWidth:y[t(369)]()?screen[t(356)]:0,screenHeight:y[t(369)]()?screen[t(344)]:0,colorDepth:y[t(369)]()?screen.colorDepth:24,pixelRatio:e[t(347)],connectionType:y[t(369)]()&&navigator[t(354)]?.effectiveType||t(348),platform:C.getPlatform()}}static[S(331)](t){const e=S;let n=y[e(349)](t);if(!n){const s=y[e(358)]("#"+t+e(326));s&&(n=s)}if(!n&&(n=y.safeQuerySelector(e(345)+t+'"]')),!n)return e(348);const s=n[e(357)](),i=y[e(368)]();return"x:"+Math.round(s.left)+e(371)+Math[e(332)](s[e(361)]+i[e(320)])}}function R(t,e){const n=L();return(R=function(t,e){return n[t-=367]})(t,e)}const D=R;function L(){const t=["contentType","15168MwMFjd","userAgent","application/json","User-Agent","undefined","5292060vKyVub","955vmZNyy","336712kMEgLn","15630bpTDdN","API key is required","2uyhDxY","5893488BURbil","737709fFdYgh","create","4fdIoSC","407rsiFbK","560321BAAhPY","createForEvents","56bMGobu"];return(L=function(){return t})()}!function(){const t=R,e=L();for(;;)try{if(347455===parseInt(t(380))/1*(-parseInt(t(374))/2)+parseInt(t(376))/3*(parseInt(t(378))/4)+parseInt(t(370))/5*(parseInt(t(372))/6)+-parseInt(t(382))/7*(-parseInt(t(371))/8)+-parseInt(t(375))/9+parseInt(t(369))/10+parseInt(t(379))/11*(-parseInt(t(384))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class M{static[D(377)](t,e){const n=D;if(!t)throw new Error(n(373));const s={"x-api-key":t,"Content-Type":e?.[n(383)]||n(386)};return typeof navigator!==n(368)&&(s[n(367)]=e?.[n(385)]||navigator[n(385)]),s}static[D(381)](t,e){const n=D,s=M[n(377)](t);return e?.[n(385)]&&(s[n(367)]=e[n(385)]),s}}function P(t,e){const n=z();return(P=function(t,e){return n[t-=139]})(t,e)}const _=P;function z(){const t=[" - ","warn","get"," for ad ","querySelector","/advertisements/events/","5526155aOqCvz","🌐 Full API call details:","height","adType","getElementById","status","apiKey","number","containerId","length","parseNumericValue","7230996LsIRjb","url"," event for ad ","baseUrl","error","❌ Failed to track advertisement event:","3635084dnFGPo","text","title","). Skipping event tracking."," in slot ","collectDeviceInfo","1640644cGCyBr","replace","106312lpdrnj","referrer","✅ Successfully tracked advertisement event: ","slots","debug","⚠️ Slot not found for slotId: ","POST","API request failed: ","log","📡 API Response Status: ","🚀 AdvertisementEventTracker: Processing ","trackAdvertisementEvent","⚠️ DOM element not found for slotId: ","1123394QvGMqo","VIEWABLE","...","width","getPageInfo","3TSmYtt","19972638rCpmGR","getSlotPosition","stringify","now","sessionId","platform","175vdkgMX"];return(z=function(){return t})()}!function(){const t=P,e=z();for(;;)try{if(611505===parseInt(t(172))/1+parseInt(t(157))/2+-parseInt(t(177))/3*(parseInt(t(151))/4)+-parseInt(t(191))/5+-parseInt(t(145))/6+parseInt(t(184))/7*(-parseInt(t(159))/8)+parseInt(t(178))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class B{constructor(t,e,n,s){const i=P;this[i(148)]=t,this.apiKey=e,this.debug=n,this[i(162)]=s}async[_(170)](t,e,n){const s=_;try{this.debug&&console[s(167)](s(169)+n+s(147)+t+s(155)+e);const i=this.slots[s(187)](e);if(!i)return void(this[s(163)]&&console[s(186)](s(164)+e+". Skipping event tracking to prevent incorrect adType."));if(!(document[s(195)](i[s(142)])||document[s(189)]('[data-adstage-slot-id="'+e+'"]')))return void(this[s(163)]&&console.warn(s(171)+e+" (containerId: "+i.containerId+s(154)));const r=C[s(156)](),a={adType:i[s(194)],platform:r[s(183)],deviceId:r.deviceId,deviceInfo:r,pageUrl:y[s(176)]()[s(146)],pageTitle:y[s(176)]()[s(153)],referrer:y.getPageInfo()[s(160)],slotId:e,slotPosition:C[s(179)](i[s(142)]),slotWidth:B[s(144)](i[s(175)]),slotHeight:B[s(144)](i[s(193)]),sessionId:r[s(182)],pageLoadTime:performance[s(181)](),metadata:{eventType:n,sdkVersion:x(),timestamp:Date[s(181)]()},...n===o[s(173)]&&{isViewable:!0,iabCompliant:!0}},c=this[s(148)]+s(190)+t+"/"+n,d=M.createForEvents(this[s(140)],a);this[s(163)]&&(console[s(167)]("🚀 Sending advertisement event: "+n+s(188)+t,{url:c,headers:d,eventData:a}),console[s(167)](s(192),{method:"POST",url:c,hasApiKey:!!this[s(140)],bodySize:JSON[s(180)](a)[s(143)]}));const l=await fetch(c,{method:s(165),headers:d,body:JSON[s(180)](a)});if(this[s(163)]&&console[s(167)](s(168)+l[s(139)]+" "+l.statusText,{url:c,ok:l.ok}),!l.ok){const t=await l[s(152)]();throw new Error(s(166)+l.status+" "+l.statusText+s(185)+t)}this[s(163)]&&console[s(167)](s(161)+n+s(188)+t)}catch(i){console[s(149)](s(150),i),console[s(149)]("🔍 Debug info:",{baseUrl:this[s(148)],apiKey:this[s(140)]?this.apiKey.substring(0,8)+s(174):"NOT_SET",url:this[s(148)]+"/advertisements/events/"+t+"/"+n,eventType:n,adId:t,slotId:e})}}static parseNumericValue(t){const e=_;if(typeof t===e(141))return t;if("string"==typeof t){const n=parseFloat(t[e(158)](/px$/,""));return isNaN(n)?0:n}return 0}}function U(t,e){var n=O();return(U=function(t,e){return n[t-=318]})(t,e)}var N=U;function O(){var t=["element","initIntersectionObserver","hidden","isDocumentVisible","1682208UlWghE","49HHDWhx","disconnect","forEach","visibilityState","IntersectionObserver","onViewableCallback","1940778MsWPrz","observer","isViewableTriggered","destroy","356560bNYHHb","1979260KnUmLS","intersectionRatio","284706GcVPom","71818OdVfsN","observe","32GTgggY","33GZYkRQ","visible","1186503iHGitI","2JwYrgT","warn","handleIntersection"];return(O=function(){return t})()}!function(){for(var t=U,e=O();;)try{if(350276===parseInt(t(341))/1*(parseInt(t(335))/2)+parseInt(t(340))/3+-parseInt(t(337))/4*(-parseInt(t(331))/5)+-parseInt(t(334))/6*(-parseInt(t(321))/7)+-parseInt(t(320))/8+-parseInt(t(327))/9+parseInt(t(332))/10*(-parseInt(t(338))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class V{constructor(t,e){var n=U;this.observer=null,this[n(329)]=!1,this[n(344)]=t,this.onViewableCallback=e,this.initIntersectionObserver()}[N(345)](){var t=N;t(325)in window?(this.observer=new IntersectionObserver(e=>this[t(343)](e),{threshold:.5,rootMargin:"0px"}),this.observer[t(336)](this[t(344)])):console[t(342)]("IntersectionObserver not supported, viewability tracking disabled")}[N(343)](t){var e=N;t[e(323)](t=>{var n=e;t[n(333)]>=.5&&this.isDocumentVisible()&&!this[n(329)]&&(this[n(329)]=!0,this.onViewableCallback&&this[n(326)]())})}[N(319)](){var t=N;return!document[t(318)]&&document[t(324)]===t(339)}[N(330)](){var t=N;this[t(328)]&&(this[t(328)][t(322)](),this[t(328)]=null)}}function F(){const t=["96762TJtUOz","list","/advertisements/list","track","529411ZIIpBK","2rOxebW","2282820VFCjVs","10582232XnwVvi","baseUrl","1380162SCYkMY","production","6RKNxkC","advertisements","2617260qECwdX","/advertisements","https://beta-api.adstage.app","events","https://api.adstage.app","getBaseUrl","395rRgPGj","startsWith","detail","registerAttribution","10547478MDGEAi","/advertisements/events"];return(F=function(){return t})()}const H=Y;!function(){const t=Y,e=F();for(;;)try{if(748311===parseInt(t(384))/1*(parseInt(t(360))/2)+parseInt(t(366))/3*(-parseInt(t(361))/4)+parseInt(t(374))/5*(parseInt(t(380))/6)+parseInt(t(364))/7+parseInt(t(362))/8+-parseInt(t(378))/9+-parseInt(t(368))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const K={production:H(372),beta:H(370)};H(365);const j={advertisements:{list:H(382),detail:H(369),events:H(379)},events:{track:"/events/track",registerAttribution:"/events/register/attribution"}};function Y(t,e){const n=F();return(Y=function(t,e){return n[t-=360]})(t,e)}class W{constructor(t){const e=H;this[e(367)]={list:()=>""+this[e(363)]+j[e(367)][e(381)],detail:t=>""+this[e(363)]+j[e(367)][e(376)]+"/"+t,events:(t,n)=>""+this[e(363)]+j[e(367)][e(371)]+"/"+t+"/"+n},this.events={track:()=>""+this[e(363)]+j.events[e(383)],registerAttribution:()=>""+this.baseUrl+j.events[e(377)]},this.baseUrl=t||K[e(365)]}setBaseUrl(t){this[H(363)]=t}[H(373)](){return this[H(363)]}custom(t){const e=H;return""+this[e(363)]+(t[e(375)]("/")?t:"/"+t)}}const G=new W;function q(t,e){var n=Q();return(q=function(t,e){return n[t-=128]})(t,e)}var X=q;function Q(){var t=["42978408HQsnyY"," (index: 0) in slot: ",") in slot: ","trackSlideViewable","269297VnIUTw","77gIPidL","_id","1494627hqzfTe","947RMcSFG","8738745dSRUSH","🎯 Triggering VIEWABLE event for slide change: ad ","VIEWABLE","117fGUDcr","4NcviXf","1178xJSKHg"," (index: ","482776QGegsQ","🎯 Triggering initial VIEWABLE event: ad ","876530Ztfvrc","186yspUNy"];return(Q=function(){return t})()}!function(){for(var t=q,e=Q();;)try{if(983274===parseInt(t(146))/1*(-parseInt(t(132))/2)+-parseInt(t(145))/3*(parseInt(t(131))/4)+-parseInt(t(147))/5+parseInt(t(137))/6*(-parseInt(t(142))/7)+parseInt(t(134))/8*(parseInt(t(130))/9)+-parseInt(t(136))/10*(-parseInt(t(143))/11)+parseInt(t(138))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class J{static[X(141)](t,e,n,s,i=!1){var r=X;i&&console.log(r(128)+t[r(144)]+r(133)+n+r(140)+e.id),s(t[r(144)],e.id,o[r(129)])}static trackInitialSlideViewable(t,e,n,s=!1){var i=X;s&&console.log(i(135)+t[i(144)]+i(139)+e.id),n(t[i(144)],e.id,o[i(129)])}}const Z=tt;function $(){const t=["4781238CNTZQh","linkUrl","CLICK","preventDefault","1412689zHrfvk"," ad clicked: ","style","8602629jUmyye","3777MzEKUT","16502769iyBytp","toLowerCase","log","8bShMKz","_blank","adType","cursor","addClickEventForSlider","addEventListener","addClickEventsBatch","2963000kDBVtj","isClickable","addClickEvent","click","_id","addClickEventForRenderer","stopPropagation","open","🔗 "," -> ","1200715ivqklM","4764YbleGN"];return($=function(){return t})()}function tt(t,e){const n=$();return(tt=function(t,e){return n[t-=149]})(t,e)}!function(){const t=tt,e=$();for(;;)try{if(774340===parseInt(t(173))/1+parseInt(t(157))/2+-parseInt(t(177))/3*(-parseInt(t(168))/4)+parseInt(t(167))/5+-parseInt(t(169))/6+parseInt(t(176))/7*(-parseInt(t(150))/8)+-parseInt(t(178))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class et{static[Z(159)](t,e,n,s,i=!1,r){const a=Z;e.linkUrl&&(t[a(175)][a(153)]="pointer",t[a(155)](a(160),t=>{const c=a;if(t[c(172)](),t[c(163)](),s&&s(e._id,n.id,o[c(171)]),window[c(164)](e[c(170)],c(151)),i){const t=r||String(n[c(152)])[c(179)]();console[c(149)](c(165)+t+c(174)+e[c(161)]+c(166)+e[c(170)])}}))}static[Z(162)](t,e,n,s,i=!1,r){const a=Z;e[a(170)]&&(t[a(175)][a(153)]="pointer",t[a(155)]("click",t=>{const c=a;t[c(172)](),t.stopPropagation();if(s()(e[c(161)],n.id,o[c(171)]),window[c(164)](e.linkUrl,c(151)),i){const t=r||String(n.adType)[c(179)]();console[c(149)](c(165)+t+" ad clicked: "+e[c(161)]+c(166)+e[c(170)])}}))}static[Z(154)](t,e,n,s,i=!1,r){this.addClickEvent(t,e,n,s,i,r)}static[Z(158)](t){return Boolean(t[Z(170)])}static[Z(156)](t,e,n,s,i=!1,r){t.forEach((t,o)=>{const a=tt,c=e[o];c&&this[a(159)](t,c,n,s,i,r)})}}const nt=st;function st(t,e){const n=it();return(st=function(t,e){return n[t-=205]})(t,e)}function it(){const t=["padding","adstage-dots","createMinimalDotIndicator","preventDefault","#cccccc","18mHVooi","opacity","color","50px","height","1px dashed #ccc","#f0f0f0","\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 ","center","hidden","forEach","classList","style","string","0.9","auto","block","removeChild","length","createSimpleAdElement","flex","createSliderContainer","transition","touchmove","contains","100px","click","touches","1230NGpJhY","createElement","setProperty","querySelectorAll","\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 ","className","abs","autoSlideInterval","#f9f9f9","100%","adType","setAttribute","videoUrl","clientX","#000","3628534yywiaW","mouseleave","#999999","toLowerCase","VIDEO","TEXT","translateX(-","36gQNqfn","borderColor","6968mwCWlq","_id","src",".adstage-dot","inline-block","cssText","div","none","touchstart","adstage-slide-container","changedTouches","background","width","trackSlideViewable","children","add","every","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","button","entries","appendChild","mouseenter","adstage-slider-wrapper","866771YYPmlN","cover","active","39274340hOpPiv","Video Ad","fontSize","backgroundColor","imageUrl","overflow","881915jDXkGS","transform 0.4s ease-out","4288680atfThD","border","includes","Banner Ad","BANNER","getBoundingClientRect","#666666","8642704fkgdWj","data-adstage-ad-id","adstage-ad adstage-","8px","addEventListener","transform","white","video","img","addTouchSupport","display","body"," Ad","Text Ad","adstage-dot","normal","textContent"];return(it=function(){return t})()}!function(){const t=st,e=it();for(;;)try{if(827050===parseInt(t(226))/1+parseInt(t(318))/2*(-parseInt(t(294))/3)+parseInt(t(316))/4*(-parseInt(t(235))/5)+-parseInt(t(266))/6*(parseInt(t(309))/7)+parseInt(t(244))/8+-parseInt(t(237))/9+parseInt(t(229))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class rt{static[nt(285)](e,n){const s=nt,i=document[s(295)]("div");switch(i[s(299)]=s(246)+String(e[s(304)])[s(312)](),i[s(305)](s(245),n[s(319)]),i[s(305)]("data-adstage-slot-id",e.id),i.style[s(254)]=s(282),i[s(278)][s(215)]="100%",i[s(278)][s(270)]=s(281),e[s(304)]){case t[s(241)]:if(n[s(233)]){const t=document[s(295)](s(252));t[s(205)]=n[s(233)],t[s(278)].width=s(303),t[s(278)][s(270)]=s(281),t[s(278)].objectFit=s(227),i[s(223)](t)}else i[s(278)][s(270)]=s(291),i.style.backgroundColor=s(272),i.style[s(238)]=s(271),i[s(260)]=s(240);break;case t[s(313)]:if(n.videoUrl){const t=document[s(295)](s(251));t[s(205)]=n[s(306)],t[s(278)][s(215)]=s(303),t[s(278)][s(270)]=s(281),i[s(223)](t)}else i[s(278)][s(270)]="200px",i[s(278)][s(232)]=s(308),i[s(278)].border="1px solid #666",i[s(260)]=s(230),i[s(278)][s(268)]=s(250);break;case t[s(314)]:if(n[s(260)]){const t=document[s(295)](s(209));t[s(260)]=n[s(260)]||"",t.style.padding=s(247),t.style[s(231)]="14px",i[s(223)](t)}else i[s(278)].height=s(269),i.style[s(261)]=s(247),i.textContent=s(257);break;default:i[s(278)].height=s(291),i[s(278)][s(238)]=s(271),i[s(278)][s(232)]=s(302),i.textContent=e[s(304)]+s(256)}return i}static[nt(287)](e,n,s,i,r=!1){const o=nt,a=document.createElement(o(209));a.className=o(225);const c={position:"relative",overflow:o(275)};if(e[o(215)]&&0!==e.width){let t;t=typeof e[o(215)]===o(279)&&(e[o(215)][o(239)]("px")||e[o(215)][o(239)]("%"))?e[o(215)]:e[o(215)]+"px",c.width=t,c[o(254)]=o(207)}else c.display=o(207);if(e[o(270)]&&0!==e[o(270)]){const t="string"==typeof e[o(270)]?e[o(270)]:e[o(270)]+"px";c[o(270)]=t}Object[o(222)](c)[o(276)](([t,e])=>{const n=o;a[n(278)][n(296)](t,e)});const d=!e[o(215)]||0===e[o(215)],l=!e[o(270)]||0===e[o(270)];if(d||l){const t=document[o(295)](o(209));if(t[o(278)][o(208)]=o(220),!d&&e[o(215)]){let n;n=typeof e[o(215)]===o(279)&&(e[o(215)][o(239)]("px")||e[o(215)].includes("%"))?e[o(215)]:e.width+"px",t[o(278)][o(215)]=n,t[o(278)].whiteSpace=o(259)}document[o(255)][o(223)](t);let s=0,i=0;n[o(276)](n=>{const r=o,a=this[r(285)](e,n);t.appendChild(a);const c=a[r(242)]();c.width>s&&(s=c[r(215)]),c[r(270)]>i&&(i=c[r(270)]),t[r(283)](a)}),d&&s>0&&(a[o(278)][o(215)]=s+"px",c[o(215)]=s+"px"),l&&i>0&&(a[o(278)].height=i+"px",c[o(270)]=i+"px"),document[o(255)][o(283)](t)}const u=[...n,n[0]],p=document.createElement("div");p.className=o(212);const h={display:o(286),transition:"transform 0.4s ease-out",width:100*u[o(284)]+"%"};e[o(270)]&&0!==e[o(270)]&&(h.height="100%"),Object[o(222)](h)[o(276)](([t,e])=>{const n=o;p[n(278)][n(296)](t,e)}),u[o(276)]((t,n)=>{const s=o,a=document[s(295)](s(209));a[s(299)]="adstage-slide";const c={width:100/u[s(284)]+"%","flex-shrink":"0",display:s(286),"align-items":s(274),"justify-content":"center"};e.height&&0!==e[s(270)]&&(c[s(270)]=s(303)),Object[s(222)](c)[s(276)](([t,e])=>{const n=s;a[n(278)][n(296)](t,e)});const d=this[s(285)](e,t);et.addClickEventForSlider(d,t,e,i,r,String(e[s(304)]).toLowerCase()),a[s(223)](d),p[s(223)](a)});const f=n[o(219)](e=>e[o(304)]===t[o(314)])?null:this[o(263)](n.length);let g=0;const m=n[o(284)],I=1e3*(s?.[o(301)]||3),v=(t,s=!1)=>{const a=o;g=t,p[a(278)][a(288)]=a(s?210:236),p[a(278)][a(249)]=a(315)+100/u[a(284)]*g+"%)";const c=g===m?0:g;if(f){f.querySelectorAll(".adstage-dot")[a(276)]((t,e)=>{const n=a,s=t;e===c?(s.classList[n(218)]("active"),s.style[n(214)]=n(243),s[n(278)].borderColor=n(243),s[n(278)][n(267)]="1"):(s[n(277)].remove(n(228)),s[n(278)][n(214)]="transparent",s[n(278)][n(317)]="#cccccc",s[n(278)][n(267)]="0.7")})}J[a(216)](n[c],e,c,i,r)},y=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(f){f[o(297)](o(206))[o(276)]((t,e)=>{const n=o;t[n(248)](n(292),()=>v(e))})}let b=setInterval(()=>{v(g+1),y()},I);return a[o(248)](o(224),()=>{clearInterval(b)}),a[o(248)](o(310),()=>{b=setInterval(()=>{v(g+1),y()},I)}),this[o(253)](p,v,()=>g,m,y),a[o(223)](p),f&&a[o(223)](f),v(0),(!e[o(215)]||0===e[o(215)])&&setTimeout(()=>{const t=o,n=p[t(217)][0];if(n){const s=n[t(217)][0];if(s){const n=s[t(242)]();a[t(278)][t(215)]=n[t(215)]+"px",(!e[t(270)]||0===e[t(270)])&&(a[t(278)][t(270)]=n[t(270)]+"px"),a[t(278)][t(234)]="hidden"}}},10),a}static createMinimalDotIndicator(t){const e=nt,n=document[e(295)](e(209));n.className=e(262),n.style[e(208)]=e(273);for(let s=0;s<t;s++){const t=document[e(295)](e(221));t.className=e(258),t[e(278)][e(208)]=e(298),t.addEventListener(e(224),()=>{const n=e;!t.classList[n(290)](n(228))&&(t[n(278)].borderColor=n(311),t[n(278)][n(267)]=n(280))}),t[e(248)](e(310),()=>{const n=e;!t[n(277)][n(290)](n(228))&&(t[n(278)].borderColor=n(265),t[n(278)].opacity="0.7")}),n[e(223)](t)}return n}static[nt(253)](t,e,n,s,i){const r=nt;let o=0,a=!1;t[r(248)](r(211),t=>{o=t[r(293)][0].clientX,a=!0}),t[r(248)](r(289),t=>{a&&t[r(264)]()}),t.addEventListener("touchend",t=>{const c=r;if(!a)return;a=!1;const d=t[c(213)][0][c(307)],l=o-d;if(Math[c(300)](l)>50){const t=n();if(l>0){e(t+1),i&&i()}else{e(t>0?t-1:s-1)}}})}}const ot=ct;!function(){const t=ct,e=dt();for(;;)try{if(643295===parseInt(t(352))/1+parseInt(t(333))/2*(-parseInt(t(338))/3)+-parseInt(t(348))/4*(parseInt(t(337))/5)+-parseInt(t(334))/6*(parseInt(t(349))/7)+parseInt(t(340))/8*(-parseInt(t(350))/9)+parseInt(t(347))/10+parseInt(t(341))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class at{static isDuplicateViewable(t,e,n=!1){const s=ct,i=t+"_"+e;return at[s(351)][s(343)](i)?(n&&console[s(336)](s(335)+t+s(342)+e),!0):(at[s(351)][s(339)](i),n&&console[s(336)](s(344)+t+s(342)+e),!1)}static[ot(346)](){const t=ot;at.viewableTracker[t(346)]()}static[ot(353)](t,e){const n=ot,s=t+"_"+e;at[n(351)][n(345)](s)}}function ct(t,e){const n=dt();return(ct=function(t,e){return n[t-=333]})(t,e)}function dt(){const t=["231wyhdrO","add","1360600MhMcTS","22440858ZliKHo"," in slot ","has","✅ New viewable recorded for ad ","delete","clear","10256480xsOfjL","4wQeEAi","119PwdCTL","63hDohHT","viewableTracker","49552WwKLhf","clearAdViewable","16708QNGinf","15258lPWaQp","Duplicate viewable blocked for ad ","log","2974845olNCOH"];return(dt=function(){return t})()}function lt(t,e){const n=pt();return(lt=function(t,e){return n[t-=431]})(t,e)}at[ot(351)]=new Set;const ut=lt;function pt(){const t=["transparent","appendChild","371924wNRAHv"," in slot "," ad...</span>"," for ","createPlaceholder","createElement","10813554cecSWw","setAttribute","applyPlaceholderStyle","querySelector",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"\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 ","2px dashed #e74c3c","<span>Loading ","color","\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 ","adType","cssText","fontSize","placeholderMode","display","height","borderRadius","trackAdvertisementEvent","block","minHeight","📊 Advertisement event tracked: ","306912EADlTC","hasAttribute","error",") - Mode: ",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>','[class*="banner"]',"5mXhppz","getAttribute","📏 Using default height ","📏 Using 100% height (container: ","data-adstage-container","VIEWABLE","adstage-slot adstage-empty adstage-","isDuplicateViewable","data-adstage-slot","⚠️ AdvertisementEventTracker not available for ","createEmptyContainer","data-adstage-empty","width","rgba(248, 249, 250, 0.5)","parentElement","3068124UDSLpl","innerHTML","border"," event","data-adstage-type","log","getComputedStyle","div","adstage-slot","warn"," event for ad ","getElementById","flex",'[class*="container"]',"classList",".adstage-","getContainerHeight",'div[style*="height"]',"backgroundColor","className"," container: ","center","generic","alignItems","true","containerId","98MRKwqn","advertisementEventTracker","6px",'[data-adstage-container="true"]',"number","filter","minimal","justifyContent","10325350BvVFnc","✅ New viewable recorded for ad ","closest","advertisement","calculateAdSize",'div[style*="min-height"]',"⚠️ Created empty ","unknown","opacity","1px dashed #ccc","9649842kyxeYz","⚠️ ","11px","4px","887496fKXFCD","string","3DtLYrb","): "," for ad "," slot: ","createEventTrackingCallback","auto","debug","invisible","style","adstage-class","toLowerCase","100%",'[class*="ad"]'];return(pt=function(){return t})()}!function(){const t=lt,e=pt();for(;;)try{if(861250===-parseInt(t(505))/1+parseInt(t(440))/2+parseInt(t(490))/3*(-parseInt(t(532))/4)+-parseInt(t(538))/5*(parseInt(t(484))/6)+parseInt(t(466))/7*(parseInt(t(488))/8)+-parseInt(t(511))/9+parseInt(t(474))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ht{constructor(t,e=!1,n){const s=lt;this[s(521)]=t,this[s(496)]=e,this.advertisementEventTracker=n||null}[ut(509)](t,e,n,s){const i=ut,r=document[i(510)](i(447));r.id=e,r.className="adstage-slot adstage-"+String(this[i(521)])[i(500)](),r[i(512)](i(542),"true"),r[i(512)](i(444),String(this[i(521)])),r[i(512)](i(433),e);const{width:o,height:a}=this[i(478)](t,n,s)||{width:i(501),height:this.getDefaultHeight()};r.style[i(437)]=o,r[i(498)][i(526)]=a;const c=s?.[i(524)]||n[i(524)]||i(497);this[i(513)](r,c),t[i(504)](r),this.debug&&console[i(445)]("📦 Placeholder created for "+this[i(521)]+i(493)+e+" ("+o+" x "+a+i(535)+c)}[ut(513)](t,e){const n=ut;switch(e){case n(497):t[n(498)].backgroundColor=n(503),t[n(498)][n(442)]="none",t[n(498)][n(482)]="0",t[n(441)]="";break;case n(503):t[n(498)][n(458)]=n(503),t[n(498)].border="none",t.style[n(525)]=n(529),t[n(441)]="";break;case"subtle":t[n(498)].backgroundColor="rgba(0, 0, 0, 0.02)",t[n(498)].border="none",t.style[n(527)]=n(487),t[n(498)][n(525)]=n(452),t[n(498)][n(463)]="center",t[n(498)][n(473)]=n(461),t[n(441)]=n(536);break;case n(472):t[n(498)][n(458)]=n(438),t[n(498)][n(442)]="1px solid rgba(0, 0, 0, 0.08)",t[n(498)][n(527)]=n(468),t[n(498)][n(525)]=n(452),t[n(498)].alignItems=n(461),t[n(498)][n(473)]=n(461),t[n(441)]=n(515);break;case n(496):t[n(498)][n(442)]=n(517),t[n(498)][n(525)]=n(452),t[n(498)][n(463)]="center",t[n(498)].justifyContent=n(461),t[n(498)].backgroundColor="rgba(231, 76, 60, 0.1)",t.style[n(519)]="#e74c3c",t.style.fontFamily="monospace",t[n(498)][n(523)]=n(486),t[n(441)]=n(518)+this.adType+n(507);break;default:t.style[n(442)]=n(483),t[n(498)][n(525)]="flex",t[n(498)][n(463)]=n(461),t.style[n(473)]=n(461),t[n(498)][n(458)]="#f9f9f9",t[n(498)][n(519)]="#666",t[n(441)]=n(518)+this[n(521)]+n(507)}}[ut(478)](t,e,n){const s=ut,i=e[s(437)],r=e[s(526)];let o,a;if(o=typeof i===s(470)?i+"px":typeof i===s(489)?i:"100%",typeof r===s(470))a=r+"px";else if(typeof r===s(489)&&r!==s(501)&&r!==s(495))a=r;else{const e=this[s(456)](t);e>0?(a=s(501),(n?.debug||this[s(496)])&&console[s(445)](s(541)+e+"px)")):(a=this.getDefaultHeight(),(n?.[s(496)]||this[s(496)])&&console.log(s(540)+a+s(508)+this.adType))}return{width:o,height:a}}getContainerHeight(t){const e=ut,n=window[e(446)](t),s=parseFloat(n[e(526)]);if(!s||0===s){const s=parseFloat(n[e(530)]);if(s>0)return s;if(t[e(498)][e(526)]&&"auto"!==t.style.height){const n=parseFloat(t[e(498)][e(526)]);if(n>0)return n}const i=t[e(539)]("height");if(i){const t=parseFloat(i);if(t>0)return t}}return s||0}[ut(494)](){return async(t,e,n)=>{const s=lt;if(n===o[s(543)]){if(at[s(432)](t,e,this[s(496)]))return void(this[s(496)]&&console[s(445)]("🚫 Duplicate viewable blocked for ad "+t+" in slot "+e));this[s(496)]&&console[s(445)](s(475)+t+s(506)+e)}if(this[s(467)])try{this.debug&&console.log("🔄 Starting advertisement event tracking: "+n+s(492)+t+s(506)+e),await this[s(467)][s(528)](t,e,n),this.debug&&console[s(445)](s(531)+n+s(492)+t+s(506)+e)}catch(e){this[s(496)]&&console[s(534)]("❌ Failed to track "+n+s(450)+t+":",e)}else this[s(496)]&&console[s(449)](s(434)+n+s(443))}}renderFallback(t){const e=ut,n=document[e(451)](t.id);if(n){const s=[...[n[e(514)]('[data-adstage-container="true"]'),n.closest(e(469)),n][e(471)](t=>t&&t[e(533)](e(542))),...[n[e(476)](".adstage-slot"),n[e(476)](e(455)+String(this.adType)[e(500)]()),n[e(476)](e(502)),n[e(476)](e(537)),n[e(476)](e(453)),n[e(476)](e(457)),n.closest(e(479)),n[e(439)]][e(471)](Boolean)][0];if(s){let n=e(481);n=s.hasAttribute(e(542))?"adstage-official":s[e(454)].contains(e(448))?e(499):e(462),s[e(498)][e(522)]+=e(516),s[e(441)]="",s[e(512)](e(436),e(464)),this[e(496)]&&console[e(449)](e(485)+this[e(521)]+" container collapsed ("+n+e(491)+t.id,s)}else this[e(435)](t)}t[e(477)]=void 0,t.isEmpty=!0}createEmptyContainer(t){const e=ut,n=document[e(451)](t[e(465)]);if(n){n.innerHTML="";const s=document[e(510)](e(447));s.id=t.id,s[e(459)]=e(431)+String(this[e(521)])[e(500)](),s[e(512)](e(542),e(464)),s[e(512)]("data-adstage-empty","true"),s[e(512)](e(433),t.id),s.style.cssText=e(520),n[e(504)](s),this[e(496)]&&console[e(449)](e(480)+this[e(521)]+e(460)+t.id)}}log(t,...e){const n=ut;this[n(496)]&&console.log("["+this[n(521)]+"] "+t,...e)}}const ft=mt;function gt(){const t=["name","12YgFUZc","default","config","map"," (avg: ","renderAdElement","parentElement","fulfilled","contain","</div>","values","error","🎨 Banner image style applied: objectFit=","Container not found: ","BANNER","title","Banner Ad","dominant","abs","optimizeContainerForBannerAds","cover","Banner Advertisement","308766SmMlgq","reduce","renderOptimizedBannerImage","selectOptimalSizeStrategy","backgroundColor","value","width","🎠 Banner carousel created for slot: ","onload"," ads: "," (strategy: ","count",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"imageUrl","4:3","src","getElementById","length","Banner container optimization failed, using default size:","containerId","<div>","innerHTML","applyOptimizedImageStyle","getDefaultHeight","average","2486421YWWxTG","Failed to calculate optimal banner size, using defaults:","className"," with ","1024330rELpUr","loadImageDimensions","log","objectFit","calculateAdSize","renderMultipleAds","naturalHeight","📸 Banner image dimensions: ","250px","from","img","debug","adstage-ad adstage-banner-ad","aspectRatio","forEach","height","11046544ekHBKa","toFixed","🔧 Banner container optimized for ","filter","100%","some","📦 Banner container dimensions: ","calculateOptimalContainerSize","borderRadius","div","5467805SAFLKq","4376040HHMVqV","get","#f0f0f0","naturalWidth","toString","637498PaRyzN"," ads (optimized: ","onerror","8px","center","appendChild","ratio","calculateOptimalHeight","Banner","allSettled","common","objectPosition","addClickEventForRenderer","style","createEventTrackingCallback","Image URL is not provided","📐 Optimal banner container calculated: ","getBoundingClientRect","createElement","set","round","❌ Failed to load optimized banner image:","block","16:9","optimizedHeight"];return(gt=function(){return t})()}function mt(t,e){const n=gt();return(mt=function(t,e){return n[t-=250]})(t,e)}!function(){const t=mt,e=gt();for(;;)try{if(521887===-parseInt(t(257))/1+-parseInt(t(305))/2+parseInt(t(330))/3+-parseInt(t(283))/4*(-parseInt(t(334))/5)+-parseInt(t(252))/6+-parseInt(t(251))/7+parseInt(t(350))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class It extends ht{constructor(e=!1,n){super(t[mt(297)],e,n)}[ft(328)](){return ft(342)}async[ft(288)](t,e){const n=ft,s=document.getElementById(t[n(324)]);if(!s)return;const i=document[n(275)](n(250));i[n(332)]=n(346);const r=t.optimizedHeight,o=s[n(289)]||s;if(r)i[n(270)][n(311)]=n(354),i.style[n(349)]=String(r);else{const e=t[n(285)],s={width:e?.[n(311)],height:e?.[n(349)]},{width:r,height:a}=this[n(338)](o,s,{debug:this[n(345)]});i[n(270)][n(311)]=r,i[n(270)][n(349)]=a}e[n(318)]?await this[n(307)](i,e,t):i.innerHTML=n(325)+(e[n(298)]||n(299))+n(292),et[n(269)](i,e,t,()=>this[n(271)](),this[n(345)],n(265)),s.innerHTML="",s[n(262)](i)}async[ft(339)](t,e){const n=ft,s=document[n(321)](t[n(324)]);if(!s)throw new Error(n(296)+t[n(324)]);await this[n(302)](t,e);const i=this[n(271)](),r={autoSlideInterval:(t[n(285)]?.slideInterval||5e3)/1e3,...t.config,optimizedHeight:t.optimizedHeight,aspectRatio:t.aspectRatio},o=rt.createSliderContainer(t,e,r,i,this.debug);o&&(s.innerHTML="",s[n(262)](o),this.debug&&console[n(336)](n(312)+t.id+n(333)+e[n(322)]+n(258)+(t[n(281)]||n(284))+")"))}async[ft(357)](t,e){const n=ft;if(!t.length)return{width:n(354),height:this.getDefaultHeight(),aspectRatio:16/9};try{const s=(await Promise[n(266)](t[n(353)](t=>t[n(318)])[n(286)](t=>this[n(335)](t[n(318)]))))[n(353)](t=>t.status===n(290))[n(286)](t=>t[n(310)]);if(0===s.length)return{width:n(354),height:this.getDefaultHeight(),aspectRatio:16/9};const i=this[n(308)](s),r=this[n(264)](s,e,i);return this[n(345)]&&console[n(336)](n(273)+e+"x"+r+n(315)+i+")"),{width:n(354),height:r+"px",aspectRatio:e/r}}catch(t){return console.warn(n(331),t),{width:"100%",height:this[n(328)](),aspectRatio:16/9}}}async[ft(302)](t,e){const n=ft;try{const s=document[n(321)](t[n(324)]),i=document[n(321)](t.id);if(!s||!i)return;const r=s[n(274)]().width||300,o=await this[n(357)](e,r);i.style.height=o[n(349)],t[n(281)]=o[n(349)],t[n(347)]=o[n(347)],this[n(345)]&&console[n(336)](n(352)+e[n(322)]+n(314)+o.height)}catch(t){console.warn(n(323),t)}}selectOptimalSizeStrategy(t){const e=ft,n=t[e(286)](t=>t[e(311)]/t[e(349)]),s=new Map;n.forEach(t=>{const n=e,i=(Math[n(277)](10*t)/10).toString();s[n(276)](i,(s[n(253)](i)||0)+1)});const i=Math.max(...s[e(293)]()),r=t[e(322)];if(i/r>=.7)return e(300);const o=[16/9,4/3,1,1.5];return n[e(353)](t=>o[e(355)](n=>Math[e(301)](t-n)<.1)).length/r>=.5?"common":e(329)}calculateOptimalHeight(t,e,n){const s=ft,i=t[s(286)](t=>t[s(311)]/t[s(349)]);switch(n){case"dominant":{const t=new Map;i[s(348)](e=>{const n=s,i=Math.round(10*e)/10,r=i[n(256)](),o=t.get(r);o?o[n(316)]++:t[n(276)](r,{ratio:i,count:1})});const n=Array[s(343)](t[s(293)]())[s(306)]((t,e)=>e.count>t[s(316)]?e:t);return Math[s(277)](e/n[s(263)])}case s(267):{const t=[{ratio:16/9,name:s(280)},{ratio:4/3,name:s(319)},{ratio:1,name:"1:1"},{ratio:1.5,name:"3:2"}],n=i[s(306)]((t,e)=>t+e,0)/i[s(322)],r=t[s(306)]((t,e)=>Math[s(301)](e[s(263)]-n)<Math[s(301)](t[s(263)]-n)?e:t);return this.debug&&console.log("📊 Using standard ratio: "+r[s(282)]+s(287)+n[s(351)](2)+")"),Math[s(277)](e/r[s(263)])}default:{const t=i.reduce((t,e)=>t+e,0)/i[s(322)];return Math[s(277)](e/t)}}}[ft(335)](t){return new Promise((e,n)=>{const s=mt,i=new Image;i[s(313)]=()=>{const t=s;e({width:i[t(255)],height:i[t(340)]})},i[s(259)]=()=>{n(new Error("Failed to load image: "+t))},i[s(320)]=t})}[ft(327)](t,e,n){const s=ft,i=e/n;Math[s(301)](i-1)<.1?(t[s(270)][s(337)]=s(303),t.style[s(268)]="center"):i>1.3?(t[s(270)].objectFit=s(291),t[s(270)][s(268)]="center",t[s(270)][s(309)]=s(254)):i<.7?(t[s(270)][s(337)]="cover",t[s(270)].objectPosition="center"):(t[s(270)][s(337)]="cover",t[s(270)][s(268)]=s(261)),this.debug&&console[s(336)](s(295)+t.style[s(337)]+", ratio="+i.toFixed(2))}async renderOptimizedBannerImage(t,e,n){const s=ft,i=document[s(275)](s(344));i[s(270)][s(311)]=s(354),i[s(270)][s(349)]="100%",i[s(270)].display=s(279),i[s(270)][s(358)]=s(260),i.alt=e[s(298)]||s(304),t[s(326)]=s(317);try{if(!e[s(318)])throw new Error(s(272));const r=await this.loadImageDimensions(e.imageUrl),o=t[s(274)](),a=o[s(311)],c=o[s(349)];this[s(345)]&&(console[s(336)](s(341)+r.width+"x"+r[s(349)]),console[s(336)](s(356)+a+"x"+c));const d=r.width/r[s(349)],l=a/c;return this[s(327)](i,d,l),i.src=e[s(318)],t[s(326)]="",t[s(262)](i),et[s(269)](i,e,n,()=>this[s(271)](),this[s(345)],s(265)),this[s(345)]&&console[s(336)]("✅ Optimized banner image rendered for ad: "+e._id),i}catch(r){return console[s(294)](s(278),r),e[s(318)]&&(i.src=e[s(318)],i[s(270)].objectFit=s(303),i[s(270)][s(268)]="center",t[s(326)]="",t[s(262)](i),et[s(269)](i,e,n,()=>this.createEventTrackingCallback(),this[s(345)],s(265))),i}}}function vt(t,e){const n=bt();return(vt=function(t,e){return n[t-=333]})(t,e)}const yt=vt;function bt(){const t=["9107QfDyNX","1550202DHzDGw","createTextAdStyles","214yyyGsX","456CaSkjt","1771820rBvGLJ","textContent","7420842lFeqhZ","1451259UvTFhY","\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 ","setTextAdContent","3041TKhhBJ","1121428wPlLqo"];return(bt=function(){return t})()}!function(){const t=vt,e=bt();for(;;)try{if(273915===parseInt(t(334))/1*(-parseInt(t(339))/2)+-parseInt(t(344))/3+parseInt(t(335))/4+-parseInt(t(341))/5+parseInt(t(337))/6+parseInt(t(336))/7*(parseInt(t(340))/8)+parseInt(t(343))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class wt{static[yt(338)](t=!1){return yt(345)}static[yt(333)](t,e){const n=yt,s=e.textContent||e.title||"";t[n(342)]=s}}const kt=Et;function Et(t,e){const n=xt();return(Et=function(t,e){return n[t-=239]})(t,e)}function xt(){const t=["data-adstage-ad-id","preventDefault","appendChild","1499085xnwNFU","left","style","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","hidden","touchmove","includes","clientY","width","20px","addEventListener","12VForls","string","top","removeChild","height: auto;","setProperty","270288Ixbnbb","toLowerCase","absolute","translateY(0)","16932CLzilT","fit-content","className","90CXUvyE","2651HNHyzg","clientX","setTextAdContent","adstage-fade-slider-wrapper","530176dufVnN",";\n top: ","adstage-fade-slide-container","trackSlideViewable","202452mmNhfY","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","adstage-fade-slide","touchend","\n position: relative;\n width: 100%;\n ","block","touches","forEach",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","changedTouches","opacity","60bAkjXh","push","height: 100%;","auto","div","relative",";\n left: ","zIndex","1609739YHKzDR","\n ","createTextAdStyles","body","createSimpleAdElement",";\n ","createElement","2824iwAdKC","minHeight","position","abs","height: auto; min-height: fit-content;","25459nSthor","adstage-ad adstage-","setAttribute","cssText","translateY(-20px)","height","transform","whiteSpace","addTouchSupport","createTextTransitionContainer"];return(xt=function(){return t})()}!function(){const t=Et,e=xt();for(;;)try{if(919453===parseInt(t(240))/1+parseInt(t(282))/2*(-parseInt(t(276))/3)+-parseInt(t(294))/4+-parseInt(t(289))/5*(-parseInt(t(298))/6)+parseInt(t(252))/7*(-parseInt(t(247))/8)+parseInt(t(265))/9*(parseInt(t(309))/10)+-parseInt(t(290))/11*(parseInt(t(286))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class St{static[kt(244)](t,e){const n=kt,s=document.createElement(n(313));return s[n(288)]=n(253)+String(t.adType)[n(283)](),s.setAttribute(n(262),e._id),s[n(254)]("data-adstage-slot-id",t.id),s[n(267)][n(255)]=wt[n(242)](!0),wt[n(292)](s,e),s}static[kt(261)](t,e,n,s,i=!1){const r=kt,o=t[r(257)]&&0!==t.height&&t[r(257)]!==r(312),a=document[r(246)](r(313));a.className=r(293);const c={position:"relative",overflow:r(269),display:r(303)};if(!o&&(c[r(257)]=r(312),c[r(248)]=r(287)),t[r(273)]&&0!==t.width){let e;e="string"==typeof t[r(273)]?t.width[r(271)]("px")||t[r(273)].includes("%")?t[r(273)]:t.width+"px":t[r(273)]+"px",c[r(273)]=e}if(t[r(257)]&&0!==t[r(257)]&&t[r(257)]!==r(312)&&o){let e;e=typeof t[r(257)]===r(277)&&(t[r(257)][r(271)]("px")||t.height[r(271)]("%"))?t[r(257)]:t[r(257)]+"px",c[r(257)]=e}Object.entries(c)[r(305)](([t,e])=>{const n=r;a[n(267)][n(281)](t,e)});const d=document[r(246)](r(313));d[r(288)]=r(296),d[r(267)][r(255)]=r(302)+r(o?311:251)+r(241);let l=null;const u=!t[r(273)]||0===t[r(273)],p=!t[r(257)]||0===t[r(257)]||void 0===t[r(257)]||"auto"===t[r(257)];if(u||p&&o){if(l=document.createElement(r(313)),l.style[r(255)]=r(299),!u&&t[r(273)]){let e;e=typeof t[r(273)]===r(277)?t[r(273)].includes("px")||t[r(273)][r(271)]("%")?t.width:t.width+"px":t[r(273)]+"px",l.style[r(273)]=e,l[r(267)][r(259)]="normal"}document[r(243)][r(264)](l);let n=0,s=0;e.forEach(e=>{const i=r,o=this[i(244)](t,e);l[i(264)](o);const a=o.getBoundingClientRect();a[i(273)]>n&&(n=a.width),a.height>s&&(s=a[i(257)]),l[i(279)](o)}),u&&n>0&&(a[r(267)][r(273)]=n+"px"),p&&s>0&&o&&(a[r(267)][r(257)]=s+"px"),document.body.removeChild(l)}const h=[];e[r(305)]((e,n)=>{const a=r,c=document[a(246)]("div");c[a(288)]=a(300);const l=a(o?284:0===n?314:284);c[a(267)][a(255)]="\n position: "+l+a(295)+(l===a(284)?"0":a(312))+a(315)+(l===a(284)?"0":a(312))+";\n width: 100%;\n "+a(o?311:280)+a(268)+(0===n?"1":"0")+";\n transform: translateY("+(0===n?"0":a(274))+a(306)+(0===n?"2":"1")+a(245);const u=this.createSimpleAdElement(t,e);et.addClickEventForSlider(u,e,t,s,i,"Text"),c[a(264)](u),d[a(264)](c),h[a(310)](c)});let f=0;const g=e.length,m=1e3*(n?.autoSlideInterval||4),I=n=>{const a=r;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!o&&(c.style[a(249)]===a(314)&&(c[a(267)][a(249)]=a(284),c[a(267)][a(278)]="0",c[a(267)][a(266)]="0"),d[a(267)][a(249)]=a(314),d[a(267)][a(278)]=a(312),d[a(267)].left=a(312)),c[a(267)].opacity="0",c[a(267)][a(258)]=a(256),c[a(267)][a(239)]="1",d[a(267)][a(308)]="1",d[a(267)][a(258)]=a(285),d[a(267)][a(239)]="2",h.forEach((t,e)=>{const s=a;e!==n&&e!==f&&(t.style[s(308)]="0",t[s(267)][s(258)]="translateY(20px)",t[s(267)].zIndex="1",!o&&t[s(267)][s(249)]===s(314)&&(t[s(267)][s(249)]=s(284),t[s(267)].top="0",t[s(267)][s(266)]="0"))}),f=n,J[a(297)](e[f],t,f,s,i)};let v=setInterval(()=>{I(f+1)},m);return a[r(275)]("mouseenter",()=>{clearInterval(v)}),a[r(275)]("mouseleave",()=>{v=setInterval(()=>{I(f+1)},m)}),St[r(260)](a,I,()=>f,g),a[r(264)](d),a}static[kt(260)](t,e,n,s){const i=kt;let r=0,o=0,a=!1;t[i(275)]("touchstart",t=>{const e=i;r=t[e(304)][0][e(291)],o=t[e(304)][0][e(272)],a=!0}),t[i(275)](i(270),t=>{a&&t[i(263)]()}),t[i(275)](i(301),t=>{const s=i;if(!a)return;a=!1;const c=t.changedTouches[0].clientX,d=t[s(307)][0][s(272)],l=r-c,u=o-d;if(Math[s(250)](l)>Math.abs(u)&&Math.abs(l)>50){const t=n();e(l>0?t+1:t-1)}})}}const At=Ct;function Tt(){const t=["cssText","renderMultipleAds","128802vvHxpq","parentElement","height","config","createTextTransitionContainer","189aAdSGK","✨ Single text ad rendered: ","30584zcqFpq","2887250jRVLev","length","innerHTML","60px","hidden"," with ","2952310MWvbbF","getDefaultHeight","createElement","log","_id","480652rmGKUJ","3ZHHpoY","display","maxLines","aspectRatio","createEventTrackingCallback","optimizedHeight","100%","adstage-text-content","div","calculateAdSize","webkitBoxOrient","TEXT","containerId","number","addClickEventForRenderer","setTextAdContent","171YqsegA","slideInterval","41765UVRYJq","debug","Text","width","34OfKHUH","23643422lmSymy","style","-webkit-box","className","appendChild"];return(Tt=function(){return t})()}function Ct(t,e){const n=Tt();return(Ct=function(t,e){return n[t-=156]})(t,e)}!function(){const t=Ct,e=Tt();for(;;)try{if(384769===parseInt(t(156))/1*(-parseInt(t(160))/2)+parseInt(t(188))/3*(-parseInt(t(187))/4)+-parseInt(t(176))/5+parseInt(t(168))/6*(-parseInt(t(173))/7)+parseInt(t(175))/8*(-parseInt(t(204))/9)+parseInt(t(182))/10+parseInt(t(161))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Rt extends ht{constructor(e=!1,n){super(t[Ct(199)],e,n)}[At(183)](){return At(179)}async renderAdElement(t,e){const n=At,s=document.getElementById(t.containerId);if(!s)return;const i=document.createElement("div");i[n(164)]="adstage-ad adstage-text-ad";const r=t[n(193)],o=s[n(169)]||s;if(r)i[n(162)][n(159)]=n(194),i.style[n(170)]=String(r);else{const e=t.config,s={width:e?.[n(159)],height:e?.height},{width:r,height:a}=this[n(197)](o,s,{debug:this[n(157)]});i[n(162)][n(159)]=r,i[n(162)].height=a}const a=document[n(184)](n(196));a[n(164)]=n(195),a[n(162)][n(166)]=wt.createTextAdStyles(!1),wt[n(203)](a,e);const c=t.config?.[n(190)];c&&typeof c===n(201)&&(a[n(162)][n(189)]=n(163),a[n(162)].webkitLineClamp=String(c),a[n(162)][n(198)]="vertical",a[n(162)].overflow=n(180)),i[n(165)](a),et[n(202)](i,e,t,()=>this[n(192)](),this[n(157)],n(158)),s[n(178)]="",s[n(165)](i),this[n(157)]&&console[n(185)](n(174)+e[n(186)])}async[At(167)](t,e){const n=At,s=document.getElementById(t.containerId);if(!s)throw new Error("Container not found: "+t[n(200)]);const i=this[n(192)](),r={autoSlideInterval:(t[n(171)]?.[n(205)]||5e3)/1e3,...t[n(171)],optimizedHeight:t[n(193)],aspectRatio:t[n(191)]},o=St[n(172)](t,e,r,i,this[n(157)]);o&&(s.innerHTML="",s[n(165)](o),this.debug&&console.log("✨ Text transition created for slot: "+t.id+n(181)+e[n(177)]+" ads"))}}const Dt=Mt;function Lt(){const t=["videoUrl","2UKXoBi","🎬 Video config received:","\n video::-webkit-media-controls-play-button {\n display: ","🎬 Single video rendered for VIDEO slot: ","appendChild","scale(1)","className","🎬 Trying muted autoplay fallback...","10dvdTSK",", muted: ","360px","renderVideoElementDirect","Video load failed:","⚠️ No video advertisements available for slot: ","adstage-video-default-controls"," !important;\n }\n ","rgba(0, 0, 0, 0.7)","controls","182061mjdALq"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","\n pointer-events: none;\n ","\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 ","adstage-video-mute-button",'\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 ',"position","log","warn","_id","background","addClickEventForRenderer","click","🔊 Video mute toggled: ","🎬 Auto-play was prevented:","relative","loadedmetadata","loop","Video","width","canplay","VIDEO","debug","3884caMBbp","muted","hideRemainingTime","play","addEventListener","transform","hideMuteButton","🎬 Video can play, attempting autoplay...","hideCurrentTime","img","Video thumbnail","44118MULpfJ","hideControls","hidePlayButton","textContent","block","🎬 Final video settings:","catch","innerHTML","hideFullscreenButton"," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","VIEWABLE","100%","Container not found: ","stopPropagation","🎬 Initial autoplay attempt after timeout...","error","playsinline","unmuted","customControls"," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","🎬 Autoplay completely failed:","containerId","\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 ","metadata","head","renderAdElement","56GeVHwy","height","\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 ",", loop: "," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","🎬 Video data loaded, attempting autoplay...","Click to mute","imageUrl","objectFit","🎬 Video controls setting:","video","title","1205127zPrqaT","div","cssText","hideVolumeSlider","211434bmBhfv","adstage-video-container","none","181221ItZIin","preload","Video fallback"," (autoplay: ","645IBfdHn","createElement","createEventTrackingCallback","contain","paused","display","length","autoplay","scale(1.1)","1918367ScstNJ","disabled (default)","getElementById","src","config","style","🎬 Video element created for ad: "];return(Lt=function(){return t})()}function Mt(t,e){const n=Lt();return(Mt=function(t,e){return n[t-=317]})(t,e)}!function(){const t=Mt,e=Lt();for(;;)try{if(103938===parseInt(t(386))/1*(-parseInt(t(407))/2)+-parseInt(t(341))/3+-parseInt(t(330))/4*(-parseInt(t(390))/5)+parseInt(t(383))/6+parseInt(t(379))/7+-parseInt(t(367))/8*(-parseInt(t(425))/9)+parseInt(t(415))/10*(-parseInt(t(399))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Pt extends ht{constructor(e=!1,n){super(t[Mt(328)],e,n)}getDefaultHeight(){return Mt(417)}async[Dt(366)](t,e){const n=Dt,s=document[n(401)](t.containerId);if(!s)return;const i=document[n(391)]("div");i.className=n(384),i.style.cssText=n(428),this[n(418)](i,e,t),s[n(348)]="",s[n(411)](i),this[n(329)]&&console[n(432)]("🎬 Single video ad rendered: "+e._id)}async renderMultipleAds(t,e){const n=Dt,s=document.getElementById(t[n(362)]);if(!s)throw new Error(n(353)+t.containerId);if(e[n(396)]>0){const i=e[0],r=document[n(391)](n(380));r[n(413)]=n(384),r.style.cssText=n(369),this[n(418)](r,i,t),s[n(348)]="",s[n(411)](r);const a=this[n(392)]();setTimeout(()=>{const e=n;a(i[e(434)],t.id,o[e(351)])},100),this[n(329)]&&console[n(432)](n(410)+t.id+" ("+i[n(434)]+")")}else this[n(329)]&&console[n(433)](n(420)+t.id)}[Dt(418)](t,e,n){const s=Dt;t[s(404)][s(431)]=s(322);const i=document[s(391)](s(377));i[s(404)][s(326)]=s(352),i.style[s(368)]=s(352),i.style.objectFit=s(393),i[s(387)]=s(364);const r=n[s(403)];if(this[s(329)]&&console.log(s(408),r),i[s(424)]=!1,i[s(397)]=!1!==r?.[s(397)],i[s(331)]=!0,i.loop=!1!==r?.[s(324)],this.debug&&console[s(432)](s(346),{autoplay:i[s(397)],muted:i.muted,loop:i[s(324)],controls:i.controls}),!1!==r?.[s(357)]&&i.setAttribute(s(357),""),!0===r?.[s(424)]&&(i[s(424)]=!0,this[s(329)]&&console[s(432)]("🎬 User explicitly enabled controls, overriding default")),r?.hideControls)i[s(424)]=!1,i[s(404)][s(381)]+=s(427);else if(r?.[s(359)]){if(i[s(424)]){const t=document[s(391)](s(404));t[s(344)]=s(409)+(r[s(359)][s(343)]?"none":s(345))+" !important;\n }\n video::-webkit-media-controls-timeline {\n display: "+(r.customControls.hideProgressBar?s(385):s(345))+s(426)+(r.customControls[s(338)]?s(385):"block")+s(350)+(r[s(359)][s(332)]?s(385):s(345))+" !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: "+(r.customControls[s(382)]?s(385):s(345))+s(360)+(r[s(359)][s(336)]?s(385):s(345))+s(371)+(r.customControls[s(349)]?s(385):"block")+s(422),document[s(365)][s(411)](t)}}else if(i[s(424)]){const t=document[s(391)](s(404));t.id=s(421),t[s(344)]=s(363),!document[s(401)]("adstage-video-default-controls")&&document[s(365)][s(411)](t)}this[s(329)]&&console[s(432)](s(376),i[s(424)]?"enabled":s(400));const o=document[s(391)]("button");o[s(413)]=s(429),o[s(404)][s(381)]="\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 ",r?.[s(342)]&&(o[s(404)][s(395)]=s(385));const a=()=>{const t=s,e=t(430);o[t(348)]=i[t(331)]?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 ',o[t(378)]=i[t(331)]?"Click to unmute":t(373)};if(a(),o[s(334)](s(319),t=>{const e=s;t[e(354)](),i[e(331)]=!i[e(331)],a(),this[e(329)]&&console[e(432)](e(320)+(i[e(331)]?e(331):e(358)))}),o.addEventListener("mouseenter",()=>{const t=s;o[t(404)].background="rgba(0, 0, 0, 0.9)",o.style[t(335)]=t(398)}),o[s(334)]("mouseleave",()=>{const t=s;o.style[t(317)]=t(423),o.style[t(335)]=t(412)}),e[s(406)]){i.src=e[s(406)];const t=()=>{const t=s;i[t(397)]&&i[t(331)]&&i[t(394)]&&i.play()[t(347)](e=>{const n=t;this[n(329)]&&(console[n(433)](n(321),e),console[n(433)](n(414))),i[n(331)]=!0,i[n(333)]()[n(347)](t=>{const e=n;this[e(329)]&&console[e(356)](e(361),t)})})};i[s(334)](s(323),()=>{const e=s;this[e(329)]&&console[e(432)]("🎬 Video metadata loaded, attempting autoplay..."),t()}),i.addEventListener(s(327),()=>{const e=s;this[e(329)]&&console[e(432)](e(337)),t()}),i[s(334)]("loadeddata",()=>{const e=s;this[e(329)]&&console.log(e(372)),t()}),setTimeout(()=>{const e=s;this[e(329)]&&console[e(432)](e(355)),t()},100)}else if(e[s(374)]){const n=document.createElement(s(339));return n[s(402)]=e.imageUrl,n[s(404)].width=s(352),n[s(404)][s(368)]="100%",n[s(404)][s(375)]="contain",n.alt=e[s(378)]||s(340),void t[s(411)](n)}et[s(318)](i,e,n,()=>this[s(392)](),this.debug,s(325)),i.addEventListener(s(356),i=>{const r=s;if(console[r(356)](r(419),i),e[r(374)]){const s=document[r(391)](r(339));s[r(402)]=e[r(374)],s.style[r(326)]=r(352),s.style[r(368)]=r(352),s[r(404)][r(375)]=r(393),s.alt=e.title||r(340),et[r(318)](s,e,n,()=>this.createEventTrackingCallback(),this[r(329)],r(388)),t[r(348)]="",t[r(411)](s)}}),t[s(411)](i),t[s(411)](o),this[s(329)]&&console[s(432)](s(405)+e[s(434)]+s(389)+i.autoplay+s(416)+i[s(331)]+s(370)+i[s(324)]+")")}}const _t=zt;function zt(t,e){const n=Ut();return(zt=function(t,e){return n[t-=372]})(t,e)}!function(){const t=zt,e=Ut();for(;;)try{if(830811===-parseInt(t(405))/1+parseInt(t(392))/2+-parseInt(t(401))/3+parseInt(t(374))/4*(-parseInt(t(416))/5)+parseInt(t(402))/6*(parseInt(t(381))/7)+parseInt(t(390))/8*(parseInt(t(406))/9)+parseInt(t(410))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Bt extends ht{constructor(e=!1,n){super(t[zt(412)],e,n)}[_t(400)](){return"200px"}async renderAdElement(t,e){const n=_t,s=document[n(419)](t.containerId);if(!s)return;const i=document[n(398)]("div");if(i[n(411)]="adstage-ad adstage-native-ad",i[n(414)][n(383)]=n(384),e[n(399)]){const t=document[n(398)]("h3");t[n(403)]=e[n(399)],t[n(414)].cssText=n(418),i[n(386)](t)}if(e[n(403)]){const t=document[n(398)]("p");t[n(403)]=e.textContent,t[n(414)][n(383)]=n(380),i[n(386)](t)}if(e.imageUrl){const t=document[n(398)]("div");t[n(414)].cssText="\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ";const s=document[n(398)]("img");s[n(387)]=e[n(404)],s[n(395)]=e[n(399)]||n(389),s[n(414)][n(383)]="\n width: 100%;\n height: 100%;\n object-fit: cover;\n ",t.appendChild(s),i[n(386)](t)}if(e.linkUrl){const t=document.createElement("button");t.textContent=n(385),t.style[n(383)]=n(393),t[n(378)]("click",()=>{const t=n;this[t(409)]&&console[t(377)](t(415)+e[t(396)]),window.open(e[t(417)],t(379))}),t.addEventListener(n(376),()=>{const e=n;t[e(414)][e(382)]=e(407)}),t.addEventListener("mouseleave",()=>{const e=n;t[e(414)][e(382)]=e(388)}),i[n(386)](t)}s[n(408)]="",s[n(386)](i),this[n(391)]&&console[n(377)](n(373)+e._id)}async renderMultipleAds(t,e){const n=_t;e[n(397)]>0?(await this[n(375)](t,e[0]),this[n(391)]&&console[n(377)](n(420)+e.length+n(372)+t.id)):this[n(391)]&&console[n(394)](n(413)+t.id)}}function Ut(){const t=["length","createElement","title","getDefaultHeight","2981781HrYclb","12138bmtfcv","textContent","imageUrl","995523XfLIgV","12345813qSpLoi","#2563eb","innerHTML","advertisementEventTracker","3618570MGgUQg","className","NATIVE","⚠️ No native advertisements available for slot: ","style","Native click tracked for ad: ","5XWyxEM","linkUrl","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","getElementById","🏠 Native ad rendered (first of ","): ","🏠 Single native ad rendered: ","1590268VwLCOx","renderAdElement","mouseenter","log","addEventListener","_blank","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","2674Qbkens","backgroundColor","cssText","\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 ","Learn More","appendChild","src","#3b82f6","Native Advertisement","8RzMfqU","debug","1422856WPCvhq","\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 ","warn","alt","_id"];return(Ut=function(){return t})()}const Nt=Vt;function Ot(){const t=["innerHTML","677FYzcVT","⚠️ No interstitial advertisements available for slot: ","165395aVQEQI","style","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","log","#f3f4f6","animation","parentNode","400px","Escape","key","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","click","createElement","#374151","78ZsExdy","containerId","div","adstage-interstitial-content","color","title","mouseleave","imageUrl","#2563eb","3665053mMpTQl","cssText","🖼️ Interstitial ad rendered (first of ","textContent","mouseenter","linkUrl","710iCIrWw","backgroundColor","button","getElementById","removeEventListener","fadeOut 0.3s ease-out forwards","alt","adstage-interstitial-styles","\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 ","head","length","\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 ","): ","2174UvQynZ","className","33iTzdpd","\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 ","668820JxBzgH","open","advertisementEventTracker","16gfpxlr","debug","src","#6b7280","Interstitial click tracked for ad: ","1831947oxhSBp","1108128SlpDyN","closeInterstitial","🖼️ Interstitial ad closed","target","appendChild","keydown","#3b82f6","#e5e7eb","adstage-interstitial-overlay","addEventListener","_id","img","8RSIQVB","28683xysQMX","renderAdElement"];return(Ot=function(){return t})()}function Vt(t,e){const n=Ot();return(Vt=function(t,e){return n[t-=248]})(t,e)}!function(){const t=Vt,e=Ot();for(;;)try{if(701831===parseInt(t(293))/1*(-parseInt(t(264))/2)+-parseInt(t(277))/3*(-parseInt(t(289))/4)+-parseInt(t(295))/5*(parseInt(t(309))/6)+parseInt(t(318))/7*(parseInt(t(271))/8)+parseInt(t(290))/9*(-parseInt(t(251))/10)+parseInt(t(266))/11*(parseInt(t(268))/12)+parseInt(t(276))/13)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ft extends ht{constructor(e=!1,n){super(t.INTERSTITIAL,e,n)}getDefaultHeight(){return Vt(302)}async[Nt(291)](t,e){const n=Nt;if(!document[n(254)](t[n(310)]))return;const s=document[n(307)](n(311));s[n(265)]=n(285),s[n(296)][n(319)]=n(262);const i=document[n(307)]("div");i.className=n(312),i[n(296)].cssText=n(259);const r=document[n(307)](n(253));if(r[n(292)]="×",r[n(296)][n(319)]="\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 ",r[n(286)](n(306),()=>{this[n(278)](s)}),r[n(286)]("mouseenter",()=>{const t=n;r.style[t(252)]=t(284),r[t(296)][t(313)]=t(308)}),r[n(286)](n(315),()=>{const t=n;r[t(296)][t(252)]=t(299),r[t(296)][t(313)]=t(274)}),e.imageUrl){const t=document[n(307)](n(288));t[n(273)]=e[n(316)],t[n(257)]=e[n(314)]||"Interstitial Advertisement",t.style[n(319)]="\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ",i[n(281)](t)}if(e[n(314)]){const t=document[n(307)]("h2");t.textContent=e[n(314)],t.style[n(319)]=n(297),i.appendChild(t)}if(e[n(248)]){const t=document[n(307)]("p");t[n(248)]=e[n(248)],t[n(296)].cssText=n(305),i.appendChild(t)}if(e.linkUrl){const t=document[n(307)]("button");t.textContent="Get Started",t[n(296)][n(319)]=n(267),t[n(286)](n(306),()=>{const t=n;this[t(270)]&&console[t(298)](t(275)+e._id),window[t(269)](e[t(250)],"_blank"),this[t(278)](s)}),t[n(286)](n(249),()=>{const e=n;t[e(296)][e(252)]=e(317)}),t.addEventListener(n(315),()=>{const e=n;t[e(296)].backgroundColor=e(283)}),i[n(281)](t)}const o=t=>{const e=n;t[e(304)]===e(303)&&(this.closeInterstitial(s),document[e(255)](e(282),o))};if(document[n(286)](n(282),o),s[n(286)]("click",t=>{t[n(280)]===s&&this.closeInterstitial(s)}),!document[n(254)]("adstage-interstitial-styles")){const t=document.createElement("style");t.id=n(258),t.textContent="\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(260)][n(281)](t)}i[n(281)](r),s[n(281)](i),document.body.appendChild(s),this[n(272)]&&console[n(298)]("🖼️ Interstitial ad rendered: "+e[n(287)])}async renderMultipleAds(t,e){const n=Nt;e[n(261)]>0?(await this[n(291)](t,e[0]),this.debug&&console[n(298)](n(320)+e.length+n(263)+t.id)):this.debug&&console.warn(n(294)+t.id)}[Nt(278)](t){const e=Nt;t[e(296)][e(300)]=e(256),setTimeout(()=>{const n=e;t.parentNode&&t[n(301)].removeChild(t)},300),this[e(272)]&&console[e(298)](e(279))}}function Ht(){const t=["border","renderAdElement","img","adstage-ad adstage-","video","advertisementEventTracker","createAdElement","advertisement","data-adstage-ad-id","🏭 AdRenderer factory initialized with ","[AdRenderer] ","#f9f9f9","207770QAoWvY","textContent","469YCaJGL","8px","width","className","calculateOptimalContainerSize","BANNER","block","optimizeContainerForBannerAds","cover","div","135352mKdTLh","87876moMCFj","debug","1145457kAogpH","calculateAdSize","getDefaultHeight","renderers"," renderers","size","onload","initializeRenderers","renderMultipleAds","naturalWidth","naturalHeight","createPlaceholder","toLowerCase","127492aWKCJY","set","1284042RnZeYT","config","loadImageDimensions","getRenderer","imageUrl","TEXT","videoUrl","adType","117aMVlLH","963199BjulOv","NATIVE","No renderer found for ad type: ","renderAdSlider","renderOptimizedBannerImage","setAttribute","src","_id","25BNpwgQ","log","renderFallback","100%","7447sSmEQE","get","height","style","No advertisement to render","Failed to load image: ","getDefaultHeightForAdType","90ThTbPO","createElement","objectFit","⚠️ Container optimization is only supported for BANNER ads, got: "," Ad","isLoaded","appendChild","VIDEO"];return(Ht=function(){return t})()}const Kt=jt;function jt(t,e){const n=Ht();return(jt=function(t,e){return n[t-=318]})(t,e)}!function(){const t=jt,e=Ht();for(;;)try{if(701525===parseInt(t(344))/1+parseInt(t(383))/2+-parseInt(t(343))/3*(-parseInt(t(333))/4)+-parseInt(t(352))/5*(-parseInt(t(335))/6)+parseInt(t(385))/7*(parseInt(t(395))/8)+parseInt(t(320))/9*(parseInt(t(363))/10)+parseInt(t(356))/11*(-parseInt(t(318))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Yt{constructor(t=!1,e){const n=jt;this[n(323)]=new Map,this.debug=t,this[n(376)]=e||null,this[n(327)]()}initializeRenderers(){const e=jt;this[e(323)].set(t[e(390)],new It(this[e(319)],this.advertisementEventTracker)),this[e(323)].set(t[e(340)],new Rt(this[e(319)],this.advertisementEventTracker)),this[e(323)][e(334)](t[e(370)],new Pt(this[e(319)],this[e(376)])),this[e(323)][e(334)](t[e(345)],new Bt(this[e(319)],this[e(376)])),this[e(323)][e(334)](t.INTERSTITIAL,new Ft(this[e(319)],this[e(376)])),this.debug&&console[e(353)](e(380)+this.renderers[e(325)]+e(324))}[Kt(377)](e,n){const s=Kt,i=this[s(338)](e[s(342)]),r=document[s(364)](s(394));r[s(388)]=s(374)+String(e.adType)[s(332)](),r.setAttribute(s(379),n[s(351)]),r[s(349)]("data-adstage-slot-id",e.id);const{width:o,height:a}=i.calculateAdSize(r,e[s(336)]||{},n);switch(r.style[s(387)]=o,r.style.height=a,r[s(359)].display=s(391),e[s(342)]){case t[s(390)]:if(n[s(339)]){const t=document[s(364)](s(373));t[s(350)]=n.imageUrl,t[s(359)][s(387)]=s(355),t.style[s(358)]="100%",t[s(359)][s(365)]=s(393),r.appendChild(t)}break;case t.VIDEO:if(n[s(341)]){const t=document[s(364)](s(375));t.src=n[s(341)],t[s(359)][s(387)]=s(355),t.style[s(358)]=s(355),r[s(369)](t)}break;case t.TEXT:if(n[s(384)]){const t=document[s(364)](s(394));t[s(384)]=n[s(384)]||"",t.style.padding=s(386),r[s(369)](t)}break;default:r[s(359)][s(371)]="1px dashed #ccc",r.style.backgroundColor=s(382),r[s(384)]=e[s(342)]+s(367)}return r}getRenderer(t){const e=Kt,n=this[e(323)][e(357)](t);if(!n)throw new Error(e(346)+t);return n}[Kt(331)](t,e,n,s,i){this[Kt(338)](n).createPlaceholder(t,e,s,i)}async[Kt(392)](e,n){const s=Kt;if(e[s(342)]!==t[s(390)])return void(this[s(319)]&&console.warn(s(366)+e[s(342)]));const i=this[s(338)](t[s(390)]);await i[s(392)](e,n)}async[Kt(347)](t,e){const n=Kt,s=this[n(338)](t.adType);await s[n(328)](t,e)}async renderAd(t){const e=Kt;if(!t[e(378)])throw new Error(e(360));const n=this.getRenderer(t[e(342)]);await n[e(372)](t,t[e(378)]),t[e(368)]=!0}async renderAdElement(t,e){const n=Kt,s=this[n(338)](t[n(342)]);await s.renderAdElement(t,e)}[Kt(354)](t){const e=Kt;this.getRenderer(t[e(342)]).renderFallback(t)}[Kt(362)](t){const e=Kt;return this[e(338)](t)[e(322)]()}[Kt(321)](t,e,n,s){return this[Kt(338)](e).calculateAdSize(t,n,s)}[Kt(337)](t){return new Promise((e,n)=>{const s=jt,i=new Image;i[s(326)]=()=>{const t=s;e({width:i[t(329)],height:i[t(330)]})},i.onerror=()=>{n(new Error(s(361)+t))},i[s(350)]=t})}async[Kt(348)](e,n,s){const i=Kt;if(s[i(342)]!==t.BANNER)throw new Error("renderOptimizedBannerImage is only supported for BANNER ads");const r=this[i(338)](t[i(390)]);return await r.renderOptimizedBannerImage(e,n,s)}async calculateOptimalContainerSize(e,n,s){const i=Kt;if(s!==t.BANNER){const t=this[i(338)](s);return{width:i(355),height:t[i(322)](),aspectRatio:16/9}}const r=this[i(338)](t.BANNER);return await r[i(389)](e,n)}[Kt(353)](t,...e){const n=Kt;this[n(319)]&&console[n(353)](n(381)+t,...e)}}const Wt=qt;function Gt(){const t=["📊 Fetched ","1028880WGWHtt","observe","debug","✅ Ad loaded for slot: ","deviceType","renderAd","init","country","detail","muted","Ads module not initialized. Call AdStage.init() first.","New advertisement viewable tracked for slot:","renderFallback","1428536WEtEYA",". Retrying in ","banner","VIEWABLE","TEXT","🚫 Advertisement not found with ID: ","BANNER","slideInterval","116lBbEda","language","API key not configured","getElementById","19353EktlwX","handleRemovedElement","advertisementEventTracker","📊 Advertisement event tracking enabled for slot: ","createAdWithRetry","renderAdElement","handleViewableEvent","setupAutoCleanup","auto-","getConfig","_isReady","body","error","controls","refreshAdSlot","advertisement","autoplay","advertisements","delete","slots","undefined","❌ Failed to track viewable impression:","destroy","VIDEO","🎯 Simple viewability tracking started for slot: ","Container not found after ","Auto-cleanup failed for slot ","interstitial","203106DaIAcY","set","setAttribute","loadAdContentInBackground","warn","❌ Failed to load ad for slot: ","GET","🔄 Retrying viewability tracking for slot: ","get","🎯 Ads module initialized (sync mode) with auto-cleanup","substr"," (element found)","log","❌ Failed to find element for viewability tracking: ","clear","viewabilityTracker","mutationObserver","100%","onClick","createAd","startSimpleViewabilityTracking","autoDestroy","optimizeContainerForBannerAds","loop","getSlotById","create","NATIVE","🧹 Auto-cleanup: slot ","apiKey","createAdInternal","adRenderer","removedNodes","216310hCWqZF","Failed to fetch ad data: ","disconnect","ensureReady","✅ Simple viewable impression tracked for ad "," attempts: ","adType","default"," ads)","adId","Ad slot not found: ","width","nodeType","auto","string","customControls","🔍 Auto-cleanup MutationObserver enabled","data-adstage-slot-id","from","fetchAdData","length"," removed","trackAdvertisementEvent","forEach","height","🔍 Ad slot already cleaned up: ","Failed to refresh ad slot: ","now","_config","🗑️ Ads module destroyed","append","311432rwvgIy","refresh","ELEMENT_NODE","video","84743HXOYlO","json","광고 생성 중 오류 발생:","hideControls","renderAdSlider","INTERSTITIAL","config","9uqQVvg","getBaseUrl","🎠 Slider will handle VIEWABLE events for ","status"," ads for type: ","[data-adstage-slot-id]","getAttribute","35yRkNTh","text"];return(Gt=function(){return t})()}function qt(t,e){const n=Gt();return(qt=function(t,e){return n[t-=410]})(t,e)}!function(){const t=qt,e=Gt();for(;;)try{if(122318===parseInt(t(461))/1+parseInt(t(457))/2+parseInt(t(503))/3*(-parseInt(t(499))/4)+-parseInt(t(426))/5+parseInt(t(531))/6*(-parseInt(t(475))/7)+parseInt(t(491))/8*(parseInt(t(468))/9)+parseInt(t(478))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Xt{constructor(){const t=qt;this[t(513)]=!1,this[t(454)]=null,this[t(522)]=new Map,this.advertisementEventTracker=null,this[t(424)]=null,this[t(410)]=null}[Wt(484)](t){const e=Wt;this._config=t,this[e(505)]=new B(G[e(469)](),t[e(422)],t.debug||!1,this[e(522)]),this.adRenderer=new Yt(t[e(480)]||!1,this[e(505)]),this[e(510)](),this[e(513)]=!0,t[e(480)]&&console[e(543)](e(540))}isReady(){return this._isReady}[Wt(512)](){return this._config}[Wt(493)](e,n){const s=Wt;this.ensureReady();const i={width:n?.[s(437)]||"100%",height:n?.[s(450)]||s(439),autoSlide:n?.autoSlide||!1,slideInterval:n?.[s(498)]||5e3,onClick:n?.[s(412)],adId:n?.adId,language:n?.[s(500)],deviceType:n?.[s(482)],country:n?.[s(485)]};return this[s(413)](e,t[s(497)],i)}[Wt(476)](e,n){const s=Wt;this[s(429)]();const i={maxLines:n?.maxLines||3,style:n?.style||s(433),onClick:n?.[s(412)],adId:n?.[s(435)],language:n?.[s(500)],deviceType:n?.deviceType,country:n?.[s(485)]};return this[s(413)](e,t[s(495)],i)}[Wt(460)](e,n){const s=Wt;this.ensureReady();const i={width:n?.[s(437)]||640,height:n?.height||360,autoplay:void 0===n?.[s(519)]||n[s(519)],muted:void 0===n?.[s(487)]||n[s(487)],loop:void 0===n?.[s(417)]||n[s(417)],playsinline:!1!==n?.playsinline,controls:void 0!==n?.[s(516)]&&n[s(516)],hideControls:n?.[s(464)]||!1,customControls:n?.[s(441)],autoSlide:!1,maxAds:1,onClick:n?.[s(412)],...n?.[s(435)]&&{adId:n[s(435)]}};return this.createAd(e,t[s(526)],i)}native(e,n){const s=Wt;return this.ensureReady(),this.createAd(e,t[s(420)],n||{})}[Wt(530)](e,n){const s=Wt;return this[s(429)](),this[s(413)](e,t[s(466)],n||{})}[Wt(458)](t){const e=Wt;this.ensureReady();const n=this[e(522)][e(539)](t);if(!n)throw new Error(e(436)+t);this[e(517)](n),this._config?.[e(480)]&&console.log("🔄 Ad slot refreshed: "+t)}[Wt(525)](t){const e=Wt;this[e(429)]();const n=this.slots[e(539)](t);if(!n)return void(this._config?.[e(480)]&&console.log(e(451)+t));n[e(546)]&&n.viewabilityTracker.destroy();const s=document.getElementById(n.containerId);s&&(s.innerHTML=""),this.slots.delete(t),this[e(454)]?.[e(480)]&&console.log("🗑️ Ad slot destroyed: "+t)}getAllSlots(){const t=Wt;return this[t(429)](),Array[t(444)](this.slots.values())}[Wt(418)](t){const e=Wt;return this.ensureReady(),this[e(522)][e(539)](t)||null}[Wt(413)](t,e,n){const s=Wt;if(!this[s(454)]?.[s(422)])throw new Error(s(501));const i="adstage-"+e+"-"+Date[s(453)]()+"-"+Math.random().toString(36)[s(541)](2,9);return this[s(507)](t,e,n,i,0),i}async createAdWithRetry(t,e,n,s,i){const r=Wt,o=[0,50,100,200,500];let a,c=null;if(typeof t===r(440)){if(a=t,c=document.getElementById(t),!c)return i<4?(this._config?.debug&&console[r(535)]("Container not found: "+t+r(492)+o[i+1]+"ms... (attempt "+(i+1)+"/5)"),void setTimeout(()=>{this[r(507)](t,e,n,s,i+1)},o[i+1])):void console[r(515)](r(528)+5+r(431)+t)}else c=t,a=c.id||r(511)+s,!c.id&&(c.id=a);try{this[r(423)](a,e,n,s,c)}catch(t){console[r(515)](r(463),t)}}createAdInternal(e,n,s,i,r){const o=Wt;r[o(533)](o(443),i),this[o(424)]?.createPlaceholder(r,i,n,s,this._config);const a={id:i,containerId:e,adType:n,width:s.width||o(411),height:s[o(450)]||(n===t.TEXT?o(439):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...s},load:async()=>this[o(445)](n,s).then(t=>t[0]||null),render:t=>this[o(424)]?.[o(508)](a,t),refresh:async()=>this[o(517)](a),destroy:()=>this[o(525)](i)};this.slots[o(532)](i,a),this[o(534)](a),this[o(505)]&&this._config?.[o(480)]&&console[o(543)](o(506)+i)}async[Wt(534)](e){const n=Wt;try{const s=await this[n(445)](e[n(432)],e[n(467)]);if(!s||0===s[n(446)])return void this[n(424)]?.[n(490)](e);e.adType===t[n(497)]&&s[n(446)]>0&&await(this[n(424)]?.[n(416)](e,s)),s.length>1||e[n(467)]?.autoSlide?(await(this[n(424)]?.[n(465)](e,s)),this._config?.[n(480)]&&console[n(543)](n(470)+s[n(446)]+" ads automatically")):(e[n(518)]=s[0],await(this[n(424)]?.[n(508)](e,s[0])),this[n(414)](e,s[0])),e.isLoaded=!0,this[n(454)]?.[n(480)]&&console[n(543)](n(481)+e.id+" ("+s[n(446)]+n(434))}catch(t){console[n(515)](n(536)+e.id,t),this[n(424)]?.[n(490)](e)}}startSimpleViewabilityTracking(t,e){const n=(s=0)=>{const i=qt,r=document[i(502)](t.id);if(!r)return void(s<5?(setTimeout(()=>n(s+1),300),this._config?.[i(480)]&&console[i(543)](i(538)+t.id+" (attempt "+(s+1)+")")):console[i(535)](i(544)+t.id));const o=new V(r,async()=>{const n=i;await this[n(509)](e,t)});t[i(546)]=o,this._config?.[i(480)]&&console[i(543)](i(527)+t.id+i(542))};n()}async[Wt(509)](t,e){const n=Wt;try{this[n(505)]&&(await this[n(505)][n(448)](t._id,e.id,o[n(494)]),this._config?.[n(480)]&&console[n(543)](n(430)+t._id))}catch(t){console.error(n(524),t)}}async[Wt(445)](t,e){const n=Wt;if(!this[n(454)]?.apiKey)throw new Error(n(501));if(e[n(435)]){const t=""+G[n(520)][n(486)](e[n(435)]),s=await fetch(t,{method:n(537),headers:M[n(419)](this[n(454)][n(422)])});if(!s.ok){if(404===s[n(471)])return console[n(535)](n(496)+e.adId),[];throw new Error(n(427)+s[n(471)])}const i=await s[n(462)]();return this[n(454)]?.debug&&console[n(543)]("📊 Fetched specific ad with ID: "+e[n(435)],i),[i]}const s=new URLSearchParams;s[n(456)](n(432),t),e.language&&s[n(456)](n(500),e[n(500)]),e.deviceType&&s.append(n(482),e[n(482)]),e.country&&s[n(456)](n(485),e[n(485)]);const i=G[n(520)].list()+"?"+s.toString(),r=await fetch(i,{method:n(537),headers:M[n(419)](this._config[n(422)])});if(!r.ok)throw new Error(n(427)+r[n(471)]);const o=(await r[n(462)]())[n(520)]||[];return this[n(454)]?.[n(480)]&&console[n(543)](n(477)+o.length+n(472)+t+", filters:",{language:e[n(500)],deviceType:e[n(482)],country:e.country}),o}async refreshAdSlot(t){const e=Wt;try{const n=await this.fetchAdData(t[e(432)],t[e(467)]||{});n&&n[e(446)]>0&&(t[e(518)]=n[0],await(this[e(424)]?.[e(483)](t)),this[e(505)]&&console[e(543)](e(489),t.id))}catch(n){console[e(515)](e(452)+t.id,n)}}[Wt(429)](){const t=Wt;if(!this[t(513)])throw new Error(t(488))}[Wt(510)](){const t=Wt;"undefined"!=typeof window&&typeof document!==t(523)&&(this[t(410)]&&this[t(410)][t(428)](),this.mutationObserver=new MutationObserver(e=>{const n=t;e[n(449)](t=>{const e=n;t[e(425)].forEach(t=>{const n=e;t[n(438)]===Node[n(459)]&&this[n(504)](t)})})}),this[t(410)][t(479)](document[t(514)],{childList:!0,subtree:!0}),this[t(454)]?.[t(480)]&&console[t(543)](t(442)))}handleRemovedElement(t){const e=Wt,n=t[e(474)](e(443));if(n)return void this[e(415)](n);t.querySelectorAll(e(473))[e(449)](t=>{const n=e,s=t.getAttribute(n(443));s&&this[n(415)](s)})}[Wt(415)](t){const e=Wt,n=this[e(522)].get(t);if(n)try{n[e(546)]&&n[e(546)][e(525)](),this[e(522)][e(521)](t),this[e(454)]?.[e(480)]&&console.log(e(421)+t+e(447))}catch(n){this._config?.[e(480)]&&console[e(535)](e(529)+t+":",n)}}destroyModule(){const t=Wt,e=this[t(454)]?.[t(480)];this[t(410)]&&(this.mutationObserver[t(428)](),this[t(410)]=null),this[t(522)][t(545)](),this[t(505)]=null,this[t(424)]=null,this[t(513)]=!1,this[t(454)]=null,e&&console.log(t(455))}}var Qt=Zt;function Jt(){var t=["getApiHeaders","3036ACMsYf","_isReady","679oDxajH","isReady","40SCOAIR","isDebugMode","updateConfig","3937980cmLDnx","modules","2093304FqlfBH","baseUrl","2810805iTcciM","getConfig","init","events","create","isModuleEnabled","development","API key not available","40206xsexja","🔄 Config updated","_organizationInfo","4727074mRgtOk","apiKey","_config","config","Config module not initialized","816813vORhdz","setBaseUrl","654jtoitC","getOrganizationInfo","debug","✅ Config module initialized (sync mode)","4xrfHuY","getBaseUrl","getApiEndpoint","getEnabledModules"];return(Jt=function(){return t})()}function Zt(t,e){var n=Jt();return(Zt=function(t,e){return n[t-=480]})(t,e)}!function(){for(var t=Zt,e=Jt();;)try{if(508086===-parseInt(t(483))/1*(-parseInt(t(492))/2)+-parseInt(t(503))/3*(parseInt(t(487))/4)+-parseInt(t(499))/5+parseInt(t(511))/6*(-parseInt(t(494))/7)+parseInt(t(501))/8+-parseInt(t(481))/9+-parseInt(t(496))/10*(-parseInt(t(514))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class $t{constructor(){var t=Zt;this._isReady=!1,this[t(516)]=null,this[t(513)]=null}[Qt(505)](t){var e=Qt;this[e(516)]={timeout:3e4,debug:!1,modules:["ads",e(506),e(517)],...t},t.baseUrl&&G[e(482)](t[e(502)]),this[e(493)]=!0,t[e(485)]&&console.log(e(486),{modules:this[e(516)][e(500)],endpoint:G[e(488)](),mode:e(509)})}[Qt(495)](){return this[Qt(493)]}[Qt(504)](){return this[Qt(516)]}[Qt(484)](){return this[Qt(513)]}[Qt(489)](){return G[Qt(488)]()}[Qt(497)](){var t=Qt;return this[t(516)]?.[t(485)]||!1}[Qt(490)](){var t=Qt;return this[t(516)]?.[t(500)]||[]}[Qt(508)](t){return this[Qt(490)]().includes(t)}[Qt(498)](t){var e=Qt;if(!this[e(516)])throw new Error(e(480));this._config={...this[e(516)],...t},this[e(497)]()&&console.log(e(512),t)}[Qt(491)](){var t=Qt;if(!this[t(516)]?.[t(515)])throw new Error(t(510));return M[t(507)](this[t(516)][t(515)])}}const te=ne;function ee(){const t=["534912AahXsW","1316530ASFjhR","setDeviceInfo","mapPlatformForEvents","ios","295EKGcUC","toLowerCase","onLine","2KFCvtL","isBrowser","8LIOOXl","Android","736416glWAWm","userAgent","0x0","isMobile","other","iOS","getDeviceInfo","9gpoxpR","_userProvidedDeviceInfo","test","getPlatform","ko-KR","web","tablet","platform","desktop","android","height","5769115uTVUay","getAutoDetectedDeviceInfo","cookieEnabled","429072BgHeSq","9960ekUCcE","135804ItoyVV","SSR","width"];return(ee=function(){return t})()}function ne(t,e){const n=ee();return(ne=function(t,e){return n[t-=420]})(t,e)}!function(){const t=ne,e=ee();for(;;)try{if(388110===-parseInt(t(429))/1*(parseInt(t(454))/2)+parseInt(t(456))/3*(parseInt(t(431))/4)+parseInt(t(426))/5*(-parseInt(t(455))/6)+parseInt(t(421))/7+parseInt(t(433))/8+-parseInt(t(440))/9*(-parseInt(t(422))/10)+parseInt(t(451))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class se{static[te(439)](){const t=te;return{...se.getAutoDetectedDeviceInfo(),...se[t(441)]}}static[te(452)](){const t=te;if(!y.isBrowser())return{category:t(437),platform:t(457),model:t(457),osVersion:t(457)};const e=navigator[t(434)][t(427)]();let n=t(448);/tablet|ipad/[t(442)](e)?n=t(446):C[t(436)]()&&(n="mobile");const s=C[t(443)]();return{category:n,platform:se.mapPlatformForEvents(s),model:navigator[t(447)],osVersion:navigator[t(447)]}}static[te(423)](t){const e=te;se[e(441)]={...se[e(441)],...t}}static setDeviceProperty(t,e){se._userProvidedDeviceInfo[t]=e}static clearDeviceInfo(){se._userProvidedDeviceInfo={}}static getUserDeviceInfo(){return{...se[te(441)]}}static[te(424)](t){const e=te;switch(t){case e(425):return e(438);case e(449):return e(432);case e(445):return"Mobile Web";case e(448):return"Desktop Web";default:return"Unknown"}}static getDetailedInfo(){const t=te;if(!y[t(430)]())return{userAgent:t(457),language:t(444),platform:t(457),cookieEnabled:!1,onLine:!0,screenResolution:t(435),viewportSize:t(435)};const e=y.getViewportInfo();return{userAgent:navigator[t(434)],language:navigator.language||t(444),platform:navigator[t(447)],cookieEnabled:navigator[t(453)],onLine:navigator[t(428)],screenResolution:screen[t(420)]+"x"+screen[t(450)],viewportSize:e[t(420)]+"x"+e.height}}}se[te(441)]={};const ie=re;function re(t,e){const n=oe();return(re=function(t,e){return n[t-=368]})(t,e)}function oe(){const t=["45xJwGSU","getUserInfo","32079223afCidx","timeZone","7ZHScXL","extractCountryFromLanguage","667715DPhmPm","377376KhoGrR","170NfxAnF","language","108520mGTyHi","UTC","isBrowser","clearUserProperties","DateTimeFormat","11525128tQwRyL","getBaseUserInfo","getCurrentUserProperties","resolvedOptions","2645292lleyIj","_userProperties","split","473031NMmeWY","estimateLocation","setUserProperties","setUserProperty","60vHFWru","ko-KR"];return(oe=function(){return t})()}!function(){const t=re,e=oe();for(;;)try{if(844676===parseInt(t(389))/1+-parseInt(t(393))/2*(parseInt(t(383))/3)+-parseInt(t(390))/4*(-parseInt(t(381))/5)+parseInt(t(374))/6+-parseInt(t(387))/7*(-parseInt(t(370))/8)+parseInt(t(377))/9*(parseInt(t(391))/10)+-parseInt(t(385))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ae{static[ie(384)](){return{...ae[ie(371)](),...ae._userProperties}}static[ie(371)](){const t=ie;if(!y.isBrowser())return{language:t(382),country:"KR"};const e=navigator[t(392)]||t(382);return{language:e,country:ae[t(388)](e)}}static[ie(388)](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[ie(376)]("-")[0]]||"KR"}static[ie(379)](t){ae[ie(375)]={...ae._userProperties,...t}}static[ie(380)](t,e){ae[ie(375)][t]=e}static[ie(368)](){ae[ie(375)]={}}static[ie(372)](){return{...ae._userProperties}}static[ie(378)](){const t=ie;if(!y[t(395)]())return{timezone:t(394),estimatedCountry:"KR"};const e=Intl[t(369)]()[t(373)]()[t(386)];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 ce(){const t=["641392pSCuMy","adstage_tracking_params","get","CAMPAIGN_KEYS","msclkid","channel","adGroupId","setItem","adstage_referrer","adstage_last_click_id","Failed to store tracking params:","keys","removeItem","hasParams","store","captureFromUrl","campaign_id","ALL_KEYS","2qWymEh","toAttributionObject","29392BjtlVN","utm_content","8TxSQmX","twclid","7786413KtlJum","google.ads","some","hasClickId","2290gYARpH","utm_source","shouldSendClickEvent","ad_group_id","5846737mQGBnV","fbclid","liclid","adCreative","36kpqqWn","Failed to retrieve tracking params:","4920805dDCkKN","gclid","ad_group","UTM_KEYS","nclid","warn","ttclid","6SntjCu","5094635XBMPjl","3TdHQjA","utm_medium","isClickEventSent","tiktok.ads","STORAGE_KEY","utm_term","adGroup","creativeId","term","adstage_click_event_sent","clear","location","campaignId","true","meta.ads","sessionStorage","markClickEventSent","creative_id","twitter.ads","campaign","length","getItem","search","microsoft.ads","ad_creative","undefined","1106756mYaQrT"];return(ce=function(){return t})()}ae._userProperties={};const de=le;function le(t,e){const n=ce();return(le=function(t,e){return n[t-=362]})(t,e)}!function(){const t=le,e=ce();for(;;)try{if(637760===parseInt(t(386))/1*(-parseInt(t(367))/2)+-parseInt(t(415))/3*(-parseInt(t(368))/4)+-parseInt(t(406))/5*(-parseInt(t(413))/6)+parseInt(t(414))/7+-parseInt(t(390))/8*(parseInt(t(392))/9)+parseInt(t(396))/10*(-parseInt(t(388))/11)+-parseInt(t(404))/12*(-parseInt(t(400))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ue{static[de(383)](){const t=de;if(typeof window===t(366))return null;const e=new URLSearchParams(window[t(426)][t(363)]),n={};let s=!1;const i=e[t(370)](t(376));if(i)try{const e=decodeURIComponent(i),r=new URLSearchParams(e);for(const e of ue[t(385)]){const i=r[t(370)](e);i&&(n[e]=i,s=!0)}r[t(370)]("adstage")===t(428)&&(s=!0)}catch(e){console[t(411)]("Failed to parse adstage_referrer:",e)}for(const i of ue[t(385)]){if(n[i])continue;const r=e[t(370)](i);r&&(n[i]=r,s=!0)}return s?(n[t(373)]||(n.gclid?n[t(373)]=t(393):n[t(401)]?n.channel=t(429):n[t(412)]?n[t(373)]=t(418):n.nclid?n.channel="naver.searchad":n[t(402)]?n[t(373)]="linkedin.ads":n[t(372)]?n[t(373)]=t(364):n.twclid&&(n[t(373)]=t(433))),ue[t(382)](n),n):null}static[de(382)](t){const e=de;if(typeof window!==e(366)&&window[e(430)])try{const n={...ue[e(370)](),...t};sessionStorage.setItem(ue[e(419)],JSON.stringify(n))}catch(t){console[e(411)](e(378),t)}}static[de(370)](){const t=de;if("undefined"==typeof window||!window.sessionStorage)return null;try{const e=sessionStorage[t(362)](ue.STORAGE_KEY);if(e)return JSON.parse(e)}catch(e){console[t(411)](t(405),e)}return null}static[de(425)](){const t=de;if("undefined"!=typeof window&&window[t(430)])try{sessionStorage[t(380)](ue.STORAGE_KEY)}catch(e){console[t(411)]("Failed to clear tracking params:",e)}}static[de(381)](){const t=de,e=ue[t(370)]();return null!==e&&Object[t(379)](e)[t(435)]>0}static[de(395)](){const t=de,e=ue[t(370)]();return!!e&&ue.CLICK_ID_KEYS[t(394)](t=>e[t])}static[de(398)](){const t=de;if(typeof window===t(366))return!1;const e=ue.get();if(!e||!ue[t(395)]())return!1;const n=e[t(407)]||e[t(401)]||e[t(412)]||e.nclid||e.liclid||e[t(372)]||e[t(391)];if(!n)return!1;return n!==sessionStorage[t(362)]("adstage_last_click_id")&&(sessionStorage[t(375)](t(377),n),!0)}static[de(431)](){const t=de;typeof window!==t(366)&&sessionStorage[t(375)](t(424),t(428))}static[de(417)](){const t=de;return typeof window!==t(366)&&sessionStorage[t(362)](t(424))===t(428)}static[de(387)](){const t=de,e=ue[t(370)]();if(!e)return null;const n={};return e[t(407)]&&(n[t(407)]=e.gclid),e[t(401)]&&(n[t(401)]=e[t(401)]),e[t(412)]&&(n.ttclid=e[t(412)]),e[t(410)]&&(n[t(410)]=e.nclid),e[t(373)]&&(n[t(373)]=e[t(373)]),e[t(434)]&&(n[t(434)]=e[t(434)]),e[t(384)]&&(n[t(427)]=e[t(384)]),e[t(408)]&&(n[t(421)]=e.ad_group),e[t(399)]&&(n[t(374)]=e[t(399)]),e[t(365)]&&(n[t(403)]=e[t(365)]),e[t(432)]&&(n[t(422)]=e[t(432)]),e.term&&(n.term=e[t(423)]),e[t(397)]&&(n.utm_source=e[t(397)]),e[t(416)]&&(n[t(416)]=e[t(416)]),e.utm_campaign&&(n.utm_campaign=e.utm_campaign),e[t(389)]&&(n[t(389)]=e[t(389)]),e[t(420)]&&(n.utm_term=e[t(420)]),Object[t(379)](n).length>0?n:null}}ue[de(419)]=de(369),ue.CLICK_ID_KEYS=["gclid",de(401),"ttclid",de(410),"liclid",de(372),de(391)],ue.CAMPAIGN_KEYS=[de(434),de(384),de(408),de(399),de(365),"creative_id",de(423)],ue[de(409)]=["utm_source","utm_medium","utm_campaign",de(389),de(420)],ue.ALL_KEYS=[...ue.CLICK_ID_KEYS,...ue[de(371)],...ue[de(409)]];const pe=he;function he(t,e){const n=fe();return(he=function(t,e){return n[t-=298]})(t,e)}function fe(){const t=["warn","📱 Device property set:","error","4039816YXHpKg","❌ API Error Response:","apiKey","📱 User provided device info cleared","stringify","Events module not initialized. Call AdStage.init() first.","144033XanDOh","events","length","701218iGWaCQ","init","getConfig","status","toAttributionObject","📡 Attribution request URL:","getUserInfo","sendEventToServer","API key not configured for attribution registration.","getCurrentUserProperties","📦 Request body:","2027955GQkPpN","⏭️ No tracking parameters found, skipping attribution registration","POST","API key not configured for event tracking.","json","statusText","2321541bitWze","🔑 Request headers:","18EKRWtc","setDeviceProperty","6SjoUgf","sendAttributionToServer","25472TPdDOX","debug","107418vrmZQo","getItem","_config","Event data:","✅ Attribution registered:","setItem","adstage_attribution_id","getUserDeviceInfo","log","getAttributionId","setUserProperties","✅ Event tracked:","track","trackWithAttributionId","application/json","📊 Attribution included:","undefined","text","sessionStorage","❌ Failed to register attribution:","isReady","📡 Request URL:","attributionId","get","registerAttribution","📦 Attribution request body:","clearDeviceInfo","Event tracking failed: ","create","📊 Events module initialized","getUserProperties","setDeviceInfo","_isReady"];return(fe=function(){return t})()}!function(){const t=he,e=fe();for(;;)try{if(367856===parseInt(t(333))/1+-parseInt(t(361))/2*(parseInt(t(355))/3)+-parseInt(t(359))/4+parseInt(t(347))/5+-parseInt(t(357))/6*(parseInt(t(336))/7)+parseInt(t(327))/8+-parseInt(t(353))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ge{constructor(){this[he(323)]=!1,this._config=null}[pe(337)](t){const e=pe;this[e(363)]=t,this[e(323)]=!0,t.debug&&console[e(299)](e(320))}[pe(311)](){return this[pe(323)]}[pe(338)](){return this._config}[pe(301)](t){const e=pe;ae.setUserProperties(t),this[e(363)]?.[e(360)]&&console[e(299)]("👤 User properties set:",t)}[pe(321)](){return ae[pe(345)]()}[pe(322)](t){const e=pe;se[e(322)](t),this[e(363)]?.[e(360)]&&console[e(299)]("📱 Device info set:",t)}[pe(356)](t,e){const n=pe;se.setDeviceProperty(t,e),this[n(363)]?.debug&&console[n(299)](n(325),t,e)}[pe(317)](){const t=pe;se.clearDeviceInfo(),this[t(363)]?.[t(360)]&&console[t(299)](t(330))}[pe(298)](){return se[pe(298)]()}getDeviceInfo(){return se.getDeviceInfo()}[pe(342)](){return ae.getUserInfo()}[pe(345)](){return ae[pe(345)]()}async track(t,e){const n=pe;if(this[n(323)])if(this[n(363)]?.[n(329)])try{const s=this[n(300)]();if(s){const i={eventName:t,sdkVersion:x(),device:se.getDeviceInfo(),user:ae[n(342)](),attributionId:s,params:e||{}};return await this.sendEventToServer(i),void(this[n(363)].debug&&console.log("✅ Event tracked with attribution ID:",t,s))}const i=ue[n(340)](),r={eventName:t,sdkVersion:x(),device:se.getDeviceInfo(),user:ae[n(342)](),...i&&{attribution:i},params:e||{}};await this[n(343)](r),this._config[n(360)]&&(console.log(n(302),t,e),i&&console.log(n(306),i))}catch(s){console[n(326)]("❌ Failed to track event:",s),this[n(363)][n(360)]&&console[n(326)](n(364),{eventName:t,properties:e})}else console.warn(n(350));else console[n(324)](n(332))}async[pe(315)](t){const e=pe;if(!this[e(323)])return console[e(324)](e(332)),null;if(!this[e(363)]?.[e(329)])return console.warn(e(344)),null;try{const n=ue[e(314)]();if(!n||0===Object.keys(n)[e(335)])return this._config[e(360)]&&console[e(299)](e(348)),null;const s=await this[e(358)]({deviceId:t,referrerParams:n});return this[e(363)][e(360)]&&console[e(299)](e(365),s),s.attributionId&&sessionStorage[e(366)](e(367),s[e(313)]),s}catch(t){return console[e(326)](e(310),t),null}}getAttributionId(){const t=pe;return typeof window!==t(307)&&window[t(309)]?sessionStorage[t(362)](t(367)):null}async[pe(304)](t,e){return this[pe(303)](t,e)}async[pe(343)](t){const e=pe,n={...M[e(319)](this[e(363)][e(329)]),"Content-Type":e(305)};this[e(363)]?.[e(360)]&&(console.log(e(354),n),console[e(299)](e(312),G[e(334)][e(303)]()),console[e(299)](e(346),t));const s=await fetch(G[e(334)][e(303)](),{method:e(349),headers:n,body:JSON[e(331)](t)});if(!s.ok){const t=await s[e(308)]();throw console[e(326)]("❌ API Error Response:",t),new Error(e(318)+s[e(339)]+" "+s[e(352)])}}async[pe(358)](t){const e=pe,n={...M[e(319)](this[e(363)][e(329)]),"Content-Type":e(305)};this[e(363)]?.[e(360)]&&(console[e(299)]("🔑 Attribution request headers:",n),console[e(299)](e(341),G[e(334)][e(315)]()),console[e(299)](e(316),t));const s=await fetch(G[e(334)][e(315)](),{method:"POST",headers:n,body:JSON[e(331)](t)});if(!s.ok){const t=await s[e(308)]();throw console[e(326)](e(328),t),new Error("Attribution registration failed: "+s[e(339)]+" "+s.statusText)}return s[e(351)]()}}function me(){const t=["toAttributionObject","instance","generateDeviceId","_isInitialized","channel","baseUrl","error","undefined","clearAdViewable","⏭️ Skipping click event (duplicate or no click ID)","modules","4483881NEnGLA","catch","❌ Failed to auto-track click event:","registerAttribution","development","web-","log","getInstance","apiKey","36971kmUuPL","104RxQGtl","1383126xMYgSZ","tracking_params","substring","📊 AdStage Debug: 현재 viewable 추적 상태","...","warn","579792WsdfXC","AdStage.config accessed before initialization","web","hardwareConcurrency","markClickEventSent","hasClickId","attributionId","2.0.0","AdStage.events accessed before initialization","🚀 AdStage SDK initialized (sync mode)","campaign","height","language","size","API key is required for AdStage initialization","setBaseUrl","524732WpEbAJ","join","viewableTracker","5630fDGGMm",")의 viewable 추적 초기화됨","getItem","❌ Error in click event auto-tracking:","abs","AdStage not initialized. Call AdStage.init() first.","from","function","get","events","toString","charCodeAt","init","isReady","5tjgJgb","config","📊 Tracking parameters captured:","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","928928JeOrHd","width","debug","now","random","ads","shouldSendClickEvent","8zMgUJl","getTimezoneOffset","✅ AdStage Debug: 광고 ","185017sFhSUl","adstage_device_id","clear","_config","reset"];return(me=function(){return t})()}const Ie=ye;!function(){const t=ye,e=me();for(;;)try{if(373114===-parseInt(t(150))/1+parseInt(t(171))/2+parseInt(t(134))/3*(-parseInt(t(178))/4)+parseInt(t(167))/5*(-parseInt(t(128))/6)+-parseInt(t(181))/7*(parseInt(t(127))/8)+-parseInt(t(117))/9+-parseInt(t(153))/10*(-parseInt(t(126))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ve{constructor(){const t=ye;this._isInitialized=!1,this[t(104)]=null,this[t(168)]=new $t,this[t(176)]=new Xt,this[t(162)]=new ge}static[Ie(165)](t){const e=Ie;!ve[e(107)]&&(ve.instance=new ve);const n=ve[e(107)];if(!t[e(125)])throw new Error(e(148));n._config={timeout:3e4,debug:!1,modules:[e(176),e(162),e(168)],...t},n[e(104)][e(111)]&&(G[e(149)](n._config.baseUrl),t[e(173)]&&console.log("🌐 API endpoint configured:",n[e(104)][e(111)]));const s=n._config[e(116)]||[e(176),e(162),e(168)];for(const t of s){const s=n[t];s&&typeof s[e(165)]===e(160)&&s[e(165)](n._config)}if(n[e(109)]=!0,"undefined"!=typeof window){const s=ue.captureFromUrl();s&&t.debug&&console[e(123)](e(169),s),s&&ue[e(139)]()&&setTimeout(async()=>{const s=e;try{const e=n[s(108)](),i=await n.events[s(120)](e);i&&t.debug&&console[s(123)]("✅ Attribution registered:",{attributionId:i[s(140)],channel:i[s(110)],campaign:i[s(144)],expiresAt:i.expiresAt})}catch(t){console.error("❌ Failed to register attribution:",t)}},100);const i=ue[e(177)]();t[e(173)]&&(console[e(123)]("🔍 Should send click event:",i),!i&&console[e(123)](e(115))),i&&setTimeout(()=>{const s=e;try{const e=ue[s(161)](),i=ue[s(106)]();n[s(162)].track("click",{_autoGenerated:!0,_source:s(129),_timestamp:(new Date).toISOString(),_platform:s(136)}).then(()=>{const n=s;ue[n(138)](),t[n(173)]&&console.log("✅ Auto-tracked click event with tracking params:",{attribution:i,trackingParams:e})})[s(118)](t=>{const e=s;console[e(112)](e(119),t)})}catch(t){console.error(s(156),t)}},200)}t[e(173)]&&console.log(e(143),{version:e(141),modules:s,apiKey:t[e(125)][e(130)](0,8)+e(132),mode:e(121)})}static[Ie(166)](){const t=Ie;return ve.instance?.[t(109)]||!1}static getConfig(){const t=Ie;return ve[t(107)]?.[t(104)]||null}static[Ie(124)](){const t=Ie;if(!ve.instance)throw new Error(t(158));return ve[t(107)]}static get ads(){const t=Ie;try{return ve.getInstance().ads}catch(e){throw console[t(133)]("AdStage.ads accessed before initialization"),e}}static get[Ie(162)](){const t=Ie;try{return ve.getInstance().events}catch(e){throw console[t(133)](t(142)),e}}static get[Ie(168)](){const t=Ie;try{return ve.getInstance()[t(168)]}catch(e){throw console[t(133)](t(135)),e}}static[Ie(105)](){const t=Ie;ve[t(107)]&&(ve[t(107)][t(109)]=!1,ve[t(107)][t(104)]=null)}[Ie(108)](){const t=Ie;if(typeof window===t(113))return"server-"+Math[t(175)]()[t(163)](36)[t(130)](2,15);const e=localStorage[t(155)](t(102));if(e)return e;const n=[navigator.userAgent,navigator[t(146)],screen[t(172)]+"x"+screen[t(145)],(new Date)[t(179)](),navigator[t(137)]||0][t(151)]("|");let s=0;for(let e=0;e<n.length;e++){s=(s<<5)-s+n[t(164)](e),s&=s}const i=t(122)+Math[t(157)](s)[t(163)](36)+"-"+Date[t(174)]()[t(163)](36);return localStorage.setItem(t(102),i),i}}function ye(t,e){const n=me();return(ye=function(t,e){return n[t-=102]})(t,e)}function be(){var t=["6185710zofjiF","getUserProperties","3165xlXers","isReady","1143hkJjYV","560472xScvKF","events","265110oXKybs","7518609jAPkzI","5588376KuLqdY","66296GkwFwu","setUserProperties","3dlIWjq","11QhbzVF","AdStage not initialized. Call AdStage.init() first.","resolve","2396NxWTkt","warn"];return(be=function(){return t})()}function we(t,e){var n=be();return(we=function(t,e){return n[t-=265]})(t,e)}ve[Ie(173)]={clearAllViewable:()=>{const t=Ie;at[t(103)](),console.log(t(170))},clearAdViewable:(t,e)=>{const n=Ie;at[n(114)](t,e),console[n(123)](n(180)+t+"("+e+n(154))},getViewableStatus:()=>{const t=Ie;console[t(123)](t(131),{trackedCount:at[t(152)][t(147)],trackedItems:Array[t(159)](at.viewableTracker)})}},function(){for(var t=we,e=be();;)try{if(655228===parseInt(t(276))/1+parseInt(t(274))/2*(-parseInt(t(281))/3)+parseInt(t(267))/4*(parseInt(t(271))/5)+parseInt(t(278))/6+-parseInt(t(277))/7+-parseInt(t(279))/8*(-parseInt(t(273))/9)+parseInt(t(269))/10*(-parseInt(t(282))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ke=h.createContext(null);function Ee(){const t=h.useContext(ke);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function xe(t,e){var n=Se();return(xe=function(t,e){return n[t-=272]})(t,e)}function Se(){var t=["536qXdFwL","4123008mFJcYB","1781170jwdUhG","35ayVYsK","700447xMFdtC","3158475qOYyat","16qAKfMR","81711MJEIpT","170IqXJlQ","77388awmLGY","126426bjQyHc"];return(Se=function(){return t})()}!function(){for(var t=xe,e=Se();;)try{if(910377===-parseInt(t(274))/1*(-parseInt(t(281))/2)+-parseInt(t(280))/3+-parseInt(t(276))/4+parseInt(t(277))/5+-parseInt(t(273))/6*(parseInt(t(278))/7)+parseInt(t(275))/8*(parseInt(t(282))/9)+-parseInt(t(272))/10*(-parseInt(t(279))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ae=Re;function Te(){const t=["393247JsqIeG","994daqViK","18096rdSZXu","649690EnZzgV","config","117NnBPWc","2612QKzYdc","ads","8552lahyXm","4662114NnZHQq","18831MULZjE","5105vGQMJz","162TJOoIg","19657JZysNV"];return(Te=function(){return t})()}!function(){const t=Re,e=Te();for(;;)try{if(673455===-parseInt(t(157))/1+parseInt(t(155))/2*(parseInt(t(167))/3)+parseInt(t(163))/4*(-parseInt(t(154))/5)+-parseInt(t(166))/6+-parseInt(t(158))/7*(-parseInt(t(165))/8)+-parseInt(t(162))/9*(parseInt(t(160))/10)+-parseInt(t(156))/11*(-parseInt(t(159))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ce=[Ae(164),"events",Ae(161)];function Re(t,e){const n=Te();return(Re=function(t,e){return n[t-=154]})(t,e)}"undefined"!=typeof window&&(window.AdStage=ve),exports.AdStage=ve,exports.AdStageProvider=function({children:t,config:e}){const[n,s]=h.useState(!1),[i,r]=h.useState(null),[o,a]=h.useState(null),c=t=>{try{a(null),n&&ve.reset(),ve.init(t),r(t),s(!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),s(!1),r(null)}};h.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:i,initialize:c,reset:()=>{try{ve.reset(),s(!1),r(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:o};return p.jsx(ke.Provider,{value:d,children:t})},exports.SDK_VERSION="2.0.0",exports.SUPPORTED_MODULES=Ce,exports.TrackingParamsModule=ue,exports.getUserProperties=function(){var t=we;if(ve[t(272)]())return ve[t(275)][t(270)]();console.warn(t(265))},exports.setUserProperties=function(t){var e=we;ve[e(272)]()?ve[e(275)][e(280)](t):console[e(268)](e(265))},exports.track=function(t,e){var n=we;return ve[n(272)]()?ve[n(275)].track(t,e):(console[n(268)]("AdStage not initialized. Call AdStage.init() first."),Promise[n(266)]())},exports.useAdStageContext=Ee,exports.useAdStageInstance=function(){const{isInitialized:t}=Ee();return t?ve:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)};
|