@adstage/web-sdk 3.0.4 → 3.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).AdStage={})}(this,function(t){"use strict";var e,n,r,s,o,i,a,c,d,l,u,p;function h(t,e){var n=f();return(h=function(t,e){return n[t-=428]})(t,e)}function f(){var t=["123154IAagDX","TEXT","CLICK","MOBILE","BANNER","4731680XvVhTB","DESKTOP","146646ueFORY","INTERSTITIAL","TABLET","11023812ShxBMj","NATIVE","VIEWABLE","799736nBIzrQ","VIDEO","147EgxMPM","3657305lJUoJC","2796396VfgKTq","3RVNQAi","WEB"];return(f=function(){return t})()}function g(){const t=['"\n \n다음을 확인해보세요:\n1. HTML에 id="',"remove","getElementById","waitForElement","ms (","2360872poDELI","safeWindowOpen","safeRemoveEventListener","pageYOffset","setProperty","14708862IVAslQ","ms)","querySelectorAll",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"safeApplyStyles","✅ 컨테이너 즉시 발견: ","all","waitForDOM","ceil","safeQuerySelectorAll","safeGetComputedStyle","readyState","1548398UVAJyU","appendChild","referrer","getDocumentProperty","removeChild","from","getWindowProperty","style","번 시도)","forEach","canUseDOM","DOM을 사용할 수 없는 환경입니다.","addEventListener","861891PYbgRU","safeGetElementById","removeEventListener","6MWoOXL","isBrowser","4044556srlawG","documentElement"," (최대 ","3XacNEp","innerWidth",'❌ 컨테이너를 찾을 수 없습니다: "',"log","✅ 컨테이너 발견: ","waitForElements","95298HQGihK","pageXOffset","entries","⏳ 컨테이너 대기 시작: ","getScrollInfo","safeQuerySelector","devicePixelRatio","safeAppendChild","innerHeight","safeAddClass","safeAddEventListener","location","add","open","isDOMReady","scrollTop","getComputedStyle","ms 경과)","error","safeSetInnerHTML","safeCreateElement","min","title","pow","isSSR","getPageInfo","3833380aVeQKO","safeRemoveClass"];return(g=function(){return t})()}function m(t,e){const n=g();return(m=function(t,e){return n[t-=486]})(t,e)}!function(t){for(var e=h,n=t();;)try{if(395529===parseInt(e(431))/1+-parseInt(e(444))/2*(-parseInt(e(429))/3)+-parseInt(e(428))/4+-parseInt(e(447))/5+parseInt(e(438))/6*(-parseInt(e(446))/7)+parseInt(e(436))/8+parseInt(e(441))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(f),n=e||(e={}),r=h,n.BANNER=r(435),n.POPUP="POPUP",n[r(439)]=r(439),n[r(442)]=r(442),n.VIDEO=r(445),n[r(432)]="TEXT",(o=s||(s={}))[(i=h)(430)]=i(430),o[i(434)]="MOBILE",c=a||(a={}),d=h,c.VIEWABLE=d(443),c[d(433)]=d(433),(u=l||(l={}))[(p=h)(437)]=p(437),u.MOBILE=p(434),u.TABLET=p(440);const I=m;!function(t){const e=m,n=t();for(;;)try{if(524186===-parseInt(e(554))/1+-parseInt(e(541))/2+parseInt(e(562))/3*(parseInt(e(559))/4)+parseInt(e(517))/5*(-parseInt(e(557))/6)+-parseInt(e(491))/7+parseInt(e(524))/8+parseInt(e(529))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(g);class y{static[I(558)](){return"undefined"!=typeof window&&"undefined"!=typeof document}static[I(515)](){return!this.isBrowser()}static[I(551)](){const t=I;return this[t(558)]()&&void 0!==document[t(540)]}static[I(555)](t){const e=I;return this.canUseDOM()?document[e(521)](t):null}static[I(496)](t){return this[I(551)]()?document.querySelector(t):null}static[I(538)](t){const e=I;return this[e(551)]()?Array[e(546)](document[e(531)](t)):[]}static[I(511)](t){return this[I(551)]()?document.createElement(t):null}static[I(501)](t,e,n,r){const s=I;this.canUseDOM()&&t&&t[s(553)](e,n,r)}static[I(526)](t,e,n,r){const s=I;this.canUseDOM()&&t&&t[s(556)](e,n,r)}static[I(547)](t,e){return this[I(558)]()?window[t]??e:e}static[I(544)](t,e){return this[I(551)]()?document[t]??e:e}static[I(525)](t,e,n){const r=I;return this.isBrowser()?window[r(504)](t,e,n):null}static[I(539)](t){const e=I;return this.isBrowser()&&t?window[e(507)](t):null}static[I(505)](){const t=I;return!!this.canUseDOM()&&"loading"!==document[t(540)]}static[I(536)](){return new Promise(t=>{const e=m;this.canUseDOM()?this[e(505)]()?t():this.safeAddEventListener(document,"DOMContentLoaded",()=>t()):t()})}static[I(533)](t,e){const n=I;this[n(551)]()&&t&&Object[n(493)](e)[n(550)](([e,r])=>{const s=n;t[s(548)][s(528)](e,r)})}static[I(500)](t,e){const n=I;this[n(551)]()&&t&&t.classList[n(503)](e)}static[I(518)](t,e){const n=I;this[n(551)]()&&t&&t.classList[n(520)](e)}static safeSetTextContent(t,e){this[I(551)]()&&t&&(t.textContent=e)}static[I(510)](t,e){this[I(551)]()&&t&&(t.innerHTML=e)}static[I(498)](t,e){const n=I;this[n(551)]()&&t&&e&&t[n(542)](e)}static safeRemoveChild(t,e){const n=I;this[n(551)]()&&t&&e&&t[n(545)](e)}static[I(516)](){const t=I;return{url:this[t(547)](t(502),{href:""}).href,title:this[t(544)](t(513),""),referrer:this[t(544)](t(543),"")}}static getViewportInfo(){const t=I;return{width:this[t(547)](t(486),0),height:this[t(547)](t(499),0),pixelRatio:this.getWindowProperty(t(497),1)}}static[I(495)](){const t=I;return{scrollTop:this[t(551)]()?window[t(527)]||document[t(560)][t(506)]:0,scrollLeft:this[t(547)](t(492),0)}}static async[I(522)](t,e={}){const n=I,{timeout:r=3e3,retryInterval:s=100,debug:o=!1}=e;if(!this[n(551)]())throw new Error(n(552));const i=document.getElementById(t);return i?(o&&console[n(488)](n(534)+t),i):(o&&console[n(488)](n(494)+t+n(561)+r+n(530)),new Promise((e,i)=>{const a=n;let c=0;const d=Math[a(537)](r/s),l=()=>{const n=a;c++;const u=document[n(521)](t);if(u)return o&&console[n(488)](n(489)+t+" ("+c+"번째 시도, "+c*s+n(508)),void e(u);if(c>=d){const e=n(487)+t+n(519)+t+n(532)+r+n(523)+c+n(549);return o&&console[n(509)](e),void i(new Error(e))}o&&c%10==0&&console[n(488)]("⏳ 컨테이너 대기 중: "+t+" ("+c+"/"+d+")");const p=Math[n(512)](s*Math[n(514)](1.2,c),500);setTimeout(l,p)};setTimeout(l,s)}))}static async[I(490)](t,e={}){const n=I,r=t.map(t=>this.waitForElement(t,e));return Promise[n(535)](r)}}function v(){const t=["348456kdPiML"," AdStageSDK/","5325120UtBAfg",'"3.0.4"',"1715166mEapmc","userAgent","1dOXQxV","126rrtuCm","undefined","4690050pLCdOd","2217219INUgKD","617908GGyGsN","4671702MDmwJD"];return(v=function(){return t})()}const b=w;function w(t,e){const n=v();return(w=function(t,e){return n[t-=268]})(t,e)}!function(t){const e=w,n=t();for(;;)try{if(524439===-parseInt(e(268))/1*(-parseInt(e(279))/2)+parseInt(e(272))/3+parseInt(e(273))/4+parseInt(e(271))/5+-parseInt(e(277))/6+-parseInt(e(274))/7+parseInt(e(275))/8*(-parseInt(e(269))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(v);const k=b(278);function E(){return k}const x=S;function S(t,e){const n=A();return(S=function(t,e){return n[t-=282]})(t,e)}function A(){const t=["ads","5992074gvaUgy","getApiKey","config","102lEJhgz","getAppVersion","208795RRhgBI","apiKey","4092464qxbpHR","11bJmuGa","126039vbocXT","1097369MsCqKa","modules","getPlaceholderMode","8001070RQsEAX","getConfig","appVersion","78278aVfmml","placeholderMode","60tXVFpA","timeout","getTimeout","1.0.0","events","debug","../core/adstage"];return(A=function(){return t})()}!function(t){const e=S,n=t();for(;;)try{if(363591===parseInt(e(300))/1*(-parseInt(e(282))/2)+parseInt(e(301))/3*(-parseInt(e(284))/4)+-parseInt(e(297))/5*(parseInt(e(295))/6)+parseInt(e(302))/7+parseInt(e(299))/8+parseInt(e(292))/9+parseInt(e(305))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(A);class C{static getConfig(){const t=S;try{const{AdStage:e}=require(t(290));return e[t(306)]()}catch{return null}}static[x(296)](){const t=x,e=C[t(306)]();return e?.[t(307)]||t(287)}static isDebugMode(){const t=x,e=C[t(306)]();return e?.[t(289)]||!1}static[x(293)](){const t=x,e=C[t(306)]();return e?.[t(298)]}static[x(286)](){const t=x,e=C[t(306)]();return e?.[t(285)]||3e4}static[x(304)](){const t=x,e=C[t(306)]();return e?.[t(283)]||"subtle"}static getEnabledModules(){const t=x,e=C[t(306)]();return e?.[t(303)]||[t(291),t(288),t(294)]}}const T=D;function D(t,e){const n=R();return(D=function(t,e){return n[t-=110]})(t,e)}function R(){const t=["1237665AxQNxt","android","connection","getSlotPosition",",y:","toString","89864vPNFqb","SSR","getBoundingClientRect","platform","width","device_","UTC","1645925sFgekp","desktop","2760426Ondvkr","adstage_device_id","now","15896655mIlwuH","resolvedOptions","isBrowser","ssr_device_","web","getItem","colorDepth","1157752iiKoFC","pixelRatio","test","top","unknown","6dVhXfs","scrollTop","357uIjEjG","generateDeviceId","substr","height","1752844DykvgA","random","round","toLowerCase","generateSessionId","getViewportInfo","ssr_session_","session_","isMobile","setItem","userAgent","getPlatform","adstage_session_id","left"];return(R=function(){return t})()}!function(t){const e=D,n=t();for(;;)try{if(632908===parseInt(e(154))/1+-parseInt(e(159))/2*(-parseInt(e(129))/3)+-parseInt(e(115))/4+parseInt(e(142))/5+-parseInt(e(144))/6+parseInt(e(111))/7*(parseInt(e(135))/8)+-parseInt(e(147))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(R);class _{static[T(112)](){const t=T;if(!y[t(149)]())return t(150)+Date.now();const e=localStorage[t(152)]("adstage_device_id");if(e)return e;const n=t(140)+Math.random()[t(134)](36)[t(113)](2,9)+"_"+Date.now();return localStorage[t(124)](t(145),n),n}static[T(119)](){const t=T;if(!y[t(149)]())return t(121)+Date.now();const e=sessionStorage.getItem(t(127));if(e)return e;const n=t(122)+Math[t(116)]().toString(36)[t(113)](2,9)+"_"+Date[t(146)]();return sessionStorage[t(124)]("adstage_session_id",n),n}static[T(123)](){const t=T;return!!y[t(149)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator[t(125)])}static[T(126)](){const t=T;if(!y.isBrowser())return"web";const e=navigator[t(125)][t(118)]();return/iphone|ipad|ipod/[t(156)](e)?"ios":/android/[t(156)](e)?t(130):_[t(123)]()?t(151):t(143)}static collectDeviceInfo(){const t=T,e=y[t(120)]();return{deviceId:_[t(112)](),sessionId:_.generateSessionId(),osVersion:y[t(149)]()?navigator[t(138)]:t(136),deviceModel:y[t(149)]()?navigator[t(138)]:t(136),appVersion:C.getAppVersion(),sdkVersion:E(),language:y[t(149)]()&&navigator.language||"ko",country:"KR",ipAddress:"",userAgent:y.isBrowser()?navigator[t(125)]:t(136),timezone:y.isBrowser()?Intl.DateTimeFormat()[t(148)]().timeZone:t(141),viewportWidth:e[t(139)],viewportHeight:e[t(114)],screenWidth:y.isBrowser()?screen[t(139)]:0,screenHeight:y.isBrowser()?screen[t(114)]:0,colorDepth:y.isBrowser()?screen[t(153)]:24,pixelRatio:e[t(155)],connectionType:y[t(149)]()&&navigator[t(131)]?.effectiveType||t(158),platform:_[t(126)]()}}static[T(132)](t){const e=T,n=y.safeGetElementById(t);if(!n)return e(158);const r=n[e(137)](),s=y.getScrollInfo();return"x:"+Math.round(r[e(128)])+e(133)+Math[e(117)](r[e(157)]+s[e(110)])}}function B(){const t=["4LmNeOh","6832672vCjoNp","569510MYEXee","21756prqvDp","814561dsmnoI","User-Agent","190073CepHLj","create","77noyHvF","1482111aYFshX","24MSSWDh","API key is required","contentType","1535WDSHnr","application/json","userAgent","684952uKIrcT","18bzHOnK","1068PZLgeM"];return(B=function(){return t})()}function P(t,e){const n=B();return(P=function(t,e){return n[t-=270]})(t,e)}const U=P;!function(t){const e=P,n=t();for(;;)try{if(829377===-parseInt(e(282))/1*(parseInt(e(278))/2)+-parseInt(e(276))/3*(parseInt(e(275))/4)+-parseInt(e(272))/5*(-parseInt(e(281))/6)+parseInt(e(279))/7+-parseInt(e(288))/8*(-parseInt(e(287))/9)+-parseInt(e(280))/10*(parseInt(e(286))/11)+parseInt(e(277))/12*(parseInt(e(284))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(B);class L{static[U(285)](t,e){const n=U;if(!t)throw new Error(n(270));const r={"x-api-key":t,"Content-Type":e?.[n(271)]||n(273)};return"undefined"!=typeof navigator&&(r[n(283)]=e?.userAgent||navigator[n(274)]),r}static createForEvents(t,e){const n=U,r=L[n(285)](t);return e?.[n(274)]&&(r[n(283)]=e.userAgent),r}}const M=z;function z(t,e){const n=N();return(z=function(t,e){return n[t-=111]})(t,e)}function N(){const t=[" event for ad ","now","3353413enOQor","2554953oXHFUa","1832392NjlwDi","6rxqYZl","slots","5290fRHCdS","stringify","2465160fAbSRe","error","getPageInfo","createForEvents","containerId","width","/advertisements/events/","📡 API Response Status: ","843972MQBCHo","baseUrl","debug","sessionId","deviceId","API request failed: ","❌ Failed to track advertisement event:","POST","number","parseNumericValue","log","🔍 Debug info:","...","🚀 AdvertisementEventTracker: Processing ","statusText","4zMVUIa","title"," in slot ","36kRgMRu","✅ Successfully tracked advertisement event: ","VIEWABLE","NOT_SET","get","adType","substring","getSlotPosition","collectDeviceInfo","platform"," for ad ","636965pwVFYj","status","43417phsgAB","text","apiKey","referrer"];return(N=function(){return t})()}!function(t){const e=z,n=t();for(;;)try{if(921623===-parseInt(e(133))/1+-parseInt(e(148))/2*(parseInt(e(119))/3)+-parseInt(e(120))/4+-parseInt(e(162))/5*(-parseInt(e(121))/6)+parseInt(e(118))/7+-parseInt(e(125))/8*(-parseInt(e(151))/9)+parseInt(e(123))/10*(parseInt(e(112))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(N);class O{constructor(t,e,n,r){const s=z;this[s(134)]=t,this.apiKey=e,this[s(135)]=n,this[s(122)]=r}async trackAdvertisementEvent(t,e,n){const r=z;try{this[r(135)]&&console.log(r(146)+n+r(116)+t+r(150)+e);const s=this.slots[r(155)](e),o=_[r(159)](),i={adType:s?.[r(156)]||"BANNER",platform:o[r(160)],deviceId:o[r(137)],deviceInfo:o,pageUrl:y[r(127)]().url,pageTitle:y[r(127)]()[r(149)],referrer:y.getPageInfo()[r(115)],slotId:e,slotPosition:_[r(158)](s?.[r(129)]||""),slotWidth:O[r(142)](s?.[r(130)]),slotHeight:O[r(142)](s?.height),sessionId:o[r(136)],pageLoadTime:performance[r(117)](),metadata:{eventType:n,sdkVersion:E(),timestamp:Date.now()},...n===a[r(153)]&&{isViewable:!0,iabCompliant:!0}},c=this.baseUrl+r(131)+t+"/"+n,d=L[r(128)](this[r(114)],i);this[r(135)]&&(console[r(143)]("🚀 Sending advertisement event: "+n+r(161)+t,{url:c,headers:d,eventData:i}),console[r(143)]("🌐 Full API call details:",{method:r(140),url:c,hasApiKey:!!this[r(114)],bodySize:JSON[r(124)](i).length}));const l=await fetch(c,{method:r(140),headers:d,body:JSON[r(124)](i)});if(this[r(135)]&&console[r(143)](r(132)+l.status+" "+l[r(147)],{url:c,ok:l.ok}),!l.ok){const t=await l[r(113)]();throw new Error(r(138)+l[r(111)]+" "+l[r(147)]+" - "+t)}this.debug&&console[r(143)](r(152)+n+r(161)+t)}catch(s){console[r(126)](r(139),s),console[r(126)](r(144),{baseUrl:this[r(134)],apiKey:this[r(114)]?this.apiKey[r(157)](0,8)+r(145):r(154),url:this[r(134)]+"/advertisements/events/"+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[M(142)](t){if(typeof t===M(141))return t;if("string"==typeof t){const e=parseFloat(t.replace(/px$/,""));return isNaN(e)?0:e}return 0}}function V(){var t=["observer","228823rWByjI","29755OUYGCS","266RnjPkk","forEach","intersectionRatio","hidden","isDocumentVisible","93760jkfTNN","15qOxZbV","363016DrJbnq","IntersectionObserver","disconnect","visible","162kLcUZF","warn","handleIntersection","onViewableCallback","3006lzeISi","0px","observe","initIntersectionObserver","906fGQKvy","destroy","element","95243XaHgUK","670DIarnf","IntersectionObserver not supported, viewability tracking disabled","isViewableTriggered"];return(V=function(){return t})()}var F=j;function j(t,e){var n=V();return(j=function(t,e){return n[t-=309]})(t,e)}!function(t){for(var e=j,n=t();;)try{if(144370===parseInt(e(315))/1+-parseInt(e(322))/2*(parseInt(e(312))/3)+parseInt(e(329))/4+parseInt(e(328))/5*(parseInt(e(337))/6)+-parseInt(e(320))/7+parseInt(e(327))/8*(parseInt(e(333))/9)+-parseInt(e(316))/10*(parseInt(e(321))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(V);class H{constructor(t,e){var n=j;this.observer=null,this.isViewableTriggered=!1,this[n(314)]=t,this[n(336)]=e,this[n(311)]()}initIntersectionObserver(){var t=j;t(330)in window?(this[t(319)]=new IntersectionObserver(e=>this[t(335)](e),{threshold:.5,rootMargin:t(309)}),this.observer[t(310)](this.element)):console[t(334)](t(317))}handleIntersection(t){var e=j;t[e(323)](t=>{var n=e;t[n(324)]>=.5&&this.isDocumentVisible()&&!this[n(318)]&&(this[n(318)]=!0,this[n(336)]&&this.onViewableCallback())})}[F(326)](){var t=F;return!document[t(325)]&&document.visibilityState===t(332)}[F(313)](){var t=F;this[t(319)]&&(this.observer[t(331)](),this.observer=null)}}const K=q;!function(t){const e=q,n=t();for(;;)try{if(520460===parseInt(e(292))/1+parseInt(e(282))/2+-parseInt(e(298))/3+parseInt(e(284))/4*(parseInt(e(299))/5)+parseInt(e(290))/6*(-parseInt(e(283))/7)+-parseInt(e(289))/8*(parseInt(e(281))/9)+-parseInt(e(288))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y);const W={production:"https://api.adstage.io",beta:"https://beta-api.adstage.app"};function q(t,e){const n=Y();return(q=function(t,e){return n[t-=281]})(t,e)}function Y(){const t=["events","startsWith","custom","1974891MGYuMj","360845NbJocM","baseUrl","/events/track","production","116415GiWZcT","1523358Jkguqb","490FtXCZE","52VrAjCp","list","advertisements","/advertisements","2747250cypUGu","208TEOIDK","26646cEGFfA","getBaseUrl","400786xyOVZq","setBaseUrl","detail"];return(Y=function(){return t})()}K(302);const G={advertisements:{list:"/advertisements/list",detail:K(287),events:"/advertisements/events"},events:{track:K(301)}};class X{constructor(t){const e=K;this.advertisements={list:()=>""+this[e(300)]+G[e(286)][e(285)],detail:t=>""+this[e(300)]+G[e(286)][e(294)]+"/"+t,events:(t,n)=>""+this[e(300)]+G[e(286)].events+"/"+t+"/"+n},this[e(295)]={track:()=>""+this[e(300)]+G[e(295)].track},this[e(300)]=t||W[e(302)]}[K(293)](t){this[K(300)]=t}[K(291)](){return this[K(300)]}[K(297)](t){const e=K;return""+this[e(300)]+(t[e(296)]("/")?t:"/"+t)}}const J=new X;function Q(){var t=["280xftvYn","1050664RAomGN","278969uvFfBt"," (index: 0) in slot: ","8465475ImibJw","9oLTypS"," (index: ","10047AOkDvR","3692156UajczC","178566pQaCtA","34133Ptydio","log","_id","VIEWABLE","384UxbqaX","🎯 Triggering initial VIEWABLE event: ad ","5170VbIuBk","🎯 Triggering VIEWABLE event for slide change: ad ","trackSlideViewable","trackInitialSlideViewable",") in slot: "];return(Q=function(){return t})()}var Z=$;function $(t,e){var n=Q();return($=function(t,e){return n[t-=257]})(t,e)}!function(t){for(var e=$,n=t();;)try{if(951161===parseInt(e(276))/1+parseInt(e(267))/2*(-parseInt(e(260))/3)+-parseInt(e(261))/4+parseInt(e(257))/5+parseInt(e(262))/6*(-parseInt(e(274))/7)+-parseInt(e(275))/8*(-parseInt(e(258))/9)+-parseInt(e(269))/10*(-parseInt(e(263))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Q);class tt{static[Z(271)](t,e,n,r,s=!1){var o=Z;s&&console[o(264)](o(270)+t._id+o(259)+n+o(273)+e.id),r(t[o(265)],e.id,a[o(266)])}static[Z(272)](t,e,n,r=!1){var s=Z;r&&console.log(s(268)+t[s(265)]+s(277)+e.id),n(t._id,e.id,a[s(266)])}}function et(t,e){const n=rt();return(et=function(t,e){return n[t-=312]})(t,e)}const nt=et;function rt(){const t=[" ad clicked: ","cursor","2502yLBwQT","addClickEventForRenderer","_blank","toLowerCase","preventDefault","601292HwRWZL","3289013ueokHa","CLICK","834501SeLPSd","🔗 ","addClickEvent","style","1CPeZDi","4125730IDXciU","forEach","linkUrl","_id","10aVJqPr","log","1115604UwcRjA","addClickEventsBatch","stopPropagation","addEventListener"," -> ","click","11TyUlCC","13624wyqYSr","addClickEventForSlider","pointer","1208794EJBNKt","adType","isClickable"];return(rt=function(){return t})()}!function(t){const e=et,n=t();for(;;)try{if(396662===-parseInt(e(324))/1*(-parseInt(e(341))/2)+-parseInt(e(320))/3+-parseInt(e(317))/4*(-parseInt(e(329))/5)+parseInt(e(331))/6+parseInt(e(318))/7+-parseInt(e(338))/8*(parseInt(e(312))/9)+parseInt(e(325))/10*(-parseInt(e(337))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class st{static addClickEvent(t,e,n,r,s=!1,o){const i=et;e[i(327)]&&(t[i(323)][i(345)]=i(340),t[i(334)](i(336),t=>{const c=i;if(t[c(316)](),t[c(333)](),r&&r(e[c(328)],n.id,a[c(319)]),window.open(e[c(327)],"_blank"),s){const t=o||String(n[c(342)])[c(315)]();console[c(330)](c(321)+t+c(344)+e[c(328)]+c(335)+e.linkUrl)}}))}static[nt(313)](t,e,n,r,s=!1,o){const i=nt;e[i(327)]&&(t[i(323)][i(345)]=i(340),t[i(334)](i(336),t=>{const c=i;t[c(316)](),t[c(333)]();if(r()(e[c(328)],n.id,a[c(319)]),window.open(e[c(327)],c(314)),s){const t=o||String(n.adType)[c(315)]();console[c(330)](c(321)+t+c(344)+e[c(328)]+c(335)+e[c(327)])}}))}static[nt(339)](t,e,n,r,s=!1,o){this[nt(322)](t,e,n,r,s,o)}static[nt(343)](t){return Boolean(t.linkUrl)}static[nt(332)](t,e,n,r,s=!1,o){const i=nt;t[i(326)]((t,a)=>{const c=i,d=e[a];d&&this[c(322)](t,d,n,r,s,o)})}}const ot=it;function it(t,e){const n=at();return(it=function(t,e){return n[t-=320]})(t,e)}function at(){const t=["setProperty","getBoundingClientRect","mouseenter","#f0f0f0","adstage-dots","forEach","relative","transition","Banner Ad","addClickEventForSlider","12723yVEKYn","src","8px","center","1px dashed #ccc","data-adstage-slot-id","none","0.7","100px","50px","createSimpleAdElement","2914386PaRkuf","video","hidden","remove","borderColor","createElement","contains","cssText","clientX","active","videoUrl","opacity","block","display","transform 0.4s ease-out","92MDTNkC","addEventListener","adstage-slider-wrapper","click","2LYkdSl","flex","color","classList","img","transform","27uQsMnW","toLowerCase","trackSlideViewable","117930cJheqR","height","button","children","removeChild","background","objectFit","6136691zPRZKt","touchstart","adstage-slide-container","adstage-dot","appendChild","Text Ad","querySelectorAll"," Ad","string","style","100%","setAttribute","width","mouseleave","length","#cccccc","className","TEXT","preventDefault","200px","every","#999999",".adstage-dot","entries","padding","includes","adType","whiteSpace","changedTouches","addTouchSupport","body","0.9","1636275pOFnhL","overflow","abs","292373XjeFwx","14px","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","adstage-ad adstage-","Video Ad","div","translateX(-","add","\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 ","border","touchend","backgroundColor","transparent","950584zOajwd","#666666","14vxeDNH","#f9f9f9","white","auto","createSliderContainer","_id","textContent","fontSize","1px solid #666","imageUrl"];return(at=function(){return t})()}!function(t){const e=it,n=t();for(;;)try{if(248502===parseInt(e(391))/1*(-parseInt(e(340))/2)+parseInt(e(426))/3*(parseInt(e(336))/4)+-parseInt(e(388))/5+parseInt(e(321))/6+parseInt(e(406))/7*(-parseInt(e(404))/8)+-parseInt(e(346))/9*(parseInt(e(349))/10)+parseInt(e(356))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(at);class ct{static[ot(320)](t,n){const r=ot,s=document[r(326)](r(396));switch(s[r(372)]=r(394)+String(t[r(382)])[r(347)](),s[r(367)]("data-adstage-ad-id",n[r(411)]),s[r(367)](r(431),t.id),s.style[r(334)]=r(333),s[r(365)].width=r(366),s[r(365)][r(350)]=r(409),t[r(382)]){case e.BANNER:if(n[r(415)]){const t=document[r(326)](r(344));t[r(427)]=n.imageUrl,t.style[r(368)]=r(366),t.style[r(350)]=r(409),t.style[r(355)]="cover",s[r(360)](t)}else s[r(365)][r(350)]=r(434),s[r(365)].backgroundColor=r(419),s.style[r(400)]="1px dashed #ccc",s.textContent=r(424);break;case e.VIDEO:if(n[r(331)]){const t=document[r(326)](r(322));t[r(427)]=n.videoUrl,t[r(365)][r(368)]=r(366),t[r(365)][r(350)]=r(409),s[r(360)](t)}else s.style[r(350)]=r(375),s[r(365)][r(402)]="#000",s[r(365)].border=r(414),s.textContent=r(395),s[r(365)][r(342)]=r(408);break;case e[r(373)]:if(n[r(412)]){const t=document.createElement("div");t[r(412)]=n[r(412)]||"",t[r(365)][r(380)]=r(428),t[r(365)][r(413)]=r(392),s.appendChild(t)}else s[r(365)][r(350)]=r(435),s[r(365)][r(380)]=r(428),s[r(412)]=r(361);break;default:s[r(365)][r(350)]=r(434),s[r(365)][r(400)]=r(430),s.style[r(402)]=r(407),s.textContent=t[r(382)]+r(363)}return s}static[ot(410)](t,n,r,s,o=!1){const i=ot,a=document[i(326)](i(396));a.className=i(338);const c={position:i(422),overflow:i(323)};if(t.width&&0!==t.width){let e;e=typeof t[i(368)]===i(364)&&(t[i(368)][i(381)]("px")||t[i(368)][i(381)]("%"))?t[i(368)]:t[i(368)]+"px",c[i(368)]=e,c[i(334)]="inline-block"}else c.display="inline-block";if(t[i(350)]&&0!==t[i(350)]){const e=typeof t[i(350)]===i(364)?t[i(350)]:t.height+"px";c[i(350)]=e}Object.entries(c)[i(421)](([t,e])=>{const n=i;a[n(365)][n(416)](t,e)});const d=!t[i(368)]||0===t[i(368)],l=!t[i(350)]||0===t[i(350)];if(d||l){const e=document[i(326)](i(396));if(e.style[i(328)]=i(393),!d&&t[i(368)]){let n;n=typeof t[i(368)]===i(364)&&(t.width[i(381)]("px")||t[i(368)][i(381)]("%"))?t[i(368)]:t[i(368)]+"px",e[i(365)][i(368)]=n,e.style[i(383)]="normal"}document[i(386)][i(360)](e);let r=0,s=0;n.forEach(n=>{const o=i,a=this[o(320)](t,n);e[o(360)](a);const c=a[o(417)]();c[o(368)]>r&&(r=c[o(368)]),c[o(350)]>s&&(s=c.height),e[o(353)](a)}),d&&r>0&&(a[i(365)][i(368)]=r+"px",c[i(368)]=r+"px"),l&&s>0&&(a[i(365)][i(350)]=s+"px",c[i(350)]=s+"px"),document.body[i(353)](e)}const u=[...n,n[0]],p=document[i(326)](i(396));p[i(372)]=i(358);const h={display:i(341),transition:i(335),width:100*u[i(370)]+"%"};t.height&&0!==t[i(350)]&&(h[i(350)]="100%"),Object[i(379)](h)[i(421)](([t,e])=>{const n=i;p[n(365)][n(416)](t,e)}),u[i(421)]((e,n)=>{const r=i,a=document[r(326)](r(396));a[r(372)]="adstage-slide";const c={width:100/u[r(370)]+"%","flex-shrink":"0",display:r(341),"align-items":r(429),"justify-content":r(429)};t[r(350)]&&0!==t.height&&(c[r(350)]=r(366)),Object[r(379)](c).forEach(([t,e])=>{const n=r;a.style[n(416)](t,e)});const d=this[r(320)](t,e);st[r(425)](d,e,t,s,o,String(t[r(382)])[r(347)]()),a.appendChild(d),p[r(360)](a)});const f=n[i(376)](t=>t[i(382)]===e[i(373)])?null:this.createMinimalDotIndicator(n[i(370)]);let g=0;const m=n.length,I=1e3*(r?.autoSlideInterval||3),y=(e,r=!1)=>{const a=i;g=e,p[a(365)][a(423)]=r?a(432):"transform 0.4s ease-out",p[a(365)][a(345)]=a(397)+100/u[a(370)]*g+"%)";const c=g===m?0:g;if(f){f[a(362)](a(378))[a(421)]((t,e)=>{const n=a,r=t;e===c?(r[n(343)][n(398)](n(330)),r[n(365)][n(354)]=n(405),r[n(365)][n(325)]=n(405),r[n(365)][n(332)]="1"):(r[n(343)][n(324)](n(330)),r[n(365)].background=n(403),r[n(365)][n(325)]=n(371),r[n(365)].opacity=n(433))})}tt[a(348)](n[c],t,c,s,o)},v=()=>{g===m&&setTimeout(()=>{y(0,!0)},400)};if(f){f[i(362)](i(378))[i(421)]((t,e)=>{const n=i;t[n(337)](n(339),()=>y(e))})}let b=setInterval(()=>{y(g+1),v()},I);return a.addEventListener(i(418),()=>{clearInterval(b)}),a[i(337)]("mouseleave",()=>{b=setInterval(()=>{y(g+1),v()},I)}),this[i(385)](p,y,()=>g,m,v),a[i(360)](p),f&&a[i(360)](f),y(0),(!t[i(368)]||0===t[i(368)])&&setTimeout(()=>{const e=i,n=p[e(352)][0];if(n){const r=n[e(352)][0];if(r){const n=r[e(417)]();a.style[e(368)]=n[e(368)]+"px",(!t[e(350)]||0===t[e(350)])&&(a[e(365)].height=n[e(350)]+"px"),a.style[e(389)]=e(323)}}},10),a}static createMinimalDotIndicator(t){const e=ot,n=document.createElement(e(396));n[e(372)]=e(420),n.style[e(328)]="\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 ";for(let r=0;r<t;r++){const t=document[e(326)](e(351));t[e(372)]=e(359),t[e(365)][e(328)]=e(399),t[e(337)](e(418),()=>{const n=e;!t[n(343)][n(327)](n(330))&&(t[n(365)][n(325)]=n(377),t[n(365)].opacity=n(387))}),t[e(337)](e(369),()=>{const n=e;!t[n(343)][n(327)](n(330))&&(t.style.borderColor="#cccccc",t[n(365)][n(332)]=n(433))}),n[e(360)](t)}return n}static[ot(385)](t,e,n,r,s){const o=ot;let i=0,a=!1;t[o(337)](o(357),t=>{const e=o;i=t.touches[0][e(329)],a=!0}),t[o(337)]("touchmove",t=>{a&&t[o(374)]()}),t.addEventListener(o(401),t=>{const c=o;if(!a)return;a=!1;const d=t[c(384)][0][c(329)],l=i-d;if(Math[c(390)](l)>50){const t=n();if(l>0){e(t+1),s&&s()}else{e(t>0?t-1:r-1)}}})}}function dt(){const t=["138JiNyDR","6ERqnzg","clear","42776LqHDPG","2645115GObicm","has","add","clearAdViewable","7yPIpLE","log","isDuplicateViewable","60QNAJHv","1747750EecNNQ","viewableTracker","162264PmTUrR","✅ New viewable recorded for ad ","325218DbFcfn","615834BLcuKC","18750528BQhLYF"," in slot ","7QwSLDs"];return(dt=function(){return t})()}const lt=ut;function ut(t,e){const n=dt();return(ut=function(t,e){return n[t-=168]})(t,e)}!function(t){const e=ut,n=t();for(;;)try{if(757029===-parseInt(e(177))/1*(parseInt(e(185))/2)+-parseInt(e(169))/3*(-parseInt(e(172))/4)+-parseInt(e(181))/5*(parseInt(e(170))/6)+-parseInt(e(168))/7*(-parseInt(e(183))/8)+parseInt(e(186))/9*(parseInt(e(180))/10)+-parseInt(e(173))/11+parseInt(e(187))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class pt{static[lt(179)](t,e,n=!1){const r=lt,s=t+"_"+e;return pt[r(182)][r(174)](s)?(n&&console[r(178)]("Duplicate viewable blocked for ad "+t+r(188)+e),!0):(pt[r(182)][r(175)](s),n&&console.log(r(184)+t+" in slot "+e),!1)}static[lt(171)](){pt.viewableTracker.clear()}static[lt(176)](t,e){const n=t+"_"+e;pt[lt(182)].delete(n)}}pt.viewableTracker=new Set;const ht=gt;function ft(){const t=["fontSize","#f9f9f9",'[class*="container"]','[data-adstage-container="true"]',"\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 ","1px dashed #ccc","<span>Loading ","generic","7802168sWTEVz","\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 ","11px","transparent","49258JszPGo","advertisementEventTracker","rgba(231, 76, 60, 0.1)","error","applyPlaceholderStyle","rgba(248, 249, 250, 0.5)","36xxKlIs","📦 Placeholder created for ","calculateAdSize","borderRadius","⚠️ ","isDuplicateViewable","none","✅ New viewable recorded for ad ","justifyContent","auto","toLowerCase","data-adstage-empty","alignItems","advertisement"," for ad ","className","cssText"," x ","style","minHeight","div","6px",'[class*="banner"]',"flex","appendChild","fontFamily","adstage-slot adstage-empty adstage-","isEmpty",".adstage-","opacity","monospace","❌ Failed to track ","containerId","number","subtle","parentElement","hasAttribute","createEmptyContainer","56965ZBWzyp","classList",") - Mode: ","block"," slot: ","15845706dUZmec","data-adstage-container","580945gDDczH","unknown","innerHTML","debug","invisible","100%","getElementById","display","trackAdvertisementEvent","closest","log","data-adstage-type","placeholderMode"," in slot ","width"," container collapsed (","border","center","7094706blaKLk","🚫 Duplicate viewable blocked for ad ","warn","createPlaceholder","height","📊 Advertisement event tracked: ","147tVnBAr",'[class*="ad"]',"📏 Using 100% height (container: ","⚠️ Created empty ","adType","adstage-official","setAttribute","filter","createElement"," ad...</span>","getAttribute",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"#e74c3c",".adstage-slot","6381564aESomP","string","minimal","color","adstage-slot","getContainerHeight",'div[style*="min-height"]',"getDefaultHeight"," event for ad ","getComputedStyle","backgroundColor","createEventTrackingCallback","true","VIEWABLE"];return(ft=function(){return t})()}function gt(t,e){const n=ft();return(gt=function(t,e){return n[t-=197]})(t,e)}!function(t){const e=gt,n=t();for(;;)try{if(785401===parseInt(e(244))/1+-parseInt(e(308))/2*(parseInt(e(268))/3)+parseInt(e(199))/4*(parseInt(e(237))/5)+parseInt(e(262))/6+parseInt(e(282))/7+parseInt(e(304))/8+-parseInt(e(242))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ft);class mt{constructor(t,e=!1,n){const r=gt;this[r(272)]=t,this[r(247)]=e,this[r(309)]=n||null}[ht(265)](t,e,n,r){const s=ht,o=document[s(276)](s(219));o.id=e,o[s(214)]="adstage-slot adstage-"+String(this[s(272)])[s(209)](),o[s(274)](s(243),s(294)),o[s(274)](s(255),String(this[s(272)])),o[s(274)]("data-adstage-slot",e);const{width:i,height:a}=this[s(201)](t,n,r)||{width:s(249),height:this[s(289)]()};o[s(217)][s(258)]=i,o[s(217)].height=a;const c=r?.placeholderMode||n[s(256)]||s(248);this[s(197)](o,c),t[s(223)](o),this[s(247)]&&console[s(254)](s(200)+this[s(272)]+s(241)+e+" ("+i+s(216)+a+s(239)+c)}[ht(197)](t,e){const n=ht;switch(e){case n(248):t[n(217)][n(292)]=n(307),t[n(217)][n(260)]="none",t[n(217)][n(228)]="0",t[n(246)]="";break;case"transparent":t[n(217)][n(292)]=n(307),t.style[n(260)]=n(205),t.style[n(251)]=n(240),t[n(246)]="";break;case n(233):t[n(217)][n(292)]="rgba(0, 0, 0, 0.02)",t.style[n(260)]=n(205),t[n(217)][n(202)]="4px",t[n(217)][n(251)]=n(222),t[n(217)][n(211)]=n(261),t[n(217)][n(207)]="center",t.innerHTML='<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>';break;case n(284):t[n(217)][n(292)]=n(198),t.style[n(260)]="1px solid rgba(0, 0, 0, 0.08)",t.style[n(202)]=n(220),t.style[n(251)]=n(222),t[n(217)][n(211)]=n(261),t[n(217)].justifyContent="center",t[n(246)]=n(279);break;case"debug":t.style[n(260)]="2px dashed #e74c3c",t.style[n(251)]="flex",t[n(217)][n(211)]=n(261),t.style.justifyContent=n(261),t[n(217)][n(292)]=n(310),t[n(217)][n(285)]=n(280),t[n(217)][n(224)]=n(229),t[n(217)][n(296)]=n(306),t[n(246)]=n(302)+this[n(272)]+n(277);break;default:t[n(217)][n(260)]=n(301),t[n(217)][n(251)]="flex",t.style.alignItems=n(261),t.style.justifyContent=n(261),t[n(217)][n(292)]=n(297),t[n(217)][n(285)]="#666",t.innerHTML=n(302)+this[n(272)]+n(277)}}[ht(201)](t,e,n){const r=ht,s=e[r(258)],o=e[r(266)];let i,a;if(i=typeof s===r(232)?s+"px":typeof s===r(283)?s:r(249),typeof o===r(232))a=o+"px";else if("string"==typeof o&&o!==r(249)&&o!==r(208))a=o;else{const e=this[r(287)](t);e>0?(a=r(249),(n?.[r(247)]||this[r(247)])&&console[r(254)](r(270)+e+"px)")):(a=this[r(289)](),(n?.[r(247)]||this.debug)&&console.log("📏 Using default height "+a+" for "+this.adType))}return{width:i,height:a}}[ht(287)](t){const e=ht,n=window[e(291)](t),r=parseFloat(n[e(266)]);if(!r||0===r){const r=parseFloat(n[e(218)]);if(r>0)return r;if(t[e(217)][e(266)]&&"auto"!==t.style[e(266)]){const n=parseFloat(t[e(217)][e(266)]);if(n>0)return n}const s=t[e(278)]("height");if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}[ht(293)](){return async(t,e,n)=>{const r=gt;if(n===a[r(295)]){if(pt[r(204)](t,e,this[r(247)]))return void(this.debug&&console[r(254)](r(263)+t+r(257)+e));this.debug&&console[r(254)](r(206)+t+r(257)+e)}if(this[r(309)])try{this[r(247)]&&console[r(254)]("🔄 Starting advertisement event tracking: "+n+r(213)+t+" in slot "+e),await this[r(309)][r(252)](t,e,n),this.debug&&console.log(r(267)+n+r(213)+t+r(257)+e)}catch(e){this[r(247)]&&console[r(311)](r(230)+n+r(290)+t+":",e)}else this.debug&&console[r(264)]("⚠️ AdvertisementEventTracker not available for "+n+" event")}}renderFallback(t){const e=ht,n=document[e(250)](t.id);if(n){const r=[...[n.querySelector(e(299)),n[e(253)](e(299)),n][e(275)](t=>t&&t[e(235)](e(243))),...[n.closest(e(281)),n[e(253)](e(227)+String(this[e(272)])[e(209)]()),n[e(253)](e(269)),n[e(253)](e(221)),n.closest(e(298)),n[e(253)]('div[style*="height"]'),n.closest(e(288)),n[e(234)]][e(275)](Boolean)][0];if(r){let n=e(245);n=r[e(235)](e(243))?e(273):r[e(238)].contains(e(286))?"adstage-class":e(303),r[e(217)][e(215)]+=e(300),r[e(246)]="",r[e(274)](e(210),e(294)),this[e(247)]&&console.warn(e(203)+this.adType+e(259)+n+"): "+t.id,r)}else this.createEmptyContainer(t)}t[e(212)]=void 0,t[e(226)]=!0}[ht(236)](t){const e=ht,n=document.getElementById(t[e(231)]);if(n){n[e(246)]="";const r=document[e(276)](e(219));r.id=t.id,r[e(214)]=e(225)+String(this.adType)[e(209)](),r[e(274)]("data-adstage-container",e(294)),r[e(274)]("data-adstage-empty",e(294)),r[e(274)]("data-adstage-slot",t.id),r[e(217)].cssText=e(305),n[e(223)](r),this[e(247)]&&console[e(264)](e(271)+this.adType+" container: "+t.id)}}[ht(254)](t,...e){const n=ht;this[n(247)]&&console[n(254)]("["+this[n(272)]+"] "+t,...e)}}const It=yt;function yt(t,e){const n=vt();return(yt=function(t,e){return n[t-=369]})(t,e)}function vt(){const t=["🎨 Banner image style applied: objectFit=","center"," ads (optimized: ","round","Banner","344570vlRlyn","filter","</div>","74019UExPhH"," (strategy: ","from","getElementById","#f0f0f0","containerId","1:1"," ads: ","renderOptimizedBannerImage","average","style","log","applyOptimizedImageStyle","4561641gRVFeD","max","allSettled","onerror","📊 Using standard ratio: ","title","dominant",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"height","3:2","renderAdElement","set","loadImageDimensions","name","contain","createEventTrackingCallback","toString","selectOptimalSizeStrategy","ratio","alt","✅ Optimized banner image rendered for ad: ","Banner Advertisement","naturalWidth","getDefaultHeight","className","BANNER","100%","block","createElement","objectPosition","fulfilled","toFixed","Banner container optimization failed, using default size:","common","Failed to load image: ","1393092EDgtJy","value","abs","reduce","351384CBRitn","slideInterval","imageUrl","borderRadius"," with ","8NZSolM","48RmEpjp","createSliderContainer","warn",", ratio=","objectFit","Banner Ad","🎠 Banner carousel created for slot: ","parentElement","aspectRatio","debug","cover","div","799006mTeZct","width","📦 Banner container dimensions: ","_id","addClickEventForRenderer","📐 Optimal banner container calculated: ","Image URL is not provided","length","onload","appendChild","backgroundColor","8px","optimizedHeight","forEach","map","getBoundingClientRect","5330817GOyiCm","count","some","values","adstage-ad adstage-banner-ad","status","config","renderMultipleAds","get","❌ Failed to load optimized banner image:","<div>","calculateOptimalContainerSize","calculateOptimalHeight","src","innerHTML"];return(vt=function(){return t})()}!function(t){const e=yt,n=t();for(;;)try{if(358078===parseInt(e(444))/1+parseInt(e(405))/2+parseInt(e(383))/3+-parseInt(e(387))/4+-parseInt(e(441))/5*(parseInt(e(393))/6)+parseInt(e(457))/7+parseInt(e(392))/8*(-parseInt(e(421))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(vt);class bt extends mt{constructor(t=!1,n){super(e[yt(373)],t,n)}getDefaultHeight(){return"250px"}async[It(467)](t,e){const n=It,r=document[n(447)](t[n(449)]);if(!r)return;const s=document.createElement(n(404));s[n(372)]=n(425);const o=t.optimizedHeight,i=r[n(400)]||r;if(o)s.style[n(406)]="100%",s.style[n(465)]=String(o);else{const e=t[n(427)],r={width:e?.[n(406)],height:e?.[n(465)]},{width:o,height:a}=this.calculateAdSize(i,r,{debug:this[n(402)]});s[n(454)].width=o,s[n(454)][n(465)]=a}e[n(389)]?await this[n(452)](s,e,t):s.innerHTML=n(431)+(e[n(462)]||n(398))+n(443),st.addClickEventForRenderer(s,e,t,()=>this.createEventTrackingCallback(),this[n(402)],n(440)),r[n(435)]="",r.appendChild(s)}async[It(428)](t,e){const n=It,r=document[n(447)](t.containerId);if(!r)throw new Error("Container not found: "+t[n(449)]);await this.optimizeContainerForBannerAds(t,e);const s=this[n(472)](),o={autoSlideInterval:(t[n(427)]?.[n(388)]||5e3)/1e3,...t[n(427)],optimizedHeight:t.optimizedHeight,aspectRatio:t[n(401)]},i=ct[n(394)](t,e,o,s,this.debug);i&&(r[n(435)]="",r[n(414)](i),this[n(402)]&&console.log(n(399)+t.id+n(391)+e[n(412)]+n(438)+(t[n(417)]||"default")+")"))}async[It(432)](t,e){const n=It;if(!t[n(412)])return{width:n(374),height:this[n(371)](),aspectRatio:16/9};try{const r=(await Promise[n(459)](t[n(442)](t=>t[n(389)])[n(419)](t=>this[n(469)](t[n(389)])))).filter(t=>t[n(426)]===n(378))[n(419)](t=>t[n(384)]);if(0===r[n(412)])return{width:n(374),height:this[n(371)](),aspectRatio:16/9};const s=this[n(474)](r),o=this[n(433)](r,e,s);return this[n(402)]&&console[n(455)](n(410)+e+"x"+o+n(445)+s+")"),{width:n(374),height:o+"px",aspectRatio:e/o}}catch(t){return console.warn("Failed to calculate optimal banner size, using defaults:",t),{width:"100%",height:this.getDefaultHeight(),aspectRatio:16/9}}}async optimizeContainerForBannerAds(t,e){const n=It;try{const r=document[n(447)](t.containerId),s=document.getElementById(t.id);if(!r||!s)return;const o=r[n(420)]()[n(406)]||300,i=await this[n(432)](e,o);s.style[n(465)]=i.height,t[n(417)]=i[n(465)],t[n(401)]=i[n(401)],this[n(402)]&&console[n(455)]("🔧 Banner container optimized for "+e[n(412)]+n(451)+i[n(465)])}catch(t){console[n(395)](n(380),t)}}selectOptimalSizeStrategy(t){const e=It,n=t[e(419)](t=>t[e(406)]/t.height),r=new Map;n.forEach(t=>{const n=e,s=(Math.round(10*t)/10)[n(473)]();r[n(468)](s,(r[n(429)](s)||0)+1)});const s=Math[e(458)](...r[e(424)]()),o=t[e(412)];if(s/o>=.7)return e(463);const i=[16/9,4/3,1,1.5];return n.filter(t=>i[e(423)](e=>Math.abs(t-e)<.1))[e(412)]/o>=.5?e(381):"average"}[It(433)](t,e,n){const r=It,s=t.map(t=>t[r(406)]/t[r(465)]);switch(n){case r(463):{const t=new Map;s[r(418)](e=>{const n=r,s=Math[n(439)](10*e)/10,o=s.toString(),i=t[n(429)](o);i?i[n(422)]++:t[n(468)](o,{ratio:s,count:1})});const n=Array[r(446)](t[r(424)]())[r(386)]((t,e)=>e[r(422)]>t[r(422)]?e:t);return Math[r(439)](e/n[r(475)])}case r(381):{const t=[{ratio:16/9,name:"16:9"},{ratio:4/3,name:"4:3"},{ratio:1,name:r(450)},{ratio:1.5,name:r(466)}],n=s[r(386)]((t,e)=>t+e,0)/s[r(412)],o=t.reduce((t,e)=>Math[r(385)](e.ratio-n)<Math[r(385)](t[r(475)]-n)?e:t);return this[r(402)]&&console[r(455)](r(461)+o[r(470)]+" (avg: "+n[r(379)](2)+")"),Math[r(439)](e/o[r(475)])}case r(453):default:{const t=s.reduce((t,e)=>t+e,0)/s[r(412)];return Math[r(439)](e/t)}}}[It(469)](t){return new Promise((e,n)=>{const r=yt,s=new Image;s[r(413)]=()=>{e({width:s[r(370)],height:s.naturalHeight})},s[r(460)]=()=>{n(new Error(r(382)+t))},s[r(434)]=t})}[It(456)](t,e,n){const r=It,s=e/n;Math[r(385)](s-1)<.1?(t[r(454)].objectFit="cover",t[r(454)].objectPosition=r(437)):s>1.3?(t[r(454)].objectFit=r(471),t[r(454)][r(377)]=r(437),t[r(454)][r(415)]=r(448)):s<.7?(t[r(454)].objectFit="cover",t[r(454)].objectPosition=r(437)):(t[r(454)][r(397)]=r(403),t[r(454)].objectPosition=r(437)),this[r(402)]&&console[r(455)](r(436)+t[r(454)][r(397)]+r(396)+s[r(379)](2))}async[It(452)](t,e,n){const r=It,s=document[r(376)]("img");s.style[r(406)]=r(374),s[r(454)].height="100%",s[r(454)].display=r(375),s[r(454)][r(390)]=r(416),s[r(476)]=e[r(462)]||r(369),t[r(435)]=r(464);try{if(!e[r(389)])throw new Error(r(411));const o=await this[r(469)](e[r(389)]),i=t.getBoundingClientRect(),a=i[r(406)],c=i[r(465)];this.debug&&(console[r(455)]("📸 Banner image dimensions: "+o[r(406)]+"x"+o[r(465)]),console.log(r(407)+a+"x"+c));const d=o[r(406)]/o[r(465)],l=a/c;return this[r(456)](s,d,l),s[r(434)]=e[r(389)],t[r(435)]="",t[r(414)](s),st[r(409)](s,e,n,()=>this[r(472)](),this[r(402)],r(440)),this[r(402)]&&console[r(455)](r(477)+e[r(408)]),s}catch(o){return console.error(r(430),o),e[r(389)]&&(s[r(434)]=e[r(389)],s.style[r(397)]="cover",s[r(454)][r(377)]=r(437),t[r(435)]="",t.appendChild(s),st[r(409)](s,e,n,()=>this[r(472)](),this[r(402)],"Banner")),s}}}function wt(t,e){const n=xt();return(wt=function(t,e){return n[t-=443]})(t,e)}const kt=wt;!function(t){const e=wt,n=t();for(;;)try{if(874760===-parseInt(e(449))/1+parseInt(e(452))/2*(-parseInt(e(444))/3)+parseInt(e(451))/4*(parseInt(e(447))/5)+-parseInt(e(443))/6+-parseInt(e(450))/7+-parseInt(e(445))/8+parseInt(e(454))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(xt);class Et{static[kt(455)](t=!1){return"\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 "}static[kt(448)](t,e){const n=kt,r=e[n(446)]||e[n(453)]||"";t[n(446)]=r}}function xt(){const t=["244CEnodm","80508lSPLaK","title","51776901mEzlnB","createTextAdStyles","3760848RBaLUs","123ZJptSS","11393456VYOMpG","textContent","63650zHkKUP","setTextAdContent","939061jCdtgN","7100058eBlovN"];return(xt=function(){return t})()}function St(t,e){const n=Ct();return(St=function(t,e){return n[t-=238]})(t,e)}const At=St;function Ct(){const t=["data-adstage-slot-id","div","setProperty",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","addTouchSupport","setAttribute","touchstart","abs","height: auto;","appendChild","body","createTextTransitionContainer","touchmove","cssText","length","auto","style","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","preventDefault","entries","9342378SmqGvM","9FlkcBD","opacity","relative","whiteSpace","adstage-ad adstage-","mouseenter","_id","314195bNrwkh","toLowerCase","left","\n ","getBoundingClientRect","string","createElement","includes","absolute","adstage-fade-slide-container","touches","touchend","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","adstage-fade-slider-wrapper","createSimpleAdElement","addEventListener","adType","transform","zIndex","translateY(20px)","addClickEventForSlider","\n position: ","height: 100%;","3314ujwRNK","6560827qFwBiJ","29256710JCWOxX","clientX","height",";\n top: ","width","autoSlideInterval","push",";\n left: ","forEach","translateY(0)","653iiAjYT","3426414PmEkXo","data-adstage-ad-id","translateY(-20px)","\n position: relative;\n width: 100%;\n ",";\n ","position","3517600gnHLqD","changedTouches","28MMLCuC","className","20px"];return(Ct=function(){return t})()}!function(t){const e=St,n=t();for(;;)try{if(797863===-parseInt(e(285))/1*(-parseInt(e(273))/2)+parseInt(e(286))/3+-parseInt(e(294))/4*(-parseInt(e(250))/5)+parseInt(e(242))/6+-parseInt(e(274))/7+parseInt(e(292))/8+-parseInt(e(243))/9*(parseInt(e(275))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ct);class Tt{static[At(264)](t,e){const n=At,r=document[n(256)](n(298));return r[n(295)]=n(247)+String(t[n(266)])[n(251)](),r[n(302)](n(287),e[n(249)]),r[n(302)](n(297),t.id),r[n(238)].cssText=Et.createTextAdStyles(!0),Et.setTextAdContent(r,e),r}static[At(308)](t,e,n,r,s=!1){const o=At,i=t[o(277)]&&0!==t[o(277)]&&t[o(277)]!==o(312),a=document[o(256)](o(298));a[o(295)]=o(263);const c={position:"relative",overflow:"hidden",display:"block"};if(!i&&(c.height=o(312),c.minHeight="fit-content"),t[o(279)]&&0!==t[o(279)]){let e;e=typeof t[o(279)]===o(255)?t[o(279)][o(257)]("px")||t[o(279)][o(257)]("%")?t[o(279)]:t[o(279)]+"px":t.width+"px",c[o(279)]=e}if(t.height&&0!==t.height&&t[o(277)]!==o(312)&&i){let e;e=typeof t[o(277)]===o(255)?t[o(277)][o(257)]("px")||t[o(277)][o(257)]("%")?t[o(277)]:t.height+"px":t[o(277)]+"px",c[o(277)]=e}Object[o(241)](c).forEach(([t,e])=>{const n=o;a[n(238)][n(299)](t,e)});const d=document[o(256)](o(298));d[o(295)]=o(259),d[o(238)][o(310)]=o(289)+(i?o(272):"height: auto; min-height: fit-content;")+o(253);let l=null;const u=!t[o(279)]||0===t[o(279)],p=!t[o(277)]||0===t[o(277)]||void 0===t.height||t.height===o(312);if(u||p&&i){if(l=document[o(256)]("div"),l[o(238)].cssText=o(262),!u&&t.width){let e;e=typeof t[o(279)]===o(255)&&(t[o(279)][o(257)]("px")||t[o(279)][o(257)]("%"))?t[o(279)]:t[o(279)]+"px",l[o(238)].width=e,l[o(238)][o(246)]="normal"}document[o(307)][o(306)](l);let n=0,r=0;e[o(283)](e=>{const s=o,i=this[s(264)](t,e);l.appendChild(i);const a=i[s(254)]();a[s(279)]>n&&(n=a[s(279)]),a[s(277)]>r&&(r=a.height),l.removeChild(i)}),u&&n>0&&(a[o(238)][o(279)]=n+"px"),p&&r>0&&i&&(a[o(238)][o(277)]=r+"px"),document[o(307)].removeChild(l)}const h=[];e.forEach((e,n)=>{const a=o,c=document[a(256)]("div");c[a(295)]="adstage-fade-slide";const l=0===n,u=i?a(258):l?"relative":a(258);c[a(238)].cssText=a(271)+u+a(278)+("absolute"===u?"0":a(312))+a(282)+("absolute"===u?"0":a(312))+";\n width: 100%;\n "+(i?"height: 100%;":a(305))+a(239)+(0===n?"1":"0")+";\n transform: translateY("+(0===n?"0":a(296))+a(300)+(0===n?"2":"1")+a(290);const p=this[a(264)](t,e);st[a(270)](p,e,t,r,s,"Text"),c[a(306)](p),d[a(306)](c),h[a(281)](c)});let f=0;const g=e[o(311)],m=1e3*(n?.[o(280)]||4),I=n=>{const a=o;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!i&&("relative"===c[a(238)][a(291)]&&(c[a(238)].position=a(258),c[a(238)].top="0",c[a(238)].left="0"),d[a(238)][a(291)]=a(245),d[a(238)].top=a(312),d[a(238)][a(252)]="auto"),c[a(238)][a(244)]="0",c.style[a(267)]=a(288),c[a(238)][a(268)]="1",d.style.opacity="1",d[a(238)][a(267)]=a(284),d[a(238)].zIndex="2",h[a(283)]((t,e)=>{const r=a;e!==n&&e!==f&&(t[r(238)].opacity="0",t[r(238)][r(267)]=r(269),t.style.zIndex="1",!i&&"relative"===t[r(238)].position&&(t[r(238)][r(291)]=r(258),t[r(238)].top="0",t.style.left="0"))}),f=n,tt.trackSlideViewable(e[f],t,f,r,s)};let y=setInterval(()=>{I(f+1)},m);return a[o(265)](o(248),()=>{clearInterval(y)}),a.addEventListener("mouseleave",()=>{y=setInterval(()=>{I(f+1)},m)}),Tt.addTouchSupport(a,I,()=>f,g),a.appendChild(d),a}static[At(301)](t,e,n,r){const s=At;let o=0,i=0,a=!1;t.addEventListener(s(303),t=>{const e=s;o=t[e(260)][0][e(276)],i=t[e(260)][0].clientY,a=!0}),t[s(265)](s(309),t=>{a&&t[s(240)]()}),t.addEventListener(s(261),t=>{const r=s;if(!a)return;a=!1;const c=t[r(293)][0][r(276)],d=t.changedTouches[0].clientY,l=o-c,u=i-d;if(Math[r(304)](l)>Math[r(304)](u)&&Math[r(304)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}function Dt(t,e){const n=Bt();return(Dt=function(t,e){return n[t-=322]})(t,e)}const Rt=Dt;!function(t){const e=Dt,n=t();for(;;)try{if(699636===-parseInt(e(367))/1+-parseInt(e(337))/2+-parseInt(e(364))/3*(-parseInt(e(339))/4)+parseInt(e(343))/5+-parseInt(e(350))/6+parseInt(e(366))/7*(parseInt(e(346))/8)+parseInt(e(354))/9*(parseInt(e(360))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Bt);class _t extends mt{constructor(t=!1,n){super(e[Dt(322)],t,n)}[Rt(329)](){return"60px"}async renderAdElement(t,e){const n=Rt,r=document[n(361)](t[n(330)]);if(!r)return;const s=document.createElement("div");s[n(333)]=n(332);const o=t[n(340)],i=r[n(371)]||r;if(o)s[n(327)].width=n(362),s[n(327)][n(355)]=String(o);else{const e=t.config,r={width:e?.[n(369)],height:e?.[n(355)]},{width:o,height:a}=this.calculateAdSize(i,r,{debug:this[n(334)]});s.style[n(369)]=o,s[n(327)][n(355)]=a}const a=document[n(359)]("div");a.className=n(324),a[n(327)][n(331)]=Et.createTextAdStyles(!1),Et.setTextAdContent(a,e);const c=t[n(368)]?.[n(345)];c&&typeof c===n(353)&&(a.style[n(342)]=n(341),a.style[n(370)]=String(c),a[n(327)][n(358)]=n(349),a[n(327)][n(363)]=n(325)),s[n(323)](a),st.addClickEventForRenderer(s,e,t,()=>this[n(326)](),this[n(334)],"Text"),r[n(356)]="",r[n(323)](s),this[n(334)]&&console[n(347)](n(328)+e._id)}async[Rt(357)](t,e){const n=Rt,r=document[n(361)](t[n(330)]);if(!r)throw new Error(n(351)+t[n(330)]);const s=this[n(326)](),o={autoSlideInterval:(t[n(368)]?.[n(335)]||5e3)/1e3,...t[n(368)],optimizedHeight:t[n(340)],aspectRatio:t[n(348)]},i=Tt[n(344)](t,e,o,s,this[n(334)]);i&&(r[n(356)]="",r[n(323)](i),this.debug&&console[n(347)](n(352)+t.id+n(365)+e[n(338)]+n(336)))}}function Bt(){const t=["getDefaultHeight","containerId","cssText","adstage-ad adstage-text-ad","className","debug","slideInterval"," ads","2795070KjpbZh","length","7244VIgDvi","optimizedHeight","-webkit-box","display","860795uiIChJ","createTextTransitionContainer","maxLines","16SAaYTB","log","aspectRatio","vertical","2225052CIajcH","Container not found: ","✨ Text transition created for slot: ","number","9HYhBrL","height","innerHTML","renderMultipleAds","webkitBoxOrient","createElement","12296470CybwKb","getElementById","100%","overflow","1083YVKvUd"," with ","4723957MBhzJY","937266IipPBy","config","width","webkitLineClamp","parentElement","TEXT","appendChild","adstage-text-content","hidden","createEventTrackingCallback","style","✨ Single text ad rendered: "];return(Bt=function(){return t})()}const Pt=Ut;function Ut(t,e){const n=Lt();return(Ut=function(t,e){return n[t-=353]})(t,e)}function Lt(){const t=["imageUrl","playsinline","\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n ","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","VIDEO","rgba(0, 0, 0, 0.9)","contain","\n video::-webkit-media-controls-play-button {\n display: ","Video thumbnail",'\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 ',"appendChild","loadeddata","hideVolumeSlider","customControls","🎬 Video config received:"," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: "," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","🎬 Video data loaded, attempting autoplay...","log","alt","adstage-video-container","hideMuteButton","display","width",", muted: ","debug","addClickEventForRenderer"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","rgba(0, 0, 0, 0.7)","className","button","createEventTrackingCallback","canplay"," (autoplay: ","disabled (default)","\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 ","2308097CHPbpX","3108890jqLvgV","scale(1.1)","loop","🎬 Trying muted autoplay fallback...","1326396wtxQkO","cssText","error","block","🔊 Video mute toggled: ","position","Click to mute","videoUrl","getDefaultHeight","🎬 Final video settings:"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","360px","Video fallback","🎬 Single video ad rendered: ","none","transform","title","10wIaZxA","hideControls","84759MFGHKn"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: "," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","renderMultipleAds","muted","16844GdNIPZ","2116346gdvsmk","play","catch","27vNQbBi","innerHTML",", loop: ","style","hideFullscreenButton","_id","Container not found: ","mouseenter","Video","\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 ","preload","921lbwnYb","img","hideProgressBar","🎬 Video element created for ad: ","🎬 Initial autoplay attempt after timeout...","div","getElementById","length","setAttribute","enabled","100%","Video load failed:","stopPropagation","containerId","398408ZfQpTk","createElement","loadedmetadata","warn","addEventListener","Click to unmute",'\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 ',"VIEWABLE","autoplay","controls","src","hideRemainingTime","adstage-video-default-controls","\n pointer-events: none;\n ","relative","renderVideoElementDirect","objectFit","28dbPfAE","🎬 Video metadata loaded, attempting autoplay...","head","background","click","🎬 Auto-play was prevented:","textContent","scale(1)"];return(Lt=function(){return t})()}!function(t){const e=Ut,n=t();for(;;)try{if(651003===-parseInt(e(406))/1+-parseInt(e(412))/2+parseInt(e(426))/3*(parseInt(e(411))/4)+parseInt(e(404))/5*(-parseInt(e(387))/6)+parseInt(e(457))/7*(-parseInt(e(440))/8)+parseInt(e(415))/9*(parseInt(e(383))/10)+parseInt(e(382))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Lt);class Mt extends mt{constructor(t=!1,n){super(e[Ut(469)],t,n)}[Pt(395)](){return Pt(398)}async renderAdElement(t,e){const n=Pt,r=document[n(432)](t[n(439)]);if(!r)return;const s=document[n(441)]("div");s.className=n(366),s[n(418)][n(388)]=n(381),this[n(455)](s,e,t),r[n(416)]="",r.appendChild(s),this[n(371)]&&console[n(364)](n(400)+e[n(420)])}async[Pt(409)](t,e){const n=Pt,r=document[n(432)](t[n(439)]);if(!r)throw new Error(n(421)+t.containerId);if(e[n(433)]>0){const s=e[0],o=document[n(441)](n(431));o[n(375)]=n(366),o[n(418)][n(388)]=n(468),this[n(455)](o,s,t),r[n(416)]="",r[n(356)](o);const i=this[n(377)]();setTimeout(()=>{const e=n;i(s[e(420)],t.id,a[e(447)])},100),this[n(371)]&&console[n(364)]("🎬 Single video rendered for VIDEO slot: "+t.id+" ("+s[n(420)]+")")}else this.debug&&console[n(443)]("⚠️ No video advertisements available for slot: "+t.id)}[Pt(455)](t,e,n){const r=Pt;t.style[r(392)]=r(454);const s=document[r(441)]("video");s[r(418)].width="100%",s[r(418)].height=r(436),s[r(418)][r(456)]="contain",s[r(425)]="metadata";const o=n.config;if(this[r(371)]&&console[r(364)](r(360),o),s[r(449)]=!1,s[r(448)]=!1!==o?.[r(448)],s[r(410)]=!0,s.loop=!1!==o?.[r(385)],this[r(371)]&&console.log(r(396),{autoplay:s[r(448)],muted:s[r(410)],loop:s[r(385)],controls:s.controls}),!1!==o?.[r(466)]&&s[r(434)](r(466),""),!0===o?.controls&&(s.controls=!0,this[r(371)]&&console[r(364)]("🎬 User explicitly enabled controls, overriding default")),o?.hideControls)s.controls=!1,s[r(418)][r(388)]+=r(453);else if(o?.[r(359)]){if(s.controls){const t=document[r(441)]("style");t[r(463)]=r(353)+(o[r(359)].hidePlayButton?"none":r(390))+r(362)+(o[r(359)][r(428)]?r(401):"block")+r(397)+(o.customControls.hideCurrentTime?r(401):r(390))+r(361)+(o[r(359)][r(451)]?r(401):r(390))+r(373)+(o[r(359)][r(358)]?r(401):r(390))+r(408)+(o[r(359)][r(367)]?r(401):r(390))+r(407)+(o[r(359)][r(419)]?r(401):r(390))+" !important;\n }\n ",document[r(459)][r(356)](t)}}else if(s[r(449)]){const t=document[r(441)](r(418));t.id=r(452),t[r(463)]=r(467),!document[r(432)](r(452))&&document[r(459)][r(356)](t)}this[r(371)]&&console[r(364)]("🎬 Video controls setting:",s.controls?r(435):r(380));const i=document[r(441)](r(376));i[r(375)]="adstage-video-mute-button",i[r(418)][r(388)]=r(424),o?.[r(405)]&&(i[r(418)][r(368)]=r(401));const a=()=>{const t=r,e=t(446),n=t(355);i.innerHTML=s[t(410)]?e:n,i[t(403)]=s[t(410)]?t(445):t(393)};if(a(),i[r(444)](r(461),t=>{const e=r;t[e(438)](),s.muted=!s[e(410)],a(),this[e(371)]&&console.log(e(391)+(s.muted?"muted":"unmuted"))}),i[r(444)](r(422),()=>{const t=r;i[t(418)].background=t(470),i.style[t(402)]=t(384)}),i.addEventListener("mouseleave",()=>{const t=r;i.style[t(460)]=t(374),i[t(418)][t(402)]=t(464)}),e[r(394)]){s.src=e.videoUrl;const t=()=>{const t=r;s.autoplay&&s[t(410)]&&s.paused&&s[t(413)]()[t(414)](e=>{const n=t;this.debug&&(console[n(443)](n(462),e),console.warn(n(386))),s[n(410)]=!0,s.play()[n(414)](t=>{const e=n;this.debug&&console[e(389)]("🎬 Autoplay completely failed:",t)})})};s[r(444)](r(442),()=>{const e=r;this[e(371)]&&console[e(364)](e(458)),t()}),s[r(444)](r(378),()=>{const e=r;this.debug&&console[e(364)]("🎬 Video can play, attempting autoplay..."),t()}),s[r(444)](r(357),()=>{const e=r;this[e(371)]&&console[e(364)](e(363)),t()}),setTimeout(()=>{const e=r;this[e(371)]&&console.log(e(430)),t()},100)}else if(e.imageUrl){const n=document[r(441)](r(427));return n[r(450)]=e[r(465)],n.style[r(369)]=r(436),n.style.height=r(436),n.style[r(456)]=r(471),n[r(365)]=e[r(403)]||r(354),void t[r(356)](n)}st[r(372)](s,e,n,()=>this[r(377)](),this[r(371)],r(423)),s.addEventListener(r(389),s=>{const o=r;if(console[o(389)](o(437),s),e[o(465)]){const r=document.createElement("img");r[o(450)]=e[o(465)],r[o(418)].width=o(436),r[o(418)].height=o(436),r[o(418)].objectFit=o(471),r[o(365)]=e.title||"Video thumbnail",st[o(372)](r,e,n,()=>this.createEventTrackingCallback(),this[o(371)],o(399)),t[o(416)]="",t[o(356)](r)}}),t[r(356)](s),t[r(356)](i),this[r(371)]&&console[r(364)](r(429)+e[r(420)]+r(379)+s.autoplay+r(370)+s[r(410)]+r(417)+s[r(385)]+")")}}const zt=Nt;function Nt(t,e){const n=Ot();return(Nt=function(t,e){return n[t-=359]})(t,e)}function Ot(){const t=["innerHTML","127619IUGESJ","renderMultipleAds","1455160CLWHQZ","18PxNyAp","appendChild","_blank","open","createElement","8OkUqlw","_id","backgroundColor","198CjVAcR","Learn More","button","src","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","renderAdElement","\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 ","textContent","200px","NATIVE","2668tBuBOa","⚠️ No native advertisements available for slot: ","style","755638XuwxsC","#3b82f6","204YiAoSP","1151874cZLVpk","\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 ","length","title","getElementById","35XDEvTS","🏠 Single native ad rendered: ","click","addEventListener","div","debug","imageUrl","mouseleave","log","494670KlsamF","97060oeMAir","cssText","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","linkUrl","alt","Native Advertisement","getDefaultHeight","2535SsFutS","#2563eb","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","adstage-ad adstage-native-ad","warn"];return(Ot=function(){return t})()}!function(t){const e=Nt,n=t();for(;;)try{if(356846===-parseInt(e(386))/1*(parseInt(e(394))/2)+-parseInt(e(413))/3+parseInt(e(407))/4*(-parseInt(e(380))/5)+-parseInt(e(372))/6*(-parseInt(e(363))/7)+-parseInt(e(388))/8*(-parseInt(e(389))/9)+parseInt(e(373))/10*(-parseInt(e(397))/11)+parseInt(e(412))/12*(parseInt(e(410))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ot);class Vt extends mt{constructor(t=!1,n){super(e[Nt(406)],t,n)}[zt(379)](){return zt(405)}async[zt(402)](t,e){const n=zt,r=document[n(362)](t.containerId);if(!r)return;const s=document[n(393)](n(367));if(s.className=n(383),s[n(409)][n(374)]=n(359),e[n(361)]){const t=document.createElement("h3");t[n(404)]=e[n(361)],t.style.cssText=n(401),s.appendChild(t)}if(e[n(404)]){const t=document[n(393)]("p");t[n(404)]=e[n(404)],t.style.cssText=n(382),s.appendChild(t)}if(e[n(369)]){const t=document[n(393)](n(367));t[n(409)].cssText="\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ";const r=document[n(393)]("img");r[n(400)]=e[n(369)],r[n(377)]=e[n(361)]||n(378),r[n(409)][n(374)]=n(375),t[n(390)](r),s[n(390)](t)}if(e[n(376)]){const t=document[n(393)](n(399));t.textContent=n(398),t.style[n(374)]=n(403),t[n(366)](n(365),()=>{const t=n;this.advertisementEventTracker&&console.log("Native click tracked for ad: "+e[t(395)]),window[t(392)](e[t(376)],t(391))}),t[n(366)]("mouseenter",()=>{const e=n;t.style[e(396)]=e(381)}),t[n(366)](n(370),()=>{const e=n;t.style[e(396)]=e(411)}),s.appendChild(t)}r[n(385)]="",r[n(390)](s),this[n(368)]&&console.log(n(364)+e._id)}async[zt(387)](t,e){const n=zt;e[n(360)]>0?(await this[n(402)](t,e[0]),this.debug&&console[n(371)]("🏠 Native ad rendered (first of "+e[n(360)]+"): "+t.id)):this[n(368)]&&console[n(384)](n(408)+t.id)}}const Ft=Ht;function jt(){const t=["cssText","body","#f3f4f6","className","Interstitial Advertisement","animation","#374151","addEventListener","img","⚠️ No interstitial advertisements available for slot: ","Get Started","\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 ","textContent","204601XZnWpY","appendChild","imageUrl","removeChild","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","\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 ","5213483UfjlUZ","fadeOut 0.3s ease-out forwards","2512008VFfUKV","head","style","click","title","keydown","parentNode","#e5e7eb","_id","4peHyDu","#3b82f6","alt","adstage-interstitial-content","length","): ","advertisementEventTracker","closeInterstitial","77565yhSVOe","mouseleave","270qTNuBF","warn","9uStmoS","1209410IjzLtp","log","linkUrl","src","8EUEOCx","🖼️ Interstitial ad rendered (first of ","div","debug","🖼️ Interstitial ad closed","🖼️ Interstitial ad rendered: ","mouseenter","createElement","renderAdElement","button","renderMultipleAds","adstage-interstitial-overlay","adstage-interstitial-styles","target","color","6200278TxhqJJ","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","Escape","getElementById","96057FtgnDl","\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 ","backgroundColor","_blank","key","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n "];return(jt=function(){return t})()}function Ht(t,e){const n=jt();return(Ht=function(t,e){return n[t-=203]})(t,e)}!function(t){const e=Ht,n=t();for(;;)try{if(464504===-parseInt(e(243))/1*(-parseInt(e(260))/2)+-parseInt(e(224))/3+parseInt(e(251))/4+-parseInt(e(268))/5*(-parseInt(e(270))/6)+parseInt(e(220))/7*(-parseInt(e(205))/8)+-parseInt(e(272))/9*(-parseInt(e(273))/10)+-parseInt(e(249))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(jt);class Kt extends mt{constructor(t=!1,n){super(e.INTERSTITIAL,t,n)}getDefaultHeight(){return"400px"}async[Ft(213)](t,e){const n=Ft;if(!document[n(223)](t.containerId))return;const r=document[n(212)](n(207));r[n(233)]=n(216),r[n(253)][n(230)]=n(225);const s=document.createElement(n(207));s[n(233)]=n(263),s[n(253)][n(230)]=n(241);const o=document[n(212)](n(214));if(o.innerHTML="×",o.style[n(230)]="\n position: absolute;\n top: 12px;\n right: 12px;\n width: 32px;\n height: 32px;\n border: none;\n background: #f3f4f6;\n color: #6b7280;\n font-size: 20px;\n font-weight: bold;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s;\n ",o[n(237)](n(254),()=>{this.closeInterstitial(r)}),o[n(237)]("mouseenter",()=>{const t=n;o[t(253)][t(226)]=t(258),o[t(253)][t(219)]=t(236)}),o[n(237)]("mouseleave",()=>{const t=n;o[t(253)][t(226)]=t(232),o[t(253)][t(219)]="#6b7280"}),e[n(245)]){const t=document[n(212)](n(238));t[n(204)]=e[n(245)],t[n(262)]=e[n(255)]||n(234),t[n(253)][n(230)]=n(221),s[n(244)](t)}if(e[n(255)]){const t=document.createElement("h2");t.textContent=e[n(255)],t[n(253)][n(230)]=n(247),s[n(244)](t)}if(e[n(242)]){const t=document[n(212)]("p");t[n(242)]=e.textContent,t[n(253)][n(230)]=n(229),s[n(244)](t)}if(e[n(203)]){const t=document[n(212)](n(214));t[n(242)]=n(240),t[n(253)].cssText=n(248),t.addEventListener(n(254),()=>{const t=n;this[t(266)]&&console[t(274)]("Interstitial click tracked for ad: "+e[t(259)]),window.open(e[t(203)],t(227)),this[t(267)](r)}),t[n(237)](n(211),()=>{const e=n;t[e(253)][e(226)]="#2563eb"}),t.addEventListener(n(269),()=>{const e=n;t[e(253)][e(226)]=e(261)}),s[n(244)](t)}const i=t=>{const e=n;t[e(228)]===e(222)&&(this[e(267)](r),document.removeEventListener(e(256),i))};if(document.addEventListener(n(256),i),r[n(237)](n(254),t=>{const e=n;t[e(218)]===r&&this[e(267)](r)}),!document.getElementById(n(217))){const t=document[n(212)](n(253));t.id=n(217),t[n(242)]="\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(252)].appendChild(t)}s[n(244)](o),r[n(244)](s),document[n(231)][n(244)](r),this[n(208)]&&console[n(274)](n(210)+e[n(259)])}async[Ft(215)](t,e){const n=Ft;e[n(264)]>0?(await this[n(213)](t,e[0]),this.debug&&console[n(274)](n(206)+e[n(264)]+n(265)+t.id)):this.debug&&console[n(271)](n(239)+t.id)}closeInterstitial(t){const e=Ft;t[e(253)][e(235)]=e(250),setTimeout(()=>{const n=e;t[n(257)]&&t[n(257)][n(246)](t)},300),this[e(208)]&&console[e(274)](e(209))}}function Wt(t,e){const n=Yt();return(Wt=function(t,e){return n[t-=171]})(t,e)}const qt=Wt;function Yt(){const t=["_id","951IVeUVh","border","getRenderer","className","width","41ANrufl","calculateAdSize","get","renderMultipleAds","2615403WIKqnQ","isLoaded","TEXT"," Ad","cover","getDefaultHeightForAdType","8px","874270dYoldB","advertisementEventTracker","35846aNXTsM","createElement","advertisement","backgroundColor","appendChild","No advertisement to render","renderers","block","renderOptimizedBannerImage","createAdElement","set","No renderer found for ad type: ","BANNER","display","adstage-ad adstage-","size","126QjwGwL","Failed to load image: ","textContent","debug","1650852pAfTQT","naturalWidth","🏭 AdRenderer factory initialized with ","8ZSVyyw","VIDEO","videoUrl","3934236DaHvOy","104515qcDUIq","data-adstage-slot-id","#f9f9f9","createPlaceholder","initializeRenderers","4248XpLzsJ"," renderers","data-adstage-ad-id","66AzYTwK","warn","adType","style","INTERSTITIAL","renderAdElement","div","setAttribute","objectFit","toLowerCase","⚠️ Container optimization is only supported for BANNER ads, got: ","src","calculateOptimalContainerSize","log","height","100%","renderFallback","img"];return(Yt=function(){return t})()}!function(t){const e=Wt,n=t();for(;;)try{if(401122===parseInt(e(187))/1*(-parseInt(e(200))/2)+-parseInt(e(182))/3*(-parseInt(e(232))/4)+parseInt(e(227))/5*(parseInt(e(216))/6)+-parseInt(e(191))/7*(-parseInt(e(223))/8)+parseInt(e(220))/9+-parseInt(e(198))/10*(parseInt(e(235))/11)+parseInt(e(226))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Yt);class Gt{constructor(t=!1,e){const n=Wt;this.renderers=new Map,this[n(219)]=t,this[n(199)]=e||null,this[n(231)]()}initializeRenderers(){const t=Wt;this[t(206)][t(210)](e.BANNER,new bt(this[t(219)],this[t(199)])),this[t(206)][t(210)](e[t(193)],new _t(this[t(219)],this.advertisementEventTracker)),this.renderers[t(210)](e[t(224)],new Mt(this[t(219)],this[t(199)])),this.renderers[t(210)](e.NATIVE,new Vt(this[t(219)],this[t(199)])),this[t(206)][t(210)](e[t(239)],new Kt(this[t(219)],this[t(199)])),this[t(219)]&&console[t(176)](t(222)+this[t(206)][t(215)]+t(233))}[qt(209)](t,n){const r=qt,s=this[r(184)](t[r(237)]),o=document.createElement("div");o[r(185)]=r(214)+String(t.adType)[r(172)](),o[r(242)](r(234),n[r(181)]),o[r(242)](r(228),t.id);const{width:i,height:a}=s[r(188)](o,t.config||{},n);switch(o[r(238)][r(186)]=i,o.style[r(177)]=a,o[r(238)][r(213)]=r(207),t[r(237)]){case e[r(212)]:if(n.imageUrl){const t=document[r(201)](r(180));t.src=n.imageUrl,t[r(238)][r(186)]=r(178),t[r(238)][r(177)]=r(178),t.style[r(171)]=r(195),o[r(204)](t)}break;case e[r(224)]:if(n[r(225)]){const t=document.createElement("video");t[r(174)]=n[r(225)],t[r(238)][r(186)]=r(178),t[r(238)][r(177)]=r(178),o.appendChild(t)}break;case e[r(193)]:if(n[r(218)]){const t=document.createElement(r(241));t[r(218)]=n[r(218)]||"",t.style.padding=r(197),o[r(204)](t)}break;default:o[r(238)][r(183)]="1px dashed #ccc",o[r(238)][r(203)]=r(229),o[r(218)]=t[r(237)]+r(194)}return o}[qt(184)](t){const e=qt,n=this.renderers[e(189)](t);if(!n)throw new Error(e(211)+t);return n}[qt(230)](t,e,n,r,s){this[qt(184)](n).createPlaceholder(t,e,r,s)}async optimizeContainerForBannerAds(t,n){const r=qt;if(t[r(237)]!==e[r(212)])return void(this[r(219)]&&console[r(236)](r(173)+t[r(237)]));const s=this[r(184)](e[r(212)]);await s.optimizeContainerForBannerAds(t,n)}async renderAdSlider(t,e){const n=qt,r=this[n(184)](t[n(237)]);await r[n(190)](t,e)}async renderAd(t){const e=qt;if(!t[e(202)])throw new Error(e(205));const n=this[e(184)](t[e(237)]);await n[e(240)](t,t[e(202)]),t[e(192)]=!0}async[qt(240)](t,e){const n=this[qt(184)](t.adType);await n.renderAdElement(t,e)}[qt(179)](t){const e=qt;this[e(184)](t[e(237)])[e(179)](t)}[qt(196)](t){return this[qt(184)](t).getDefaultHeight()}[qt(188)](t,e,n,r){const s=qt;return this[s(184)](e)[s(188)](t,n,r)}loadImageDimensions(t){return new Promise((e,n)=>{const r=new Image;r.onload=()=>{e({width:r[Wt(221)],height:r.naturalHeight})},r.onerror=()=>{n(new Error(Wt(217)+t))},r.src=t})}async[qt(208)](t,n,r){const s=qt;if(r[s(237)]!==e[s(212)])throw new Error("renderOptimizedBannerImage is only supported for BANNER ads");const o=this[s(184)](e[s(212)]);return await o[s(208)](t,n,r)}async calculateOptimalContainerSize(t,n,r){const s=qt;if(r!==e.BANNER){return{width:"100%",height:this[s(184)](r).getDefaultHeight(),aspectRatio:16/9}}const o=this[s(184)](e[s(212)]);return await o[s(175)](t,n)}[qt(176)](t,...e){this.debug&&console.log("[AdRenderer] "+t,...e)}}const Xt=Qt;function Jt(){const t=["viewabilityTracker","createAdInternal","✅ Simple viewable impression tracked for ad ","🎯 Ads module initialized (sync mode) with auto-cleanup","_isReady"," ads)","3024tpmahl","startSimpleViewabilityTracking","🔍 Auto-cleanup MutationObserver enabled","slots","length","detail","Ads module not initialized. Call AdStage.init() first.","광고 생성 중 오류 발생:","📊 Fetched ","loadAdContentInBackground","Container not found: "," ads for type: ","video","isReady","5MGwtwh","[data-adstage-slot-id]","createPlaceholder","now","from","init","text","getElementById","advertisement","maxLines","querySelectorAll","❌ Failed to find element for viewability tracking: ","log","list","mutationObserver","forEach","muted","width","Ad slot not found: ","trackAdvertisementEvent"," (element found)","interstitial","removedNodes","debug","BANNER","get","native"," removed","controls","error","71918tpFpEO","🚫 Advertisement not found with ID: ","🎯 Simple viewability tracking started for slot: ","100%","getSlotById","deviceType","11284iwFOtB","string"," ads automatically","apiKey","Failed to fetch ad data: ","language","📊 Fetched specific ad with ID: ","advertisementEventTracker","advertisements","toString","adRenderer","nodeType","NATIVE","getAllSlots","containerId","🔄 Retrying viewability tracking for slot: ","loop","autoSlide","append","3554680SNDYgg","567805nWLNUM","ensureReady","🗑️ Ad slot destroyed: ","warn","set","createAdWithRetry","getConfig","refresh","style","createAd","fetchAdData","adId",". Retrying in ","576yjiFya","renderFallback","🗑️ Ads module destroyed","New advertisement viewable tracked for slot:","autoplay"," attempts: ","undefined","_id","banner","API key not configured","❌ Failed to track viewable impression:","handleViewableEvent","TEXT","auto-","substr","❌ Failed to load ad for slot: ","adType","📊 Advertisement event tracking enabled for slot: ","117BvsUtm","1085270fQQeXx","auto","VIEWABLE","body","VIDEO","json","ELEMENT_NODE","default","45078WOAsXk","3CfNADA","destroyModule","setupAutoCleanup","renderAd","_config","autoDestroy","playsinline","onClick","delete"," (attempt ","random","data-adstage-slot-id","getAttribute","observe","destroy","customControls","height","6978808GNIgAQ","hideControls","status","Container not found after ","then","country","disconnect","config","refreshAdSlot","Auto-cleanup failed for slot ","handleRemovedElement","adstage-"];return(Jt=function(){return t})()}function Qt(t,e){const n=Jt();return(Qt=function(t,e){return n[t-=240]})(t,e)}!function(t){const e=Qt,n=t();for(;;)try{if(931176===-parseInt(e(244))/1+parseInt(e(284))/2*(parseInt(e(285))/3)+parseInt(e(243))/4*(parseInt(e(334))/5)+-parseInt(e(320))/6*(-parseInt(e(370))/7)+parseInt(e(302))/8+-parseInt(e(275))/9*(parseInt(e(276))/10)+parseInt(e(364))/11*(parseInt(e(257))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Jt);class Zt{constructor(){const t=Qt;this[t(318)]=!1,this[t(289)]=null,this[t(323)]=new Map,this[t(377)]=null,this[t(380)]=null,this.mutationObserver=null}[Xt(339)](t){const e=Xt;this._config=t,this[e(377)]=new O(J.getBaseUrl(),t[e(373)],t.debug||!1,this[e(323)]),this[e(380)]=new Gt(t.debug||!1,this.advertisementEventTracker),this.setupAutoCleanup(),this[e(318)]=!0,t.debug&&console[e(346)](e(317))}[Xt(333)](){return this[Xt(318)]}[Xt(250)](){return this[Xt(289)]}[Xt(265)](t,n){const r=Xt;this[r(245)]();const s={width:n?.[r(351)]||r(367),height:n?.[r(301)]||r(277),autoSlide:n?.[r(241)]||!1,slideInterval:n?.slideInterval||5e3,onClick:n?.[r(292)],adId:n?.adId,language:n?.[r(375)],deviceType:n?.deviceType,country:n?.country};return this.createAd(t,e[r(358)],s)}[Xt(340)](t,n){const r=Xt;this[r(245)]();const s={maxLines:n?.[r(343)]||3,style:n?.[r(252)]||r(283),onClick:n?.onClick,adId:n?.[r(255)],language:n?.[r(375)],deviceType:n?.deviceType,country:n?.[r(307)]};return this[r(253)](t,e[r(269)],s)}[Xt(332)](t,n){const r=Xt;this.ensureReady();const s={width:n?.[r(351)]||640,height:n?.[r(301)]||360,autoplay:void 0===n?.[r(261)]||n[r(261)],muted:void 0===n?.[r(350)]||n[r(350)],loop:void 0===n?.[r(240)]||n[r(240)],playsinline:!1!==n?.[r(291)],controls:void 0!==n?.[r(362)]&&n[r(362)],hideControls:n?.[r(303)]||!1,customControls:n?.[r(300)],autoSlide:!1,maxAds:1,onClick:n?.[r(292)],...n?.[r(255)]&&{adId:n[r(255)]}};return this[r(253)](t,e[r(280)],s)}[Xt(360)](t,n){const r=Xt;return this[r(245)](),this[r(253)](t,e[r(382)],n||{})}[Xt(355)](t,n){return this[Xt(245)](),this.createAd(t,e.INTERSTITIAL,n||{})}[Xt(251)](t){const e=Xt;this.ensureReady();const n=this.slots[e(359)](t);if(!n)throw new Error(e(352)+t);this.refreshAdSlot(n),this[e(289)]?.[e(357)]&&console[e(346)]("🔄 Ad slot refreshed: "+t)}[Xt(299)](t){const e=Xt;this.ensureReady();const n=this[e(323)][e(359)](t);if(!n)throw new Error("Ad slot not found: "+t);n[e(314)]&&n[e(314)][e(299)]();const r=document[e(341)](n[e(384)]);r&&(r.innerHTML=""),this[e(323)][e(293)](t),this[e(289)]?.[e(357)]&&console[e(346)](e(246)+t)}[Xt(383)](){const t=Xt;return this[t(245)](),Array[t(338)](this.slots.values())}[Xt(368)](t){const e=Xt;return this[e(245)](),this[e(323)][e(359)](t)||null}[Xt(253)](t,e,n){const r=Xt;if(!this._config?.[r(373)])throw new Error(r(266));const s=r(313)+e+"-"+Date[r(337)]()+"-"+Math[r(295)]().toString(36)[r(271)](2,9);return this.createAdWithRetry(t,e,n,s,0),s}async[Xt(249)](t,e,n,r,s){const o=Xt,i=[0,50,100,200,500];let a,c=null;if(typeof t===o(371)){if(a=t,c=document[o(341)](t),!c)return s<4?(this[o(289)]?.[o(357)]&&console[o(247)](o(330)+t+o(256)+i[s+1]+"ms... (attempt "+(s+1)+"/5)"),void setTimeout(()=>{this[o(249)](t,e,n,r,s+1)},i[s+1])):void console.error(o(305)+5+o(262)+t)}else c=t,a=c.id||o(270)+r,!c.id&&(c.id=a);try{this[o(315)](a,e,n,r,c)}catch(t){console[o(363)](o(327),t)}}[Xt(315)](t,n,r,s,o){const i=Xt;o.setAttribute("data-adstage-slot-id",s),this[i(380)]?.[i(336)](o,s,n,r,this[i(289)]);const a={id:s,containerId:t,adType:n,width:r.width||i(367),height:r.height||(n===e[i(269)]?i(277):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...r},load:async()=>this[i(254)](n,r)[i(306)](t=>t[0]||null),render:t=>this.adRenderer?.renderAdElement(a,t),refresh:async()=>this[i(310)](a),destroy:()=>this[i(299)](s)};this[i(323)][i(248)](s,a),this[i(329)](a),this.advertisementEventTracker&&this[i(289)]?.[i(357)]&&console[i(346)](i(274)+s)}async loadAdContentInBackground(t){const n=Xt;try{const r=await this[n(254)](t.adType,t[n(309)]);if(!r||0===r[n(324)])return void this[n(380)]?.[n(258)](t);t[n(273)]===e[n(358)]&&r[n(324)]>0&&await(this.adRenderer?.optimizeContainerForBannerAds(t,r)),r.length>1||t[n(309)]?.autoSlide?(await(this[n(380)]?.renderAdSlider(t,r)),this[n(289)]?.debug&&console[n(346)]("🎠 Slider will handle VIEWABLE events for "+r[n(324)]+n(372))):(t.advertisement=r[0],await(this[n(380)]?.renderAdElement(t,r[0])),this[n(321)](t,r[0])),t.isLoaded=!0,this[n(289)]?.[n(357)]&&console[n(346)]("✅ Ad loaded for slot: "+t.id+" ("+r[n(324)]+n(319))}catch(e){console[n(363)](n(272)+t.id,e),this[n(380)]?.[n(258)](t)}}[Xt(321)](t,e){const n=(r=0)=>{const s=Qt,o=document.getElementById(t.id);if(!o)return void(r<5?(setTimeout(()=>n(r+1),300),this[s(289)]?.debug&&console[s(346)](s(385)+t.id+s(294)+(r+1)+")")):console.warn(s(345)+t.id));const i=new H(o,async()=>{const n=s;await this[n(268)](e,t)});t[s(314)]=i,this._config?.[s(357)]&&console[s(346)](s(366)+t.id+s(354))};n()}async handleViewableEvent(t,e){const n=Xt;try{this.advertisementEventTracker&&(await this[n(377)][n(353)](t._id,e.id,a[n(278)]),this[n(289)]?.[n(357)]&&console[n(346)](n(316)+t[n(264)]))}catch(t){console.error(n(267),t)}}async[Xt(254)](t,e){const n=Xt;if(!this[n(289)]?.[n(373)])throw new Error("API key not configured");if(e.adId){const t=""+J[n(378)][n(325)](e[n(255)]),r=await fetch(t,{method:"GET",headers:L.create(this[n(289)][n(373)])});if(!r.ok){if(404===r.status)return console[n(247)](n(365)+e[n(255)]),[];throw new Error("Failed to fetch ad data: "+r[n(304)])}const s=await r[n(281)]();return this[n(289)]?.[n(357)]&&console.log(n(376)+e.adId,s),[s]}const r=new URLSearchParams;r.append(n(273),t),e.language&&r[n(242)](n(375),e[n(375)]),e[n(369)]&&r[n(242)]("deviceType",e[n(369)]),e[n(307)]&&r.append(n(307),e[n(307)]);const s=J[n(378)][n(347)]()+"?"+r[n(379)](),o=await fetch(s,{method:"GET",headers:L.create(this[n(289)][n(373)])});if(!o.ok)throw new Error(n(374)+o[n(304)]);const i=(await o[n(281)]())[n(378)]||[];return this[n(289)]?.[n(357)]&&console[n(346)](n(328)+i[n(324)]+n(331)+t+", filters:",{language:e[n(375)],deviceType:e[n(369)],country:e[n(307)]}),i}async[Xt(310)](t){const e=Xt;try{const n=await this[e(254)](t[e(273)],t[e(309)]||{});n&&n[e(324)]>0&&(t[e(342)]=n[0],await(this[e(380)]?.[e(288)](t)),this[e(377)]&&console[e(346)](e(260),t.id))}catch(n){console[e(363)]("Failed to refresh ad slot: "+t.id,n)}}[Xt(245)](){const t=Xt;if(!this._isReady)throw new Error(t(326))}[Xt(287)](){const t=Xt;typeof window!==t(263)&&typeof document!==t(263)&&(this[t(348)]&&this[t(348)].disconnect(),this.mutationObserver=new MutationObserver(e=>{const n=t;e[n(349)](t=>{const e=n;t[e(356)][e(349)](t=>{const n=e;t[n(381)]===Node[n(282)]&&this[n(312)](t)})})}),this[t(348)][t(298)](document[t(279)],{childList:!0,subtree:!0}),this[t(289)]?.[t(357)]&&console[t(346)](t(322)))}[Xt(312)](t){const e=Xt,n=t[e(297)](e(296));if(n)return void this[e(290)](n);t[e(344)](e(335))[e(349)](t=>{const n=e,r=t.getAttribute(n(296));r&&this.autoDestroy(r)})}[Xt(290)](t){const e=Xt;if(this[e(323)][e(359)](t))try{this[e(323)][e(293)](t),this[e(289)]?.[e(357)]&&console[e(346)]("🧹 Auto-cleanup: slot "+t+e(361))}catch(n){this[e(289)]?.[e(357)]&&console[e(247)](e(311)+t+":",n)}}[Xt(286)](){const t=Xt,e=this._config?.[t(357)];this[t(348)]&&(this[t(348)][t(308)](),this[t(348)]=null),this[t(323)].clear(),this[t(377)]=null,this.adRenderer=null,this[t(318)]=!1,this._config=null,e&&console[t(346)](t(259))}}var $t=ee;function te(){var t=["getOrganizationInfo","includes","isReady","_config","baseUrl","_isReady","148HoklLD","getApiHeaders","config","isDebugMode","_organizationInfo","1654208BnUKjL","setBaseUrl","getEnabledModules","8479884rabovF","development","ads","apiKey","getConfig","getBaseUrl","116163JESGNp","log","events","isModuleEnabled","updateConfig","9791760vUzYKU","2958900CDWkAI","6AYsGFG","init","debug","Config module not initialized","223085kTsGie","548730qpdcPz","368qQvjiK","create","modules"];return(te=function(){return t})()}function ee(t,e){var n=te();return(ee=function(t,e){return n[t-=197]})(t,e)}!function(t){for(var e=ee,n=t();;)try{if(905209===-parseInt(e(232))/1+parseInt(e(211))/2*(parseInt(e(227))/3)+-parseInt(e(206))/4*(parseInt(e(231))/5)+parseInt(e(214))/6+parseInt(e(226))/7+parseInt(e(197))/8*(parseInt(e(220))/9)+-parseInt(e(225))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(te);class ne{constructor(){var t=ee;this[t(205)]=!1,this[t(203)]=null,this[t(210)]=null}[$t(228)](t){var e=$t;this[e(203)]={timeout:3e4,debug:!1,modules:[e(216),e(222),e(208)],...t},t.baseUrl&&J[e(212)](t[e(204)]),this[e(205)]=!0,t[e(229)]&&console[e(221)]("✅ Config module initialized (sync mode)",{modules:this[e(203)].modules,endpoint:J[e(219)](),mode:e(215)})}[$t(202)](){return this._isReady}[$t(218)](){return this[$t(203)]}[$t(200)](){return this._organizationInfo}getApiEndpoint(){return J.getBaseUrl()}[$t(209)](){var t=$t;return this[t(203)]?.[t(229)]||!1}[$t(213)](){var t=$t;return this._config?.[t(199)]||[]}[$t(223)](t){var e=$t;return this[e(213)]()[e(201)](t)}[$t(224)](t){var e=$t;if(!this[e(203)])throw new Error(e(230));this[e(203)]={...this[e(203)],...t},this[e(209)]()&&console[e(221)]("🔄 Config updated",t)}[$t(207)](){var t=$t;if(!this._config?.[t(217)])throw new Error("API key not available");return L[t(198)](this[t(203)][t(217)])}}const re=oe;function se(){const t=["getAutoDetectedDeviceInfo","clearDeviceInfo","Mobile Web","SSR","userAgent","542552ThYzjn","tablet","desktop","13769hTuGtl","495hYFHiT","ko-KR","716QLJSsW","cookieEnabled","36NkKFop","getViewportInfo","1092AYcsAc","mapPlatformForEvents","2345973IIWpkS","toLowerCase","setDeviceProperty","Unknown","getDetailedInfo","android","_userProvidedDeviceInfo","platform","mobile","Desktop Web","32350IsvlQq","getPlatform","width","422376WwvZwT","1045335AIxLqf","iOS","911SsLlIv","isBrowser","0x0","ios","Android","height","other","getUserDeviceInfo"];return(se=function(){return t})()}function oe(t,e){const n=se();return(oe=function(t,e){return n[t-=163]})(t,e)}!function(t){const e=oe,n=t();for(;;)try{if(411237===-parseInt(e(176))/1*(parseInt(e(195))/2)+parseInt(e(201))/3+parseInt(e(173))/4+-parseInt(e(174))/5+parseInt(e(199))/6*(-parseInt(e(192))/7)+parseInt(e(189))/8*(parseInt(e(197))/9)+-parseInt(e(170))/10*(-parseInt(e(193))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(se);class ie{static getDeviceInfo(){return{...ie[oe(184)](),...ie._userProvidedDeviceInfo}}static[re(184)](){const t=re;if(!y[t(177)]())return{category:t(182),platform:t(187),model:t(187),osVersion:t(187)};const e=navigator[t(188)][t(202)]();let n="desktop";/tablet|ipad/.test(e)?n=t(190):_.isMobile()&&(n=t(168));const r=_[t(171)]();return{category:n,platform:ie.mapPlatformForEvents(r),model:navigator[t(167)],osVersion:navigator[t(167)]}}static setDeviceInfo(t){ie[re(166)]={...ie._userProvidedDeviceInfo,...t}}static[re(203)](t,e){ie._userProvidedDeviceInfo[t]=e}static[re(185)](){ie[re(166)]={}}static[re(183)](){return{...ie[re(166)]}}static[re(200)](t){const e=re;switch(t){case e(179):return e(175);case e(165):return e(180);case"web":return e(186);case e(191):return e(169);default:return e(163)}}static[re(164)](){const t=re;if(!y[t(177)]())return{userAgent:t(187),language:t(194),platform:t(187),cookieEnabled:!1,onLine:!0,screenResolution:t(178),viewportSize:t(178)};const e=y[t(198)]();return{userAgent:navigator[t(188)],language:navigator.language||t(194),platform:navigator[t(167)],cookieEnabled:navigator[t(196)],onLine:navigator.onLine,screenResolution:screen[t(172)]+"x"+screen[t(181)],viewportSize:e.width+"x"+e[t(181)]}}}ie._userProvidedDeviceInfo={};const ae=le;!function(t){const e=le,n=t();for(;;)try{if(656421===-parseInt(e(292))/1*(-parseInt(e(315))/2)+parseInt(e(303))/3+parseInt(e(295))/4+parseInt(e(294))/5*(-parseInt(e(305))/6)+parseInt(e(299))/7+-parseInt(e(309))/8*(-parseInt(e(296))/9)+-parseInt(e(297))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(de);class ce{static[ae(298)](){const t=ae;return{...ce[t(306)](),...ce[t(311)]}}static getBaseUserInfo(){const t=ae;if(!y[t(300)]())return{language:t(314),country:"KR"};const e=navigator[t(302)]||t(314);return{language:e,country:ce[t(291)](e)}}static[ae(291)](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.split("-")[0]]||"KR"}static[ae(304)](t){ce[ae(311)]={...ce._userProperties,...t}}static[ae(308)](t,e){ce[ae(311)][t]=e}static clearUserProperties(){ce._userProperties={}}static[ae(307)](){return{...ce[ae(311)]}}static[ae(312)](){const t=ae;if(!y[t(300)]())return{timezone:t(310),estimatedCountry:"KR"};const e=Intl[t(313)]()[t(301)]()[t(293)];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 de(){const t=["_userProperties","estimateLocation","DateTimeFormat","ko-KR","55756XueGDp","extractCountryFromLanguage","12jjEflK","timeZone","5ASPwJW","3570652eGWyak","9gIEIHH","26030500vArwai","getUserInfo","8701266VldvAM","isBrowser","resolvedOptions","language","971028Mfkwre","setUserProperties","2137704Otyqug","getBaseUserInfo","getCurrentUserProperties","setUserProperty","6574736EJMpmM","UTC"];return(de=function(){return t})()}function le(t,e){const n=de();return(le=function(t,e){return n[t-=291]})(t,e)}ce._userProperties={};const ue=pe;function pe(t,e){const n=fe();return(pe=function(t,e){return n[t-=351]})(t,e)}!function(t){const e=pe,n=t();for(;;)try{if(114156===parseInt(e(381))/1*(parseInt(e(366))/2)+-parseInt(e(371))/3*(-parseInt(e(365))/4)+-parseInt(e(374))/5*(parseInt(e(355))/6)+parseInt(e(378))/7*(parseInt(e(358))/8)+-parseInt(e(382))/9*(parseInt(e(352))/10)+parseInt(e(372))/11*(-parseInt(e(386))/12)+-parseInt(e(376))/13)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(fe);class he{static[ue(359)](){const t=ue;if(!y[t(377)]())return t(367)+Date.now();const e=sessionStorage[t(354)](t(353));if(e)return e;const n="session_"+Math[t(362)]()[t(380)](36)[t(351)](2,9)+"_"+Date.now();return sessionStorage.setItem("adstage_session_id",n),!he._sessionStartTime&&(he[t(379)]=Date[t(383)](),y[t(377)]()&&sessionStorage[t(384)](t(373),String(he[t(379)]))),n}static[ue(356)](t){const e=ue;he[e(368)]=t,y[e(377)]()&&localStorage.setItem(e(361),t)}static[ue(375)](){const t=ue;if(he[t(368)])return he[t(368)];if(y[t(377)]()){const e=localStorage[t(354)](t(361));if(e)return he[t(368)]=e,e}}static[ue(364)](){const t=ue;he[t(368)]=void 0,y[t(377)]()&&localStorage[t(369)]("adstage_user_id")}static getSessionInfo(){const t=ue,e=he.getSessionId(),n=he[t(375)](),r=he.isNewSession();return{sessionId:e,userId:n,sessionDuration:he[t(370)](),isNewSession:r}}static[ue(363)](){const t=ue;if(!y[t(377)]())return!0;const e=sessionStorage.getItem(t(353)),n=sessionStorage[t(354)](t(373));return!e||!n}static[ue(370)](){const t=ue;if(!y[t(377)]())return 0;const e=sessionStorage[t(354)](t(373));return e?Date[t(383)]()-parseInt(e,10):0}static[ue(360)](){const t=ue;return y[t(377)]()&&(sessionStorage.removeItem(t(353)),sessionStorage.removeItem("adstage_session_start")),he[t(379)]=void 0,he.getSessionId()}static[ue(357)](t=24){return he[ue(370)]()>60*t*60*1e3}static[ue(385)](){const t=ue,e=he[t(359)](),n=he.getUserId(),r=he[t(370)](),s=he[t(357)](),o=he[t(363)]();let i;if(y[t(377)]()){const e=sessionStorage[t(354)](t(373));i=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:i,duration:r,isExpired:s,isNewSession:o}}}function fe(){const t=["getUserId","1548859zxNfMd","isBrowser","7dzwLsy","_sessionStartTime","toString","14845KgRVYW","21861AWJywG","now","setItem","getSessionStats","36KAhNAu","substr","260lDbLGY","adstage_session_id","getItem","3222FVfLwg","setUserId","isSessionExpired","75208mtbUmP","getSessionId","refreshSession","adstage_user_id","random","isNewSession","clearUserId","884ubtVIS","20fMYVuG","ssr_session_","_userId","removeItem","getSessionDuration","2271BZMich","73711whOvwP","adstage_session_start","80wvccrZ"];return(fe=function(){return t})()}const ge=Ie;function me(){const t=["setUserId","setDeviceInfo","433976uCKGqr","error","✅ Event tracked:","Event data:","setUserProperties","warn","📱 Device property set:","getSessionId","📱 User provided device info cleared","415YdmUoe","getCurrentUserProperties","99342STRIgI","create","log","_config","POST","debug","Event tracking failed: ","👤 User properties set:","statusText","API key not configured for event tracking.","getUserProperties","_isReady","getUserDeviceInfo","apiKey","📱 Device info set:","events","getDeviceInfo","setDeviceProperty","8IbAJjB","getUserId","sendEventToServer","getUserInfo","2413299sUDvvj","init","20494557XVpLlX","isReady","6552308Eyqade","784054lFxJnM","4976676ZtrYXt","track","📊 Events module initialized","clearDeviceInfo","stringify"];return(me=function(){return t})()}function Ie(t,e){const n=me();return(Ie=function(t,e){return n[t-=219]})(t,e)}!function(t){const e=Ie,n=t();for(;;)try{if(776682===parseInt(e(234))/1+-parseInt(e(242))/2+parseInt(e(229))/3+parseInt(e(235))/4+parseInt(e(251))/5*(parseInt(e(253))/6)+parseInt(e(233))/7*(-parseInt(e(225))/8)+-parseInt(e(231))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(me);class ye{constructor(){const t=Ie;this._isReady=!1,this[t(256)]=null}[ge(230)](t){const e=ge;this[e(256)]=t,this[e(264)]=!0,t.debug&&console[e(255)](e(237))}[ge(232)](){return this[ge(264)]}getConfig(){return this[ge(256)]}setUserId(t){const e=ge;he[e(240)](t),this._config?.[e(258)]&&console[e(255)]("👤 User ID set:",t)}[ge(226)](){return he.getUserId()}setUserProperties(t){const e=ge;ce[e(246)](t),this[e(256)]?.[e(258)]&&console[e(255)](e(260),t)}[ge(263)](){return ce[ge(252)]()}[ge(241)](t){const e=ge;ie.setDeviceInfo(t),this[e(256)]?.[e(258)]&&console[e(255)](e(221),t)}[ge(224)](t,e){const n=ge;ie[n(224)](t,e),this._config?.[n(258)]&&console[n(255)](n(248),t,e)}[ge(238)](){const t=ge;ie.clearDeviceInfo(),this[t(256)]?.[t(258)]&&console[t(255)](t(250))}[ge(219)](){return ie.getUserDeviceInfo()}[ge(223)](){return ie[ge(223)]()}[ge(228)](){return ce.getUserInfo()}[ge(252)](){return ce.getCurrentUserProperties()}async[ge(236)](t,e){const n=ge;if(this[n(264)])if(this[n(256)]?.[n(220)])try{const r={eventName:t,userId:he[n(226)](),sessionId:he[n(249)](),sdkVersion:E(),device:ie.getDeviceInfo(),user:ce[n(228)](),params:e||{}};await this[n(227)](r),this._config[n(258)]&&console.log(n(244),t,e)}catch(r){console[n(243)]("❌ Failed to track event:",r),this[n(256)][n(258)]&&console[n(243)](n(245),{eventName:t,properties:e})}else console[n(247)](n(262));else console[n(247)]("Events module not initialized. Call AdStage.init() first.")}async sendEventToServer(t){const e=ge,n=await fetch(J[e(222)].track(),{method:e(257),headers:{...L[e(254)](this[e(256)][e(220)]),"Content-Type":"application/json"},body:JSON[e(239)](t)});if(!n.ok)throw new Error(e(259)+n.status+" "+n[e(261)])}}const ve=be;function be(t,e){const n=we();return(be=function(t,e){return n[t-=498]})(t,e)}function we(){const t=["431760dLrkaI","4UmghQK","reset","modules","clearAdViewable","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","config",")의 viewable 추적 초기화됨","_config","log","from","9IrkyjE","API key is required for AdStage initialization","baseUrl","getConfig","566640qBERyv","32311TNaAnk","instance","_isInitialized","282741VqEmqU","1786813WwGgKK","3878922uwDXhs","ads","debug","function","apiKey","getInstance","events","setBaseUrl","✅ AdStage Debug: 광고 ","init","substring","...","200305iPkKMQ"];return(we=function(){return t})()}!function(t){const e=be,n=t();for(;;)try{if(558153===-parseInt(e(517))/1+parseInt(e(501))/2+parseInt(e(520))/3+-parseInt(e(502))/4*(parseInt(e(500))/5)+parseInt(e(522))/6+-parseInt(e(521))/7+parseInt(e(516))/8*(-parseInt(e(512))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(we);class ke{constructor(){const t=be;this[t(519)]=!1,this[t(509)]=null,this.config=new ne,this[t(523)]=new Zt,this[t(528)]=new ye}static init(t){const e=be;!ke[e(518)]&&(ke[e(518)]=new ke);const n=ke[e(518)];if(!t[e(526)])throw new Error(e(513));n[e(509)]={timeout:3e4,debug:!1,modules:[e(523),e(528),e(507)],...t},n[e(509)][e(514)]&&(J[e(529)](n[e(509)][e(514)]),t[e(524)]&&console[e(510)]("🌐 API endpoint configured:",n._config[e(514)]));const r=n._config[e(504)]||[e(523),e(528),e(507)];for(const t of r){const r=n[t];r&&typeof r[e(531)]===e(525)&&r.init(n[e(509)])}n._isInitialized=!0,t[e(524)]&&console.log("🚀 AdStage SDK initialized (sync mode)",{version:"2.0.0",modules:r,apiKey:t[e(526)][e(498)](0,8)+e(499),mode:"development"})}static isReady(){const t=be;return ke[t(518)]?._isInitialized||!1}static[ve(515)](){const t=ve;return ke[t(518)]?.[t(509)]||null}static[ve(527)](){const t=ve;if(!ke[t(518)])throw new Error("AdStage not initialized. Call AdStage.init() first.");return ke[t(518)]}static get ads(){const t=ve;return ke.getInstance()[t(523)]}static get events(){const t=ve;return ke[t(527)]()[t(528)]}static get[ve(507)](){const t=ve;return ke.getInstance()[t(507)]}static[ve(503)](){const t=ve;ke[t(518)]&&(ke[t(518)][t(519)]=!1,ke[t(518)][t(509)]=null)}}function Ee(){var t=["getUserId","63gTpBxh","66istMQW","37101eyaxTm","AdStage not initialized. Call AdStage.init() first.","warn","1329832BZypqX","3325525krUcBX","9038544HMgYRG","744285LPGTkN","999230kDtgBA","events","resolve","isReady","getUserProperties","setUserProperties","232WqCFzd","646116pSiXCz"];return(Ee=function(){return t})()}function xe(t,e){var n=Ee();return(xe=function(t,e){return n[t-=433]})(t,e)}ke.debug={clearAllViewable:()=>{const t=ve;pt.clear(),console[t(510)](t(506))},clearAdViewable:(t,e)=>{const n=ve;pt[n(505)](t,e),console.log(n(530)+t+"("+e+n(508))},getViewableStatus:()=>{const t=ve;console[t(510)]("📊 AdStage Debug: 현재 viewable 추적 상태",{trackedCount:pt.viewableTracker.size,trackedItems:Array[t(511)](pt.viewableTracker)})}},function(t){for(var e=xe,n=t();;)try{if(818799===-parseInt(e(446))/1+parseInt(e(439))/2+parseInt(e(443))/3*(-parseInt(e(438))/4)+-parseInt(e(449))/5*(-parseInt(e(442))/6)+parseInt(e(447))/7+parseInt(e(448))/8+-parseInt(e(441))/9*(parseInt(e(450))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ee);var Se,Ae={exports:{}},Ce={},Te={exports:{}},De={};Te.exports=function(){if(Se)return De;Se=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),u=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,f={};function g(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}function m(){}function I(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=g.prototype;var y=I.prototype=new m;y.constructor=I,h(y,g.prototype),y.isPureReactComponent=!0;var v=Array.isArray,b=Object.prototype.hasOwnProperty,w={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function E(e,n,r){var s,o={},i=null,a=null;if(null!=n)for(s in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(i=""+n.key),n)b.call(n,s)&&!k.hasOwnProperty(s)&&(o[s]=n[s]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var d=Array(c),l=0;l<c;l++)d[l]=arguments[l+2];o.children=d}if(e&&e.defaultProps)for(s in c=e.defaultProps)void 0===o[s]&&(o[s]=c[s]);return{$$typeof:t,type:e,key:i,ref:a,props:o,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var S=/\/+/g;function A(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}(""+t.key):e.toString(36)}function C(n,r,s,o,i){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var c=!1;if(null===n)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(n.$$typeof){case t:case e:c=!0}}if(c)return i=i(c=n),n=""===o?"."+A(c,0):o,v(i)?(s="",null!=n&&(s=n.replace(S,"$&/")+"/"),C(i,r,s,"",function(t){return t})):null!=i&&(x(i)&&(i=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,s+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(S,"$&/")+"/")+n)),r.push(i)),1;if(c=0,o=""===o?".":o+":",v(n))for(var d=0;d<n.length;d++){var l=o+A(a=n[d],d);c+=C(a,r,s,l,i)}else if(l=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof l)for(n=l.call(n),d=0;!(a=n.next()).done;)c+=C(a=a.value,r,s,l=o+A(a,d++),i);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}function T(t,e,n){if(null==t)return t;var r=[],s=0;return C(t,r,"","",function(t){return e.call(n,t,s++)}),r}function D(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var R={current:null},_={transition:null},B={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:_,ReactCurrentOwner:w};function P(){throw Error("act(...) is not supported in production builds of React.")}return De.Children={map:T,forEach:function(t,e,n){T(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return T(t,function(){e++}),e},toArray:function(t){return T(t,function(t){return t})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},De.Component=g,De.Fragment=n,De.Profiler=s,De.PureComponent=I,De.StrictMode=r,De.Suspense=c,De.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,De.act=P,De.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var s=h({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,a=w.current),void 0!==n.key&&(o=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(d in n)b.call(n,d)&&!k.hasOwnProperty(d)&&(s[d]=void 0===n[d]&&void 0!==c?c[d]:n[d])}var d=arguments.length-2;if(1===d)s.children=r;else if(1<d){c=Array(d);for(var l=0;l<d;l++)c[l]=arguments[l+2];s.children=c}return{$$typeof:t,type:e.type,key:o,ref:i,props:s,_owner:a}},De.createContext=function(t){return(t={$$typeof:i,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:t},t.Consumer=t},De.createElement=E,De.createFactory=function(t){var e=E.bind(null,t);return e.type=t,e},De.createRef=function(){return{current:null}},De.forwardRef=function(t){return{$$typeof:a,render:t}},De.isValidElement=x,De.lazy=function(t){return{$$typeof:l,_payload:{_status:-1,_result:t},_init:D}},De.memo=function(t,e){return{$$typeof:d,type:t,compare:void 0===e?null:e}},De.startTransition=function(t){var e=_.transition;_.transition={};try{t()}finally{_.transition=e}},De.unstable_act=P,De.useCallback=function(t,e){return R.current.useCallback(t,e)},De.useContext=function(t){return R.current.useContext(t)},De.useDebugValue=function(){},De.useDeferredValue=function(t){return R.current.useDeferredValue(t)},De.useEffect=function(t,e){return R.current.useEffect(t,e)},De.useId=function(){return R.current.useId()},De.useImperativeHandle=function(t,e,n){return R.current.useImperativeHandle(t,e,n)},De.useInsertionEffect=function(t,e){return R.current.useInsertionEffect(t,e)},De.useLayoutEffect=function(t,e){return R.current.useLayoutEffect(t,e)},De.useMemo=function(t,e){return R.current.useMemo(t,e)},De.useReducer=function(t,e,n){return R.current.useReducer(t,e,n)},De.useRef=function(t){return R.current.useRef(t)},De.useState=function(t){return R.current.useState(t)},De.useSyncExternalStore=function(t,e,n){return R.current.useSyncExternalStore(t,e,n)},De.useTransition=function(){return R.current.useTransition()},De.version="18.3.1",De}();var Re,_e=Te.exports;
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).AdStage={})}(this,function(t){"use strict";var e,n,r,s,o,i,a,c,d,l,u,p;function h(t,e){var n=f();return(h=function(t,e){return n[t-=452]})(t,e)}function f(){var t=["INTERSTITIAL","VIEWABLE","760BoOpNP","2207653WYxdRJ","TEXT","TABLET","DESKTOP","20tuyLQy","5CoMNrd","3276009WoQLee","369867mupPOX","8QonjEt","POPUP","BANNER","4155hwKKZR","VIDEO","937980nUXxFa","4774473AyghRV","CLICK","MOBILE","148400UubCup","WEB"];return(f=function(){return t})()}!function(t){for(var e=h,n=t();;)try{if(304023===parseInt(e(459))/1*(parseInt(e(471))/2)+parseInt(e(461))/3+-parseInt(e(453))/4*(parseInt(e(465))/5)+parseInt(e(467))/6+-parseInt(e(454))/7*(-parseInt(e(462))/8)+parseInt(e(460))/9+-parseInt(e(458))/10*(parseInt(e(468))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(f),n=e||(e={}),r=h,n.BANNER=r(464),n[r(463)]=r(463),n[r(473)]="INTERSTITIAL",n.NATIVE="NATIVE",n[r(466)]=r(466),n[r(455)]=r(455),o=s||(s={}),i=h,o.WEB=i(472),o[i(470)]=i(470),(c=a||(a={}))[(d=h)(452)]="VIEWABLE",c[d(469)]=d(469),(u=l||(l={}))[(p=h)(457)]=p(457),u[p(470)]="MOBILE",u[p(456)]=p(456);const g=y;function m(){const t=["waitForElement","295406EaZIQu","style","safeSetTextContent","pageXOffset","from","7jQkvUZ","DOMContentLoaded","getViewportInfo","classList","undefined","safeQuerySelector","isBrowser","1531945kKLtGw","querySelectorAll","safeAddClass","canUseDOM","safeGetComputedStyle","safeRemoveEventListener","waitForDOM","safeRemoveChild","✅ 컨테이너 즉시 발견: ","getComputedStyle","ms (","error","devicePixelRatio","번 시도)","isSSR","removeEventListener","safeAddEventListener","764181taXrUT","safeRemoveClass",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"entries","⏳ 컨테이너 대기 중: ","150912sNpkvB","removeChild","safeApplyStyles","forEach","title","pow","48WalOKJ","26876sxoEVR","getDocumentProperty",'❌ 컨테이너를 찾을 수 없습니다: "',"getElementById","safeCreateElement","isDOMReady","ceil","safeWindowOpen","appendChild","safeGetElementById","location","addEventListener","2vRsHSG","createElement","ms)","2650182STqeAu","387xzzolQ","21470ImQSOu","waitForElements"," (최대 ","safeAppendChild","documentElement","remove","open","ms 경과)","innerHTML","log","getWindowProperty","referrer","innerHeight"];return(m=function(){return t})()}function y(t,e){const n=m();return(y=function(t,e){return n[t-=214]})(t,e)}!function(t){const e=y,n=t();for(;;)try{if(271588===-parseInt(e(225))/1*(-parseInt(e(244))/2)+parseInt(e(284))/3*(parseInt(e(285))/4)+parseInt(e(256))/5+-parseInt(e(228))/6*(parseInt(e(249))/7)+-parseInt(e(278))/8+-parseInt(e(229))/9*(-parseInt(e(230))/10)+-parseInt(e(273))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class I{static isBrowser(){const t=y;return typeof window!==t(253)&&typeof document!==t(253)}static[g(270)](){return!this.isBrowser()}static[g(259)](){return this[g(255)]()&&void 0!==document.readyState}static[g(222)](t){const e=g;return this.canUseDOM()?document[e(216)](t):null}static[g(254)](t){return this[g(259)]()?document.querySelector(t):null}static safeQuerySelectorAll(t){const e=g;return this[e(259)]()?Array[e(248)](document[e(257)](t)):[]}static[g(217)](t){const e=g;return this[e(259)]()?document[e(226)](t):null}static[g(272)](t,e,n,r){const s=g;this.canUseDOM()&&t&&t[s(224)](e,n,r)}static[g(261)](t,e,n,r){const s=g;this.canUseDOM()&&t&&t[s(271)](e,n,r)}static[g(240)](t,e){return this[g(255)]()?window[t]??e:e}static[g(214)](t,e){return this[g(259)]()?document[t]??e:e}static[g(220)](t,e,n){const r=g;return this.isBrowser()?window[r(236)](t,e,n):null}static[g(260)](t){const e=g;return this[e(255)]()&&t?window[e(265)](t):null}static isDOMReady(){return!!this.canUseDOM()&&"loading"!==document.readyState}static[g(262)](){return new Promise(t=>{const e=y;this[e(259)]()?this[e(218)]()?t():this.safeAddEventListener(document,e(250),()=>t()):t()})}static[g(280)](t,e){const n=g;this[n(259)]()&&t&&Object[n(276)](e)[n(281)](([e,r])=>{t[n(245)].setProperty(e,r)})}static[g(258)](t,e){const n=g;this[n(259)]()&&t&&t[n(252)].add(e)}static[g(274)](t,e){const n=g;this.canUseDOM()&&t&&t[n(252)][n(235)](e)}static[g(246)](t,e){this[g(259)]()&&t&&(t.textContent=e)}static safeSetInnerHTML(t,e){const n=g;this[n(259)]()&&t&&(t[n(238)]=e)}static[g(233)](t,e){const n=g;this[n(259)]()&&t&&e&&t[n(221)](e)}static[g(263)](t,e){const n=g;this[n(259)]()&&t&&e&&t[n(279)](e)}static getPageInfo(){const t=g;return{url:this.getWindowProperty(t(223),{href:""}).href,title:this[t(214)](t(282),""),referrer:this.getDocumentProperty(t(241),"")}}static[g(251)](){const t=g;return{width:this[t(240)]("innerWidth",0),height:this[t(240)](t(242),0),pixelRatio:this[t(240)](t(268),1)}}static getScrollInfo(){const t=g;return{scrollTop:this[t(259)]()?window.pageYOffset||document[t(234)].scrollTop:0,scrollLeft:this[t(240)](t(247),0)}}static async[g(243)](t,e={}){const n=g,{timeout:r=3e3,retryInterval:s=100,debug:o=!1}=e;if(!this[n(259)]())throw new Error("DOM을 사용할 수 없는 환경입니다.");const i=document.getElementById(t);return i?(o&&console[n(239)](n(264)+t),i):(o&&console[n(239)]("⏳ 컨테이너 대기 시작: "+t+n(232)+r+n(227)),new Promise((e,i)=>{const a=n;let c=0;const d=Math[a(219)](r/s),l=()=>{const n=a;c++;const u=document[n(216)](t);if(u)return o&&console[n(239)]("✅ 컨테이너 발견: "+t+" ("+c+"번째 시도, "+c*s+n(237)),void e(u);if(c>=d){const e=n(215)+t+'"\n \n다음을 확인해보세요:\n1. HTML에 id="'+t+n(275)+r+n(266)+c+n(269);return o&&console[n(267)](e),void i(new Error(e))}o&&c%10==0&&console[n(239)](n(277)+t+" ("+c+"/"+d+")");const p=Math.min(s*Math[n(283)](1.2,c),500);setTimeout(l,p)};setTimeout(l,s)}))}static async[g(231)](t,e={}){const n=g,r=t.map(t=>this[n(243)](t,e));return Promise.all(r)}}function v(t,e){const n=w();return(v=function(t,e){return n[t-=220]})(t,e)}const b=v;function w(){const t=["AdStageSDK/","undefined",'"3.0.5"',"773250FirJNU","12895192PQFGKG","7691544zMpeWC","416MCKqmH","userAgent","19119SXBBBC","8644206LaSxDV","1539355uJZcQO","2247798UQffpX"];return(w=function(){return t})()}!function(t){const e=v,n=t();for(;;)try{if(834908===parseInt(e(220))/1+-parseInt(e(221))/2+-parseInt(e(230))/3*(parseInt(e(228))/4)+parseInt(e(225))/5+parseInt(e(231))/6+parseInt(e(227))/7+-parseInt(e(226))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(w);const k=b(224);function E(){return k}const x=S;function S(t,e){const n=A();return(S=function(t,e){return n[t-=324]})(t,e)}function A(){const t=["connection","UTC","desktop","5mdHotU","device_","userAgent","573333lHNpLa","getBoundingClientRect","platform","round","substr","top","2fffjdD","timeZone","6733608GFSBwz","getSlotPosition","setItem","109510ddHpMY","generateSessionId","effectiveType","3411404mJratJ","5540759KDdJDN","android","isBrowser","test","ssr_device_","1152bSSuqB","SSR","1.0.0","safeGetElementById","841772rUGnIC","adstage_device_id","ios","left","now","ssr_session_","collectDeviceInfo","getViewportInfo","4191876mJWwGs","language","pixelRatio","height","getItem","getPlatform","resolvedOptions","adstage_session_id","isMobile","web","generateDeviceId","unknown","width","random","scrollTop","DateTimeFormat"];return(A=function(){return t})()}!function(t){const e=S,n=t();for(;;)try{if(450586===-parseInt(e(364))/1+parseInt(e(346))/2*(-parseInt(e(340))/3)+parseInt(e(354))/4*(-parseInt(e(337))/5)+-parseInt(e(372))/6+parseInt(e(355))/7+parseInt(e(348))/8+parseInt(e(360))/9*(parseInt(e(351))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(A);class C{static[x(328)](){const t=x;if(!I[t(357)]())return t(359)+Date[t(368)]();const e=localStorage[t(376)](t(365));if(e)return e;const n=t(338)+Math[t(331)]().toString(36)[t(344)](2,9)+"_"+Date[t(368)]();return localStorage[t(350)](t(365),n),n}static[x(352)](){const t=x;if(!I[t(357)]())return t(369)+Date[t(368)]();const e=sessionStorage[t(376)](t(325));if(e)return e;const n="session_"+Math[t(331)]().toString(36).substr(2,9)+"_"+Date[t(368)]();return sessionStorage[t(350)](t(325),n),n}static[x(326)](){const t=x;return!!I.isBrowser()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(358)](navigator[t(339)])}static[x(377)](){const t=x;if(!I[t(357)]())return t(327);const e=navigator.userAgent.toLowerCase();return/iphone|ipad|ipod/[t(358)](e)?t(366):/android/[t(358)](e)?t(356):C[t(326)]()?t(327):t(336)}static[x(370)](){const t=x,e=I[t(371)]();return{deviceId:C[t(328)](),sessionId:C[t(352)](),osVersion:I[t(357)]()?navigator[t(342)]:"SSR",deviceModel:I[t(357)]()?navigator.platform:t(361),appVersion:t(362),sdkVersion:E(),language:I[t(357)]()&&navigator[t(373)]||"ko",country:"KR",ipAddress:"",userAgent:I[t(357)]()?navigator[t(339)]:t(361),timezone:I[t(357)]()?Intl[t(333)]()[t(324)]()[t(347)]:t(335),viewportWidth:e[t(330)],viewportHeight:e[t(375)],screenWidth:I[t(357)]()?screen[t(330)]:0,screenHeight:I[t(357)]()?screen[t(375)]:0,colorDepth:I[t(357)]()?screen.colorDepth:24,pixelRatio:e[t(374)],connectionType:I[t(357)]()?navigator[t(334)]?.[t(353)]||t(329):"unknown",platform:C[t(377)]()}}static[x(349)](t){const e=x,n=I[e(363)](t);if(!n)return"unknown";const r=n[e(341)](),s=I.getScrollInfo();return"x:"+Math[e(343)](r[e(367)])+",y:"+Math.round(r[e(345)]+s[e(332)])}}const T=D;function R(){const t=["54730lvsGdQ","create","userAgent","API key is required","2804241DAFISa","contentType","86067gZSoZJ","328iJzfxb","11576ubcMMj","24096lmqTum","28TZOXDp","19128zdhmxl","undefined","User-Agent","1127466Ctdive","2290BKBFwv","createForEvents","2702dfzEUf"];return(R=function(){return t})()}function D(t,e){const n=R();return(D=function(t,e){return n[t-=141]})(t,e)}!function(t){const e=D,n=t();for(;;)try{if(708893===parseInt(e(143))/1*(parseInt(e(144))/2)+-parseInt(e(148))/3+-parseInt(e(142))/4*(-parseInt(e(149))/5)+parseInt(e(145))/6*(-parseInt(e(151))/7)+parseInt(e(141))/8*(parseInt(e(158))/9)+parseInt(e(152))/10+parseInt(e(156))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(R);class U{static[T(153)](t,e){const n=T;if(!t)throw new Error(n(155));const r={"x-api-key":t,"Content-Type":e?.[n(157)]||"application/json"};return typeof navigator!==n(146)&&(r["User-Agent"]=e?.[n(154)]||navigator[n(154)]),r}static[T(150)](t,e){const n=T,r=U[n(153)](t);return e?.[n(154)]&&(r[n(147)]=e[n(154)]),r}}const L=B;function P(){const t=["1085454quLAhz","adType","POST","146WSQDQQ","1943020JzWtWt","number","substring","sessionId"," - ","replace","375176jsqvrg","NOT_SET","🚀 Sending advertisement event: ","slots","statusText","now","trackAdvertisementEvent","platform","getPageInfo","VIEWABLE","BANNER","height","🔍 Debug info:","10RfRBXC","referrer","602992QjzonZ","9ycBPex","status","deviceId","58041VIPHyK","/advertisements/events/","stringify","API request failed: ","7ZkcSih","baseUrl","apiKey","text","✅ Successfully tracked advertisement event: ","debug","collectDeviceInfo"," event for ad ","4106QRWRsK","error","log","string","1590017bfcCYC","title","48NFNhvo","🌐 Full API call details:","parseNumericValue","get","❌ Failed to track advertisement event:"," for ad ","getSlotPosition"];return(P=function(){return t})()}function B(t,e){const n=P();return(B=function(t,e){return n[t-=369]})(t,e)}!function(t){const e=B,n=t();for(;;)try{if(173669===-parseInt(e(370))/1*(-parseInt(e(408))/2)+parseInt(e(396))/3+parseInt(e(392))/4*(-parseInt(e(390))/5)+parseInt(e(421))/6*(-parseInt(e(400))/7)+-parseInt(e(377))/8+-parseInt(e(393))/9*(parseInt(e(371))/10)+-parseInt(e(412))/11*(-parseInt(e(414))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(P);class _{constructor(t,e,n,r){const s=B;this[s(401)]=t,this[s(402)]=e,this.debug=n,this.slots=r}async[L(383)](t,e,n){const r=L;try{this[r(405)]&&console.log("🚀 AdvertisementEventTracker: Processing "+n+r(407)+t+" in slot "+e);const s=this[r(380)][r(417)](e),o=C[r(406)](),i={adType:s?.[r(422)]||r(387),platform:o[r(384)],deviceId:o[r(395)],deviceInfo:o,pageUrl:I[r(385)]().url,pageTitle:I[r(385)]()[r(413)],referrer:I[r(385)]()[r(391)],slotId:e,slotPosition:C[r(420)](s?.containerId||""),slotWidth:_[r(416)](s?.width),slotHeight:_[r(416)](s?.[r(388)]),sessionId:o[r(374)],pageLoadTime:performance[r(382)](),metadata:{eventType:n,sdkVersion:E(),timestamp:Date.now()},...n===a[r(386)]&&{isViewable:!0,iabCompliant:!0}},c=this[r(401)]+r(397)+t+"/"+n,d=U.createForEvents(this.apiKey,i);this[r(405)]&&(console[r(410)](r(379)+n+r(419)+t,{url:c,headers:d,eventData:i}),console[r(410)](r(415),{method:r(369),url:c,hasApiKey:!!this[r(402)],bodySize:JSON[r(398)](i).length}));const l=await fetch(c,{method:r(369),headers:d,body:JSON[r(398)](i)});if(this.debug&&console[r(410)]("📡 API Response Status: "+l[r(394)]+" "+l[r(381)],{url:c,ok:l.ok}),!l.ok){const t=await l[r(403)]();throw new Error(r(399)+l[r(394)]+" "+l[r(381)]+r(375)+t)}this[r(405)]&&console[r(410)](r(404)+n+" for ad "+t)}catch(s){console[r(409)](r(418),s),console[r(409)](r(389),{baseUrl:this[r(401)],apiKey:this.apiKey?this[r(402)][r(373)](0,8)+"...":r(378),url:this.baseUrl+r(397)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[L(416)](t){const e=L;if(typeof t===e(372))return t;if(typeof t===e(411)){const n=parseFloat(t[e(376)](/px$/,""));return isNaN(n)?0:n}return 0}}function z(t,e){var n=N();return(z=function(t,e){return n[t-=476]})(t,e)}var M=z;function N(){var t=["3464OAUxdw","visible","1981548mJOlIH","IntersectionObserver","4537188JzBtPu","initIntersectionObserver","0px","element","58864iDKeay","5LRfonX","348272ksRrNG","10wZGEnD","isDocumentVisible","observe","handleIntersection","visibilityState","IntersectionObserver not supported, viewability tracking disabled","289790fajsGM","isViewableTriggered","33AGLeTO","483ljMRvZ","hidden","1632IJIIal","onViewableCallback","destroy","1120662giejoL","observer"];return(N=function(){return t})()}!function(t){for(var e=z,n=t();;)try{if(270779===-parseInt(e(488))/1+-parseInt(e(495))/2+-parseInt(e(500))/3*(parseInt(e(478))/4)+parseInt(e(487))/5*(-parseInt(e(476))/6)+-parseInt(e(498))/7*(-parseInt(e(486))/8)+parseInt(e(480))/9*(-parseInt(e(489))/10)+parseInt(e(497))/11*(parseInt(e(482))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(N);class O{constructor(t,e){var n=z;this[n(477)]=null,this.isViewableTriggered=!1,this[n(485)]=t,this[n(501)]=e,this[n(483)]()}[M(483)](){var t=M;t(481)in window?(this[t(477)]=new IntersectionObserver(t=>this.handleIntersection(t),{threshold:.5,rootMargin:t(484)}),this[t(477)][t(491)](this[t(485)])):console.warn(t(494))}[M(492)](t){t.forEach(t=>{var e=z;t.intersectionRatio>=.5&&this[e(490)]()&&!this[e(496)]&&(this[e(496)]=!0,this[e(501)]&&this[e(501)]())})}[M(490)](){var t=M;return!document[t(499)]&&document[t(493)]===t(479)}[M(502)](){var t=M;this[t(477)]&&(this[t(477)].disconnect(),this[t(477)]=null)}}const V=H;!function(t){const e=H,n=t();for(;;)try{if(496554===parseInt(e(282))/1+-parseInt(e(262))/2*(-parseInt(e(284))/3)+parseInt(e(285))/4*(-parseInt(e(268))/5)+-parseInt(e(280))/6*(parseInt(e(271))/7)+-parseInt(e(266))/8+-parseInt(e(279))/9+-parseInt(e(278))/10*(-parseInt(e(274))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);const F={production:V(281),beta:V(265)};function j(){const t=["10191VtLCdd","4tLMNSg","94tFlSNR","advertisements","custom","https://beta-api.adstage.app","5484568sdHVCO","/events/track","4794575QdEcAa","production","events","585928iMVJJh","/advertisements/events","startsWith","30812815ZhMPAZ","detail","track","list","10LkSbpv","2185389NSTXtH","60xUnCot","https://api.adstage.io","260077MarPym","baseUrl"];return(j=function(){return t})()}function H(t,e){const n=j();return(H=function(t,e){return n[t-=262]})(t,e)}V(269);const K={advertisements:{list:"/advertisements/list",detail:"/advertisements",events:V(272)},events:{track:V(267)}};class W{constructor(t){const e=V;this.advertisements={list:()=>""+this[e(283)]+K[e(263)][e(277)],detail:t=>""+this.baseUrl+K[e(263)][e(275)]+"/"+t,events:(t,n)=>""+this[e(283)]+K.advertisements.events+"/"+t+"/"+n},this[e(270)]={track:()=>""+this[e(283)]+K[e(270)][e(276)]},this[e(283)]=t||F.production}setBaseUrl(t){this.baseUrl=t}getBaseUrl(){return this[V(283)]}[V(264)](t){const e=V;return""+this[e(283)]+(t[e(273)]("/")?t:"/"+t)}}const G=new W;function X(t,e){var n=J();return(X=function(t,e){return n[t-=361]})(t,e)}function J(){var t=["6HVABTi","log","348ItogPm","261041XGNILl","963pFBWjz","_id","3792230lqzWHF","170bebgaZ","VIEWABLE","433491DkpvlU","32248zgllBe","450FiYxJM","24DtjNuR","24686bnxKkA",") in slot: "," (index: ","1545103YTRxjR"," (index: 0) in slot: ","25Jcltmk"];return(J=function(){return t})()}!function(t){for(var e=X,n=t();;)try{if(218673===-parseInt(e(366))/1*(parseInt(e(361))/2)+parseInt(e(376))/3+parseInt(e(369))/4*(-parseInt(e(378))/5)+parseInt(e(367))/6*(-parseInt(e(364))/7)+-parseInt(e(377))/8*(-parseInt(e(371))/9)+-parseInt(e(374))/10*(parseInt(e(370))/11)+parseInt(e(379))/12*(parseInt(e(373))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(J);class Y{static trackSlideViewable(t,e,n,r,s=!1){var o=X;s&&console.log("🎯 Triggering VIEWABLE event for slide change: ad "+t[o(372)]+o(363)+n+o(362)+e.id),r(t[o(372)],e.id,a[o(375)])}static trackInitialSlideViewable(t,e,n,r=!1){var s=X;r&&console[s(368)]("🎯 Triggering initial VIEWABLE event: ad "+t._id+s(365)+e.id),n(t._id,e.id,a.VIEWABLE)}}const q=Z;function Z(t,e){const n=$();return(Z=function(t,e){return n[t-=431]})(t,e)}!function(t){const e=Z,n=t();for(;;)try{if(395839===parseInt(e(446))/1*(parseInt(e(434))/2)+parseInt(e(452))/3+-parseInt(e(454))/4+parseInt(e(449))/5+parseInt(e(445))/6*(parseInt(e(447))/7)+parseInt(e(436))/8+-parseInt(e(455))/9*(parseInt(e(438))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class Q{static[q(453)](t,e,n,r,s=!1,o){const i=q;e[i(433)]&&(t[i(439)][i(457)]="pointer",t.addEventListener("click",t=>{const c=i;if(t[c(431)](),t.stopPropagation(),r&&r(e[c(437)],n.id,a[c(440)]),window.open(e[c(433)],c(450)),s){const t=o||String(n.adType)[c(448)]();console[c(456)](c(451)+t+c(458)+e[c(437)]+c(442)+e[c(433)])}}))}static[q(441)](t,e,n,r,s=!1,o){const i=q;e[i(433)]&&(t[i(439)][i(457)]=i(443),t.addEventListener("click",t=>{const c=i;t[c(431)](),t[c(444)]();if(r()(e[c(437)],n.id,a[c(440)]),window[c(432)](e[c(433)],c(450)),s){const t=o||String(n.adType).toLowerCase();console.log(c(451)+t+" ad clicked: "+e[c(437)]+" -> "+e[c(433)])}}))}static[q(435)](t,e,n,r,s=!1,o){this.addClickEvent(t,e,n,r,s,o)}static isClickable(t){return Boolean(t[q(433)])}static addClickEventsBatch(t,e,n,r,s=!1,o){t.forEach((t,i)=>{const a=Z,c=e[i];c&&this[a(453)](t,c,n,r,s,o)})}}function $(){const t=["1241475otTfzu","_blank","🔗 ","2154915ivAjAB","addClickEvent","575960LwbXed","55143bBoUsd","log","cursor"," ad clicked: ","preventDefault","open","linkUrl","126orIkAV","addClickEventForSlider","5394600OeidnP","_id","2310kLfkbP","style","CLICK","addClickEventForRenderer"," -> ","pointer","stopPropagation","30vFhIZy","2837XKWurv","189714mKqunc","toLowerCase"];return($=function(){return t})()}const tt=et;function et(t,e){const n=nt();return(et=function(t,e){return n[t-=494]})(t,e)}function nt(){const t=["block","3241YEctpG","flex","8px","1px solid #666","padding","className","data-adstage-slot-id","adstage-dot",".adstage-dot","adstage-slide-container","src","50px","1474158FMnuyx","remove","1JHsbcM","relative","hidden","width","adstage-slider-wrapper","addClickEventForSlider","\n position: absolute;\n bottom: 15px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n gap: 12px;\n z-index: 3;\n padding: 8px 16px;\n border-radius: 20px;\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(10px);\n ","createElement","7368498FMXVXu","1895838FvUHnm","addEventListener","querySelectorAll","removeChild","#000","#f9f9f9","inline-block","setAttribute","appendChild","createSimpleAdElement","VIDEO","changedTouches","data-adstage-ad-id","clientX","auto","setProperty","1240425CHSrNB","video","opacity","height","border","borderColor","center","createSliderContainer","transition","Banner Ad","preventDefault","length","adstage-slide","BANNER","100px","adstage-ad adstage-","getBoundingClientRect","display","whiteSpace","\n width: 8px;\n height: 8px;\n border-radius: 50%;\n border: 1px solid #cccccc;\n background: transparent;\n cursor: pointer;\n transition: all 0.3s ease;\n outline: none;\n opacity: 0.7;\n padding: 0;\n margin: 0;\n flex-shrink: 0;\n ","normal","cssText","adstage-dots","children","touchend","contains","touches","Video Ad","background","transform","entries","videoUrl","TEXT","abs","adType","597316pEUGYB","#cccccc","1px dashed #ccc","textContent","transparent","mouseleave","#999999","#f0f0f0","0.7","transform 0.4s ease-out","mouseenter","backgroundColor","Text Ad","autoSlideInterval","100%","200px","touchmove","0.9","forEach","createMinimalDotIndicator","_id","includes","string","every","add","img","active","2291914YDgKFq","classList","style","#666666","overflow","div","21304MrivGD","trackSlideViewable","fontSize","imageUrl"];return(nt=function(){return t})()}!function(t){const e=et,n=t();for(;;)try{if(654089===-parseInt(e(562))/1*(-parseInt(e(537))/2)+-parseInt(e(560))/3+parseInt(e(510))/4+-parseInt(e(587))/5+-parseInt(e(571))/6+-parseInt(e(548))/7*(-parseInt(e(543))/8)+-parseInt(e(570))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(nt);class rt{static[tt(580)](t,n){const r=tt,s=document[r(569)](r(542));switch(s.className=r(602)+String(t[r(509)]).toLowerCase(),s[r(578)](r(583),n[r(530)]),s[r(578)](r(554),t.id),s[r(539)][r(604)]=r(547),s[r(539)][r(565)]="100%",s[r(539)][r(590)]=r(585),t.adType){case e[r(600)]:if(n.imageUrl){const t=document[r(569)](r(535));t[r(558)]=n[r(546)],t[r(539)][r(565)]=r(524),t[r(539)][r(590)]=r(585),t[r(539)].objectFit="cover",s[r(579)](t)}else s[r(539)][r(590)]=r(601),s[r(539)][r(521)]=r(517),s[r(539)][r(591)]=r(512),s.textContent=r(596);break;case e[r(581)]:if(n[r(506)]){const t=document[r(569)](r(588));t[r(558)]=n[r(506)],t.style[r(565)]=r(524),t[r(539)][r(590)]="auto",s[r(579)](t)}else s.style[r(590)]=r(525),s.style[r(521)]=r(575),s.style[r(591)]=r(551),s.textContent=r(502),s[r(539)].color="white";break;case e.TEXT:if(n.textContent){const t=document.createElement(r(542));t[r(513)]=n[r(513)]||"",t[r(539)][r(552)]="8px",t[r(539)][r(545)]="14px",s[r(579)](t)}else s[r(539)].height=r(559),s.style.padding=r(550),s[r(513)]=r(522);break;default:s[r(539)].height=r(601),s.style[r(591)]=r(512),s[r(539)].backgroundColor=r(576),s[r(513)]=t[r(509)]+" Ad"}return s}static[tt(594)](t,n,r,s,o=!1){const i=tt,a=document.createElement("div");a[i(553)]=i(566);const c={position:i(563),overflow:i(564)};if(t[i(565)]&&0!==t[i(565)]){let e;e=typeof t[i(565)]===i(532)&&(t[i(565)][i(531)]("px")||t[i(565)].includes("%"))?t[i(565)]:t[i(565)]+"px",c[i(565)]=e,c[i(604)]=i(577)}else c[i(604)]="inline-block";if(t[i(590)]&&0!==t.height){const e=typeof t.height===i(532)?t[i(590)]:t[i(590)]+"px";c[i(590)]=e}Object[i(505)](c)[i(528)](([t,e])=>{const n=i;a.style[n(586)](t,e)});const d=!t[i(565)]||0===t[i(565)],l=!t[i(590)]||0===t[i(590)];if(d||l){const e=document[i(569)](i(542));if(e[i(539)].cssText="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!d&&t[i(565)]){let n;n=typeof t[i(565)]===i(532)&&(t[i(565)][i(531)]("px")||t[i(565)][i(531)]("%"))?t[i(565)]:t.width+"px",e[i(539)].width=n,e[i(539)][i(605)]=i(495)}document.body.appendChild(e);let r=0,s=0;n[i(528)](n=>{const o=i,a=this[o(580)](t,n);e[o(579)](a);const c=a.getBoundingClientRect();c.width>r&&(r=c.width),c[o(590)]>s&&(s=c[o(590)]),e[o(574)](a)}),d&&r>0&&(a.style[i(565)]=r+"px",c[i(565)]=r+"px"),l&&s>0&&(a[i(539)][i(590)]=s+"px",c.height=s+"px"),document.body.removeChild(e)}const u=[...n,n[0]],p=document[i(569)](i(542));p[i(553)]=i(557);const h={display:i(549),transition:i(519),width:100*u[i(598)]+"%"};t[i(590)]&&0!==t[i(590)]&&(h.height=i(524)),Object[i(505)](h)[i(528)](([t,e])=>{p.style.setProperty(t,e)}),u[i(528)]((e,n)=>{const r=i,a=document[r(569)](r(542));a[r(553)]=r(599);const c={width:100/u.length+"%","flex-shrink":"0",display:"flex","align-items":"center","justify-content":r(593)};t[r(590)]&&0!==t[r(590)]&&(c[r(590)]=r(524)),Object[r(505)](c).forEach(([t,e])=>{const n=r;a[n(539)][n(586)](t,e)});const d=this.createSimpleAdElement(t,e);Q[r(567)](d,e,t,s,o,String(t[r(509)]).toLowerCase()),a[r(579)](d),p[r(579)](a)});const f=n[i(533)](t=>t[i(509)]===e[i(507)])?null:this[i(529)](n[i(598)]);let g=0;const m=n[i(598)],y=1e3*(r?.[i(523)]||3),I=(e,r=!1)=>{const a=i;g=e,r?p.style[a(595)]="none":p[a(539)][a(595)]=a(519),p[a(539)][a(504)]="translateX(-"+100/u.length*g+"%)";const c=g===m?0:g;if(f){f.querySelectorAll(a(556))[a(528)]((t,e)=>{const n=a,r=t;e===c?(r[n(538)][n(534)]("active"),r[n(539)][n(503)]="#666666",r[n(539)].borderColor=n(540),r.style[n(589)]="1"):(r[n(538)][n(561)](n(536)),r[n(539)][n(503)]=n(514),r[n(539)][n(592)]=n(511),r[n(539)][n(589)]=n(518))})}Y[a(544)](n[c],t,c,s,o)},v=()=>{g===m&&setTimeout(()=>{I(0,!0)},400)};if(f){f[i(573)](i(556))[i(528)]((t,e)=>{t[i(572)]("click",()=>I(e))})}let b=setInterval(()=>{I(g+1),v()},y);return a.addEventListener(i(520),()=>{clearInterval(b)}),a[i(572)](i(515),()=>{b=setInterval(()=>{I(g+1),v()},y)}),this.addTouchSupport(p,I,()=>g,m,v),a[i(579)](p),f&&a[i(579)](f),I(0),(!t.width||0===t.width)&&setTimeout(()=>{const e=i,n=p[e(498)][0];if(n){const r=n.children[0];if(r){const n=r[e(603)]();a[e(539)][e(565)]=n[e(565)]+"px",(!t[e(590)]||0===t[e(590)])&&(a[e(539)].height=n[e(590)]+"px"),a.style[e(541)]="hidden"}}},10),a}static[tt(529)](t){const e=tt,n=document[e(569)](e(542));n.className=e(497),n[e(539)][e(496)]=e(568);for(let r=0;r<t;r++){const t=document[e(569)]("button");t[e(553)]=e(555),t[e(539)][e(496)]=e(494),t[e(572)]("mouseenter",()=>{const n=e;!t[n(538)][n(500)](n(536))&&(t[n(539)][n(592)]=n(516),t[n(539)][n(589)]=n(527))}),t.addEventListener(e(515),()=>{const n=e;!t[n(538)].contains(n(536))&&(t[n(539)][n(592)]=n(511),t[n(539)][n(589)]=n(518))}),n[e(579)](t)}return n}static addTouchSupport(t,e,n,r,s){const o=tt;let i=0,a=!1;t[o(572)]("touchstart",t=>{const e=o;i=t[e(501)][0][e(584)],a=!0}),t.addEventListener(o(526),t=>{a&&t[o(597)]()}),t.addEventListener(o(499),t=>{const c=o;if(!a)return;a=!1;const d=t[c(582)][0][c(584)],l=i-d;if(Math[c(508)](l)>50){const t=n();if(l>0){e(t+1),s&&s()}else{e(t>0?t-1:r-1)}}})}}const st=ot;function ot(t,e){const n=at();return(ot=function(t,e){return n[t-=408]})(t,e)}!function(t){const e=ot,n=t();for(;;)try{if(431082===-parseInt(e(410))/1*(parseInt(e(427))/2)+-parseInt(e(426))/3+-parseInt(e(423))/4*(parseInt(e(425))/5)+-parseInt(e(428))/6*(-parseInt(e(419))/7)+parseInt(e(417))/8*(parseInt(e(412))/9)+parseInt(e(422))/10+-parseInt(e(414))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(at);class it{static[st(415)](t,e,n=!1){const r=st,s=t+"_"+e;return it.viewableTracker[r(413)](s)?(n&&console[r(408)]("Duplicate viewable blocked for ad "+t+" in slot "+e),!0):(it[r(409)][r(424)](s),n&&console[r(408)](r(418)+t+r(411)+e),!1)}static[st(421)](){const t=st;it[t(409)][t(421)]()}static[st(420)](t,e){const n=st,r=t+"_"+e;it[n(409)][n(416)](r)}}function at(){const t=["608201waABrd","isDuplicateViewable","delete","15248yvZyeQ","✅ New viewable recorded for ad ","7bgGeVP","clearAdViewable","clear","1506720DMMwxC","4DCtXsd","add","1704865sOJIwy","375564qFjMWL","92652vHYNjS","4678044JPcbIa","log","viewableTracker","11Gogoje"," in slot ","2511aNWZEq","has"];return(at=function(){return t})()}it[st(409)]=new Set;const ct=lt;function dt(){const t=[" x ",'[class*="banner"]',"border","opacity","number","adType","closest","flex","adstage-slot adstage-","VIEWABLE","color"," container collapsed (",'[class*="ad"]',"createElement","div","display","4px"," ad...</span>","alignItems","7401717nMAkcg","monospace","adstage-official","70fzzVpE","parentElement","auto","getElementById","fontFamily","contains","transparent",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"689091FFDdcJ","getAttribute",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"true","681505csfpKd","1px dashed #ccc","justifyContent","appendChild"," event","center","classList"," for ad ","11px","data-adstage-empty",") - Mode: ","fontSize","borderRadius","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","getContainerHeight","advertisement","#f9f9f9","generic","applyPlaceholderStyle","rgba(0, 0, 0, 0.02)",'div[style*="height"]',"isEmpty","createEmptyContainer","🚫 Duplicate viewable blocked for ad ","advertisementEventTracker","adstage-class","px)","filter"," in slot ","className","1186542hRkQRj","❌ Failed to track ","innerHTML","cssText","285353CRBWcp","debug","log","<span>Loading ","): ","📊 Advertisement event tracked: ","data-adstage-container","unknown","hasAttribute","#666","data-adstage-slot"," container: ","invisible","getComputedStyle","📦 Placeholder created for ",'[class*="container"]'," for ","#e74c3c","100%","8mevTxy","rgba(231, 76, 60, 0.1)","minHeight","rgba(248, 249, 250, 0.5)","subtle","block","querySelector","backgroundColor","placeholderMode","height","calculateAdSize","createEventTrackingCallback","710496GYvDUD","toLowerCase","containerId","style","setAttribute","adstage-slot adstage-empty adstage-","createPlaceholder","🔄 Starting advertisement event tracking: ","243944NzJARP","✅ New viewable recorded for ad ","isDuplicateViewable","warn","none","1px solid rgba(0, 0, 0, 0.08)","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ",".adstage-"," slot: ","string","📏 Using default height ","minimal","trackAdvertisementEvent"];return(dt=function(){return t})()}function lt(t,e){const n=dt();return(lt=function(t,e){return n[t-=450]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(181424===-parseInt(e(474))/1+-parseInt(e(505))/2+parseInt(e(556))/3+parseInt(e(493))/4*(parseInt(e(560))/5)+-parseInt(e(470))/6+parseInt(e(548))/7*(-parseInt(e(513))/8)+parseInt(e(545))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class ut{constructor(t,e=!1,n){const r=lt;this[r(531)]=t,this[r(475)]=e,this.advertisementEventTracker=n||null}[ct(511)](t,e,n,r){const s=ct,o=document[s(539)](s(540));o.id=e,o[s(469)]=s(534)+String(this[s(531)])[s(506)](),o[s(509)](s(480),s(559)),o[s(509)]("data-adstage-type",String(this[s(531)])),o[s(509)](s(484),e);const{width:i,height:a}=this.calculateAdSize(t,n,r)||{width:s(492),height:this.getDefaultHeight()};o[s(508)].width=i,o.style.height=a;const c=r?.[s(501)]||n[s(501)]||"invisible";this.applyPlaceholderStyle(o,c),t[s(563)](o),this[s(475)]&&console[s(476)](s(488)+this[s(531)]+s(521)+e+" ("+i+s(526)+a+s(450)+c)}[ct(458)](t,e){const n=ct;switch(e){case n(486):t.style.backgroundColor=n(554),t.style.border=n(517),t.style[n(529)]="0",t[n(472)]="";break;case"transparent":t.style.backgroundColor="transparent",t[n(508)][n(528)]="none",t[n(508)][n(541)]=n(498),t[n(472)]="";break;case n(497):t.style[n(500)]=n(459),t[n(508)].border="none",t[n(508)].borderRadius=n(542),t[n(508)][n(541)]=n(533),t[n(508)][n(544)]=n(565),t[n(508)].justifyContent="center",t[n(472)]=n(555);break;case n(524):t[n(508)][n(500)]=n(496),t[n(508)][n(528)]=n(518),t[n(508)][n(452)]="6px",t[n(508)].display=n(533),t[n(508)][n(544)]=n(565),t[n(508)][n(562)]=n(565),t.innerHTML=n(558);break;case n(475):t[n(508)].border="2px dashed #e74c3c",t.style[n(541)]="flex",t.style[n(544)]=n(565),t.style[n(562)]=n(565),t[n(508)].backgroundColor=n(494),t[n(508)][n(536)]=n(491),t[n(508)][n(552)]=n(546),t[n(508)][n(451)]=n(568),t[n(472)]=n(477)+this.adType+n(543);break;default:t[n(508)][n(528)]=n(561),t[n(508)][n(541)]=n(533),t.style[n(544)]=n(565),t[n(508)].justifyContent=n(565),t[n(508)].backgroundColor=n(456),t[n(508)].color=n(483),t.innerHTML=n(477)+this[n(531)]+n(543)}}[ct(503)](t,e,n){const r=ct,s=e.width,o=e.height;let i,a;if(i=typeof s===r(530)?s+"px":typeof s===r(522)?s:r(492),typeof o===r(530))a=o+"px";else if(typeof o===r(522)&&o!==r(492)&&o!==r(550))a=o;else{const e=this[r(454)](t);e>0?(a=r(492),(n?.[r(475)]||this.debug)&&console[r(476)]("📏 Using 100% height (container: "+e+r(466))):(a=this.getDefaultHeight(),(n?.[r(475)]||this[r(475)])&&console.log(r(523)+a+r(490)+this[r(531)]))}return{width:i,height:a}}getContainerHeight(t){const e=ct,n=window[e(487)](t),r=parseFloat(n[e(502)]);if(!r||0===r){const r=parseFloat(n[e(495)]);if(r>0)return r;if(t[e(508)][e(502)]&&t.style[e(502)]!==e(550)){const n=parseFloat(t[e(508)][e(502)]);if(n>0)return n}const s=t[e(557)](e(502));if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}[ct(504)](){return async(t,e,n)=>{const r=lt;if(n===a[r(535)]){if(it[r(515)](t,e,this.debug))return void(this[r(475)]&&console[r(476)](r(463)+t+r(468)+e));this[r(475)]&&console[r(476)](r(514)+t+r(468)+e)}if(this[r(464)])try{this[r(475)]&&console.log(r(512)+n+" for ad "+t+" in slot "+e),await this[r(464)][r(525)](t,e,n),this[r(475)]&&console[r(476)](r(479)+n+r(567)+t+r(468)+e)}catch(e){this[r(475)]&&console.error(r(471)+n+" event for ad "+t+":",e)}else this.debug&&console[r(516)]("⚠️ AdvertisementEventTracker not available for "+n+r(564))}}renderFallback(t){const e=ct,n=document[e(551)](t.id);if(n){const r=[...[n[e(499)]('[data-adstage-container="true"]'),n[e(532)]('[data-adstage-container="true"]'),n][e(467)](t=>t&&t[e(482)](e(480))),...[n[e(532)](".adstage-slot"),n[e(532)](e(520)+String(this.adType)[e(506)]()),n[e(532)](e(538)),n[e(532)](e(527)),n[e(532)](e(489)),n[e(532)](e(460)),n.closest('div[style*="min-height"]'),n[e(549)]][e(467)](Boolean)][0];if(r){let n=e(481);n=r[e(482)](e(480))?e(547):r[e(566)][e(553)]("adstage-slot")?e(465):e(457),r[e(508)][e(473)]+=e(519),r[e(472)]="",r[e(509)](e(569),e(559)),this.debug&&console[e(516)]("⚠️ "+this[e(531)]+e(537)+n+e(478)+t.id,r)}else this[e(462)](t)}t[e(455)]=void 0,t[e(461)]=!0}createEmptyContainer(t){const e=ct,n=document[e(551)](t[e(507)]);if(n){n[e(472)]="";const r=document[e(539)]("div");r.id=t.id,r.className=e(510)+String(this.adType)[e(506)](),r.setAttribute(e(480),e(559)),r[e(509)](e(569),"true"),r[e(509)](e(484),t.id),r[e(508)][e(473)]=e(453),n[e(563)](r),this[e(475)]&&console[e(516)]("⚠️ Created empty "+this.adType+e(485)+t.id)}}[ct(476)](t,...e){const n=ct;this[n(475)]&&console.log("["+this[n(531)]+"] "+t,...e)}}function pt(){const t=["Banner Ad","abs","getDefaultHeight","allSettled","div","borderRadius","imageUrl","title","reduce","applyOptimizedImageStyle","values","3:2","Container not found: ","addClickEventForRenderer","onerror","Failed to calculate optimal banner size, using defaults:","Failed to load image: ","#f0f0f0"," ads (optimized: ","calculateAdSize","<div>","3333504xDxxDG","round","get","fulfilled","✅ Optimized banner image rendered for ad: ","length","naturalWidth","containerId","adstage-ad adstage-banner-ad","1582290IDUFeL","objectFit","_id","height","common","8qOdGIn","aspectRatio","22416rskwyZ","optimizeContainerForBannerAds","Image URL is not provided","📊 Using standard ratio: ","naturalHeight","status","loadImageDimensions","optimizedHeight","some","img","debug","map","slideInterval","Banner container optimization failed, using default size:","innerHTML","className","770114sSoGeT","filter","contain","calculateOptimalHeight","max","📦 Banner container dimensions: "," with ","📐 Optimal banner container calculated: ","3819996EDZbfG","1:1","665tAtjIo","calculateOptimalContainerSize","selectOptimalSizeStrategy"," ads: ","warn","default","forEach","log","250px","toFixed","parentElement","dominant","width","1466475LhVLGZ","alt","100%","appendChild","count","1760434XKkEeE"," (strategy: ","style","cover","createEventTrackingCallback","src","Banner","set","16:9","4:3","getElementById",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"toString","objectPosition","Banner Advertisement","createSliderContainer","createElement","BANNER","config","center","getBoundingClientRect","📸 Banner image dimensions: ","🎨 Banner image style applied: objectFit=","average","🎠 Banner carousel created for slot: ","ratio","renderMultipleAds"];return(pt=function(){return t})()}const ht=ft;function ft(t,e){const n=pt();return(ft=function(t,e){return n[t-=364]})(t,e)}!function(t){const e=ft,n=t();for(;;)try{if(740142===-parseInt(e(387))/1+parseInt(e(415))/2+parseInt(e(463))/3+parseInt(e(369))/4*(-parseInt(e(410))/5)+parseInt(e(364))/6+parseInt(e(397))/7*(parseInt(e(371))/8)+-parseInt(e(395))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(pt);class gt extends ut{constructor(t=!1,n){super(e[ft(432)],t,n)}[ht(444)](){return ht(405)}async renderAdElement(t,e){const n=ht,r=document[n(425)](t[n(470)]);if(!r)return;const s=document[n(431)](n(446));s[n(386)]=n(471);const o=t[n(378)],i=r[n(407)]||r;if(o)s[n(417)][n(409)]="100%",s[n(417)][n(367)]=String(o);else{const e=t[n(433)],r={width:e?.width,height:e?.[n(367)]},{width:o,height:a}=this[n(461)](i,r,{debug:this[n(381)]});s[n(417)][n(409)]=o,s.style[n(367)]=a}e[n(448)]?await this.renderOptimizedBannerImage(s,e,t):s[n(385)]=n(462)+(e.title||n(442))+"</div>",Q[n(455)](s,e,t,()=>this[n(419)](),this[n(381)],n(421)),r[n(385)]="",r[n(413)](s)}async[ht(441)](t,e){const n=ht,r=document[n(425)](t[n(470)]);if(!r)throw new Error(n(454)+t.containerId);await this[n(372)](t,e);const s=this[n(419)](),o={autoSlideInterval:(t[n(433)]?.[n(383)]||5e3)/1e3,...t[n(433)],optimizedHeight:t[n(378)],aspectRatio:t[n(370)]},i=rt[n(430)](t,e,o,s,this[n(381)]);i&&(r[n(385)]="",r[n(413)](i),this[n(381)]&&console[n(404)](n(439)+t.id+n(393)+e.length+n(460)+(t[n(378)]||n(402))+")"))}async[ht(398)](t,e){const n=ht;if(!t[n(468)])return{width:"100%",height:this.getDefaultHeight(),aspectRatio:16/9};try{const r=(await Promise[n(445)](t[n(388)](t=>t.imageUrl)[n(382)](t=>this[n(377)](t.imageUrl))))[n(388)](t=>t[n(376)]===n(466))[n(382)](t=>t.value);if(0===r[n(468)])return{width:n(412),height:this[n(444)](),aspectRatio:16/9};const s=this[n(399)](r),o=this[n(390)](r,e,s);return this[n(381)]&&console[n(404)](n(394)+e+"x"+o+n(416)+s+")"),{width:n(412),height:o+"px",aspectRatio:e/o}}catch(t){return console[n(401)](n(457),t),{width:n(412),height:this[n(444)](),aspectRatio:16/9}}}async[ht(372)](t,e){const n=ht;try{const r=document[n(425)](t.containerId),s=document[n(425)](t.id);if(!r||!s)return;const o=r[n(435)]().width||300,i=await this[n(398)](e,o);s[n(417)][n(367)]=i[n(367)],t[n(378)]=i[n(367)],t[n(370)]=i[n(370)],this.debug&&console[n(404)]("🔧 Banner container optimized for "+e.length+n(400)+i[n(367)])}catch(t){console[n(401)](n(384),t)}}[ht(399)](t){const e=ht,n=t[e(382)](t=>t[e(409)]/t[e(367)]),r=new Map;n.forEach(t=>{const n=e,s=(Math[n(464)](10*t)/10)[n(427)]();r[n(422)](s,(r[n(465)](s)||0)+1)});const s=Math[e(391)](...r[e(452)]()),o=t[e(468)];if(s/o>=.7)return"dominant";const i=[16/9,4/3,1,1.5],a=n[e(388)](t=>i[e(379)](e=>Math.abs(t-e)<.1))[e(468)];return e(a/o>=.5?368:438)}[ht(390)](t,e,n){const r=ht,s=t[r(382)](t=>t[r(409)]/t[r(367)]);switch(n){case r(408):{const t=new Map;s[r(403)](e=>{const n=r,s=Math.round(10*e)/10,o=s[n(427)](),i=t[n(465)](o);i?i.count++:t.set(o,{ratio:s,count:1})});const n=Array.from(t.values())[r(450)]((t,e)=>e[r(414)]>t[r(414)]?e:t);return Math[r(464)](e/n[r(440)])}case r(368):{const t=[{ratio:16/9,name:r(423)},{ratio:4/3,name:r(424)},{ratio:1,name:r(396)},{ratio:1.5,name:r(453)}],n=s[r(450)]((t,e)=>t+e,0)/s[r(468)],o=t[r(450)]((t,e)=>Math[r(443)](e.ratio-n)<Math[r(443)](t.ratio-n)?e:t);return this[r(381)]&&console[r(404)](r(374)+o.name+" (avg: "+n.toFixed(2)+")"),Math[r(464)](e/o[r(440)])}default:{const t=s[r(450)]((t,e)=>t+e,0)/s[r(468)];return Math[r(464)](e/t)}}}[ht(377)](t){return new Promise((e,n)=>{const r=ft,s=new Image;s.onload=()=>{const t=ft;e({width:s[t(469)],height:s[t(375)]})},s[r(456)]=()=>{n(new Error(r(458)+t))},s[r(420)]=t})}[ht(451)](t,e,n){const r=ht,s=e/n;Math[r(443)](s-1)<.1?(t[r(417)][r(365)]=r(418),t[r(417)][r(428)]="center"):s>1.3?(t[r(417)][r(365)]=r(389),t[r(417)].objectPosition=r(434),t[r(417)].backgroundColor=r(459)):s<.7?(t.style[r(365)]=r(418),t[r(417)].objectPosition="center"):(t[r(417)].objectFit=r(418),t[r(417)].objectPosition="center"),this.debug&&console.log(r(437)+t[r(417)][r(365)]+", ratio="+s[r(406)](2))}async renderOptimizedBannerImage(t,e,n){const r=ht,s=document.createElement(r(380));s[r(417)][r(409)]=r(412),s.style[r(367)]="100%",s[r(417)].display="block",s[r(417)][r(447)]="8px",s[r(411)]=e[r(449)]||r(429),t[r(385)]=r(426);try{if(!e[r(448)])throw new Error(r(373));const o=await this[r(377)](e[r(448)]),i=t[r(435)](),a=i.width,c=i.height;this[r(381)]&&(console[r(404)](r(436)+o.width+"x"+o[r(367)]),console.log(r(392)+a+"x"+c));const d=o[r(409)]/o[r(367)],l=a/c;return this[r(451)](s,d,l),s[r(420)]=e[r(448)],t[r(385)]="",t[r(413)](s),Q[r(455)](s,e,n,()=>this.createEventTrackingCallback(),this.debug,r(421)),this[r(381)]&&console.log(r(467)+e[r(366)]),s}catch(o){return console.error("❌ Failed to load optimized banner image:",o),e[r(448)]&&(s[r(420)]=e.imageUrl,s.style[r(365)]=r(418),s[r(417)][r(428)]=r(434),t[r(385)]="",t[r(413)](s),Q.addClickEventForRenderer(s,e,n,()=>this.createEventTrackingCallback(),this[r(381)],r(421))),s}}}const mt=It;function yt(){const t=["4zqtTTW","textContent","7GOsRDo","3316419qyPvmc","createTextAdStyles","602607zxIYaV","1081075zXOkXz","681184BurMDV","2319010OQpnWu","title","70953fYLtpH","\n font-family: 'Arial', sans-serif;\n text-decoration: none;\n display: block;\n text-align: left;\n transition: color 0.3s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: visible;\n padding-right: 2px;\n padding-left: 2px;\n white-space: nowrap;\n ","160158EufKOs","8mnLarv"];return(yt=function(){return t})()}function It(t,e){const n=yt();return(It=function(t,e){return n[t-=251]})(t,e)}!function(t){const e=It,n=t();for(;;)try{if(232117===parseInt(e(262))/1+parseInt(e(252))/2*(parseInt(e(257))/3)+parseInt(e(259))/4+parseInt(e(258))/5+parseInt(e(264))/6*(-parseInt(e(254))/7)+-parseInt(e(251))/8*(parseInt(e(255))/9)+-parseInt(e(260))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(yt);class vt{static[mt(256)](t=!1){return mt(263)}static setTextAdContent(t,e){const n=mt,r=e[n(253)]||e[n(261)]||"";t[n(253)]=r}}const bt=wt;function wt(t,e){const n=kt();return(wt=function(t,e){return n[t-=185]})(t,e)}function kt(){const t=["data-adstage-slot-id","Text","1086772snNXPb","relative","transform","opacity","autoSlideInterval","height: 100%;","minHeight","touchend","appendChild","zIndex","8MTCkkO","adstage-fade-slide-container","6327924FnXbwF","normal","height: auto;","32929155uLFBPM","adType","string",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","includes",";\n width: 100%;\n ","touches","mouseenter","cssText","addTouchSupport","clientY","className","auto","translateY(-20px)","mouseleave","preventDefault","length","absolute","createSimpleAdElement","\n position: relative;\n width: 100%;\n ","fit-content","301575uAShkK","style",";\n left: ","width","trackSlideViewable","data-adstage-ad-id","position","setTextAdContent","whiteSpace","createTextTransitionContainer","3723565iSLdVi","entries","push","touchmove","setProperty","clientX","8zoyZzi","toLowerCase","div","left","createElement","block","changedTouches","height","height: auto; min-height: fit-content;","translateY(20px)","2235832QBMhbM","_id","abs","createTextAdStyles","76692HTzjTG","\n position: ","adstage-fade-slider-wrapper","forEach","addEventListener","removeChild","top"];return(kt=function(){return t})()}!function(t){const e=wt,n=t();for(;;)try{if(604842===-parseInt(e(198))/1+-parseInt(e(208))/2*(-parseInt(e(235))/3)+-parseInt(e(185))/4+-parseInt(e(245))/5+-parseInt(e(210))/6+-parseInt(e(189))/7+parseInt(e(251))/8*(parseInt(e(213))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(kt);class Et{static[bt(232)](t,e){const n=bt,r=document[n(255)](n(253));return r[n(225)]="adstage-ad adstage-"+String(t[n(214)])[n(252)](),r.setAttribute(n(240),e[n(186)]),r.setAttribute(n(196),t.id),r[n(236)][n(222)]=vt[n(188)](!0),vt[n(242)](r,e),r}static[bt(244)](t,e,n,r,s=!1){const o=bt,i=t[o(258)]&&0!==t[o(258)]&&t[o(258)]!==o(226),a=document[o(255)](o(253));a[o(225)]=o(191);const c={position:"relative",overflow:"hidden",display:o(256)};if(!i&&(c[o(258)]=o(226),c[o(204)]=o(234)),t[o(238)]&&0!==t[o(238)]){let e;e="string"==typeof t.width?t[o(238)][o(218)]("px")||t.width[o(218)]("%")?t[o(238)]:t[o(238)]+"px":t.width+"px",c[o(238)]=e}if(t[o(258)]&&0!==t[o(258)]&&"auto"!==t[o(258)]&&i){let e;e=typeof t[o(258)]===o(215)&&(t.height[o(218)]("px")||t[o(258)].includes("%"))?t[o(258)]:t[o(258)]+"px",c[o(258)]=e}Object[o(246)](c)[o(192)](([t,e])=>{const n=o;a.style[n(249)](t,e)});const d=document.createElement(o(253));d[o(225)]=o(209),d[o(236)].cssText=o(233)+o(i?203:259)+"\n ";let l=null;const u=!t[o(238)]||0===t.width,p=!t[o(258)]||0===t.height||void 0===t[o(258)]||t.height===o(226);if(u||p&&i){if(l=document.createElement(o(253)),l.style[o(222)]=o(217),!u&&t[o(238)]){let e;e=typeof t.width===o(215)&&(t[o(238)].includes("px")||t[o(238)][o(218)]("%"))?t.width:t[o(238)]+"px",l[o(236)][o(238)]=e,l[o(236)][o(243)]=o(211)}document.body[o(206)](l);let n=0,r=0;e[o(192)](e=>{const s=o,i=this[s(232)](t,e);l[s(206)](i);const a=i.getBoundingClientRect();a[s(238)]>n&&(n=a[s(238)]),a[s(258)]>r&&(r=a[s(258)]),l[s(194)](i)}),u&&n>0&&(a[o(236)].width=n+"px"),p&&r>0&&i&&(a[o(236)].height=r+"px"),document.body[o(194)](l)}const h=[];e[o(192)]((e,n)=>{const a=o,c=document[a(255)](a(253));c[a(225)]="adstage-fade-slide";const l=0===n,u=i?a(231):l?"relative":a(231);c.style[a(222)]=a(190)+u+";\n top: "+("absolute"===u?"0":a(226))+a(237)+("absolute"===u?"0":"auto")+a(219)+a(i?203:212)+"\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: "+(0===n?"1":"0")+";\n transform: translateY("+(0===n?"0":"20px")+a(216)+(0===n?"2":"1")+";\n ";const p=this[a(232)](t,e);Q.addClickEventForSlider(p,e,t,r,s,a(197)),c.appendChild(p),d[a(206)](c),h[a(247)](c)});let f=0;const g=e[o(230)],m=1e3*(n?.[o(202)]||4),y=n=>{const a=o;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!i&&(c.style[a(241)]===a(199)&&(c.style[a(241)]=a(231),c[a(236)][a(195)]="0",c[a(236)][a(254)]="0"),d[a(236)].position=a(199),d[a(236)].top=a(226),d[a(236)].left=a(226)),c[a(236)].opacity="0",c[a(236)].transform=a(227),c[a(236)].zIndex="1",d[a(236)][a(201)]="1",d[a(236)].transform="translateY(0)",d[a(236)][a(207)]="2",h.forEach((t,e)=>{const r=a;e!==n&&e!==f&&(t.style[r(201)]="0",t[r(236)][r(200)]=r(260),t[r(236)][r(207)]="1",!i&&t[r(236)][r(241)]===r(199)&&(t[r(236)][r(241)]=r(231),t[r(236)][r(195)]="0",t[r(236)][r(254)]="0"))}),f=n,Y[a(239)](e[f],t,f,r,s)};let I=setInterval(()=>{y(f+1)},m);return a.addEventListener(o(221),()=>{clearInterval(I)}),a[o(193)](o(228),()=>{I=setInterval(()=>{y(f+1)},m)}),Et.addTouchSupport(a,y,()=>f,g),a[o(206)](d),a}static[bt(223)](t,e,n,r){const s=bt;let o=0,i=0,a=!1;t.addEventListener("touchstart",t=>{const e=wt;o=t[e(220)][0][e(250)],i=t[e(220)][0].clientY,a=!0}),t[s(193)](s(248),t=>{a&&t[s(229)]()}),t[s(193)](s(205),t=>{const r=s;if(!a)return;a=!1;const c=t[r(257)][0].clientX,d=t[r(257)][0][r(224)],l=o-c,u=i-d;if(Math[r(187)](l)>Math[r(187)](u)&&Math[r(187)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}const xt=At;function St(){const t=[" with ","log","createElement","cssText","createTextTransitionContainer","renderMultipleAds","display","createTextAdStyles"," ads","100%","config","34024YUeDQM","99686syGgXd","✨ Text transition created for slot: ","number","Container not found: ","style","Text","228543fOavft","optimizedHeight","1171602DGdyTB","width","adstage-ad adstage-text-ad","debug","4OrcyWX","innerHTML","7169750MrUniO","setTextAdContent","getDefaultHeight","6AWCKkV","getElementById","webkitLineClamp","renderAdElement","height","overflow","60px","151265JsKhto","705531Dlwbzc","className","adstage-text-content","aspectRatio","appendChild","vertical","511GrSRwr","div","parentElement","containerId","TEXT","webkitBoxOrient","createEventTrackingCallback","maxLines","calculateAdSize"];return(St=function(){return t})()}function At(t,e){const n=St();return(At=function(t,e){return n[t-=260]})(t,e)}!function(t){const e=At,n=t();for(;;)try{if(189598===parseInt(e(311))/1+-parseInt(e(305))/2+-parseInt(e(278))/3*(parseInt(e(265))/4)+-parseInt(e(277))/5*(parseInt(e(270))/6)+parseInt(e(284))/7*(-parseInt(e(304))/8)+-parseInt(e(261))/9+parseInt(e(267))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(St);class Ct extends ut{constructor(t=!1,n){super(e[At(288)],t,n)}[xt(269)](){return xt(276)}async[xt(273)](t,e){const n=xt,r=document[n(271)](t.containerId);if(!r)return;const s=document.createElement(n(285));s[n(279)]=n(263);const o=t[n(260)],i=r[n(286)]||r;if(o)s.style[n(262)]=n(302),s.style[n(274)]=String(o);else{const e=t.config,r={width:e?.[n(262)],height:e?.[n(274)]},{width:o,height:a}=this[n(292)](i,r,{debug:this[n(264)]});s[n(309)].width=o,s[n(309)][n(274)]=a}const a=document[n(295)](n(285));a.className=n(280),a.style[n(296)]=vt[n(300)](!1),vt[n(268)](a,e);const c=t[n(303)]?.[n(291)];c&&typeof c===n(307)&&(a[n(309)][n(299)]="-webkit-box",a[n(309)][n(272)]=String(c),a[n(309)][n(289)]=n(283),a[n(309)][n(275)]="hidden"),s.appendChild(a),Q.addClickEventForRenderer(s,e,t,()=>this.createEventTrackingCallback(),this[n(264)],n(310)),r[n(266)]="",r[n(282)](s),this[n(264)]&&console.log("✨ Single text ad rendered: "+e._id)}async[xt(298)](t,e){const n=xt,r=document[n(271)](t[n(287)]);if(!r)throw new Error(n(308)+t[n(287)]);const s=this[n(290)](),o={autoSlideInterval:(t.config?.slideInterval||5e3)/1e3,...t[n(303)],optimizedHeight:t[n(260)],aspectRatio:t[n(281)]},i=Et[n(297)](t,e,o,s,this[n(264)]);i&&(r.innerHTML="",r.appendChild(i),this[n(264)]&&console[n(294)](n(306)+t.id+n(293)+e.length+n(301)))}}const Tt=Rt;function Rt(t,e){const n=Dt();return(Rt=function(t,e){return n[t-=423]})(t,e)}function Dt(){const t=["loadedmetadata","1576022lWwEMN","hideRemainingTime","img","🎬 Final video settings:","hideFullscreenButton","imageUrl","contain"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","src","Video fallback"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","disabled (default)","🎬 Video controls setting:","block","createElement","scale(1.1)","loop","renderVideoElementDirect","hideVolumeSlider","100%","hidePlayButton","debug","config","none","adstage-video-container","7tuxRcX","🎬 Video can play, attempting autoplay...","appendChild","autoplay","Video","stopPropagation","transform","🎬 Video element created for ad: ","\n position: absolute;\n top: 12px;\n left: 12px;\n width: 40px;\n height: 40px;\n border: none;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.7);\n color: white;\n font-size: 16px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10;\n transition: all 0.3s ease;\n backdrop-filter: blur(4px);\n ","style","video","preload","VIEWABLE","mouseenter",", muted: ","🎬 Trying muted autoplay fallback...","button"," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","log","🎬 Video data loaded, attempting autoplay...","3955044fIYgMF","360px","textContent"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","🎬 Video config received:","2115944uCYWza","createEventTrackingCallback","hideMuteButton","rgba(0, 0, 0, 0.7)","catch","\n video::-webkit-media-controls-play-button {\n display: ","loadeddata","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","9iQPUEx","title","div","🎬 Single video ad rendered: ","cssText","Container not found: ","renderAdElement","width","adstage-video-default-controls","error"," !important;\n }\n ","162684lgFpKm","hideControls","className","🎬 Autoplay completely failed:","Video thumbnail","🎬 Video metadata loaded, attempting autoplay...","mouseleave","alt","Video load failed:","141916aqirOw","unmuted","addEventListener","playsinline","\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n ","⚠️ No video advertisements available for slot: ","background","objectFit","🎬 Initial autoplay attempt after timeout..."," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","1194039mIpWTf","_id","hideCurrentTime","canplay","height",", loop: ","\n pointer-events: none;\n ","paused","🎬 Auto-play was prevented:","21NDokoz","customControls","videoUrl","relative","5FILLHo"," (autoplay: ","getElementById","🎬 User explicitly enabled controls, overriding default","🔊 Video mute toggled: ","play","display",'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/>\n </svg>\n ',"scale(1)","muted","addClickEventForRenderer","innerHTML","controls","6439700FQdQHD","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","warn"];return(Dt=function(){return t})()}!function(t){const e=Rt,n=t();for(;;)try{if(561602===parseInt(e(437))/1+parseInt(e(486))/2+parseInt(e(465))/3*(-parseInt(e(446))/4)+parseInt(e(469))/5*(parseInt(e(531))/6)+parseInt(e(511))/7*(-parseInt(e(536))/8)+parseInt(e(426))/9*(-parseInt(e(482))/10)+parseInt(e(456))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Dt);class Ut extends ut{constructor(t=!1,n){super(e.VIDEO,t,n)}getDefaultHeight(){return Rt(532)}async[Tt(432)](t,e){const n=Tt,r=document.getElementById(t.containerId);if(!r)return;const s=document.createElement("div");s.className=n(510),s[n(520)][n(430)]=n(483),this[n(503)](s,e,t),r.innerHTML="",r[n(513)](s),this[n(507)]&&console[n(529)](n(429)+e._id)}async renderMultipleAds(t,e){const n=Tt,r=document[n(471)](t.containerId);if(!r)throw new Error(n(431)+t.containerId);if(e.length>0){const s=e[0],o=document[n(500)](n(428));o[n(439)]="adstage-video-container",o[n(520)][n(430)]=n(425),this[n(503)](o,s,t),r[n(480)]="",r[n(513)](o);const i=this[n(537)]();setTimeout(()=>{const e=n;i(s[e(457)],t.id,a[e(523)])},100),this[n(507)]&&console[n(529)]("🎬 Single video rendered for VIDEO slot: "+t.id+" ("+s[n(457)]+")")}else this[n(507)]&&console[n(484)](n(451)+t.id)}[Tt(503)](t,e,n){const r=Tt;t[r(520)].position=r(468);const s=document[r(500)](r(521));s[r(520)].width="100%",s[r(520)].height="100%",s.style.objectFit=r(492),s[r(522)]="metadata";const o=n[r(508)];if(this.debug&&console[r(529)](r(535),o),s.controls=!1,s.autoplay=!1!==o?.[r(514)],s[r(478)]=!0,s.loop=!1!==o?.[r(502)],this[r(507)]&&console[r(529)](r(489),{autoplay:s[r(514)],muted:s[r(478)],loop:s[r(502)],controls:s[r(481)]}),!1!==o?.[r(449)]&&s.setAttribute(r(449),""),!0===o?.[r(481)]&&(s[r(481)]=!0,this[r(507)]&&console[r(529)](r(472))),o?.[r(438)])s[r(481)]=!1,s[r(520)][r(430)]+=r(462);else if(o?.[r(466)]){if(s[r(481)]){const t=document.createElement(r(520));t[r(533)]=r(423)+(o[r(466)][r(506)]?r(509):r(499))+r(534)+(o[r(466)].hideProgressBar?"none":r(499))+r(496)+(o[r(466)][r(458)]?"none":"block")+r(455)+(o.customControls[r(487)]?r(509):r(499))+" !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: "+(o[r(466)][r(504)]?r(509):r(499))+r(528)+(o[r(466)][r(538)]?r(509):"block")+r(493)+(o[r(466)][r(490)]?"none":r(499))+r(436),document.head[r(513)](t)}}else if(s[r(481)]){const t=document[r(500)](r(520));t.id=r(434),t[r(533)]=r(450),!document[r(471)](r(434))&&document.head[r(513)](t)}this[r(507)]&&console[r(529)](r(498),s[r(481)]?"enabled":r(497));const i=document[r(500)](r(527));i[r(439)]="adstage-video-mute-button",i.style[r(430)]=r(519),o?.[r(438)]&&(i.style[r(475)]="none");const a=()=>{const t=r,e=t(476);i[t(480)]=s[t(478)]?e:'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/>\n </svg>\n ',i[t(427)]=s[t(478)]?"Click to unmute":"Click to mute"};if(a(),i.addEventListener("click",t=>{const e=r;t[e(516)](),s[e(478)]=!s[e(478)],a(),this[e(507)]&&console[e(529)](e(473)+(s[e(478)]?e(478):e(447)))}),i[r(448)](r(524),()=>{const t=r;i[t(520)].background="rgba(0, 0, 0, 0.9)",i.style[t(517)]=t(501)}),i[r(448)](r(443),()=>{const t=r;i[t(520)][t(452)]=t(539),i.style[t(517)]=t(477)}),e[r(467)]){s[r(494)]=e.videoUrl;const t=()=>{const t=r;s[t(514)]&&s[t(478)]&&s[t(463)]&&s[t(474)]().catch(e=>{const n=t;this[n(507)]&&(console.warn(n(464),e),console[n(484)](n(526))),s.muted=!0,s[n(474)]()[n(540)](t=>{const e=n;this[e(507)]&&console[e(435)](e(440),t)})})};s[r(448)](r(485),()=>{const e=r;this[e(507)]&&console[e(529)](e(442)),t()}),s[r(448)](r(459),()=>{const e=r;this[e(507)]&&console[e(529)](e(512)),t()}),s[r(448)](r(424),()=>{const e=r;this[e(507)]&&console[e(529)](e(530)),t()}),setTimeout(()=>{const e=r;this[e(507)]&&console.log(e(454)),t()},100)}else if(e[r(491)]){const n=document[r(500)](r(488));return n[r(494)]=e.imageUrl,n[r(520)][r(433)]=r(505),n[r(520)].height=r(505),n.style[r(453)]=r(492),n[r(444)]=e.title||r(441),void t[r(513)](n)}Q.addClickEventForRenderer(s,e,n,()=>this.createEventTrackingCallback(),this[r(507)],r(515)),s[r(448)]("error",s=>{const o=r;if(console[o(435)](o(445),s),e.imageUrl){const r=document.createElement(o(488));r[o(494)]=e[o(491)],r[o(520)][o(433)]=o(505),r.style[o(460)]=o(505),r[o(520)][o(453)]=o(492),r[o(444)]=e[o(427)]||o(441),Q[o(479)](r,e,n,()=>this.createEventTrackingCallback(),this[o(507)],o(495)),t[o(480)]="",t.appendChild(r)}}),t[r(513)](s),t.appendChild(i),this[r(507)]&&console[r(529)](r(518)+e._id+r(470)+s.autoplay+r(525)+s[r(478)]+r(461)+s[r(502)]+")")}}const Lt=Bt;function Pt(){const t=["cssText","click","168957LCGUEF","createElement","328cdZIys","warn","mouseleave","2813005PBxgSg","src","alt","textContent","addEventListener","13834eSHFmN","Native Advertisement","title","700JaCcOb","backgroundColor","getDefaultHeight","1849030PejPPv","log","\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n padding: 16px;\n background: #fff;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n ","⚠️ No native advertisements available for slot: ","adstage-ad adstage-native-ad","innerHTML","open","style","2FqYdIb","Learn More","\n padding: 8px 16px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 6px;\n font-size: 14px;\n font-weight: 500;\n cursor: pointer;\n align-self: flex-start;\n transition: background-color 0.2s;\n ","getElementById","): ","appendChild","div","200px","containerId","renderAdElement","19482XpvVbR","linkUrl","Native click tracked for ad: ","_id","className","imageUrl","🏠 Single native ad rendered: ","1891533WcTzcJ","NATIVE","#3b82f6","188160aLTvOB","debug","33knlhQx"];return(Pt=function(){return t})()}function Bt(t,e){const n=Pt();return(Bt=function(t,e){return n[t-=275]})(t,e)}!function(t){const e=Bt,n=t();for(;;)try{if(574388===-parseInt(e(306))/1*(-parseInt(e(292))/2)+parseInt(e(323))/3+-parseInt(e(277))/4+-parseInt(e(287))/5+-parseInt(e(316))/6*(-parseInt(e(295))/7)+parseInt(e(284))/8*(parseInt(e(282))/9)+-parseInt(e(298))/10*(parseInt(e(279))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Pt);class _t extends ut{constructor(t=!1,n){super(e[Bt(275)],t,n)}[Lt(297)](){return Lt(313)}async[Lt(315)](t,e){const n=Lt,r=document[n(309)](t[n(314)]);if(!r)return;const s=document[n(283)]("div");if(s[n(320)]=n(302),s[n(305)][n(280)]=n(300),e[n(294)]){const t=document.createElement("h3");t.textContent=e[n(294)],t[n(305)][n(280)]="\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ",s[n(311)](t)}if(e.textContent){const t=document[n(283)]("p");t[n(290)]=e[n(290)],t.style.cssText="\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ",s[n(311)](t)}if(e[n(321)]){const t=document.createElement(n(312));t[n(305)].cssText="\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ";const r=document[n(283)]("img");r[n(288)]=e[n(321)],r[n(289)]=e[n(294)]||n(293),r[n(305)].cssText="\n width: 100%;\n height: 100%;\n object-fit: cover;\n ",t[n(311)](r),s[n(311)](t)}if(e.linkUrl){const t=document[n(283)]("button");t[n(290)]=n(307),t.style[n(280)]=n(308),t[n(291)](n(281),()=>{const t=n;this.advertisementEventTracker&&console.log(t(318)+e[t(319)]),window[t(304)](e[t(317)],"_blank")}),t[n(291)]("mouseenter",()=>{t[n(305)].backgroundColor="#2563eb"}),t.addEventListener(n(286),()=>{const e=n;t[e(305)][e(296)]=e(276)}),s[n(311)](t)}r[n(303)]="",r[n(311)](s),this[n(278)]&&console[n(299)](n(322)+e[n(319)])}async renderMultipleAds(t,e){const n=Lt;e.length>0?(await this[n(315)](t,e[0]),this[n(278)]&&console[n(299)]("🏠 Native ad rendered (first of "+e.length+n(310)+t.id)):this[n(278)]&&console[n(285)](n(301)+t.id)}}const zt=Mt;function Mt(t,e){const n=Nt();return(Mt=function(t,e){return n[t-=270]})(t,e)}function Nt(){const t=["className","3831176VnReoY","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","#f3f4f6","animation","open","\n position: relative;\n max-width: 90vw;\n max-height: 90vh;\n background: white;\n border-radius: 12px;\n padding: 24px;\n box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);\n animation: slideUp 0.3s ease-out;\n overflow: auto;\n ","400px","renderAdElement","click","3FyVTcU","title","removeEventListener","parentNode","): ","mouseenter","style","div","🖼️ Interstitial ad closed","adstage-interstitial-styles","\n width: 100%;\n padding: 12px 24px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 8px;\n font-size: 16px;\n font-weight: 600;\n cursor: pointer;\n transition: background-color 0.2s;\n ","🖼️ Interstitial ad rendered: ","\n position: absolute;\n top: 12px;\n right: 12px;\n width: 32px;\n height: 32px;\n border: none;\n background: #f3f4f6;\n color: #6b7280;\n font-size: 20px;\n font-weight: bold;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s;\n ","closeInterstitial","#2563eb","414142QRNCyd","appendChild","alt","_blank","mouseleave","getDefaultHeight","removeChild","addEventListener","Interstitial Advertisement","textContent","⚠️ No interstitial advertisements available for slot: ","2216550nhErdd","button","length","#3b82f6","cssText","763928MNXyrt","_id","src","Interstitial click tracked for ad: ","renderMultipleAds","2096994YiHtRa","keydown","backgroundColor","innerHTML","body","log","linkUrl","key","1691300KzGEdT","createElement","color","imageUrl","Get Started","Escape","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","advertisementEventTracker","fadeOut 0.3s ease-out forwards","debug","86304SFgAuO","\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n }\n ","\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10000;\n animation: fadeIn 0.3s ease-out;\n ","getElementById"];return(Nt=function(){return t})()}!function(t){const e=Mt,n=t();for(;;)try{if(213763===parseInt(e(304))/1+-parseInt(e(333))/2+-parseInt(e(318))/3*(parseInt(e(281))/4)+parseInt(e(294))/5+parseInt(e(286))/6+parseInt(e(276))/7+-parseInt(e(309))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Nt);class Ot extends ut{constructor(t=!1,n){super(e.INTERSTITIAL,t,n)}[zt(270)](){return zt(315)}async[zt(316)](t,e){const n=zt;if(!document.getElementById(t.containerId))return;const r=document[n(295)](n(325));r[n(308)]="adstage-interstitial-overlay",r[n(324)][n(280)]=n(306);const s=document.createElement(n(325));s[n(308)]="adstage-interstitial-content",s[n(324)][n(280)]=n(314);const o=document[n(295)]("button");if(o[n(289)]="×",o.style[n(280)]=n(330),o[n(272)](n(317),()=>{this[n(331)](r)}),o.addEventListener(n(323),()=>{const t=n;o.style[t(288)]="#e5e7eb",o.style[t(296)]="#374151"}),o[n(272)](n(337),()=>{const t=n;o[t(324)][t(288)]=t(311),o.style[t(296)]="#6b7280"}),e[n(297)]){const t=document.createElement("img");t[n(283)]=e[n(297)],t[n(335)]=e.title||n(273),t.style[n(280)]="\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ",s[n(334)](t)}if(e[n(319)]){const t=document[n(295)]("h2");t[n(274)]=e[n(319)],t[n(324)][n(280)]=n(300),s[n(334)](t)}if(e[n(274)]){const t=document[n(295)]("p");t[n(274)]=e.textContent,t[n(324)].cssText=n(310),s[n(334)](t)}if(e.linkUrl){const t=document[n(295)](n(277));t.textContent=n(298),t.style[n(280)]=n(328),t[n(272)]("click",()=>{const t=n;this[t(301)]&&console[t(291)](t(284)+e[t(282)]),window[t(313)](e[t(292)],t(336)),this[t(331)](r)}),t[n(272)](n(323),()=>{const e=n;t[e(324)][e(288)]=e(332)}),t.addEventListener("mouseleave",()=>{const e=n;t.style[e(288)]=e(279)}),s[n(334)](t)}const i=t=>{const e=n;t[e(293)]===e(299)&&(this.closeInterstitial(r),document[e(320)]("keydown",i))};if(document[n(272)](n(287),i),r[n(272)](n(317),t=>{const e=n;t.target===r&&this[e(331)](r)}),!document[n(307)](n(327))){const t=document[n(295)](n(324));t.id=n(327),t[n(274)]=n(305),document.head[n(334)](t)}s[n(334)](o),r.appendChild(s),document[n(290)].appendChild(r),this.debug&&console[n(291)](n(329)+e._id)}async[zt(285)](t,e){const n=zt;e.length>0?(await this[n(316)](t,e[0]),this.debug&&console.log("🖼️ Interstitial ad rendered (first of "+e[n(278)]+n(322)+t.id)):this.debug&&console.warn(n(275)+t.id)}[zt(331)](t){const e=zt;t.style[e(312)]=e(302),setTimeout(()=>{const n=e;t[n(321)]&&t[n(321)][n(271)](t)},300),this[e(303)]&&console[e(291)](e(326))}}const Vt=jt;function Ft(){const t=["div","renderOptimizedBannerImage is only supported for BANNER ads","13330jpqEKy","setAttribute","1px dashed #ccc","toLowerCase","width","getDefaultHeight","4MLAZeW","renderMultipleAds","59279SVodlg","videoUrl","src","36bhbfxz","12nbMecO"," renderers","data-adstage-ad-id","8px","renderAdSlider","getDefaultHeightForAdType","renderFallback","838184Lkpbvw","advertisement","className","img","video","debug","12mYFAFm","BANNER","calculateAdSize","set","textContent","111342EXQUmL","⚠️ Container optimization is only supported for BANNER ads, got: ","renderers","TEXT","[AdRenderer] ","style","height","initializeRenderers","313810iovdJZ"," Ad","optimizeContainerForBannerAds","970CGZpTw","imageUrl","naturalWidth","appendChild","_id","border","createElement","cover","block","Failed to load image: ","padding","getRenderer","132NTbBIU","VIDEO","createAdElement","size","INTERSTITIAL","get","backgroundColor","objectFit","calculateOptimalContainerSize","adType","5336162iCZofl","356691JTVMOs","100%","createPlaceholder","onerror","log","advertisementEventTracker","adstage-ad adstage-","No advertisement to render"];return(Ft=function(){return t})()}function jt(t,e){const n=Ft();return(jt=function(t,e){return n[t-=465]})(t,e)}!function(t){const e=jt,n=t();for(;;)try{if(545258===-parseInt(e(497))/1+parseInt(e(507))/2*(parseInt(e(486))/3)+parseInt(e(513))/4*(parseInt(e(471))/5)+parseInt(e(532))/6*(parseInt(e(537))/7)+parseInt(e(526))/8*(-parseInt(e(518))/9)+-parseInt(e(474))/10*(-parseInt(e(515))/11)+parseInt(e(519))/12*(parseInt(e(496))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ft);class Ht{constructor(t=!1,e){const n=jt;this[n(465)]=new Map,this.debug=t,this[n(502)]=e||null,this[n(470)]()}[Vt(470)](){const t=Vt;this[t(465)][t(535)](e[t(533)],new gt(this[t(531)],this.advertisementEventTracker)),this[t(465)][t(535)](e[t(466)],new Ct(this[t(531)],this.advertisementEventTracker)),this[t(465)].set(e[t(487)],new Ut(this[t(531)],this[t(502)])),this[t(465)].set(e.NATIVE,new _t(this[t(531)],this.advertisementEventTracker)),this[t(465)].set(e[t(490)],new Ot(this[t(531)],this[t(502)])),this[t(531)]&&console.log("🏭 AdRenderer factory initialized with "+this[t(465)][t(489)]+t(520))}[Vt(488)](t,n){const r=Vt,s=this.getRenderer(t[r(495)]),o=document[r(480)](r(505));o[r(528)]=r(503)+String(t[r(495)])[r(510)](),o[r(508)](r(521),n[r(478)]),o[r(508)]("data-adstage-slot-id",t.id);const{width:i,height:a}=s[r(534)](o,t.config||{},n);switch(o[r(468)][r(511)]=i,o[r(468)][r(469)]=a,o[r(468)].display=r(482),t[r(495)]){case e[r(533)]:if(n[r(475)]){const t=document[r(480)](r(529));t[r(517)]=n[r(475)],t[r(468)][r(511)]=r(498),t.style[r(469)]=r(498),t.style[r(493)]=r(481),o.appendChild(t)}break;case e[r(487)]:if(n[r(516)]){const t=document.createElement(r(530));t[r(517)]=n[r(516)],t.style.width=r(498),t[r(468)][r(469)]="100%",o.appendChild(t)}break;case e[r(466)]:if(n[r(536)]){const t=document[r(480)](r(505));t[r(536)]=n[r(536)]||"",t[r(468)][r(484)]=r(522),o[r(477)](t)}break;default:o[r(468)][r(479)]=r(509),o[r(468)][r(492)]="#f9f9f9",o[r(536)]=t.adType+r(472)}return o}[Vt(485)](t){const e=Vt,n=this.renderers[e(491)](t);if(!n)throw new Error("No renderer found for ad type: "+t);return n}createPlaceholder(t,e,n,r,s){const o=Vt;this[o(485)](n)[o(499)](t,e,r,s)}async[Vt(473)](t,n){const r=Vt;if(t.adType!==e[r(533)])return void(this[r(531)]&&console.warn(r(538)+t[r(495)]));const s=this[r(485)](e.BANNER);await s[r(473)](t,n)}async[Vt(523)](t,e){const n=Vt,r=this[n(485)](t[n(495)]);await r[n(514)](t,e)}async renderAd(t){const e=Vt;if(!t[e(527)])throw new Error(e(504));const n=this[e(485)](t[e(495)]);await n.renderAdElement(t,t.advertisement),t.isLoaded=!0}async renderAdElement(t,e){const n=Vt,r=this[n(485)](t[n(495)]);await r.renderAdElement(t,e)}[Vt(525)](t){const e=Vt;this[e(485)](t.adType)[e(525)](t)}[Vt(524)](t){const e=Vt;return this[e(485)](t)[e(512)]()}[Vt(534)](t,e,n,r){return this[Vt(485)](e).calculateAdSize(t,n,r)}loadImageDimensions(t){return new Promise((e,n)=>{const r=jt,s=new Image;s.onload=()=>{e({width:s[jt(476)],height:s.naturalHeight})},s[r(500)]=()=>{n(new Error(r(483)+t))},s.src=t})}async renderOptimizedBannerImage(t,n,r){const s=Vt;if(r.adType!==e[s(533)])throw new Error(s(506));const o=this[s(485)](e[s(533)]);return await o.renderOptimizedBannerImage(t,n,r)}async[Vt(494)](t,n,r){const s=Vt;if(r!==e[s(533)]){return{width:"100%",height:this[s(485)](r).getDefaultHeight(),aspectRatio:16/9}}const o=this[s(485)](e[s(533)]);return await o[s(494)](t,n)}[Vt(501)](t,...e){const n=Vt;this[n(531)]&&console[n(501)](n(467)+t,...e)}}const Kt=Wt;function Wt(t,e){const n=Xt();return(Wt=function(t,e){return n[t-=321]})(t,e)}!function(t){const e=Wt,n=t();for(;;)try{if(269571===parseInt(e(444))/1*(parseInt(e(358))/2)+parseInt(e(348))/3+parseInt(e(418))/4*(-parseInt(e(433))/5)+-parseInt(e(334))/6+-parseInt(e(327))/7+-parseInt(e(451))/8+parseInt(e(445))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Xt);class Gt{constructor(){const t=Wt;this[t(391)]=!1,this[t(385)]=null,this[t(434)]=new Map,this[t(330)]=null,this[t(366)]=null,this[t(373)]=null}[Kt(323)](t){const e=Kt;this[e(385)]=t,this[e(330)]=new _(G.getBaseUrl(),t[e(335)],t[e(393)]||!1,this[e(434)]),this[e(366)]=new Ht(t.debug||!1,this[e(330)]),this.setupAutoCleanup(),this[e(391)]=!0,t[e(393)]&&console[e(447)]("🎯 Ads module initialized (sync mode) with auto-cleanup")}[Kt(421)](){return this[Kt(391)]}getConfig(){return this[Kt(385)]}[Kt(333)](t,n){const r=Kt;this[r(368)]();const s={width:n?.[r(324)]||r(322),height:n?.[r(399)]||r(343),autoSlide:n?.[r(412)]||!1,slideInterval:n?.[r(376)]||5e3,onClick:n?.[r(448)],adId:n?.[r(416)],language:n?.language,deviceType:n?.[r(371)],country:n?.country};return this[r(381)](t,e.BANNER,s)}[Kt(325)](t,n){const r=Kt;this[r(368)]();const s={maxLines:n?.[r(402)]||3,style:n?.style||r(415),onClick:n?.[r(448)],adId:n?.adId,language:n?.language,deviceType:n?.[r(371)],country:n?.[r(411)]};return this.createAd(t,e.TEXT,s)}[Kt(420)](t,n){const r=Kt;this[r(368)]();const s={width:n?.[r(324)]||640,height:n?.height||360,autoplay:void 0===n?.[r(357)]||n[r(357)],muted:void 0===n?.[r(326)]||n.muted,loop:void 0===n?.loop||n[r(374)],playsinline:!1!==n?.[r(404)],controls:void 0!==n?.controls&&n[r(435)],hideControls:n?.hideControls||!1,customControls:n?.customControls,autoSlide:!1,maxAds:1,onClick:n?.[r(448)],...n?.[r(416)]&&{adId:n[r(416)]}};return this[r(381)](t,e.VIDEO,s)}[Kt(359)](t,n){const r=Kt;return this[r(368)](),this[r(381)](t,e.NATIVE,n||{})}[Kt(408)](t,n){const r=Kt;return this[r(368)](),this[r(381)](t,e[r(414)],n||{})}[Kt(419)](t){const e=Kt;this[e(368)]();const n=this[e(434)][e(360)](t);if(!n)throw new Error(e(328)+t);this.refreshAdSlot(n),this._config?.[e(393)]&&console.log(e(388)+t)}destroy(t){const e=Kt;this.ensureReady();const n=this[e(434)][e(360)](t);if(!n)throw new Error(e(328)+t);n.viewabilityTracker&&n[e(321)][e(389)]();const r=document[e(431)](n[e(370)]);r&&(r.innerHTML=""),this[e(434)][e(346)](t),this[e(385)]?.[e(393)]&&console.log("🗑️ Ad slot destroyed: "+t)}getAllSlots(){const t=Kt;return this.ensureReady(),Array[t(364)](this[t(434)][t(386)]())}[Kt(450)](t){const e=Kt;return this[e(368)](),this[e(434)][e(360)](t)||null}[Kt(381)](t,e,n){const r=Kt;if(!this._config?.[r(335)])throw new Error(r(345));const s=r(380)+e+"-"+Date[r(440)]()+"-"+Math.random()[r(342)](36)[r(349)](2,9);return this[r(452)](t,e,n,s,0),s}async[Kt(452)](t,e,n,r,s){const o=Kt,i=[0,50,100,200,500];let a,c=null;if("string"==typeof t){if(a=t,c=document[o(431)](t),!c)return s<4?(this._config?.[o(393)]&&console[o(396)]("Container not found: "+t+". Retrying in "+i[s+1]+o(344)+(s+1)+"/5)"),void setTimeout(()=>{this[o(452)](t,e,n,r,s+1)},i[s+1])):void console[o(336)](o(410)+5+o(397)+t)}else c=t,a=c.id||o(439)+r,!c.id&&(c.id=a);try{this.createAdInternal(a,e,n,r,c)}catch(t){console[o(336)]("광고 생성 중 오류 발생:",t)}}createAdInternal(t,n,r,s,o){const i=Kt;o[i(407)](i(424),s),this[i(366)]?.[i(340)](o,s,n,r,this._config);const a={id:s,containerId:t,adType:n,width:r.width||"100%",height:r[i(399)]||(n===e.TEXT?i(343):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...r},load:async()=>this[i(423)](n,r).then(t=>t[0]||null),render:t=>this.adRenderer?.[i(426)](a,t),refresh:async()=>this.refreshAdSlot(a),destroy:()=>this[i(389)](s)};this[i(434)][i(425)](s,a),this[i(363)](a),this[i(330)]&&this._config?.[i(393)]&&console[i(447)](i(362)+s)}async[Kt(363)](t){const n=Kt;try{const r=await this.fetchAdData(t[n(401)],t[n(449)]);if(!r||0===r.length)return void this.adRenderer?.renderFallback(t);t[n(401)]===e[n(332)]&&r[n(428)]>0&&await(this[n(366)]?.[n(413)](t,r)),r[n(428)]>1||t.config?.autoSlide?(await(this[n(366)]?.[n(400)](t,r)),this[n(385)]?.debug&&console.log(n(337)+r[n(428)]+n(437))):(t[n(442)]=r[0],await(this[n(366)]?.renderAdElement(t,r[0])),this[n(379)](t,r[0])),t[n(443)]=!0,this[n(385)]?.[n(393)]&&console[n(447)]("✅ Ad loaded for slot: "+t.id+" ("+r[n(428)]+n(446))}catch(e){console[n(336)](n(347)+t.id,e),this.adRenderer?.[n(384)](t)}}[Kt(379)](t,e){const n=(r=0)=>{const s=Wt,o=document[s(431)](t.id);if(!o)return void(r<5?(setTimeout(()=>n(r+1),300),this._config?.[s(393)]&&console.log(s(427)+t.id+" (attempt "+(r+1)+")")):console.warn(s(417)+t.id));const i=new O(o,async()=>{await this.handleViewableEvent(e,t)});t[s(321)]=i,this[s(385)]?.[s(393)]&&console[s(447)]("🎯 Simple viewability tracking started for slot: "+t.id+s(354))};n()}async[Kt(398)](t,e){const n=Kt;try{this[n(330)]&&(await this.advertisementEventTracker[n(329)](t[n(377)],e.id,a[n(352)]),this[n(385)]?.[n(393)]&&console[n(447)](n(341)+t[n(377)]))}catch(t){console[n(336)](n(454),t)}}async[Kt(423)](t,e){const n=Kt;if(!this[n(385)]?.apiKey)throw new Error(n(345));if(e.adId){const t=""+G.advertisements[n(375)](e[n(416)]),r=await fetch(t,{method:n(331),headers:U[n(353)](this[n(385)][n(335)])});if(!r.ok){if(404===r[n(436)])return console[n(396)]("🚫 Advertisement not found with ID: "+e[n(416)]),[];throw new Error(n(387)+r.status)}const s=await r[n(390)]();return this._config?.[n(393)]&&console[n(447)](n(432)+e[n(416)],s),[s]}const r=new URLSearchParams;r.append(n(401),t),e[n(392)]&&r[n(339)](n(392),e[n(392)]),e[n(371)]&&r[n(339)]("deviceType",e.deviceType),e[n(411)]&&r[n(339)](n(411),e[n(411)]);const s=G[n(441)][n(351)]()+"?"+r[n(342)](),o=await fetch(s,{method:"GET",headers:U[n(353)](this[n(385)][n(335)])});if(!o.ok)throw new Error("Failed to fetch ad data: "+o[n(436)]);const i=(await o.json())[n(441)]||[];return this[n(385)]?.[n(393)]&&console[n(447)]("📊 Fetched "+i.length+" ads for type: "+t+", filters:",{language:e[n(392)],deviceType:e.deviceType,country:e.country}),i}async refreshAdSlot(t){const e=Kt;try{const n=await this[e(423)](t[e(401)],t.config||{});n&&n[e(428)]>0&&(t[e(442)]=n[0],await(this.adRenderer?.[e(430)](t)),this[e(330)]&&console[e(447)](e(367),t.id))}catch(n){console[e(336)](e(383)+t.id,n)}}[Kt(368)](){const t=Kt;if(!this[t(391)])throw new Error(t(365))}[Kt(355)](){const t=Kt;"undefined"!=typeof window&&typeof document!==t(453)&&(this[t(373)]&&this[t(373)][t(338)](),this.mutationObserver=new MutationObserver(e=>{const n=t;e[n(361)](t=>{const e=n;t[e(372)][e(361)](t=>{const n=e;t[n(429)]===Node[n(378)]&&this[n(422)](t)})})}),this[t(373)][t(405)](document[t(395)],{childList:!0,subtree:!0}),this[t(385)]?.[t(393)]&&console.log(t(356)))}[Kt(422)](t){const e=Kt,n=t.getAttribute(e(424));if(n)return void this[e(409)](n);t[e(382)](e(369))[e(361)](t=>{const n=e,r=t.getAttribute(n(424));r&&this[n(409)](r)})}[Kt(409)](t){const e=Kt;if(this[e(434)][e(360)](t))try{this[e(434)][e(346)](t),this._config?.[e(393)]&&console[e(447)](e(406)+t+e(350))}catch(n){this[e(385)]?.[e(393)]&&console[e(396)]("Auto-cleanup failed for slot "+t+":",n)}}[Kt(403)](){const t=Kt,e=this[t(385)]?.[t(393)];this[t(373)]&&(this[t(373)][t(338)](),this[t(373)]=null),this[t(434)][t(438)](),this[t(330)]=null,this[t(366)]=null,this[t(391)]=!1,this._config=null,e&&console[t(447)](t(394))}}function Xt(){const t=["banner","538968SkDNGN","apiKey","error","🎠 Slider will handle VIEWABLE events for ","disconnect","append","createPlaceholder","✅ Simple viewable impression tracked for ad ","toString","auto","ms... (attempt ","API key not configured","delete","❌ Failed to load ad for slot: ","371724YBDxAc","substr"," removed","list","VIEWABLE","create"," (element found)","setupAutoCleanup","🔍 Auto-cleanup MutationObserver enabled","autoplay","586156VLsCal","native","get","forEach","📊 Advertisement event tracking enabled for slot: ","loadAdContentInBackground","from","Ads module not initialized. Call AdStage.init() first.","adRenderer","New advertisement viewable tracked for slot:","ensureReady","[data-adstage-slot-id]","containerId","deviceType","removedNodes","mutationObserver","loop","detail","slideInterval","_id","ELEMENT_NODE","startSimpleViewabilityTracking","adstage-","createAd","querySelectorAll","Failed to refresh ad slot: ","renderFallback","_config","values","Failed to fetch ad data: ","🔄 Ad slot refreshed: ","destroy","json","_isReady","language","debug","🗑️ Ads module destroyed","body","warn"," attempts: ","handleViewableEvent","height","renderAdSlider","adType","maxLines","destroyModule","playsinline","observe","🧹 Auto-cleanup: slot ","setAttribute","interstitial","autoDestroy","Container not found after ","country","autoSlide","optimizeContainerForBannerAds","INTERSTITIAL","default","adId","❌ Failed to find element for viewability tracking: ","422908AObljb","refresh","video","isReady","handleRemovedElement","fetchAdData","data-adstage-slot-id","set","renderAdElement","🔄 Retrying viewability tracking for slot: ","length","nodeType","renderAd","getElementById","📊 Fetched specific ad with ID: ","5rtkqtx","slots","controls","status"," ads automatically","clear","auto-","now","advertisements","advertisement","isLoaded","1wvWGve","4505580BViOUY"," ads)","log","onClick","config","getSlotById","3310888vFxEAH","createAdWithRetry","undefined","❌ Failed to track viewable impression:","viewabilityTracker","100%","init","width","text","muted","270333VuUzni","Ad slot not found: ","trackAdvertisementEvent","advertisementEventTracker","GET","BANNER"];return(Xt=function(){return t})()}var Jt=qt;function Yt(){var t=["updateConfig","✅ Config module initialized (sync mode)","61280PKZFZh","4226576XaehSL","isDebugMode","_isReady","includes","init","862728qPPIUb","ads","events","apiKey","setBaseUrl","debug","21sZSbnk","API key not available","isReady","126032vbdjJs","modules","_organizationInfo","getApiEndpoint","config","1604466DQcTXG","isModuleEnabled","baseUrl","log","_config","Config module not initialized","create","getConfig","503825rJGccs","101241UiUGfb","getBaseUrl","development"];return(Yt=function(){return t})()}function qt(t,e){var n=Yt();return(qt=function(t,e){return n[t-=338]})(t,e)}!function(t){for(var e=qt,n=t();;)try{if(153237===-parseInt(e(355))/1+-parseInt(e(340))/2*(parseInt(e(352))/3)+-parseInt(e(346))/4+-parseInt(e(368))/5+parseInt(e(360))/6+parseInt(e(369))/7+parseInt(e(341))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Yt);class Zt{constructor(){var t=qt;this[t(343)]=!1,this[t(364)]=null,this._organizationInfo=null}[Jt(345)](t){var e=Jt;this[e(364)]={timeout:3e4,debug:!1,modules:[e(347),e(348),e(359)],...t},t[e(362)]&&G[e(350)](t.baseUrl),this[e(343)]=!0,t[e(351)]&&console[e(363)](e(339),{modules:this[e(364)][e(356)],endpoint:G[e(370)](),mode:e(371)})}[Jt(354)](){return this[Jt(343)]}[Jt(367)](){return this[Jt(364)]}getOrganizationInfo(){return this[Jt(357)]}[Jt(358)](){return G[Jt(370)]()}[Jt(342)](){var t=Jt;return this._config?.[t(351)]||!1}getEnabledModules(){var t=Jt;return this[t(364)]?.[t(356)]||[]}[Jt(361)](t){var e=Jt;return this.getEnabledModules()[e(344)](t)}[Jt(338)](t){var e=Jt;if(!this._config)throw new Error(e(365));this[e(364)]={...this[e(364)],...t},this[e(342)]()&&console.log("🔄 Config updated",t)}getApiHeaders(){var t=Jt;if(!this._config?.apiKey)throw new Error(t(353));return U[t(366)](this[t(364)][t(349)])}}const Qt=$t;function $t(t,e){const n=te();return($t=function(t,e){return n[t-=428]})(t,e)}function te(){const t=["tablet","ko-KR","mapPlatformForEvents","1612870UwaRXB","Mobile Web","getDetailedInfo","_userProvidedDeviceInfo","desktop","0x0","web","Desktop Web","getViewportInfo","height","5271832oulmsE","8881760ryPtgl","width","22822VgsxVM","setDeviceInfo","toLowerCase","language","isBrowser","60XdLRxl","iOS","getPlatform","Android","platform","getAutoDetectedDeviceInfo","101ossgkX","ios","getDeviceInfo","clearDeviceInfo","126882HVVEcL","37243950CYkwzM","3GUJiga","mobile","SSR","other","userAgent","9441846szhfQU","isMobile","setDeviceProperty","cookieEnabled"];return(te=function(){return t})()}!function(t){const e=$t,n=t();for(;;)try{if(928742===-parseInt(e(457))/1*(-parseInt(e(446))/2)+parseInt(e(463))/3*(parseInt(e(443))/4)+-parseInt(e(451))/5*(-parseInt(e(461))/6)+-parseInt(e(433))/7+parseInt(e(444))/8+parseInt(e(468))/9+-parseInt(e(462))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(te);class ee{static[Qt(459)](){const t=Qt;return{...ee[t(456)](),...ee[t(436)]}}static[Qt(456)](){const t=Qt;if(!I[t(450)]())return{category:t(466),platform:t(465),model:t(465),osVersion:t(465)};const e=navigator.userAgent[t(448)]();let n=t(437);/tablet|ipad/.test(e)?n=t(430):C[t(469)]()&&(n=t(464));const r=C[t(453)]();return{category:n,platform:ee[t(432)](r),model:navigator[t(455)],osVersion:navigator[t(455)]}}static[Qt(447)](t){const e=Qt;ee[e(436)]={...ee[e(436)],...t}}static[Qt(428)](t,e){ee[Qt(436)][t]=e}static[Qt(460)](){ee[Qt(436)]={}}static getUserDeviceInfo(){return{...ee[Qt(436)]}}static[Qt(432)](t){const e=Qt;switch(t){case e(458):return e(452);case"android":return e(454);case e(439):return e(434);case e(437):return e(440);default:return"Unknown"}}static[Qt(435)](){const t=Qt;if(!I[t(450)]())return{userAgent:t(465),language:t(431),platform:t(465),cookieEnabled:!1,onLine:!0,screenResolution:t(438),viewportSize:t(438)};const e=I[t(441)]();return{userAgent:navigator[t(467)],language:navigator[t(449)]||t(431),platform:navigator.platform,cookieEnabled:navigator[t(429)],onLine:navigator.onLine,screenResolution:screen[t(445)]+"x"+screen[t(442)],viewportSize:e[t(445)]+"x"+e[t(442)]}}}ee[Qt(436)]={};const ne=re;function re(t,e){const n=se();return(re=function(t,e){return n[t-=305]})(t,e)}function se(){const t=["UTC","3220602uuRFKM","1322324PKEriI","getBaseUserInfo","1994140NljtRe","timeZone","resolvedOptions","getUserInfo","setUserProperty","DateTimeFormat","1346432wNJgUc","1389OEdqUP","18XDgVQs","isBrowser","setUserProperties","_userProperties","ko-KR","45IHnNZg","clearUserProperties","19524eHWgvA","estimateLocation","66UnwpUY","extractCountryFromLanguage","1avCRYE","4236hysXDm","87858VjgDTY","split"];return(se=function(){return t})()}!function(t){const e=re,n=t();for(;;)try{if(522432===-parseInt(e(305))/1*(-parseInt(e(311))/2)+parseInt(e(320))/3*(-parseInt(e(306))/4)+parseInt(e(326))/5*(parseInt(e(307))/6)+parseInt(e(310))/7+parseInt(e(319))/8+-parseInt(e(321))/9*(parseInt(e(313))/10)+parseInt(e(330))/11*(-parseInt(e(328))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(se);class oe{static[ne(316)](){const t=ne;return{...oe[t(312)](),...oe[t(324)]}}static getBaseUserInfo(){const t=ne;if(!I[t(322)]())return{language:t(325),country:"KR"};const e=navigator.language||t(325);return{language:e,country:oe[t(331)](e)}}static[ne(331)](t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t[ne(308)]("-")[0]]||"KR"}static[ne(323)](t){const e=ne;oe[e(324)]={...oe[e(324)],...t}}static[ne(317)](t,e){oe._userProperties[t]=e}static[ne(327)](){oe[ne(324)]={}}static getCurrentUserProperties(){return{...oe[ne(324)]}}static[ne(329)](){const t=ne;if(!I[t(322)]())return{timezone:t(309),estimatedCountry:"KR"};const e=Intl[t(318)]()[t(315)]()[t(314)];return{timezone:e,estimatedCountry:{"Asia/Seoul":"KR","Asia/Tokyo":"JP","Asia/Shanghai":"CN","Asia/Hong_Kong":"HK","Asia/Taipei":"TW","America/New_York":"US","America/Los_Angeles":"US","Europe/London":"GB","Europe/Berlin":"DE","Europe/Paris":"FR"}[e]||"KR"}}}oe[ne(324)]={};const ie=ae;function ae(t,e){const n=ce();return(ae=function(t,e){return n[t-=341]})(t,e)}function ce(){const t=["1orxjjG","isNewSession","460dmwlCM","_userId","getSessionInfo","5EZsCyJ","isBrowser","ssr_session_","adstage_user_id","clearUserId","2110488tdyOey","getSessionStats","2197398odenIV","2176924fdRuQP","toString","2229780yNxgYB","_sessionStartTime","138758ggIsKB","getItem","isSessionExpired","getSessionId","removeItem","substr","random","setItem","adstage_session_start","setUserId","adstage_session_id","now","getUserId","getSessionDuration","408501IRHlpu","4267788EAlsOG"];return(ce=function(){return t})()}!function(t){const e=ae,n=t();for(;;)try{if(378711===parseInt(e(344))/1*(parseInt(e(361))/2)+-parseInt(e(356))/3+-parseInt(e(357))/4*(parseInt(e(349))/5)+parseInt(e(359))/6+-parseInt(e(343))/7+-parseInt(e(354))/8+parseInt(e(342))/9*(parseInt(e(346))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ce);class de{static getSessionId(){const t=ae;if(!I[t(350)]())return t(351)+Date[t(372)]();const e=sessionStorage[t(362)](t(371));if(e)return e;const n="session_"+Math[t(367)]()[t(358)](36)[t(366)](2,9)+"_"+Date[t(372)]();return sessionStorage[t(368)](t(371),n),!de[t(360)]&&(de[t(360)]=Date[t(372)](),I[t(350)]()&&sessionStorage[t(368)](t(369),String(de[t(360)]))),n}static[ie(370)](t){const e=ie;de[e(347)]=t,I[e(350)]()&&localStorage[e(368)](e(352),t)}static[ie(373)](){const t=ie;if(de[t(347)])return de[t(347)];if(I.isBrowser()){const e=localStorage[t(362)](t(352));if(e)return de[t(347)]=e,e}}static[ie(353)](){const t=ie;de[t(347)]=void 0,I.isBrowser()&&localStorage.removeItem(t(352))}static[ie(348)](){const t=ie,e=de[t(364)](),n=de[t(373)](),r=de[t(345)]();return{sessionId:e,userId:n,sessionDuration:de[t(341)](),isNewSession:r}}static isNewSession(){const t=ie;if(!I[t(350)]())return!0;const e=sessionStorage[t(362)](t(371)),n=sessionStorage[t(362)](t(369));return!e||!n}static[ie(341)](){const t=ie;if(!I.isBrowser())return 0;const e=sessionStorage.getItem(t(369));return e?Date[t(372)]()-parseInt(e,10):0}static refreshSession(){const t=ie;return I.isBrowser()&&(sessionStorage.removeItem(t(371)),sessionStorage[t(365)](t(369))),de[t(360)]=void 0,de[t(364)]()}static[ie(363)](t=24){return de[ie(341)]()>60*t*60*1e3}static[ie(355)](){const t=ie,e=de.getSessionId(),n=de[t(373)](),r=de[t(341)](),s=de[t(363)](),o=de[t(345)]();let i;if(I.isBrowser()){const e=sessionStorage[t(362)](t(369));i=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:i,duration:r,isExpired:s,isNewSession:o}}}const le=ue;function ue(t,e){const n=pe();return(ue=function(t,e){return n[t-=176]})(t,e)}function pe(){const t=["isReady","getUserId","getUserDeviceInfo","8072168YMXPup","📱 Device property set:","12qTTiNz","188cWydiH","_isReady","getUserProperties","Event data:","573963rJjKEB","status","24oTkzaP","create","❌ Failed to track event:","sendEventToServer","📊 Events module initialized","application/json","143mQfJHy","👤 User properties set:","3335905BymvFW","98802OlAMtB","setDeviceInfo","warn","getUserInfo","363830hqEKec","Event tracking failed: ","📱 User provided device info cleared","API key not configured for event tracking.","setDeviceProperty","getCurrentUserProperties","apiKey","3212314AUAhBI","getDeviceInfo","_config","POST","setUserProperties","statusText","1284wUNiMg","Events module not initialized. Call AdStage.init() first.","error","debug","log","24NbgnNI","track","init","6WLVdBW","👤 User ID set:","setUserId","events","clearDeviceInfo"];return(pe=function(){return t})()}!function(t){const e=ue,n=t();for(;;)try{if(556839===parseInt(e(191))/1*(parseInt(e(210))/2)+parseInt(e(214))/3*(-parseInt(e(209))/4)+parseInt(e(224))/5*(parseInt(e(199))/6)+-parseInt(e(185))/7+-parseInt(e(216))/8*(-parseInt(e(225))/9)+-parseInt(e(178))/10*(parseInt(e(222))/11)+-parseInt(e(196))/12*(-parseInt(e(207))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(pe);class he{constructor(){const t=ue;this._isReady=!1,this[t(187)]=null}[le(198)](t){const e=le;this[e(187)]=t,this[e(211)]=!0,t[e(194)]&&console[e(195)](e(220))}[le(204)](){return this._isReady}getConfig(){return this[le(187)]}[le(201)](t){const e=le;de.setUserId(t),this._config?.[e(194)]&&console.log(e(200),t)}[le(205)](){return de[le(205)]()}[le(189)](t){const e=le;oe[e(189)](t),this[e(187)]?.[e(194)]&&console[e(195)](e(223),t)}[le(212)](){return oe.getCurrentUserProperties()}[le(226)](t){const e=le;ee.setDeviceInfo(t),this[e(187)]?.debug&&console[e(195)]("📱 Device info set:",t)}[le(182)](t,e){const n=le;ee[n(182)](t,e),this[n(187)]?.[n(194)]&&console[n(195)](n(208),t,e)}[le(203)](){const t=le;ee.clearDeviceInfo(),this[t(187)]?.debug&&console[t(195)](t(180))}getUserDeviceInfo(){return ee[le(206)]()}getDeviceInfo(){return ee[le(186)]()}getUserInfo(){return oe[le(177)]()}[le(183)](){return oe[le(183)]()}async[le(197)](t,e){const n=le;if(this[n(211)])if(this[n(187)]?.[n(184)])try{const r={eventName:t,userId:de[n(205)](),sessionId:de.getSessionId(),sdkVersion:E(),device:ee[n(186)](),user:oe[n(177)](),params:e||{}};await this[n(219)](r),this[n(187)][n(194)]&&console[n(195)]("✅ Event tracked:",t,e)}catch(r){console.error(n(218),r),this._config.debug&&console[n(193)](n(213),{eventName:t,properties:e})}else console[n(176)](n(181));else console.warn(n(192))}async[le(219)](t){const e=le,n=await fetch(G[e(202)][e(197)](),{method:e(188),headers:{...U[e(217)](this._config.apiKey),"Content-Type":e(221)},body:JSON.stringify(t)});if(!n.ok)throw new Error(e(179)+n[e(215)]+" "+n[e(190)])}}const fe=ge;function ge(t,e){const n=ye();return(ge=function(t,e){return n[t-=336]})(t,e)}!function(t){const e=ge,n=t();for(;;)try{if(564624===-parseInt(e(362))/1*(-parseInt(e(368))/2)+-parseInt(e(367))/3*(-parseInt(e(360))/4)+-parseInt(e(371))/5*(-parseInt(e(375))/6)+-parseInt(e(342))/7+-parseInt(e(352))/8*(-parseInt(e(348))/9)+-parseInt(e(363))/10+parseInt(e(356))/11*(-parseInt(e(358))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ye);class me{constructor(){const t=ge;this[t(361)]=!1,this[t(353)]=null,this[t(359)]=new Zt,this.ads=new Gt,this[t(376)]=new he}static[fe(370)](t){const e=fe;!me[e(357)]&&(me[e(357)]=new me);const n=me.instance;if(!t.apiKey)throw new Error(e(344));n[e(353)]={timeout:3e4,debug:!1,modules:[e(346),e(376),e(359)],...t},n[e(353)][e(369)]&&(G[e(339)](n[e(353)][e(369)]),t[e(340)]&&console.log(e(337),n[e(353)].baseUrl));const r=n[e(353)][e(373)]||["ads","events",e(359)];for(const t of r){const r=n[t];r&&typeof r.init===e(355)&&r[e(370)](n[e(353)])}n._isInitialized=!0,t.debug&&console.log("🚀 AdStage SDK initialized (sync mode)",{version:e(345),modules:r,apiKey:t[e(365)][e(351)](0,8)+e(343),mode:e(347)})}static isReady(){const t=fe;return me[t(357)]?.[t(361)]||!1}static[fe(336)](){const t=fe;return me[t(357)]?.[t(353)]||null}static[fe(377)](){const t=fe;if(!me[t(357)])throw new Error(t(354));return me[t(357)]}static get ads(){const t=fe;return me.getInstance()[t(346)]}static get events(){const t=fe;return me[t(377)]()[t(376)]}static get[fe(359)](){const t=fe;return me[t(377)]()[t(359)]}static[fe(364)](){const t=fe;me.instance&&(me[t(357)]._isInitialized=!1,me[t(357)][t(353)]=null)}}function ye(){const t=["config","776YdiOsC","_isInitialized","108987QKvRWU","7881390UrSPBi","reset","apiKey","clear","8439YWmCMU","14nAqaSA","baseUrl","init","4975XYfCNj","size","modules","viewableTracker","5604ZKjwww","events","getInstance","getConfig","🌐 API endpoint configured:","from","setBaseUrl","debug","✅ AdStage Debug: 광고 ","7796656yVzxzW","...","API key is required for AdStage initialization","2.0.0","ads","development","72279zPrpLZ","📊 AdStage Debug: 현재 viewable 추적 상태","log","substring","856zlqBUR","_config","AdStage not initialized. Call AdStage.init() first.","function","77fQPLpG","instance","1081212SVPpEu"];return(ye=function(){return t})()}function Ie(){var t=["getUserProperties","resolve","7440986PRFxkY","184006fcjRJr","track","8eLJAjS","setUserId","4164PWUKOZ","1683654tPiosB","6805685MccSMf","75493NBRYYz","4LjUMKx","18ZyRNtw","setUserProperties","isReady","warn","7284128PzqeDc","events","AdStage not initialized. Call AdStage.init() first.","6atskiP","4178260SnVuBd"];return(Ie=function(){return t})()}function ve(t,e){var n=Ie();return(ve=function(t,e){return n[t-=200]})(t,e)}me[fe(340)]={clearAllViewable:()=>{it[fe(366)](),console.log("✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨")},clearAdViewable:(t,e)=>{const n=fe;it.clearAdViewable(t,e),console[n(350)](n(341)+t+"("+e+")의 viewable 추적 초기화됨")},getViewableStatus:()=>{const t=fe;console[t(350)](t(349),{trackedCount:it[t(374)][t(372)],trackedItems:Array[t(338)](it[t(374)])})}},function(t){for(var e=ve,n=t();;)try{if(758626===-parseInt(e(205))/1*(parseInt(e(207))/2)+parseInt(e(210))/3*(parseInt(e(213))/4)+parseInt(e(211))/5*(parseInt(e(200))/6)+-parseInt(e(204))/7+-parseInt(e(218))/8+parseInt(e(214))/9*(-parseInt(e(201))/10)+-parseInt(e(212))/11*(-parseInt(e(209))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ie);var be,we={exports:{}},ke={},Ee={exports:{}},xe={};Ee.exports=function(){if(be)return xe;be=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),u=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,f={};function g(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}function m(){}function y(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=g.prototype;var I=y.prototype=new m;I.constructor=y,h(I,g.prototype),I.isPureReactComponent=!0;var v=Array.isArray,b=Object.prototype.hasOwnProperty,w={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function E(e,n,r){var s,o={},i=null,a=null;if(null!=n)for(s in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(i=""+n.key),n)b.call(n,s)&&!k.hasOwnProperty(s)&&(o[s]=n[s]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var d=Array(c),l=0;l<c;l++)d[l]=arguments[l+2];o.children=d}if(e&&e.defaultProps)for(s in c=e.defaultProps)void 0===o[s]&&(o[s]=c[s]);return{$$typeof:t,type:e,key:i,ref:a,props:o,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var S=/\/+/g;function A(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}(""+t.key):e.toString(36)}function C(n,r,s,o,i){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var c=!1;if(null===n)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(n.$$typeof){case t:case e:c=!0}}if(c)return i=i(c=n),n=""===o?"."+A(c,0):o,v(i)?(s="",null!=n&&(s=n.replace(S,"$&/")+"/"),C(i,r,s,"",function(t){return t})):null!=i&&(x(i)&&(i=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,s+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(S,"$&/")+"/")+n)),r.push(i)),1;if(c=0,o=""===o?".":o+":",v(n))for(var d=0;d<n.length;d++){var l=o+A(a=n[d],d);c+=C(a,r,s,l,i)}else if(l=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof l)for(n=l.call(n),d=0;!(a=n.next()).done;)c+=C(a=a.value,r,s,l=o+A(a,d++),i);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}function T(t,e,n){if(null==t)return t;var r=[],s=0;return C(t,r,"","",function(t){return e.call(n,t,s++)}),r}function R(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var D={current:null},U={transition:null},L={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:U,ReactCurrentOwner:w};function P(){throw Error("act(...) is not supported in production builds of React.")}return xe.Children={map:T,forEach:function(t,e,n){T(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return T(t,function(){e++}),e},toArray:function(t){return T(t,function(t){return t})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},xe.Component=g,xe.Fragment=n,xe.Profiler=s,xe.PureComponent=y,xe.StrictMode=r,xe.Suspense=c,xe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,xe.act=P,xe.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var s=h({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,a=w.current),void 0!==n.key&&(o=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(d in n)b.call(n,d)&&!k.hasOwnProperty(d)&&(s[d]=void 0===n[d]&&void 0!==c?c[d]:n[d])}var d=arguments.length-2;if(1===d)s.children=r;else if(1<d){c=Array(d);for(var l=0;l<d;l++)c[l]=arguments[l+2];s.children=c}return{$$typeof:t,type:e.type,key:o,ref:i,props:s,_owner:a}},xe.createContext=function(t){return(t={$$typeof:i,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:t},t.Consumer=t},xe.createElement=E,xe.createFactory=function(t){var e=E.bind(null,t);return e.type=t,e},xe.createRef=function(){return{current:null}},xe.forwardRef=function(t){return{$$typeof:a,render:t}},xe.isValidElement=x,xe.lazy=function(t){return{$$typeof:l,_payload:{_status:-1,_result:t},_init:R}},xe.memo=function(t,e){return{$$typeof:d,type:t,compare:void 0===e?null:e}},xe.startTransition=function(t){var e=U.transition;U.transition={};try{t()}finally{U.transition=e}},xe.unstable_act=P,xe.useCallback=function(t,e){return D.current.useCallback(t,e)},xe.useContext=function(t){return D.current.useContext(t)},xe.useDebugValue=function(){},xe.useDeferredValue=function(t){return D.current.useDeferredValue(t)},xe.useEffect=function(t,e){return D.current.useEffect(t,e)},xe.useId=function(){return D.current.useId()},xe.useImperativeHandle=function(t,e,n){return D.current.useImperativeHandle(t,e,n)},xe.useInsertionEffect=function(t,e){return D.current.useInsertionEffect(t,e)},xe.useLayoutEffect=function(t,e){return D.current.useLayoutEffect(t,e)},xe.useMemo=function(t,e){return D.current.useMemo(t,e)},xe.useReducer=function(t,e,n){return D.current.useReducer(t,e,n)},xe.useRef=function(t){return D.current.useRef(t)},xe.useState=function(t){return D.current.useState(t)},xe.useSyncExternalStore=function(t,e,n){return D.current.useSyncExternalStore(t,e,n)},xe.useTransition=function(){return D.current.useTransition()},xe.version="18.3.1",xe}();var Se,Ae=Ee.exports;
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
@@ -7,4 +7,4 @@
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */Ae.exports=function(){if(Re)return Ce;Re=1;var t=_e,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(t,n,i){var a,c={},d=null,l=null;for(a in void 0!==i&&(d=""+i),void 0!==n.key&&(d=""+n.key),void 0!==n.ref&&(l=n.ref),n)r.call(n,a)&&!o.hasOwnProperty(a)&&(c[a]=n[a]);if(t&&t.defaultProps)for(a in n=t.defaultProps)void 0===c[a]&&(c[a]=n[a]);return{$$typeof:e,type:t,key:d,ref:l,props:c,_owner:s.current}}return Ce.Fragment=n,Ce.jsx=i,Ce.jsxs=i,Ce}();var Be=Ae.exports;const Pe=_e.createContext(null);function Ue(){const t=_e.useContext(Pe);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function Le(){var t=["3787vxPPhN","117nftMTY","158680yzEYHs","20375289Jkohdq","1813989tFPndw","5YEkSIM","7256rDEjwD","505202azgOJF","460976Rxlhzs","4nTebJO","5619186HQoIrn"];return(Le=function(){return t})()}function Me(t,e){var n=Le();return(Me=function(t,e){return n[t-=473]})(t,e)}!function(t){for(var e=Me,n=t();;)try{if(594241===parseInt(e(479))/1+-parseInt(e(478))/2+-parseInt(e(475))/3*(-parseInt(e(480))/4)+-parseInt(e(476))/5*(-parseInt(e(481))/6)+parseInt(e(482))/7*(parseInt(e(477))/8)+parseInt(e(483))/9*(parseInt(e(473))/10)+-parseInt(e(474))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Le);const ze=Oe;function Ne(){const t=["undefined","events","9mSqfYu","12jTBelw","3BucImN","398802yMznnB","7356890pGRPTa","1530505sycBkz","6521816kUQAVF","109932IYduJy","7fuamlW","310532fNwSke","ads","AdStage","803PjkUgo","4725984bMiepf","config"];return(Ne=function(){return t})()}function Oe(t,e){const n=Ne();return(Oe=function(t,e){return n[t-=339]})(t,e)}!function(t){const e=Oe,n=t();for(;;)try{if(757238===parseInt(e(349))/1+-parseInt(e(355))/2*(parseInt(e(348))/3)+parseInt(e(347))/4*(-parseInt(e(351))/5)+-parseInt(e(342))/6+parseInt(e(354))/7*(parseInt(e(352))/8)+-parseInt(e(346))/9*(-parseInt(e(350))/10)+parseInt(e(341))/11*(parseInt(e(353))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ne);const Ve=[ze(339),ze(345),ze(343)];typeof window!==ze(344)&&(window[ze(340)]=ke),t.AdStage=ke,t.AdStageProvider=function({children:t,config:e}){const[n,r]=_e.useState(!1),[s,o]=_e.useState(null),[i,a]=_e.useState(null),c=t=>{try{a(null),n&&ke.reset(),ke.init(t),o(t),r(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),r(!1),o(null)}};_e.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:s,initialize:c,reset:()=>{try{ke.reset(),r(!1),o(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:i};return Be.jsx(Pe.Provider,{value:d,children:t})},t.SDK_VERSION="2.0.0",t.SUPPORTED_MODULES=Ve,t.getUserId=function(){var t=xe;if(ke[t(435)]())return ke[t(433)][t(440)]();console[t(445)](t(444))},t.getUserProperties=function(){var t=xe;if(ke[t(435)]())return ke.events[t(436)]();console[t(445)](t(444))},t.setUserId=function(t){var e=xe;ke.isReady()?ke[e(433)].setUserId(t):console[e(445)]("AdStage not initialized. Call AdStage.init() first.")},t.setUserProperties=function(t){var e=xe;ke.isReady()?ke[e(433)][e(437)](t):console[e(445)]("AdStage not initialized. Call AdStage.init() first.")},t.track=function(t,e){var n=xe;return ke[n(435)]()?ke[n(433)].track(t,e):(console[n(445)](n(444)),Promise[n(434)]())},t.useAdStageContext=Ue,t.useAdStageInstance=function(){const{isInitialized:t}=Ue();return t?ke:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}});
10
+ */we.exports=function(){if(Se)return ke;Se=1;var t=Ae,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(t,n,i){var a,c={},d=null,l=null;for(a in void 0!==i&&(d=""+i),void 0!==n.key&&(d=""+n.key),void 0!==n.ref&&(l=n.ref),n)r.call(n,a)&&!o.hasOwnProperty(a)&&(c[a]=n[a]);if(t&&t.defaultProps)for(a in n=t.defaultProps)void 0===c[a]&&(c[a]=n[a]);return{$$typeof:e,type:t,key:d,ref:l,props:c,_owner:s.current}}return ke.Fragment=n,ke.jsx=i,ke.jsxs=i,ke}();var Ce=we.exports;const Te=Ae.createContext(null);function Re(){const t=Ae.useContext(Te);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function De(t,e){var n=Ue();return(De=function(t,e){return n[t-=138]})(t,e)}function Ue(){var t=["1084905iPcDov","499807IauWnc","30quMRSy","6sPgFYD","192409syPkJf","43833neOwwj","173735auTqJX","40ToShSk","2LoeQfQ","4rihGsf","162395UPzoFI","450552jWJOql"];return(Ue=function(){return t})()}!function(t){for(var e=De,n=t();;)try{if(100656===parseInt(e(145))/1*(parseInt(e(143))/2)+parseInt(e(140))/3*(-parseInt(e(144))/4)+parseInt(e(141))/5*(parseInt(e(138))/6)+parseInt(e(139))/7*(parseInt(e(142))/8)+-parseInt(e(147))/9+parseInt(e(149))/10*(-parseInt(e(148))/11)+parseInt(e(146))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ue);const Le=ze;function Pe(){const t=["ads","3987328UWIHoJ","2.0.0","undefined","3777363TECDZV","AdStage","events","422904VmwSmm","1555312nMuRTR","223321zDoLrb","261660IMqrLg","6ZDPrYP","102MgKuDr","278238LgvOzZ"];return(Pe=function(){return t})()}!function(t){const e=ze,n=t();for(;;)try{if(466762===-parseInt(e(297))/1+-parseInt(e(287))/2*(-parseInt(e(289))/3)+-parseInt(e(298))/4+parseInt(e(300))/5*(parseInt(e(288))/6)+parseInt(e(299))/7+parseInt(e(291))/8+-parseInt(e(294))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Pe);const Be=Le(292),_e=[Le(290),Le(296),"config"];function ze(t,e){const n=Pe();return(ze=function(t,e){return n[t-=287]})(t,e)}typeof window!==Le(293)&&(window[Le(295)]=me),t.AdStage=me,t.AdStageProvider=function({children:t,config:e}){const[n,r]=Ae.useState(!1),[s,o]=Ae.useState(null),[i,a]=Ae.useState(null),c=t=>{try{a(null),n&&me.reset(),me.init(t),o(t),r(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),r(!1),o(null)}};Ae.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:s,initialize:c,reset:()=>{try{me.reset(),r(!1),o(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:i};return Ce.jsx(Te.Provider,{value:d,children:t})},t.SDK_VERSION=Be,t.SUPPORTED_MODULES=_e,t.getUserId=function(){var t=ve;if(me[t(216)]())return me[t(219)].getUserId();console[t(217)](t(220))},t.getUserProperties=function(){var t=ve;if(me[t(216)]())return me[t(219)][t(202)]();console[t(217)]("AdStage not initialized. Call AdStage.init() first.")},t.setUserId=function(t){var e=ve;me[e(216)]()?me[e(219)][e(208)](t):console[e(217)](e(220))},t.setUserProperties=function(t){var e=ve;me.isReady()?me[e(219)][e(215)](t):console[e(217)](e(220))},t.track=function(t,e){var n=ve;return me.isReady()?me[n(219)][n(206)](t,e):(console[n(217)]("AdStage not initialized. Call AdStage.init() first."),Promise[n(203)]())},t.useAdStageContext=Re,t.useAdStageInstance=function(){const{isInitialized:t}=Re();return t?me:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}});