@adstage/web-sdk 3.0.2 → 3.0.3
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(){var t=["DESKTOP","39647844FNbtTq","VIEWABLE","CLICK","70WLwJCQ","TABLET","TEXT","5nNKnob","19621KqplfD","WEB","MOBILE","1151274atklyT","4087800qaViUG","VIDEO","NATIVE","4133318zjcigv","INTERSTITIAL","5213688UTnODd","10727608ElBHos","BANNER"];return(h=function(){return t})()}function f(t,e){var n=h();return(f=function(t,e){return n[t-=155]})(t,e)}!function(t){for(var e=f,n=t();;)try{if(686987===parseInt(e(168))/1*(parseInt(e(164))/2)+parseInt(e(172))/3+parseInt(e(157))/4+-parseInt(e(167))/5*(parseInt(e(171))/6)+parseInt(e(155))/7+parseInt(e(158))/8+-parseInt(e(161))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(h),(n=e||(e={}))[(r=f)(159)]=r(159),n.POPUP="POPUP",n.INTERSTITIAL=r(156),n[r(174)]=r(174),n[r(173)]="VIDEO",n.TEXT=r(166),(o=s||(s={}))[(i=f)(169)]=i(169),o[i(170)]=i(170),c=a||(a={}),d=f,c.VIEWABLE=d(162),c[d(163)]=d(163),(u=l||(l={}))[(p=f)(160)]=p(160),u[p(170)]="MOBILE",u.TABLET=p(165);const g=y;function m(){const t=["safeAddEventListener","pow","ms (","querySelectorAll","innerHeight","ms)","safeAddClass","error","safeApplyStyles",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"getDocumentProperty","remove","devicePixelRatio","safeGetComputedStyle","1279452vfIqxh","safeCreateElement","20LwzajN","documentElement"," (최대 ","getScrollInfo","번째 시도, ","innerHTML","DOMContentLoaded","title","classList","4ziSzCj","4826640PYhhsX","all","safeRemoveClass","entries","pageXOffset","pageYOffset","safeWindowOpen","16996LTdLuO","isSSR","location","isDOMReady","add","waitForElement","referrer","safeAppendChild","scrollTop","safeRemoveChild","getElementById","getWindowProperty","map","from","forEach","ceil","style","canUseDOM","✅ 컨테이너 즉시 발견: ","log","isBrowser","636207YOxtZd","번 시도)","loading","✅ 컨테이너 발견: ","removeChild","setProperty","safeQuerySelectorAll","⏳ 컨테이너 대기 중: ","waitForDOM","undefined","appendChild","32kLsVsp","querySelector","safeRemoveEventListener","getPageInfo","innerWidth","919926LgHLMi","safeSetTextContent","3985248LVpKAw","readyState","⏳ 컨테이너 대기 시작: ","1677550UlsQnF"];return(m=function(){return t})()}function y(t,e){const n=m();return(y=function(t,e){return n[t-=368]})(t,e)}!function(t){const e=y,n=t();for(;;)try{if(460116===-parseInt(e(440))/1*(-parseInt(e(408))/2)+-parseInt(e(429))/3*(parseInt(e(400))/4)+-parseInt(e(391))/5*(parseInt(e(389))/6)+parseInt(e(401))/7+parseInt(e(371))/8+-parseInt(e(369))/9+parseInt(e(374))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class I{static[g(428)](){const t=g;return typeof window!==t(438)&&typeof document!==t(438)}static[g(409)](){return!this[g(428)]()}static canUseDOM(){const t=g;return this[t(428)]()&&void 0!==document[t(372)]}static safeGetElementById(t){const e=g;return this[e(425)]()?document[e(418)](t):null}static safeQuerySelector(t){const e=g;return this[e(425)]()?document[e(441)](t):null}static[g(435)](t){const e=g;return this[e(425)]()?Array[e(421)](document[e(378)](t)):[]}static[g(390)](t){return this.canUseDOM()?document.createElement(t):null}static[g(375)](t,e,n,r){this.canUseDOM()&&t&&t.addEventListener(e,n,r)}static[g(442)](t,e,n,r){this[g(425)]()&&t&&t.removeEventListener(e,n,r)}static[g(419)](t,e){return this.isBrowser()?window[t]??e:e}static[g(385)](t,e){return this[g(425)]()?document[t]??e:e}static[g(407)](t,e,n){return this.isBrowser()?window.open(t,e,n):null}static[g(388)](t){return this[g(428)]()&&t?window.getComputedStyle(t):null}static[g(411)](){const t=g;return!!this[t(425)]()&&document.readyState!==t(431)}static[g(437)](){return new Promise(t=>{const e=y;this[e(425)]()?this.isDOMReady()?t():this.safeAddEventListener(document,e(397),()=>t()):t()})}static[g(383)](t,e){const n=g;this[n(425)]()&&t&&Object[n(404)](e)[n(422)](([e,r])=>{const s=n;t[s(424)][s(434)](e,r)})}static[g(381)](t,e){const n=g;this[n(425)]()&&t&&t[n(399)][n(412)](e)}static[g(403)](t,e){const n=g;this[n(425)]()&&t&&t[n(399)][n(386)](e)}static[g(370)](t,e){this[g(425)]()&&t&&(t.textContent=e)}static safeSetInnerHTML(t,e){const n=g;this[n(425)]()&&t&&(t[n(396)]=e)}static[g(415)](t,e){const n=g;this[n(425)]()&&t&&e&&t[n(439)](e)}static[g(417)](t,e){const n=g;this[n(425)]()&&t&&e&&t[n(433)](e)}static[g(443)](){const t=g;return{url:this[t(419)](t(410),{href:""}).href,title:this[t(385)](t(398),""),referrer:this.getDocumentProperty(t(414),"")}}static getViewportInfo(){const t=g;return{width:this[t(419)](t(368),0),height:this[t(419)](t(379),0),pixelRatio:this.getWindowProperty(t(387),1)}}static[g(394)](){const t=g;return{scrollTop:this[t(425)]()?window[t(406)]||document[t(392)][t(416)]:0,scrollLeft:this[t(419)](t(405),0)}}static async[g(413)](t,e={}){const n=g,{timeout:r=3e3,retryInterval:s=100,debug:o=!1}=e;if(!this[n(425)]())throw new Error("DOM을 사용할 수 없는 환경입니다.");const i=document[n(418)](t);return i?(o&&console.log(n(426)+t),i):(o&&console[n(427)](n(373)+t+n(393)+r+n(380)),new Promise((e,i)=>{const a=n;let c=0;const d=Math[a(423)](r/s),l=()=>{const n=a;c++;const u=document[n(418)](t);if(u)return o&&console[n(427)](n(432)+t+" ("+c+n(395)+c*s+"ms 경과)"),void e(u);if(c>=d){const e='❌ 컨테이너를 찾을 수 없습니다: "'+t+n(384)+t+'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: '+r+n(377)+c+n(430);return o&&console[n(382)](e),void i(new Error(e))}o&&c%10==0&&console[n(427)](n(436)+t+" ("+c+"/"+d+")");const p=Math.min(s*Math[n(376)](1.2,c),500);setTimeout(l,p)};setTimeout(l,s)}))}static async waitForElements(t,e={}){const n=g,r=t[n(420)](t=>this.waitForElement(t,e));return Promise[n(402)](r)}}const v=b;function b(t,e){const n=w();return(b=function(t,e){return n[t-=136]})(t,e)}function w(){const t=["undefined","2079174iZGgaf","875106IZIyRl"," AdStageSDK/","1140786fdZKHr","60151CorRgU","240fZjUZs","AdStageSDK/",'"3.0.2"',"4390010SmjIBe","1722928QSXukE","2844716XuqMDx","userAgent"];return(w=function(){return t})()}!function(t){const e=b,n=t();for(;;)try{if(683522===-parseInt(e(143))/1+parseInt(e(145))/2+parseInt(e(142))/3+-parseInt(e(139))/4+parseInt(e(137))/5+-parseInt(e(147))/6*(-parseInt(e(146))/7)+-parseInt(e(138))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(w);const k=v(136);function E(){return k}const S=x;function x(t,e){const n=C();return(x=function(t,e){return n[t-=401]})(t,e)}!function(t){const e=x,n=t();for(;;)try{if(661829===parseInt(e(408))/1*(parseInt(e(409))/2)+-parseInt(e(422))/3+-parseInt(e(415))/4*(-parseInt(e(414))/5)+-parseInt(e(421))/6*(parseInt(e(426))/7)+-parseInt(e(407))/8*(parseInt(e(420))/9)+-parseInt(e(423))/10+-parseInt(e(425))/11*(-parseInt(e(424))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(C);class A{static[S(405)](){const t=S;try{const{AdStage:e}=require(t(418));return e[t(405)]()}catch{return null}}static[S(403)](){const t=S,e=A[t(405)]();return e?.[t(401)]||"1.0.0"}static[S(402)](){const t=A[S(405)]();return t?.debug||!1}static[S(417)](){const t=A.getConfig();return t?.apiKey}static[S(411)](){const t=S,e=A[t(405)]();return e?.[t(404)]||3e4}static getPlaceholderMode(){const t=S,e=A[t(405)]();return e?.[t(416)]||"subtle"}static[S(413)](){const t=S,e=A.getConfig();return e?.[t(410)]||[t(412),t(406),t(419)]}}function C(){const t=["getConfig","events","8TysGjG","571087WwDhcu","2AJvEky","modules","getTimeout","ads","getEnabledModules","5sFAuNg","1881284rPwcRX","placeholderMode","getApiKey","../core/adstage","config","7594551eFWhHI","6HdmmHB","3210633ZORMam","2086800kcPfGk","12SWYjLt","33380215ckPavH","9039898xhpMEl","appVersion","isDebugMode","getAppVersion","timeout"];return(C=function(){return t})()}const T=R;function R(t,e){const n=_();return(R=function(t,e){return n[t-=363]})(t,e)}function _(){const t=["left","safeGetElementById","421796PYygwn","connection","top","round","session_","48366ShhRdr","unknown","height","372365PiqPoV","3443776xPfJee","ssr_device_","8371Bgjymy","adstage_device_id","getPlatform","collectDeviceInfo","getAppVersion","substr","userAgent","web","getSlotPosition","generateDeviceId","3DrYQTB","isBrowser","random","now","width","2672996sBQCIj","android","getScrollInfo","desktop","platform","generateSessionId","test","scrollTop","16890WIISac","timeZone","DateTimeFormat","toLowerCase","1DyXFoP","toString","isMobile","SSR","adstage_session_id","1438254oAFRgB","ios","getItem","setItem","112xjAjmA","device_"];return(_=function(){return t})()}!function(t){const e=R,n=t();for(;;)try{if(441149===-parseInt(e(363))/1*(-parseInt(e(376))/2)+-parseInt(e(397))/3*(parseInt(e(402))/4)+parseInt(e(384))/5+parseInt(e(381))/6*(parseInt(e(372))/7)+-parseInt(e(385))/8+-parseInt(e(368))/9+-parseInt(e(410))/10*(-parseInt(e(387))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class B{static[T(396)](){const t=T;if(!I[t(398)]())return t(386)+Date[t(400)]();const e=localStorage[t(370)](t(388));if(e)return e;const n=t(373)+Math.random().toString(36)[t(392)](2,9)+"_"+Date[t(400)]();return localStorage[t(371)](t(388),n),n}static[T(407)](){const t=T;if(!I[t(398)]())return"ssr_session_"+Date.now();const e=sessionStorage.getItem(t(367));if(e)return e;const n=t(380)+Math[t(399)]()[t(364)](36)[t(392)](2,9)+"_"+Date[t(400)]();return sessionStorage.setItem(t(367),n),n}static[T(365)](){const t=T;return!!I[t(398)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(408)](navigator[t(393)])}static getPlatform(){const t=T;if(!I[t(398)]())return t(394);const e=navigator.userAgent[t(413)]();return/iphone|ipad|ipod/[t(408)](e)?t(369):/android/.test(e)?t(403):B[t(365)]()?t(394):t(405)}static[T(390)](){const t=T,e=I.getViewportInfo();return{deviceId:B[t(396)](),sessionId:B[t(407)](),osVersion:I[t(398)]()?navigator[t(406)]:t(366),deviceModel:I[t(398)]()?navigator[t(406)]:"SSR",appVersion:A[t(391)](),sdkVersion:E(),language:I[t(398)]()&&navigator.language||"ko",country:"KR",ipAddress:"",userAgent:I.isBrowser()?navigator.userAgent:t(366),timezone:I[t(398)]()?Intl[t(412)]().resolvedOptions()[t(411)]:"UTC",viewportWidth:e[t(401)],viewportHeight:e.height,screenWidth:I[t(398)]()?screen[t(401)]:0,screenHeight:I[t(398)]()?screen[t(383)]:0,colorDepth:I.isBrowser()?screen.colorDepth:24,pixelRatio:e.pixelRatio,connectionType:I[t(398)]()&&navigator[t(377)]?.effectiveType||t(382),platform:B[t(389)]()}}static[T(395)](t){const e=T,n=I[e(375)](t);if(!n)return e(382);const r=n.getBoundingClientRect(),s=I[e(404)]();return"x:"+Math.round(r[e(374)])+",y:"+Math[e(379)](r[e(378)]+s[e(409)])}}function P(){const t=["User-Agent","934569gGlQsb","userAgent","9138EkhNZB","API key is required","16hnUQKA","1wAVkPf","create","undefined","252316SqtcvD","5141028LStnLH","createForEvents","17445070WvaROZ","3285945YGUsua","1046523Hpbtni","11CkVOqY","1687NIlgeG"];return(P=function(){return t})()}function L(t,e){const n=P();return(L=function(t,e){return n[t-=188]})(t,e)}const D=L;!function(t){const e=L,n=t();for(;;)try{if(832299===parseInt(e(200))/1*(parseInt(e(203))/2)+parseInt(e(191))/3+parseInt(e(204))/4+parseInt(e(190))/5+parseInt(e(197))/6*(parseInt(e(193))/7)+parseInt(e(199))/8*(-parseInt(e(195))/9)+-parseInt(e(189))/10*(parseInt(e(192))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(P);class z{static[D(201)](t,e){const n=D;if(!t)throw new Error(n(198));const r={"x-api-key":t,"Content-Type":e?.contentType||"application/json"};return typeof navigator!==n(202)&&(r["User-Agent"]=e?.[n(196)]||navigator[n(196)]),r}static[D(188)](t,e){const n=D,r=z.create(t);return e?.[n(196)]&&(r[n(194)]=e[n(196)]),r}}const V=U;function M(){const t=["349395BkeEib","width","containerId","text","/advertisements/events/","title","8271040hynpTs","40JKWYEo"," event for ad ","debug","✅ Successfully tracked advertisement event: ","POST","replace","1526958SXhvtA","statusText","📡 API Response Status: ","status","796730pzhYMZ"," in slot ","getPageInfo","referrer","height","baseUrl","platform","sessionId","length","🚀 AdvertisementEventTracker: Processing ","number","BANNER","❌ Failed to track advertisement event:","VIEWABLE","32YBOIjO","...","107467eebpwj","78ksYuNb","337113GvScFP","stringify","now","error","parseNumericValue","2KgWcJu","getSlotPosition","NOT_SET"," for ad ","substring","apiKey","log","🔍 Debug info:","collectDeviceInfo","41209vIiYVz","slots","trackAdvertisementEvent"];return(M=function(){return t})()}function U(t,e){const n=M();return(U=function(t,e){return n[t-=122]})(t,e)}!function(t){const e=U,n=t();for(;;)try{if(581041===-parseInt(e(141))/1+parseInt(e(148))/2*(parseInt(e(143))/3)+-parseInt(e(139))/4*(-parseInt(e(160))/5)+parseInt(e(142))/6*(-parseInt(e(157))/7)+-parseInt(e(167))/8*(-parseInt(e(173))/9)+-parseInt(e(166))/10+parseInt(e(125))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(M);class N{constructor(t,e,n,r){const s=U;this[s(130)]=t,this.apiKey=e,this[s(169)]=n,this[s(158)]=r}async[V(159)](t,e,n){const r=V;try{this[r(169)]&&console[r(154)](r(134)+n+r(168)+t+r(126)+e);const s=this[r(158)].get(e),o=B[r(156)](),i={adType:s?.adType||r(136),platform:o[r(131)],deviceId:o.deviceId,deviceInfo:o,pageUrl:I[r(127)]().url,pageTitle:I[r(127)]()[r(165)],referrer:I[r(127)]()[r(128)],slotId:e,slotPosition:B[r(149)](s?.[r(162)]||""),slotWidth:N[r(147)](s?.[r(161)]),slotHeight:N[r(147)](s?.[r(129)]),sessionId:o[r(132)],pageLoadTime:performance[r(145)](),metadata:{eventType:n,sdkVersion:E(),timestamp:Date[r(145)]()},...n===a[r(138)]&&{isViewable:!0,iabCompliant:!0}},c=this.baseUrl+r(164)+t+"/"+n,d=z.createForEvents(this[r(153)],i);this[r(169)]&&(console[r(154)]("🚀 Sending advertisement event: "+n+r(151)+t,{url:c,headers:d,eventData:i}),console[r(154)]("🌐 Full API call details:",{method:r(171),url:c,hasApiKey:!!this[r(153)],bodySize:JSON.stringify(i)[r(133)]}));const l=await fetch(c,{method:r(171),headers:d,body:JSON[r(144)](i)});if(this.debug&&console[r(154)](r(123)+l[r(124)]+" "+l[r(122)],{url:c,ok:l.ok}),!l.ok){const t=await l[r(163)]();throw new Error("API request failed: "+l[r(124)]+" "+l[r(122)]+" - "+t)}this[r(169)]&&console.log(r(170)+n+r(151)+t)}catch(s){console[r(146)](r(137),s),console[r(146)](r(155),{baseUrl:this[r(130)],apiKey:this.apiKey?this.apiKey[r(152)](0,8)+r(140):r(150),url:this.baseUrl+r(164)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[V(147)](t){const e=V;if(typeof t===e(135))return t;if("string"==typeof t){const n=parseFloat(t[e(172)](/px$/,""));return isNaN(n)?0:n}return 0}}function O(t,e){var n=K();return(O=function(t,e){return n[t-=184]})(t,e)}var F=O;!function(t){for(var e=O,n=t();;)try{if(523400===parseInt(e(199))/1+parseInt(e(189))/2*(-parseInt(e(187))/3)+-parseInt(e(207))/4*(parseInt(e(204))/5)+parseInt(e(196))/6*(parseInt(e(190))/7)+parseInt(e(185))/8*(-parseInt(e(210))/9)+parseInt(e(202))/10+parseInt(e(193))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);class j{constructor(t,e){var n=O;this[n(209)]=null,this[n(192)]=!1,this[n(208)]=t,this[n(191)]=e,this[n(205)]()}[F(205)](){var t=F;t(195)in window?(this[t(209)]=new IntersectionObserver(e=>this[t(184)](e),{threshold:.5,rootMargin:t(203)}),this.observer[t(198)](this[t(208)])):console[t(206)](t(188))}[F(184)](t){t.forEach(t=>{var e=O;t.intersectionRatio>=.5&&this[e(186)]()&&!this[e(192)]&&(this.isViewableTriggered=!0,this[e(191)]&&this.onViewableCallback())})}[F(186)](){var t=F;return!document[t(201)]&&document[t(194)]===t(197)}destroy(){var t=F;this[t(209)]&&(this.observer[t(200)](),this[t(209)]=null)}}function K(){var t=["10472XlGfnV","isDocumentVisible","295284yqLVNK","IntersectionObserver not supported, viewability tracking disabled","2nTdPdS","7tSfuUC","onViewableCallback","isViewableTriggered","1492722sfdqtc","visibilityState","IntersectionObserver","2189790fvoLpC","visible","observe","933244IwlVFV","disconnect","hidden","1585500CwPrVy","0px","358900AFuaxm","initIntersectionObserver","warn","12oxjpQj","element","observer","5193AQjkeT","handleIntersection"];return(K=function(){return t})()}const H=W;function W(t,e){const n=G();return(W=function(t,e){return n[t-=237]})(t,e)}!function(t){const e=W,n=t();for(;;)try{if(839757===-parseInt(e(237))/1*(parseInt(e(242))/2)+parseInt(e(240))/3+-parseInt(e(239))/4+-parseInt(e(243))/5*(parseInt(e(260))/6)+parseInt(e(247))/7+parseInt(e(259))/8+-parseInt(e(245))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);const q={production:H(244),beta:H(256)};function G(){const t=["production","12485280zxfJMN","24018gVMAaD","267385tZZipA","custom","3732536dDGbWp","4083369hRroWV","list","2alwWSf","1285iLbbAC","https://api.adstage.io","13134717zEEHWE","baseUrl","11246739yPZtKi","detail","events","startsWith","/events/track","/advertisements/list","setBaseUrl","advertisements","/advertisements/events","https://beta-api.adstage.app","/advertisements"];return(G=function(){return t})()}H(258);const Y={advertisements:{list:H(252),detail:H(257),events:H(255)},events:{track:H(251)}};class X{constructor(t){const e=H;this[e(254)]={list:()=>""+this.baseUrl+Y[e(254)][e(241)],detail:t=>""+this.baseUrl+Y[e(254)][e(248)]+"/"+t,events:(t,n)=>""+this.baseUrl+Y[e(254)][e(249)]+"/"+t+"/"+n},this.events={track:()=>""+this[e(246)]+Y[e(249)].track},this[e(246)]=t||q[e(258)]}[H(253)](t){this[H(246)]=t}getBaseUrl(){return this[H(246)]}[H(238)](t){const e=H;return""+this[e(246)]+(t[e(250)]("/")?t:"/"+t)}}const J=new X;var Z=Q;function Q(t,e){var n=$();return(Q=function(t,e){return n[t-=216]})(t,e)}function $(){var t=["trackInitialSlideViewable","VIEWABLE","9817240rxzrVF","🎯 Triggering initial VIEWABLE event: ad ","856vrSKLq","log","trackSlideViewable","🎯 Triggering VIEWABLE event for slide change: ad ","_id",") in slot: ","351jakfNJ","23635BTayEM","113840fqaZrC","6823915BQCicj","977984SPWMIP","5029380cbpCzU","2hlyWGC","2696388LjCmEo"];return($=function(){return t})()}!function(t){for(var e=Q,n=t();;)try{if(527397===parseInt(e(230))/1+parseInt(e(232))/2*(-parseInt(e(233))/3)+-parseInt(e(220))/4*(-parseInt(e(227))/5)+parseInt(e(231))/6+-parseInt(e(229))/7+parseInt(e(228))/8*(parseInt(e(226))/9)+-parseInt(e(218))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt{static[Z(222)](t,e,n,r,s=!1){var o=Z;s&&console.log(o(223)+t[o(224)]+" (index: "+n+o(225)+e.id),r(t[o(224)],e.id,a[o(217)])}static[Z(216)](t,e,n,r=!1){var s=Z;r&&console[s(221)](s(219)+t[s(224)]+" (index: 0) in slot: "+e.id),n(t[s(224)],e.id,a.VIEWABLE)}}const et=rt;function nt(){const t=["🔗 ","linkUrl","30256fwAqJk","pointer","click","style","addClickEventForSlider","CLICK","adType","log","_id","addEventListener","4QHamUn","2691nBIcJG","addClickEvent","addClickEventsBatch","stopPropagation","19411CrhnKf","cursor"," -> ","850255uTOcLt","open","1692254FGOelS","_blank","forEach","15909OzJIMv"," ad clicked: ","1979915yivuyx","3092430qfDYSL","preventDefault","2436yTacCS"];return(nt=function(){return t})()}function rt(t,e){const n=nt();return(rt=function(t,e){return n[t-=313]})(t,e)}!function(t){const e=rt,n=t();for(;;)try{if(709031===parseInt(e(320))/1+-parseInt(e(322))/2+-parseInt(e(325))/3*(parseInt(e(343))/4)+parseInt(e(327))/5+-parseInt(e(330))/6*(parseInt(e(317))/7)+-parseInt(e(333))/8*(-parseInt(e(313))/9)+parseInt(e(328))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(nt);class st{static[et(314)](t,e,n,r,s=!1,o){const i=et;e[i(332)]&&(t[i(336)].cursor=i(334),t.addEventListener(i(335),t=>{const c=i;if(t[c(329)](),t[c(316)](),r&&r(e[c(341)],n.id,a[c(338)]),window[c(321)](e[c(332)],"_blank"),s){const t=o||String(n[c(339)]).toLowerCase();console[c(340)]("🔗 "+t+c(326)+e[c(341)]+c(319)+e[c(332)])}}))}static addClickEventForRenderer(t,e,n,r,s=!1,o){const i=et;e[i(332)]&&(t[i(336)][i(318)]=i(334),t[i(342)]("click",t=>{const c=i;t[c(329)](),t[c(316)]();if(r()(e[c(341)],n.id,a.CLICK),window[c(321)](e[c(332)],c(323)),s){const t=o||String(n.adType).toLowerCase();console.log(c(331)+t+c(326)+e._id+c(319)+e[c(332)])}}))}static[et(337)](t,e,n,r,s=!1,o){this.addClickEvent(t,e,n,r,s,o)}static isClickable(t){return Boolean(t.linkUrl)}static[et(315)](t,e,n,r,s=!1,o){const i=et;t[i(324)]((t,a)=>{const c=i,d=e[a];d&&this[c(314)](t,d,n,r,s,o)})}}const ot=it;function it(t,e){const n=at();return(it=function(t,e){return n[t-=227]})(t,e)}function at(){const t=["adType","height","src","#999999","border","122393jgxqKe","none","createMinimalDotIndicator","134184DjIXgv","14px","#f9f9f9","abs","addClickEventForSlider"," Ad","display","\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 ","flex","opacity","100%","data-adstage-slot-id","1px dashed #ccc","removeChild","transition","createSimpleAdElement","add","transparent","createSliderContainer","string","setAttribute","adstage-slider-wrapper","background","button","relative","adstage-dot","addTouchSupport","touchstart","changedTouches","#f0f0f0","translateX(-","img","21FKGepf","8px","data-adstage-ad-id","color","querySelectorAll","BANNER","1281438hDtWBG","active","remove","536379Ibzomx","3424245DBifjh","adstage-slide-container","14099360MkVFrX","textContent","#000","center","transform","12HfKCcg","length",".adstage-dot","getBoundingClientRect","every","Banner Ad","normal","setProperty","style","_id","touches","children","mouseleave","cssText","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","objectFit","fontSize","className","padding","mouseenter","TEXT","1px solid #666","autoSlideInterval","classList","Video Ad","appendChild","45iKPpfX","block","touchmove","0.7","transform 0.4s ease-out","auto","clientX","cover","width","adstage-ad adstage-","backgroundColor","VIDEO","100px","toLowerCase","imageUrl","forEach","createElement","click","body","whiteSpace","#666666","videoUrl","#cccccc","inline-block","hidden","entries","848266jwqwYl","borderColor","200px","50px","contains","div","includes","addEventListener"];return(at=function(){return t})()}!function(t){const e=it,n=t();for(;;)try{if(366766===-parseInt(e(296))/1+-parseInt(e(283))/2+-parseInt(e(340))/3*(parseInt(e(231))/4)+-parseInt(e(341))/5+parseInt(e(337))/6*(parseInt(e(331))/7)+parseInt(e(299))/8*(parseInt(e(257))/9)+parseInt(e(343))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(at);class ct{static[ot(314)](t,n){const r=ot,s=document[r(273)](r(288));switch(s[r(248)]=r(266)+String(t[r(291)])[r(270)](),s[r(319)](r(333),n[r(240)]),s[r(319)](r(310),t.id),s[r(239)][r(305)]=r(258),s[r(239)][r(265)]=r(309),s[r(239)][r(292)]=r(262),t.adType){case e[r(336)]:if(n[r(271)]){const t=document.createElement(r(330));t[r(293)]=n.imageUrl,t[r(239)][r(265)]=r(309),t[r(239)][r(292)]=r(262),t[r(239)][r(246)]=r(264),s.appendChild(t)}else s[r(239)][r(292)]="100px",s[r(239)][r(267)]=r(328),s[r(239)][r(295)]=r(311),s[r(227)]=r(236);break;case e[r(268)]:if(n[r(278)]){const t=document[r(273)]("video");t[r(293)]=n[r(278)],t.style[r(265)]=r(309),t[r(239)][r(292)]=r(262),s[r(256)](t)}else s[r(239)][r(292)]=r(285),s[r(239)][r(267)]=r(228),s[r(239)][r(295)]=r(252),s[r(227)]=r(255),s[r(239)][r(334)]="white";break;case e[r(251)]:if(n[r(227)]){const t=document[r(273)]("div");t.textContent=n[r(227)]||"",t[r(239)][r(249)]=r(332),t[r(239)][r(247)]=r(300),s[r(256)](t)}else s.style[r(292)]=r(286),s.style[r(249)]=r(332),s[r(227)]="Text Ad";break;default:s[r(239)].height=r(269),s[r(239)][r(295)]=r(311),s.style[r(267)]=r(301),s.textContent=t[r(291)]+r(304)}return s}static[ot(317)](t,n,r,s,o=!1){const i=ot,a=document[i(273)](i(288));a[i(248)]=i(320);const c={position:i(323),overflow:i(281)};if(t.width&&0!==t[i(265)]){let e;e="string"==typeof t[i(265)]?t[i(265)][i(289)]("px")||t[i(265)].includes("%")?t[i(265)]:t.width+"px":t[i(265)]+"px",c[i(265)]=e,c[i(305)]="inline-block"}else c[i(305)]=i(280);if(t[i(292)]&&0!==t.height){const e="string"==typeof t[i(292)]?t.height:t[i(292)]+"px";c[i(292)]=e}Object[i(282)](c)[i(272)](([t,e])=>{const n=i;a[n(239)][n(238)](t,e)});const d=!t.width||0===t[i(265)],l=!t[i(292)]||0===t.height;if(d||l){const e=document[i(273)](i(288));if(e.style[i(244)]=i(245),!d&&t[i(265)]){let n;n=typeof t[i(265)]===i(318)?t[i(265)][i(289)]("px")||t[i(265)][i(289)]("%")?t[i(265)]:t[i(265)]+"px":t.width+"px",e[i(239)][i(265)]=n,e[i(239)][i(276)]=i(237)}document.body[i(256)](e);let r=0,s=0;n[i(272)](n=>{const o=i,a=this[o(314)](t,n);e[o(256)](a);const c=a[o(234)]();c[o(265)]>r&&(r=c[o(265)]),c.height>s&&(s=c[o(292)]),e[o(312)](a)}),d&&r>0&&(a.style[i(265)]=r+"px",c.width=r+"px"),l&&s>0&&(a[i(239)][i(292)]=s+"px",c[i(292)]=s+"px"),document[i(275)].removeChild(e)}const u=[...n,n[0]],p=document[i(273)](i(288));p.className=i(342);const h={display:"flex",transition:"transform 0.4s ease-out",width:100*u[i(232)]+"%"};t.height&&0!==t[i(292)]&&(h[i(292)]=i(309)),Object[i(282)](h)[i(272)](([t,e])=>{p.style.setProperty(t,e)}),u[i(272)]((e,n)=>{const r=i,a=document[r(273)](r(288));a.className="adstage-slide";const c={width:100/u[r(232)]+"%","flex-shrink":"0",display:r(307),"align-items":r(229),"justify-content":r(229)};t[r(292)]&&0!==t[r(292)]&&(c[r(292)]=r(309)),Object[r(282)](c)[r(272)](([t,e])=>{const n=r;a[n(239)][n(238)](t,e)});const d=this.createSimpleAdElement(t,e);st[r(303)](d,e,t,s,o,String(t.adType)[r(270)]()),a.appendChild(d),p[r(256)](a)});const f=n[i(235)](t=>t[i(291)]===e[i(251)])?null:this[i(298)](n[i(232)]);let g=0;const m=n[i(232)],y=1e3*(r?.[i(253)]||3),I=(e,r=!1)=>{const a=i;g=e,r?p[a(239)][a(313)]=a(297):p.style.transition=a(261),p[a(239)][a(230)]=a(329)+100/u[a(232)]*g+"%)";const c=g===m?0:g;if(f){f[a(335)](a(233))[a(272)]((t,e)=>{const n=a,r=t;e===c?(r[n(254)][n(315)](n(338)),r.style[n(321)]="#666666",r[n(239)][n(284)]=n(277),r[n(239)][n(308)]="1"):(r[n(254)][n(339)](n(338)),r.style.background=n(316),r[n(239)][n(284)]=n(279),r.style[n(308)]=n(260))})}tt.trackSlideViewable(n[c],t,c,s,o)},v=()=>{g===m&&setTimeout(()=>{I(0,!0)},400)};if(f){f[i(335)](i(233))[i(272)]((t,e)=>{const n=i;t[n(290)](n(274),()=>I(e))})}let b=setInterval(()=>{I(g+1),v()},y);return a.addEventListener(i(250),()=>{clearInterval(b)}),a[i(290)]("mouseleave",()=>{b=setInterval(()=>{I(g+1),v()},y)}),this[i(325)](p,I,()=>g,m,v),a[i(256)](p),f&&a[i(256)](f),I(0),(!t[i(265)]||0===t[i(265)])&&setTimeout(()=>{const e=i,n=p.children[0];if(n){const r=n[e(242)][0];if(r){const n=r[e(234)]();a[e(239)][e(265)]=n[e(265)]+"px",(!t[e(292)]||0===t[e(292)])&&(a[e(239)][e(292)]=n[e(292)]+"px"),a[e(239)].overflow="hidden"}}},10),a}static[ot(298)](t){const e=ot,n=document[e(273)]("div");n[e(248)]="adstage-dots",n[e(239)][e(244)]=e(306);for(let r=0;r<t;r++){const t=document[e(273)](e(322));t[e(248)]=e(324),t.style.cssText="\n width: 8px;\n height: 8px;\n border-radius: 50%;\n border: 1px solid #cccccc;\n background: transparent;\n cursor: pointer;\n transition: all 0.3s ease;\n outline: none;\n opacity: 0.7;\n padding: 0;\n margin: 0;\n flex-shrink: 0;\n ",t.addEventListener(e(250),()=>{const n=e;!t[n(254)].contains(n(338))&&(t[n(239)].borderColor=n(294),t[n(239)].opacity="0.9")}),t.addEventListener(e(243),()=>{const n=e;!t[n(254)][n(287)](n(338))&&(t.style.borderColor=n(279),t[n(239)][n(308)]=n(260))}),n.appendChild(t)}return n}static[ot(325)](t,e,n,r,s){const o=ot;let i=0,a=!1;t[o(290)](o(326),t=>{const e=o;i=t[e(241)][0][e(263)],a=!0}),t[o(290)](o(259),t=>{a&&t.preventDefault()}),t.addEventListener("touchend",t=>{const c=o;if(!a)return;a=!1;const d=t[c(327)][0][c(263)],l=i-d;if(Math[c(302)](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=["clear","6OWlXfv","✅ New viewable recorded for ad "," in slot ","add","3843780GhlHIm","9047695WBVOBZ","7983290fqXkAb","6iJJJPZ","988977EuZzSx","5333088oromnY","isDuplicateViewable","has","4BKCsFe","9MzJGjk","423968NmyIvD","viewableTracker","Duplicate viewable blocked for ad ","324YdzCOf","clearAdViewable","10604590mfabiA"];return(dt=function(){return t})()}const lt=ut;function ut(t,e){const n=dt();return(ut=function(t,e){return n[t-=303]})(t,e)}!function(t){const e=ut,n=t();for(;;)try{if(925699===-parseInt(e(315))/1*(parseInt(e(322))/2)+parseInt(e(305))/3+parseInt(e(313))/4*(parseInt(e(306))/5)+parseInt(e(308))/6*(parseInt(e(307))/7)+-parseInt(e(310))/8*(parseInt(e(314))/9)+parseInt(e(320))/10+-parseInt(e(309))/11*(parseInt(e(318))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class pt{static[lt(311)](t,e,n=!1){const r=lt,s=t+"_"+e;return pt[r(316)][r(312)](s)?(n&&console.log(r(317)+t+r(303)+e),!0):(pt[r(316)][r(304)](s),n&&console.log(r(323)+t+r(303)+e),!1)}static[lt(321)](){pt[lt(316)].clear()}static[lt(319)](t,e){const n=t+"_"+e;pt[lt(316)].delete(n)}}pt[lt(316)]=new Set;const ht=ft;function ft(t,e){const n=gt();return(ft=function(t,e){return n[t-=165]})(t,e)}function gt(){const t=["border","getContainerHeight","4px","hasAttribute","6px","276wOSLVT","2361WhECvT","getElementById","920vVOpxZ",'[class*="banner"]',"calculateAdSize","querySelector"," event","createEmptyContainer","data-adstage-container","block","string","parentElement","trackAdvertisementEvent","number","transparent","createPlaceholder","placeholderMode","subtle","advertisement","monospace","530OwuWoj","adstage-slot","createEventTrackingCallback","100%","toLowerCase","272120PDbdgz","containerId","#666"," container: ","classList","#f9f9f9","1454628gNJfZA","debug","color","true","adstage-slot adstage-empty adstage-","260102yFSwdt"," container collapsed (","display","fontSize","cssText","rgba(248, 249, 250, 0.5)"," for ","data-adstage-type","rgba(231, 76, 60, 0.1)","data-adstage-slot","height",".adstage-slot","data-adstage-empty","2px dashed #e74c3c","isEmpty","<span>Loading ","minHeight","alignItems","style","#e74c3c","contains","innerHTML",'div[style*="min-height"]','<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>','div[style*="height"]',"advertisementEventTracker","warn","9gVcQMz","adType","log","px)","🚫 Duplicate viewable blocked for ad "," slot: ","getDefaultHeight","⚠️ Created empty ","justifyContent","error","🔄 Starting advertisement event tracking: ","filter"," in slot ","borderRadius","closest","setAttribute","getComputedStyle","\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 ",'[class*="ad"]',"📦 Placeholder created for ","center","111828CIPggb","adstage-class","11px"," x "," for ad ","appendChild","invisible","1034730ccDSkC","generic","\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 ","unknown","): ","div","createElement",'[data-adstage-container="true"]',"flex","1px dashed #ccc"," ad...</span>","⚠️ ","none",") - Mode: ","📊 Advertisement event tracked: ","renderFallback","className","getAttribute","backgroundColor","VIEWABLE","⚠️ AdvertisementEventTracker not available for "];return(gt=function(){return t})()}!function(t){const e=ft,n=t();for(;;)try{if(119351===-parseInt(e(222))/1+parseInt(e(174))/2+-parseInt(e(256))/3*(parseInt(e(258))/4)+-parseInt(e(276))/5*(-parseInt(e(255))/6)+parseInt(e(169))/7+parseInt(e(281))/8*(-parseInt(e(201))/9)+parseInt(e(229))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(gt);class mt{constructor(t,e=!1,n){const r=ft;this[r(202)]=t,this[r(170)]=e,this[r(199)]=n||null}[ht(271)](t,e,n,r){const s=ht,o=document[s(235)](s(234));o.id=e,o[s(245)]="adstage-slot adstage-"+String(this[s(202)])[s(280)](),o[s(216)](s(264),"true"),o[s(216)](s(181),String(this.adType)),o[s(216)](s(183),e);const{width:i,height:a}=this[s(260)](t,n,r)||{width:s(279),height:this[s(207)]()};o[s(192)].width=i,o[s(192)][s(184)]=a;const c=r?.placeholderMode||n[s(272)]||s(228);this.applyPlaceholderStyle(o,c),t[s(227)](o),this[s(170)]&&console.log(s(220)+this[s(202)]+s(206)+e+" ("+i+s(225)+a+s(242)+c)}applyPlaceholderStyle(t,e){const n=ht;switch(e){case n(228):t[n(192)].backgroundColor="transparent",t[n(192)][n(250)]=n(241),t[n(192)].opacity="0",t[n(195)]="";break;case"transparent":t[n(192)][n(247)]=n(270),t[n(192)][n(250)]="none",t[n(192)].display=n(265),t.innerHTML="";break;case n(273):t.style.backgroundColor="rgba(0, 0, 0, 0.02)",t.style.border=n(241),t[n(192)].borderRadius=n(252),t[n(192)][n(176)]="flex",t[n(192)][n(191)]=n(221),t[n(192)][n(209)]=n(221),t[n(195)]='<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>';break;case"minimal":t[n(192)][n(247)]=n(179),t[n(192)].border="1px solid rgba(0, 0, 0, 0.08)",t[n(192)][n(214)]=n(254),t[n(192)][n(176)]=n(237),t.style.alignItems=n(221),t.style[n(209)]="center",t[n(195)]=n(197);break;case n(170):t[n(192)][n(250)]=n(187),t[n(192)][n(176)]=n(237),t[n(192)].alignItems=n(221),t[n(192)][n(209)]=n(221),t.style.backgroundColor=n(182),t.style[n(171)]=n(193),t[n(192)].fontFamily=n(275),t.style[n(177)]=n(224),t[n(195)]=n(189)+this.adType+" ad...</span>";break;default:t[n(192)][n(250)]=n(238),t[n(192)].display="flex",t[n(192)][n(191)]=n(221),t[n(192)][n(209)]=n(221),t[n(192)][n(247)]=n(168),t[n(192)][n(171)]=n(165),t[n(195)]=n(189)+this[n(202)]+n(239)}}[ht(260)](t,e,n){const r=ht,s=e.width,o=e[r(184)];let i,a;if(i="number"==typeof s?s+"px":"string"==typeof s?s:"100%",typeof o===r(269))a=o+"px";else if(typeof o===r(266)&&o!==r(279)&&"auto"!==o)a=o;else{const e=this[r(251)](t);e>0?(a=r(279),(n?.debug||this[r(170)])&&console[r(203)]("📏 Using 100% height (container: "+e+r(204))):(a=this.getDefaultHeight(),(n?.debug||this[r(170)])&&console.log("📏 Using default height "+a+r(180)+this.adType))}return{width:i,height:a}}[ht(251)](t){const e=ht,n=window[e(217)](t),r=parseFloat(n[e(184)]);if(!r||0===r){const r=parseFloat(n[e(190)]);if(r>0)return r;if(t[e(192)].height&&"auto"!==t.style[e(184)]){const n=parseFloat(t.style[e(184)]);if(n>0)return n}const s=t[e(246)](e(184));if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}[ht(278)](){return async(t,e,n)=>{const r=ft;if(n===a[r(248)]){if(pt.isDuplicateViewable(t,e,this[r(170)]))return void(this[r(170)]&&console[r(203)](r(205)+t+r(213)+e));this.debug&&console[r(203)]("✅ New viewable recorded for ad "+t+r(213)+e)}if(this[r(199)])try{this.debug&&console[r(203)](r(211)+n+" for ad "+t+r(213)+e),await this.advertisementEventTracker[r(268)](t,e,n),this.debug&&console.log(r(243)+n+r(226)+t+r(213)+e)}catch(e){this[r(170)]&&console[r(210)]("❌ Failed to track "+n+" event for ad "+t+":",e)}else this[r(170)]&&console[r(200)](r(249)+n+r(262))}}[ht(244)](t){const e=ht,n=document[e(257)](t.id);if(n){const r=[...[n[e(261)]('[data-adstage-container="true"]'),n[e(215)](e(236)),n].filter(t=>t&&t[e(253)](e(264))),...[n[e(215)](e(185)),n[e(215)](".adstage-"+String(this[e(202)]).toLowerCase()),n[e(215)](e(219)),n[e(215)](e(259)),n[e(215)]('[class*="container"]'),n[e(215)](e(198)),n.closest(e(196)),n[e(267)]][e(212)](Boolean)][0];if(r){let n=e(232);n=r[e(253)](e(264))?"adstage-official":r[e(167)][e(194)](e(277))?e(223):e(230),r.style[e(178)]+=e(218),r.innerHTML="",r.setAttribute(e(186),e(172)),this[e(170)]&&console[e(200)](e(240)+this[e(202)]+e(175)+n+e(233)+t.id,r)}else this[e(263)](t)}t[e(274)]=void 0,t[e(188)]=!0}createEmptyContainer(t){const e=ht,n=document[e(257)](t[e(282)]);if(n){n[e(195)]="";const r=document.createElement(e(234));r.id=t.id,r[e(245)]=e(173)+String(this.adType)[e(280)](),r[e(216)](e(264),"true"),r[e(216)](e(186),e(172)),r[e(216)](e(183),t.id),r[e(192)][e(178)]=e(231),n.appendChild(r),this[e(170)]&&console[e(200)](e(208)+this[e(202)]+e(166)+t.id)}}log(t,...e){const n=ht;this[n(170)]&&console[n(203)]("["+this[n(202)]+"] "+t,...e)}}const yt=vt;function It(){const t=["250px","</div>","height","1044300NEfbKW","Container not found: ","getElementById","optimizeContainerForBannerAds","warn","_id","createElement","title","📊 Using standard ratio: ","Banner"," with ","cover","calculateAdSize","loadImageDimensions","getDefaultHeight","Image URL is not provided","parentElement","7supUao","createSliderContainer","value","5317499XsqixK","ratio","img","163242Pyxmsq","abs","25448JgLgLE","center","appendChild"," ads: ","renderOptimizedBannerImage","imageUrl","div","✅ Optimized banner image rendered for ad: ","forEach","log","allSettled","100%","❌ Failed to load optimized banner image:","Banner container optimization failed, using default size:","1841310SbwarN","📐 Optimal banner container calculated: ","style","aspectRatio","4:3"," (avg: ","objectPosition","name",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"toString","values","🔧 Banner container optimized for ","onload","fulfilled","containerId","📸 Banner image dimensions: ","📦 Banner container dimensions: ","Banner Advertisement","src","width","#f0f0f0","config","count","selectOptimalSizeStrategy","get","Failed to load image: ","length"," ads (optimized: ","reduce","status","🎠 Banner carousel created for slot: ","set","16:9","renderAdElement","default","filter","641NEtfYt","Banner Ad","adstage-ad adstage-banner-ad","innerHTML","createEventTrackingCallback","objectFit","20WfbiBI","debug","dominant","contain","3:2","round","max","block","12aPjGiu","addClickEventForRenderer","some","naturalWidth","map","836mcZqbX","getBoundingClientRect","🎨 Banner image style applied: objectFit=","optimizedHeight","from","borderRadius","Failed to calculate optimal banner size, using defaults:","common","onerror","100506zgZQWW","applyOptimizedImageStyle","8px","calculateOptimalContainerSize","calculateOptimalHeight","1:1"];return(It=function(){return t})()}function vt(t,e){const n=It();return(vt=function(t,e){return n[t-=141]})(t,e)}!function(t){const e=vt,n=t();for(;;)try{if(142120===-parseInt(e(218))/1*(parseInt(e(237))/2)+-parseInt(e(166))/3*(parseInt(e(232))/4)+-parseInt(e(143))/5+parseInt(e(246))/6*(parseInt(e(160))/7)+parseInt(e(168))/8+-parseInt(e(182))/9+parseInt(e(224))/10*(parseInt(e(163))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(It);class bt extends mt{constructor(t=!1,n){super(e.BANNER,t,n)}[yt(157)](){return yt(252)}async[yt(215)](t,e){const n=yt,r=document[n(145)](t[n(196)]);if(!r)return;const s=document[n(149)](n(174));s.className=n(220);const o=t.optimizedHeight,i=r[n(159)]||r;if(o)s[n(184)][n(201)]=n(179),s[n(184)][n(142)]=String(o);else{const e=t.config,r={width:e?.width,height:e?.height},{width:o,height:a}=this[n(155)](i,r,{debug:this[n(225)]});s.style[n(201)]=o,s[n(184)].height=a}e[n(173)]?await this[n(172)](s,e,t):s[n(221)]="<div>"+(e[n(150)]||n(219))+n(141),st[n(233)](s,e,t,()=>this[n(222)](),this[n(225)],"Banner"),r.innerHTML="",r[n(170)](s)}async renderMultipleAds(t,e){const n=yt,r=document[n(145)](t.containerId);if(!r)throw new Error(n(144)+t[n(196)]);await this[n(146)](t,e);const s=this[n(222)](),o={autoSlideInterval:(t.config?.slideInterval||5e3)/1e3,...t[n(203)],optimizedHeight:t[n(240)],aspectRatio:t[n(185)]},i=ct[n(161)](t,e,o,s,this[n(225)]);i&&(r[n(221)]="",r[n(170)](i),this.debug&&console[n(177)](n(212)+t.id+n(153)+e[n(208)]+n(209)+(t[n(240)]||n(216))+")"))}async calculateOptimalContainerSize(t,e){const n=yt;if(!t.length)return{width:n(179),height:this.getDefaultHeight(),aspectRatio:16/9};try{const r=(await Promise[n(178)](t[n(217)](t=>t.imageUrl)[n(236)](t=>this[n(156)](t.imageUrl))))[n(217)](t=>t[n(211)]===n(195)).map(t=>t[n(162)]);if(0===r[n(208)])return{width:n(179),height:this[n(157)](),aspectRatio:16/9};const s=this[n(205)](r),o=this[n(250)](r,e,s);return this[n(225)]&&console[n(177)](n(183)+e+"x"+o+" (strategy: "+s+")"),{width:n(179),height:o+"px",aspectRatio:e/o}}catch(t){return console[n(147)](n(243),t),{width:n(179),height:this.getDefaultHeight(),aspectRatio:16/9}}}async[yt(146)](t,e){const n=yt;try{const r=document[n(145)](t[n(196)]),s=document[n(145)](t.id);if(!r||!s)return;const o=r[n(238)]()[n(201)]||300,i=await this[n(249)](e,o);s.style.height=i[n(142)],t.optimizedHeight=i[n(142)],t[n(185)]=i[n(185)],this[n(225)]&&console[n(177)](n(193)+e[n(208)]+n(171)+i[n(142)])}catch(t){console[n(147)](n(181),t)}}selectOptimalSizeStrategy(t){const e=yt,n=t[e(236)](t=>t.width/t[e(142)]),r=new Map;n[e(176)](t=>{const n=e,s=(Math[n(229)](10*t)/10)[n(191)]();r[n(213)](s,(r[n(206)](s)||0)+1)});const s=Math[e(230)](...r.values()),o=t.length;if(s/o>=.7)return e(226);const i=[16/9,4/3,1,1.5];return n[e(217)](t=>i[e(234)](n=>Math[e(167)](t-n)<.1))[e(208)]/o>=.5?"common":"average"}[yt(250)](t,e,n){const r=yt,s=t[r(236)](t=>t[r(201)]/t[r(142)]);switch(n){case"dominant":{const t=new Map;s.forEach(e=>{const n=r,s=Math[n(229)](10*e)/10,o=s[n(191)](),i=t[n(206)](o);i?i[n(204)]++:t[n(213)](o,{ratio:s,count:1})});const n=Array[r(241)](t[r(192)]())[r(210)]((t,e)=>e[r(204)]>t.count?e:t);return Math.round(e/n[r(164)])}case r(244):{const t=[{ratio:16/9,name:r(214)},{ratio:4/3,name:r(186)},{ratio:1,name:r(251)},{ratio:1.5,name:r(228)}],n=s[r(210)]((t,e)=>t+e,0)/s[r(208)],o=t[r(210)]((t,e)=>Math[r(167)](e[r(164)]-n)<Math[r(167)](t[r(164)]-n)?e:t);return this[r(225)]&&console[r(177)](r(151)+o[r(189)]+r(187)+n.toFixed(2)+")"),Math.round(e/o[r(164)])}default:{const t=s[r(210)]((t,e)=>t+e,0)/s[r(208)];return Math[r(229)](e/t)}}}[yt(156)](t){return new Promise((e,n)=>{const r=vt,s=new Image;s[r(194)]=()=>{e({width:s[r(235)],height:s.naturalHeight})},s[r(245)]=()=>{n(new Error(r(207)+t))},s[r(200)]=t})}[yt(247)](t,e,n){const r=yt,s=e/n;Math[r(167)](s-1)<.1?(t[r(184)][r(223)]=r(154),t[r(184)][r(188)]="center"):s>1.3?(t[r(184)][r(223)]=r(227),t[r(184)][r(188)]="center",t[r(184)].backgroundColor=r(202)):s<.7?(t.style[r(223)]=r(154),t.style[r(188)]=r(169)):(t[r(184)][r(223)]=r(154),t[r(184)][r(188)]=r(169)),this[r(225)]&&console[r(177)](r(239)+t[r(184)][r(223)]+", ratio="+s.toFixed(2))}async[yt(172)](t,e,n){const r=yt,s=document[r(149)](r(165));s.style[r(201)]=r(179),s[r(184)][r(142)]="100%",s[r(184)].display=r(231),s[r(184)][r(242)]=r(248),s.alt=e[r(150)]||r(199),t[r(221)]=r(190);try{if(!e[r(173)])throw new Error(r(158));const o=await this[r(156)](e[r(173)]),i=t[r(238)](),a=i.width,c=i[r(142)];this.debug&&(console[r(177)](r(197)+o.width+"x"+o[r(142)]),console[r(177)](r(198)+a+"x"+c));const d=o[r(201)]/o[r(142)],l=a/c;return this[r(247)](s,d,l),s[r(200)]=e[r(173)],t[r(221)]="",t.appendChild(s),st.addClickEventForRenderer(s,e,n,()=>this[r(222)](),this[r(225)],r(152)),this.debug&&console[r(177)](r(175)+e[r(148)]),s}catch(o){return console.error(r(180),o),e[r(173)]&&(s[r(200)]=e[r(173)],s[r(184)][r(223)]=r(154),s[r(184)][r(188)]=r(169),t[r(221)]="",t[r(170)](s),st.addClickEventForRenderer(s,e,n,()=>this[r(222)](),this[r(225)],r(152))),s}}}const wt=kt;function kt(t,e){const n=St();return(kt=function(t,e){return n[t-=296]})(t,e)}!function(t){const e=kt,n=t();for(;;)try{if(227630===-parseInt(e(299))/1+-parseInt(e(304))/2+-parseInt(e(296))/3+-parseInt(e(297))/4+parseInt(e(305))/5+-parseInt(e(301))/6+parseInt(e(298))/7)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(St);class Et{static[wt(300)](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 setTextAdContent(t,e){const n=wt,r=e[n(302)]||e[n(303)]||"";t[n(302)]=r}}function St(){const t=["228552buNaWv","9228646xDTpDr","318290oqUBQK","createTextAdStyles","2117184PXFqNt","textContent","title","636020hkduNq","334465brAiCe","334017JggLiy"];return(St=function(){return t})()}const xt=At;function At(t,e){const n=Ct();return(At=function(t,e){return n[t-=393]})(t,e)}function Ct(){const t=["6139tVgdRO","2130cLjsFo","data-adstage-slot-id","opacity","div","left","height","string","7314138GbGqqs","top","translateY(20px)","push","width","toLowerCase",";\n width: 100%;\n ","571313ZNpqxR","addClickEventForSlider","whiteSpace","5465088prVDQz","fit-content","cssText","minHeight","length","createTextAdStyles","addEventListener","translateY(0)","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","height: auto;","\n ","createTextTransitionContainer","includes","adstage-ad adstage-","\n position: relative;\n width: 100%;\n ","addTouchSupport","getBoundingClientRect","relative","adType",";\n ","setProperty","Text",";\n top: ","clientX","touches","block","height: auto; min-height: fit-content;","body","hidden","adstage-fade-slider-wrapper","2WUKcpy","removeChild","abs","setAttribute","2219220CbSLmh","_id","clientY","appendChild","style","touchmove","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","position","translateY(-20px)",";\n transform: translateY(",";\n left: ","createElement","touchend","forEach","data-adstage-ad-id","3041349BXyejA","mouseleave","transform",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","1023300XNcmmR","absolute","auto","zIndex","autoSlideInterval","20px","trackSlideViewable","createSimpleAdElement","className","changedTouches","height: 100%;"];return(Ct=function(){return t})()}!function(t){const e=At,n=t();for(;;)try{if(761054===parseInt(e(402))/1*(-parseInt(e(435))/2)+parseInt(e(454))/3+parseInt(e(439))/4+parseInt(e(458))/5+-parseInt(e(470))/6*(parseInt(e(469))/7)+parseInt(e(405))/8+-parseInt(e(395))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ct);class Tt{static[xt(465)](t,e){const n=xt,r=document[n(450)]("div");return r[n(466)]=n(418)+String(t[n(423)])[n(400)](),r[n(438)](n(453),e[n(440)]),r[n(438)](n(471),t.id),r[n(443)][n(407)]=Et[n(410)](!0),Et.setTextAdContent(r,e),r}static[xt(416)](t,e,n,r,s=!1){const o=xt,i=t[o(393)]&&0!==t[o(393)]&&"auto"!==t[o(393)],a=document[o(450)](o(473));a[o(466)]=o(434);const c={position:o(422),overflow:o(433),display:o(430)};if(!i&&(c.height="auto",c[o(408)]=o(406)),t[o(399)]&&0!==t[o(399)]){let e;e=typeof t[o(399)]===o(394)?t.width[o(417)]("px")||t[o(399)][o(417)]("%")?t[o(399)]:t[o(399)]+"px":t.width+"px",c[o(399)]=e}if(t[o(393)]&&0!==t.height&&t.height!==o(460)&&i){let e;e=typeof t[o(393)]===o(394)&&(t.height[o(417)]("px")||t[o(393)][o(417)]("%"))?t[o(393)]:t[o(393)]+"px",c[o(393)]=e}Object.entries(c)[o(452)](([t,e])=>{const n=o;a[n(443)][n(425)](t,e)});const d=document[o(450)](o(473));d[o(466)]="adstage-fade-slide-container",d.style[o(407)]=o(419)+o(i?468:431)+o(415);let l=null;const u=!t.width||0===t.width,p=!t[o(393)]||0===t[o(393)]||void 0===t.height||t.height===o(460);if(u||p&&i){if(l=document[o(450)](o(473)),l[o(443)][o(407)]=o(445),!u&&t[o(399)]){let e;e=typeof t.width===o(394)?t.width[o(417)]("px")||t[o(399)][o(417)]("%")?t.width:t[o(399)]+"px":t.width+"px",l[o(443)].width=e,l.style[o(404)]="normal"}document[o(432)][o(442)](l);let n=0,r=0;e.forEach(e=>{const s=o,i=this.createSimpleAdElement(t,e);l[s(442)](i);const a=i[s(421)]();a[s(399)]>n&&(n=a[s(399)]),a.height>r&&(r=a[s(393)]),l[s(436)](i)}),u&&n>0&&(a.style[o(399)]=n+"px"),p&&r>0&&i&&(a[o(443)].height=r+"px"),document[o(432)][o(436)](l)}const h=[];e.forEach((e,n)=>{const a=o,c=document[a(450)](a(473));c[a(466)]="adstage-fade-slide";const l=a(i?459:0===n?422:459);c[a(443)][a(407)]="\n position: "+l+a(427)+("absolute"===l?"0":a(460))+a(449)+(l===a(459)?"0":a(460))+a(401)+a(i?468:414)+a(413)+(0===n?"1":"0")+a(448)+(0===n?"0":a(463))+a(457)+(0===n?"2":"1")+a(424);const u=this[a(465)](t,e);st[a(403)](u,e,t,r,s,a(426)),c[a(442)](u),d[a(442)](c),h[a(398)](c)});let f=0;const g=e[o(409)],m=1e3*(n?.[o(462)]||4),y=n=>{const a=o;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!i&&(c[a(443)][a(446)]===a(422)&&(c[a(443)][a(446)]=a(459),c[a(443)][a(396)]="0",c[a(443)].left="0"),d[a(443)][a(446)]=a(422),d.style[a(396)]=a(460),d[a(443)][a(474)]=a(460)),c[a(443)].opacity="0",c[a(443)][a(456)]=a(447),c[a(443)][a(461)]="1",d[a(443)].opacity="1",d.style[a(456)]=a(412),d.style[a(461)]="2",h[a(452)]((t,e)=>{const r=a;e!==n&&e!==f&&(t[r(443)][r(472)]="0",t[r(443)][r(456)]=r(397),t.style[r(461)]="1",!i&&t[r(443)].position===r(422)&&(t[r(443)][r(446)]=r(459),t[r(443)][r(396)]="0",t[r(443)][r(474)]="0"))}),f=n,tt[a(464)](e[f],t,f,r,s)};let I=setInterval(()=>{y(f+1)},m);return a.addEventListener("mouseenter",()=>{clearInterval(I)}),a[o(411)](o(455),()=>{I=setInterval(()=>{y(f+1)},m)}),Tt[o(420)](a,y,()=>f,g),a[o(442)](d),a}static[xt(420)](t,e,n,r){const s=xt;let o=0,i=0,a=!1;t[s(411)]("touchstart",t=>{const e=s;o=t[e(429)][0].clientX,i=t.touches[0][e(441)],a=!0}),t[s(411)](s(444),t=>{a&&t.preventDefault()}),t[s(411)](s(451),t=>{const r=s;if(!a)return;a=!1;const c=t[r(467)][0][r(428)],d=t.changedTouches[0][r(441)],l=o-c,u=i-d;if(Math[r(437)](l)>Math[r(437)](u)&&Math.abs(l)>50){const t=n();e(l>0?t+1:t-1)}})}}const Rt=Bt;function _t(){const t=["appendChild","config","✨ Text transition created for slot: ","489RkdiJo","hidden","number","-webkit-box","renderAdElement","_id","style","4uVuWlK","adstage-text-content","width","160GEsFpE","4410NLBDAy"," ads","createElement","239808dKlbMK","className","createTextAdStyles","11keyChG","1731642nRnSaC","maxLines","createEventTrackingCallback","446365OyMxyx","optimizedHeight","cssText","debug","setTextAdContent","getElementById","slideInterval","overflow","2047997SwJKHY","innerHTML","webkitLineClamp","getDefaultHeight","2456oKGyjN","Text"," with ","aspectRatio","60px","adstage-ad adstage-text-ad","vertical","length","Container not found: ","100%","addClickEventForRenderer","height","1080220aqVFtK","createTextTransitionContainer","log","containerId","renderMultipleAds","calculateAdSize","display","div"];return(_t=function(){return t})()}function Bt(t,e){const n=_t();return(Bt=function(t,e){return n[t-=364]})(t,e)}!function(t){const e=Bt,n=t();for(;;)try{if(168533===parseInt(e(367))/1*(-parseInt(e(377))/2)+parseInt(e(381))/3+-parseInt(e(374))/4*(-parseInt(e(388))/5)+parseInt(e(385))/6+-parseInt(e(396))/7+parseInt(e(400))/8*(parseInt(e(378))/9)+-parseInt(e(412))/10*(parseInt(e(384))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_t);class Pt extends mt{constructor(t=!1,n){super(e.TEXT,t,n)}[Rt(399)](){return Rt(404)}async[Rt(371)](t,e){const n=Rt,r=document[n(393)](t.containerId);if(!r)return;const s=document[n(380)](n(419));s[n(382)]=n(405);const o=t[n(389)],i=r.parentElement||r;if(o)s[n(373)][n(376)]=n(409),s.style.height=String(o);else{const e=t[n(365)],r={width:e?.width,height:e?.[n(411)]},{width:o,height:a}=this[n(417)](i,r,{debug:this[n(391)]});s.style[n(376)]=o,s[n(373)][n(411)]=a}const a=document[n(380)](n(419));a[n(382)]=n(375),a.style[n(390)]=Et[n(383)](!1),Et[n(392)](a,e);const c=t[n(365)]?.[n(386)];c&&typeof c===n(369)&&(a[n(373)][n(418)]=n(370),a[n(373)][n(398)]=String(c),a[n(373)].webkitBoxOrient=n(406),a[n(373)][n(395)]=n(368)),s[n(364)](a),st[n(410)](s,e,t,()=>this[n(387)](),this.debug,n(401)),r[n(397)]="",r.appendChild(s),this[n(391)]&&console[n(414)]("✨ Single text ad rendered: "+e[n(372)])}async[Rt(416)](t,e){const n=Rt,r=document[n(393)](t[n(415)]);if(!r)throw new Error(n(408)+t[n(415)]);const s=this[n(387)](),o={autoSlideInterval:(t[n(365)]?.[n(394)]||5e3)/1e3,...t[n(365)],optimizedHeight:t[n(389)],aspectRatio:t[n(403)]},i=Tt[n(413)](t,e,o,s,this[n(391)]);i&&(r[n(397)]="",r[n(364)](i),this.debug&&console[n(414)](n(366)+t.id+n(402)+e[n(407)]+n(379)))}}const Lt=Dt;function Dt(t,e){const n=Vt();return(Dt=function(t,e){return n[t-=348]})(t,e)}!function(t){const e=Dt,n=t();for(;;)try{if(621606===parseInt(e(390))/1+-parseInt(e(389))/2*(parseInt(e(430))/3)+-parseInt(e(350))/4*(-parseInt(e(458))/5)+parseInt(e(446))/6+parseInt(e(441))/7+-parseInt(e(353))/8+-parseInt(e(399))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Vt);class zt extends mt{constructor(t=!1,n){super(e[Dt(451)],t,n)}[Lt(436)](){return"360px"}async[Lt(428)](t,e){const n=Lt,r=document[n(416)](t.containerId);if(!r)return;const s=document[n(455)](n(381));s[n(431)]=n(419),s[n(448)][n(435)]=n(459),this[n(352)](s,e,t),r[n(356)]="",r[n(432)](s),this[n(407)]&&console[n(384)](n(402)+e._id)}async renderMultipleAds(t,e){const n=Lt,r=document.getElementById(t[n(418)]);if(!r)throw new Error(n(449)+t[n(418)]);if(e[n(371)]>0){const s=e[0],o=document[n(455)]("div");o.className=n(419),o.style[n(435)]=n(421),this.renderVideoElementDirect(o,s,t),r[n(356)]="",r[n(432)](o);const i=this.createEventTrackingCallback();setTimeout(()=>{const e=n;i(s[e(354)],t.id,a[e(395)])},100),this.debug&&console[n(384)]("🎬 Single video rendered for VIDEO slot: "+t.id+" ("+s[n(354)]+")")}else this[n(407)]&&console[n(363)]("⚠️ No video advertisements available for slot: "+t.id)}[Lt(352)](t,e,n){const r=Lt;t[r(448)][r(355)]="relative";const s=document[r(455)](r(425));s[r(448)][r(410)]=r(444),s.style[r(372)]=r(444),s[r(448)][r(378)]="contain",s[r(408)]="metadata";const o=n[r(391)];if(this.debug&&console.log(r(386),o),s[r(400)]=!1,s[r(370)]=!1!==o?.[r(370)],s.muted=!0,s[r(427)]=!1!==o?.loop,this.debug&&console[r(384)](r(412),{autoplay:s[r(370)],muted:s[r(456)],loop:s.loop,controls:s[r(400)]}),!1!==o?.[r(440)]&&s.setAttribute("playsinline",""),!0===o?.[r(400)]&&(s.controls=!0,this.debug&&console[r(384)](r(404))),o?.[r(375)])s[r(400)]=!1,s[r(448)].cssText+=r(439);else if(o?.customControls){if(s[r(400)]){const t=document[r(455)]("style");t[r(443)]="\n video::-webkit-media-controls-play-button {\n display: "+(o[r(437)][r(361)]?r(409):r(368))+r(373)+(o[r(437)][r(374)]?r(409):r(368))+r(388)+(o[r(437)][r(406)]?r(409):r(368))+r(438)+(o[r(437)][r(362)]?r(409):r(368))+r(394)+(o[r(437)][r(457)]?r(409):"block")+r(351)+(o[r(437)].hideMuteButton?"none":"block")+" !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: "+(o[r(437)].hideFullscreenButton?r(409):"block")+r(365),document.head.appendChild(t)}}else if(s[r(400)]){const t=document[r(455)](r(448));t.id="adstage-video-default-controls",t[r(443)]=r(348),!document[r(416)](r(433))&&document.head[r(432)](t)}this[r(407)]&&console[r(384)](r(411),s[r(400)]?r(366):r(454));const i=document[r(455)](r(415));i[r(431)]=r(357),i[r(448)][r(435)]=r(358),o?.[r(375)]&&(i[r(448)].display="none");const a=()=>{const t=r,e=t(445);i[t(356)]=s[t(456)]?'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/>\n </svg>\n ':e,i.title=s[t(456)]?t(450):t(414)};if(a(),i[r(434)](r(426),t=>{const e=r;t[e(460)](),s.muted=!s.muted,a(),this[e(407)]&&console.log(e(379)+(s[e(456)]?"muted":e(447)))}),i[r(434)](r(452),()=>{const t=r;i[t(448)][t(413)]=t(376),i[t(448)][t(420)]=t(429)}),i[r(434)](r(423),()=>{const t=r;i[t(448)].background=t(461),i[t(448)][t(420)]=t(398)}),e[r(387)]){s[r(403)]=e[r(387)];const t=()=>{const t=r;s[t(370)]&&s[t(456)]&&s[t(377)]&&s.play()[t(442)](e=>{const n=t;this[n(407)]&&(console[n(363)](n(393),e),console[n(363)](n(364))),s[n(456)]=!0,s[n(349)]()[n(442)](t=>{const e=n;this.debug&&console[e(422)](e(382),t)})})};s[r(434)](r(424),()=>{const e=r;this[e(407)]&&console.log(e(360)),t()}),s[r(434)]("canplay",()=>{const e=r;this[e(407)]&&console[e(384)](e(367)),t()}),s[r(434)](r(453),()=>{const e=r;this[e(407)]&&console.log(e(392)),t()}),setTimeout(()=>{const e=r;this.debug&&console[e(384)](e(417)),t()},100)}else if(e.imageUrl){const n=document[r(455)]("img");return n[r(403)]=e[r(385)],n[r(448)][r(410)]=r(444),n[r(448)][r(372)]="100%",n[r(448)][r(378)]=r(380),n[r(405)]=e.title||"Video thumbnail",void t[r(432)](n)}st[r(369)](s,e,n,()=>this[r(396)](),this[r(407)],r(401)),s[r(434)](r(422),s=>{const o=r;if(console[o(422)](o(383),s),e[o(385)]){const r=document[o(455)]("img");r.src=e[o(385)],r[o(448)][o(410)]=o(444),r.style[o(372)]=o(444),r[o(448)].objectFit=o(380),r[o(405)]=e.title||o(397),st[o(369)](r,e,n,()=>this[o(396)](),this[o(407)],"Video fallback"),t[o(356)]="",t[o(432)](r)}}),t[r(432)](s),t[r(432)](i),this.debug&&console[r(384)]("🎬 Video element created for ad: "+e[r(354)]+" (autoplay: "+s.autoplay+", muted: "+s[r(456)]+r(359)+s[r(427)]+")")}}function Vt(){const t=["loadeddata","disabled (default)","createElement","muted","hideVolumeSlider","20QkFHek","\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 ","stopPropagation","rgba(0, 0, 0, 0.7)","\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 ","play","546564QYpDCN"," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","renderVideoElementDirect","2266568ztOMSG","_id","position","innerHTML","adstage-video-mute-button","\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 ",", loop: ","🎬 Video metadata loaded, attempting autoplay...","hidePlayButton","hideRemainingTime","warn","🎬 Trying muted autoplay fallback..."," !important;\n }\n ","enabled","🎬 Video can play, attempting autoplay...","block","addClickEventForRenderer","autoplay","length","height"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","hideProgressBar","hideControls","rgba(0, 0, 0, 0.9)","paused","objectFit","🔊 Video mute toggled: ","contain","div","🎬 Autoplay completely failed:","Video load failed:","log","imageUrl","🎬 Video config received:","videoUrl"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","2hjyBKF","812026nKBXeT","config","🎬 Video data loaded, attempting autoplay...","🎬 Auto-play was prevented:"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","VIEWABLE","createEventTrackingCallback","Video thumbnail","scale(1)","16947693oXuZxZ","controls","Video","🎬 Single video ad rendered: ","src","🎬 User explicitly enabled controls, overriding default","alt","hideCurrentTime","debug","preload","none","width","🎬 Video controls setting:","🎬 Final video settings:","background","Click to mute","button","getElementById","🎬 Initial autoplay attempt after timeout...","containerId","adstage-video-container","transform","\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 ","error","mouseleave","loadedmetadata","video","click","loop","renderAdElement","scale(1.1)","2120901qetJuM","className","appendChild","adstage-video-default-controls","addEventListener","cssText","getDefaultHeight","customControls"," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","\n pointer-events: none;\n ","playsinline","7991872lGRxlm","catch","textContent","100%",'\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 ',"5968110INUTDh","unmuted","style","Container not found: ","Click to unmute","VIDEO","mouseenter"];return(Vt=function(){return t})()}const Mt=Nt;function Ut(){const t=["mouseenter","title","textContent","warn","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","🏠 Native ad rendered (first of ","linkUrl","305576jVSZVO","adstage-ad adstage-native-ad","_blank","\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 ","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 ","style","backgroundColor","length","src","28gSZtTZ","addEventListener","1498000PTQGnG","1430217RKQYLa","imageUrl","createElement","216112cZJNNc","#3b82f6","3OYfmnb","NATIVE","alt","#2563eb","109636KJqerW","197020jJiyHg","renderAdElement","debug","img","getDefaultHeight","mouseleave","appendChild","Native Advertisement","_id","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","183382rGEpPK","⚠️ No native advertisements available for slot: ","containerId","className","renderMultipleAds","cssText","open","div","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","12ikWjTk"];return(Ut=function(){return t})()}function Nt(t,e){const n=Ut();return(Nt=function(t,e){return n[t-=341]})(t,e)}!function(t){const e=Nt,n=t();for(;;)try{if(101079===parseInt(e(359))/1+parseInt(e(348))/2*(parseInt(e(344))/3)+-parseInt(e(342))/4+-parseInt(e(349))/5*(-parseInt(e(368))/6)+-parseInt(e(386))/7*(parseInt(e(376))/8)+-parseInt(e(389))/9+parseInt(e(388))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ut);class Ot extends mt{constructor(t=!1,n){super(e[Nt(345)],t,n)}[Mt(353)](){return"200px"}async[Mt(350)](t,e){const n=Mt,r=document.getElementById(t[n(361)]);if(!r)return;const s=document[n(341)](n(366));if(s[n(362)]=n(377),s.style[n(364)]=n(381),e[n(370)]){const t=document[n(341)]("h3");t.textContent=e[n(370)],t[n(382)][n(364)]=n(358),s[n(355)](t)}if(e[n(371)]){const t=document[n(341)]("p");t[n(371)]=e[n(371)],t.style[n(364)]=n(373),s.appendChild(t)}if(e[n(390)]){const t=document[n(341)](n(366));t[n(382)].cssText=n(367);const r=document.createElement(n(352));r[n(385)]=e[n(390)],r[n(346)]=e[n(370)]||n(356),r[n(382)].cssText="\n width: 100%;\n height: 100%;\n object-fit: cover;\n ",t[n(355)](r),s[n(355)](t)}if(e[n(375)]){const t=document.createElement("button");t[n(371)]="Learn More",t[n(382)][n(364)]=n(379),t[n(387)]("click",()=>{const t=n;this.advertisementEventTracker&&console.log("Native click tracked for ad: "+e[t(357)]),window[t(365)](e.linkUrl,t(378))}),t[n(387)](n(369),()=>{const e=n;t[e(382)].backgroundColor=e(347)}),t.addEventListener(n(354),()=>{const e=n;t[e(382)][e(383)]=e(343)}),s.appendChild(t)}r.innerHTML="",r[n(355)](s),this[n(351)]&&console.log("🏠 Single native ad rendered: "+e._id)}async[Mt(363)](t,e){const n=Mt;e[n(384)]>0?(await this[n(350)](t,e[0]),this[n(351)]&&console[n(380)](n(374)+e[n(384)]+"): "+t.id)):this[n(351)]&&console[n(372)](n(360)+t.id)}}function Ft(){const t=["innerHTML","\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 ","64809QxVshA","adstage-interstitial-overlay","21641088fWGMvi","mouseenter","linkUrl","className","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","imageUrl","getDefaultHeight","cssText","Escape","title","renderAdElement","appendChild","Get Started","\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 ","\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 ","_id","addEventListener","#f3f4f6","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","#3b82f6","length","mouseleave","Interstitial click tracked for ad: ","4SMtZmB","click","_blank","createElement","400px","body","6316105fOWQDH","color","textContent","8691666ggazQH","🖼️ Interstitial ad rendered: ","\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 ","button","🖼️ Interstitial ad rendered (first of ","advertisementEventTracker","fadeOut 0.3s ease-out forwards","div","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","\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 ","animation","#6b7280","8312283FtyZLK","#374151","debug","containerId","src","backgroundColor","key","removeChild","adstage-interstitial-styles","getElementById","renderMultipleAds","log","style","979752GWYSBB","img","parentNode","open","7412XvXuEk","removeEventListener","alt","head","keydown","🖼️ Interstitial ad closed","closeInterstitial"];return(Ft=function(){return t})()}const jt=Kt;function Kt(t,e){const n=Ft();return(Kt=function(t,e){return n[t-=395]})(t,e)}!function(t){const e=Kt,n=t();for(;;)try{if(741202===-parseInt(e(413))/1+-parseInt(e(417))/2+parseInt(e(426))/3+parseInt(e(451))/4*(-parseInt(e(457))/5)+parseInt(e(460))/6+-parseInt(e(400))/7+parseInt(e(428))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ft);class Ht extends mt{constructor(t=!1,n){super(e.INTERSTITIAL,t,n)}[jt(434)](){return jt(455)}async renderAdElement(t,e){const n=jt;if(!document[n(409)](t[n(403)]))return;const r=document[n(454)](n(395));r[n(431)]=n(427),r[n(412)][n(435)]=n(462);const s=document.createElement(n(395));s[n(431)]="adstage-interstitial-content",s[n(412)][n(435)]=n(397);const o=document[n(454)]("button");if(o[n(424)]="×",o[n(412)].cssText=n(441),o[n(444)](n(452),()=>{this[n(423)](r)}),o[n(444)](n(429),()=>{const t=n;o[t(412)][t(405)]="#e5e7eb",o[t(412)][t(458)]=t(401)}),o[n(444)](n(449),()=>{const t=n;o.style[t(405)]=t(445),o.style[t(458)]=t(399)}),e[n(433)]){const t=document.createElement(n(414));t[n(404)]=e[n(433)],t[n(419)]=e[n(437)]||"Interstitial Advertisement",t[n(412)][n(435)]=n(446),s.appendChild(t)}if(e.title){const t=document[n(454)]("h2");t.textContent=e.title,t[n(412)][n(435)]=n(432),s[n(439)](t)}if(e[n(459)]){const t=document[n(454)]("p");t[n(459)]=e[n(459)],t[n(412)][n(435)]=n(396),s[n(439)](t)}if(e[n(430)]){const t=document[n(454)](n(463));t[n(459)]=n(440),t[n(412)].cssText=n(442),t[n(444)]("click",()=>{const t=n;this[t(465)]&&console.log(t(450)+e._id),window[t(416)](e[t(430)],t(453)),this[t(423)](r)}),t.addEventListener(n(429),()=>{const e=n;t[e(412)][e(405)]="#2563eb"}),t[n(444)](n(449),()=>{const e=n;t.style.backgroundColor=e(447)}),s[n(439)](t)}const i=t=>{const e=n;t[e(406)]===e(436)&&(this[e(423)](r),document[e(418)](e(421),i))};if(document[n(444)](n(421),i),r[n(444)](n(452),t=>{const e=n;t.target===r&&this[e(423)](r)}),!document[n(409)](n(408))){const t=document.createElement(n(412));t.id="adstage-interstitial-styles",t.textContent=n(425),document[n(420)][n(439)](t)}s[n(439)](o),r.appendChild(s),document[n(456)].appendChild(r),this[n(402)]&&console[n(411)](n(461)+e[n(443)])}async[jt(410)](t,e){const n=jt;e.length>0?(await this[n(438)](t,e[0]),this[n(402)]&&console[n(411)](n(464)+e[n(448)]+"): "+t.id)):this[n(402)]&&console.warn("⚠️ No interstitial advertisements available for slot: "+t.id)}[jt(423)](t){const e=jt;t[e(412)][e(398)]=e(466),setTimeout(()=>{const n=e;t[n(415)]&&t[n(415)][n(407)](t)},300),this[e(402)]&&console[e(411)](e(422))}}const Wt=Gt;function qt(){const t=["NATIVE","BANNER","toLowerCase","8px","className","block","1px dashed #ccc","textContent","🏭 AdRenderer factory initialized with ","calculateAdSize","624YQnCrL","loadImageDimensions","advertisementEventTracker","display","backgroundColor"," renderers","debug","div","img","naturalHeight","style","renderOptimizedBannerImage","VIDEO","width","13556169KFBBMW","getRenderer","initializeRenderers","225qquDpQ","createPlaceholder","renderAdElement","get","optimizeContainerForBannerAds","data-adstage-slot-id","createElement","getDefaultHeightForAdType","60ZcKYlm","padding","log","107403Megdmv","config","TEXT","renderOptimizedBannerImage is only supported for BANNER ads","_id"," Ad","calculateOptimalContainerSize","12mQJduh","videoUrl","imageUrl","border","6972sUnlhH","onerror","height","advertisement","100%","onload","getDefaultHeight","set","setAttribute","renderers","warn","8398056BYAOdi","adType","1718982Eswnun","objectFit","isLoaded","5748ruPIDC","src","renderFallback","createAdElement","#f9f9f9","adstage-ad adstage-","INTERSTITIAL","cover","appendChild","6107431EApXZH"];return(qt=function(){return t})()}function Gt(t,e){const n=qt();return(Gt=function(t,e){return n[t-=373]})(t,e)}!function(t){const e=Gt,n=t();for(;;)try{if(897097===parseInt(e(424))/1+-parseInt(e(407))/2*(parseInt(e(400))/3)+parseInt(e(427))/4*(parseInt(e(389))/5)+parseInt(e(447))/6*(parseInt(e(411))/7)+parseInt(e(422))/8+parseInt(e(386))/9+-parseInt(e(397))/10*(parseInt(e(436))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(qt);class Yt{constructor(t=!1,e){const n=Gt;this.renderers=new Map,this[n(378)]=t,this[n(374)]=e||null,this[n(388)]()}initializeRenderers(){const t=Gt;this.renderers[t(418)](e.BANNER,new bt(this[t(378)],this[t(374)])),this[t(420)][t(418)](e[t(402)],new Pt(this.debug,this.advertisementEventTracker)),this[t(420)][t(418)](e.VIDEO,new zt(this[t(378)],this[t(374)])),this[t(420)][t(418)](e[t(437)],new Ot(this[t(378)],this.advertisementEventTracker)),this[t(420)].set(e[t(433)],new Ht(this[t(378)],this[t(374)])),this[t(378)]&&console[t(399)](t(445)+this[t(420)].size+t(377))}[Wt(430)](t,n){const r=Wt,s=this.getRenderer(t[r(423)]),o=document[r(395)]("div");o[r(441)]=r(432)+String(t[r(423)])[r(439)](),o[r(419)]("data-adstage-ad-id",n[r(404)]),o.setAttribute(r(394),t.id);const{width:i,height:a}=s[r(446)](o,t[r(401)]||{},n);switch(o[r(382)][r(385)]=i,o[r(382)].height=a,o[r(382)][r(375)]=r(442),t[r(423)]){case e[r(438)]:if(n[r(409)]){const t=document[r(395)](r(380));t[r(428)]=n[r(409)],t[r(382)].width=r(415),t[r(382)][r(413)]=r(415),t.style[r(425)]=r(434),o[r(435)](t)}break;case e[r(384)]:if(n[r(408)]){const t=document[r(395)]("video");t[r(428)]=n[r(408)],t[r(382)][r(385)]="100%",t.style.height="100%",o[r(435)](t)}break;case e[r(402)]:if(n[r(444)]){const t=document[r(395)](r(379));t[r(444)]=n[r(444)]||"",t[r(382)][r(398)]=r(440),o[r(435)](t)}break;default:o[r(382)][r(410)]=r(443),o[r(382)][r(376)]=r(431),o[r(444)]=t.adType+r(405)}return o}[Wt(387)](t){const e=Wt,n=this[e(420)][e(392)](t);if(!n)throw new Error("No renderer found for ad type: "+t);return n}[Wt(390)](t,e,n,r,s){const o=Wt;this.getRenderer(n)[o(390)](t,e,r,s)}async[Wt(393)](t,n){const r=Wt;if(t.adType!==e.BANNER)return void(this.debug&&console[r(421)]("⚠️ Container optimization is only supported for BANNER ads, got: "+t[r(423)]));const s=this[r(387)](e.BANNER);await s[r(393)](t,n)}async renderAdSlider(t,e){const n=this.getRenderer(t.adType);await n.renderMultipleAds(t,e)}async renderAd(t){const e=Wt;if(!t[e(414)])throw new Error("No advertisement to render");const n=this[e(387)](t[e(423)]);await n.renderAdElement(t,t[e(414)]),t[e(426)]=!0}async[Wt(391)](t,e){const n=Wt,r=this.getRenderer(t[n(423)]);await r[n(391)](t,e)}[Wt(429)](t){const e=Wt;this[e(387)](t[e(423)])[e(429)](t)}[Wt(396)](t){const e=Wt;return this[e(387)](t)[e(417)]()}[Wt(446)](t,e,n,r){const s=Wt;return this[s(387)](e)[s(446)](t,n,r)}[Wt(373)](t){return new Promise((e,n)=>{const r=Gt,s=new Image;s[r(416)]=()=>{const t=r;e({width:s.naturalWidth,height:s[t(381)]})},s[r(412)]=()=>{n(new Error("Failed to load image: "+t))},s[r(428)]=t})}async[Wt(383)](t,n,r){const s=Wt;if(r.adType!==e[s(438)])throw new Error(s(403));const o=this[s(387)](e[s(438)]);return await o[s(383)](t,n,r)}async[Wt(406)](t,n,r){const s=Wt;if(r!==e[s(438)]){const t=this[s(387)](r);return{width:s(415),height:t[s(417)](),aspectRatio:16/9}}const o=this[s(387)](e.BANNER);return await o[s(406)](t,n)}log(t,...e){const n=Wt;this[n(378)]&&console[n(399)]("[AdRenderer] "+t,...e)}}function Xt(t,e){const n=Zt();return(Xt=function(t,e){return n[t-=467]})(t,e)}const Jt=Xt;function Zt(){const t=["NATIVE","🎠 Slider will handle VIEWABLE events for ","language","country","10208896gFKVIr","isLoaded","deviceType","containerId","values","controls","random",". Retrying in ","log","observe","getAllSlots","getAttribute","_id","status","isReady","📊 Fetched specific ad with ID: ","ensureReady","7BYLXTH","ELEMENT_NODE","getElementById","get","apiKey","loop","7037310iVRlbd","body"," removed","refresh","handleRemovedElement"," (attempt ","string","🚫 Advertisement not found with ID: ","Container not found: ","init","getSlotById","autoSlide","✅ Ad loaded for slot: ","✅ Simple viewable impression tracked for ad ","🎯 Ads module initialized (sync mode) with auto-cleanup","nodeType","length","_isReady","mutationObserver","createAdWithRetry","📊 Fetched ","list","create","interstitial","disconnect","Ad slot not found: ","native","data-adstage-slot-id","viewabilityTracker","adRenderer","auto-","60285gIWDyH","maxLines","2346cXlcSo"," (element found)","VIDEO","width","❌ Failed to load ad for slot: ","onClick","handleViewableEvent","createPlaceholder","renderAdSlider","clear","Ads module not initialized. Call AdStage.init() first.","loadAdContentInBackground","detail","playsinline","656088zMmcWF","fetchAdData","adType","setupAutoCleanup"," ads)","1jaGYHm","Auto-cleanup failed for slot ","ms... (attempt ","renderFallback","advertisements","text","BANNER","style","[data-adstage-slot-id]","slideInterval","debug","optimizeContainerForBannerAds","slots","warn","renderAdElement","autoDestroy","config","100%","renderAd","126648teuNak","innerHTML","height","destroy","getBaseUrl","auto","Failed to fetch ad data: ","createAd","Failed to refresh ad slot: "," attempts: ","API key not configured","startSimpleViewabilityTracking","querySelectorAll","🔄 Retrying viewability tracking for slot: ","error","then","🗑️ Ads module destroyed","New advertisement viewable tracked for slot:","GET","🎯 Simple viewability tracking started for slot: ","append","9bViPuO","getConfig","toString","6567460GaEyXb","refreshAdSlot","createAdInternal","undefined","json","advertisementEventTracker","5foRukU","220LJKhih","❌ Failed to find element for viewability tracking: ","substr","trackAdvertisementEvent","advertisement","forEach","_config","destroyModule","muted","adId","autoplay","delete","default","Container not found after "];return(Zt=function(){return t})()}!function(t){const e=Xt,n=t();for(;;)try{if(686031===-parseInt(e(603))/1*(parseInt(e(584))/2)+parseInt(e(582))/3+parseInt(e(479))/4*(-parseInt(e(509))/5)+parseInt(e(551))/6+-parseInt(e(545))/7*(-parseInt(e(528))/8)+-parseInt(e(500))/9*(parseInt(e(503))/10)+-parseInt(e(510))/11*(parseInt(e(598))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Zt);class Qt{constructor(){const t=Xt;this._isReady=!1,this[t(516)]=null,this.slots=new Map,this[t(508)]=null,this[t(580)]=null,this[t(569)]=null}[Jt(560)](t){const e=Jt;this._config=t,this[e(508)]=new N(J[e(483)](),t.apiKey,t[e(470)]||!1,this.slots),this[e(580)]=new Yt(t[e(470)]||!1,this[e(508)]),this[e(601)](),this[e(568)]=!0,t[e(470)]&&console.log(e(565))}[Jt(542)](){return this[Jt(568)]}[Jt(501)](){return this[Jt(516)]}banner(t,n){const r=Jt;this[r(544)]();const s={width:n?.width||r(477),height:n?.[r(481)]||r(484),autoSlide:n?.autoSlide||!1,slideInterval:n?.[r(469)]||5e3,onClick:n?.[r(589)],adId:n?.[r(519)],language:n?.language,deviceType:n?.[r(530)],country:n?.[r(527)]};return this[r(486)](t,e.BANNER,s)}[Jt(608)](t,n){const r=Jt;this[r(544)]();const s={maxLines:n?.[r(583)]||3,style:n?.[r(467)]||r(522),onClick:n?.onClick,adId:n?.[r(519)],language:n?.language,deviceType:n?.[r(530)],country:n?.country};return this.createAd(t,e.TEXT,s)}video(t,n){const r=Jt;this.ensureReady();const s={width:n?.[r(587)]||640,height:n?.[r(481)]||360,autoplay:void 0===n?.[r(520)]||n[r(520)],muted:void 0===n?.[r(518)]||n[r(518)],loop:void 0===n?.[r(550)]||n[r(550)],playsinline:!1!==n?.[r(597)],controls:void 0!==n?.controls&&n[r(533)],hideControls:n?.hideControls||!1,customControls:n?.customControls,autoSlide:!1,maxAds:1,onClick:n?.onClick,...n?.adId&&{adId:n[r(519)]}};return this[r(486)](t,e[r(586)],s)}[Jt(577)](t,n){const r=Jt;return this[r(544)](),this[r(486)](t,e[r(524)],n||{})}[Jt(574)](t,n){const r=Jt;return this[r(544)](),this[r(486)](t,e.INTERSTITIAL,n||{})}[Jt(554)](t){const e=Jt;this.ensureReady();const n=this[e(472)][e(548)](t);if(!n)throw new Error(e(576)+t);this[e(504)](n),this[e(516)]?.[e(470)]&&console.log("🔄 Ad slot refreshed: "+t)}destroy(t){const e=Jt;this[e(544)]();const n=this[e(472)][e(548)](t);if(!n)throw new Error("Ad slot not found: "+t);n[e(579)]&&n.viewabilityTracker[e(482)]();const r=document[e(547)](n[e(531)]);r&&(r[e(480)]=""),this[e(472)].delete(t),this._config?.[e(470)]&&console[e(536)]("🗑️ Ad slot destroyed: "+t)}[Jt(538)](){const t=Jt;return this.ensureReady(),Array.from(this[t(472)][t(532)]())}[Jt(561)](t){const e=Jt;return this.ensureReady(),this[e(472)][e(548)](t)||null}createAd(t,e,n){const r=Jt;if(!this._config?.[r(549)])throw new Error(r(489));const s="adstage-"+e+"-"+Date.now()+"-"+Math[r(534)]()[r(502)](36)[r(512)](2,9);return this[r(570)](t,e,n,s,0),s}async createAdWithRetry(t,e,n,r,s){const o=Jt,i=[0,50,100,200,500];let a,c=null;if(typeof t===o(557)){if(a=t,c=document[o(547)](t),!c)return s<4?(this[o(516)]?.[o(470)]&&console[o(473)](o(559)+t+o(535)+i[s+1]+o(605)+(s+1)+"/5)"),void setTimeout(()=>{this[o(570)](t,e,n,r,s+1)},i[s+1])):void console[o(493)](o(523)+5+o(488)+t)}else c=t,a=c.id||o(581)+r,!c.id&&(c.id=a);try{this[o(505)](a,e,n,r,c)}catch(t){console[o(493)]("광고 생성 중 오류 발생:",t)}}createAdInternal(t,n,r,s,o){const i=Jt;o.setAttribute(i(578),s),this[i(580)]?.[i(591)](o,s,n,r,this._config);const a={id:s,containerId:t,adType:n,width:r[i(587)]||i(477),height:r[i(481)]||(n===e.TEXT?i(484):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...r},load:async()=>this[i(599)](n,r)[i(494)](t=>t[0]||null),render:t=>this[i(580)]?.[i(474)](a,t),refresh:async()=>this[i(504)](a),destroy:()=>this[i(482)](s)};this[i(472)].set(s,a),this[i(595)](a),this[i(508)]&&this._config?.debug&&console[i(536)]("📊 Advertisement event tracking enabled for slot: "+s)}async[Jt(595)](t){const n=Jt;try{const r=await this[n(599)](t.adType,t[n(476)]);if(!r||0===r[n(567)])return void this.adRenderer?.[n(606)](t);t[n(600)]===e[n(609)]&&r[n(567)]>0&&await(this.adRenderer?.[n(471)](t,r)),r.length>1||t[n(476)]?.[n(562)]?(await(this.adRenderer?.[n(592)](t,r)),this[n(516)]?.[n(470)]&&console[n(536)](n(525)+r[n(567)]+" ads automatically")):(t[n(514)]=r[0],await(this[n(580)]?.[n(474)](t,r[0])),this[n(490)](t,r[0])),t[n(529)]=!0,this[n(516)]?.[n(470)]&&console.log(n(563)+t.id+" ("+r[n(567)]+n(602))}catch(e){console.error(n(588)+t.id,e),this[n(580)]?.[n(606)](t)}}startSimpleViewabilityTracking(t,e){const n=(r=0)=>{const s=Xt,o=document[s(547)](t.id);if(!o)return void(r<5?(setTimeout(()=>n(r+1),300),this[s(516)]?.[s(470)]&&console[s(536)](s(492)+t.id+s(556)+(r+1)+")")):console[s(473)](s(511)+t.id));const i=new j(o,async()=>{const n=s;await this[n(590)](e,t)});t[s(579)]=i,this[s(516)]?.[s(470)]&&console.log(s(498)+t.id+s(585))};n()}async handleViewableEvent(t,e){const n=Jt;try{this[n(508)]&&(await this[n(508)][n(513)](t[n(540)],e.id,a.VIEWABLE),this[n(516)]?.[n(470)]&&console[n(536)](n(564)+t[n(540)]))}catch(t){console[n(493)]("❌ Failed to track viewable impression:",t)}}async[Jt(599)](t,e){const n=Jt;if(!this[n(516)]?.[n(549)])throw new Error(n(489));if(e.adId){const t=""+J[n(607)][n(596)](e.adId),r=await fetch(t,{method:n(497),headers:z[n(573)](this[n(516)][n(549)])});if(!r.ok){if(404===r[n(541)])return console.warn(n(558)+e.adId),[];throw new Error(n(485)+r[n(541)])}const s=await r[n(507)]();return this._config?.[n(470)]&&console[n(536)](n(543)+e[n(519)],s),[s]}const r=new URLSearchParams;r[n(499)](n(600),t),e[n(526)]&&r.append(n(526),e[n(526)]),e.deviceType&&r[n(499)](n(530),e.deviceType),e[n(527)]&&r[n(499)](n(527),e[n(527)]);const s=J[n(607)][n(572)]()+"?"+r[n(502)](),o=await fetch(s,{method:n(497),headers:z[n(573)](this[n(516)][n(549)])});if(!o.ok)throw new Error(n(485)+o[n(541)]);const i=(await o.json())[n(607)]||[];return this[n(516)]?.[n(470)]&&console.log(n(571)+i[n(567)]+" ads for type: "+t+", filters:",{language:e[n(526)],deviceType:e[n(530)],country:e.country}),i}async refreshAdSlot(t){const e=Jt;try{const n=await this[e(599)](t[e(600)],t[e(476)]||{});n&&n.length>0&&(t[e(514)]=n[0],await(this.adRenderer?.[e(478)](t)),this.advertisementEventTracker&&console[e(536)](e(496),t.id))}catch(n){console[e(493)](e(487)+t.id,n)}}ensureReady(){const t=Jt;if(!this[t(568)])throw new Error(t(594))}setupAutoCleanup(){const t=Jt;typeof window!==t(506)&&typeof document!==t(506)&&(this.mutationObserver&&this[t(569)][t(575)](),this[t(569)]=new MutationObserver(e=>{const n=t;e[n(515)](t=>{const e=n;t.removedNodes[e(515)](t=>{const n=e;t[n(566)]===Node[n(546)]&&this[n(555)](t)})})}),this[t(569)][t(537)](document[t(552)],{childList:!0,subtree:!0}),this[t(516)]?.debug&&console[t(536)]("🔍 Auto-cleanup MutationObserver enabled"))}[Jt(555)](t){const e=Jt,n=t.getAttribute("data-adstage-slot-id");if(n)return void this[e(475)](n);t[e(491)](e(468)).forEach(t=>{const n=e,r=t[n(539)](n(578));r&&this.autoDestroy(r)})}[Jt(475)](t){const e=Jt;if(this[e(472)][e(548)](t))try{this.slots[e(521)](t),this[e(516)]?.[e(470)]&&console.log("🧹 Auto-cleanup: slot "+t+e(553))}catch(n){this[e(516)]?.[e(470)]&&console.warn(e(604)+t+":",n)}}[Jt(517)](){const t=Jt,e=this[t(516)]?.[t(470)];this[t(569)]&&(this.mutationObserver[t(575)](),this[t(569)]=null),this[t(472)][t(593)](),this[t(508)]=null,this.adRenderer=null,this._isReady=!1,this[t(516)]=null,e&&console[t(536)](t(495))}}var $t=te;function te(t,e){var n=ne();return(te=function(t,e){return n[t-=281]})(t,e)}!function(t){for(var e=te,n=t();;)try{if(409342===-parseInt(e(283))/1+-parseInt(e(293))/2*(-parseInt(e(282))/3)+-parseInt(e(304))/4+-parseInt(e(305))/5+-parseInt(e(296))/6*(-parseInt(e(300))/7)+parseInt(e(288))/8+parseInt(e(285))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ne);class ee{constructor(){var t=te;this._isReady=!1,this[t(310)]=null,this._organizationInfo=null}init(t){var e=te;this[e(310)]={timeout:3e4,debug:!1,modules:["ads","events","config"],...t},t[e(291)]&&J[e(299)](t[e(291)]),this[e(307)]=!0,t[e(306)]&&console[e(292)](e(294),{modules:this[e(310)][e(308)],endpoint:J.getBaseUrl(),mode:e(297)})}isReady(){return this._isReady}getConfig(){return this[te(310)]}[$t(287)](){return this[$t(309)]}getApiEndpoint(){return J[$t(302)]()}[$t(298)](){var t=$t;return this._config?.[t(306)]||!1}[$t(289)](){var t=$t;return this[t(310)]?.[t(308)]||[]}[$t(303)](t){return this.getEnabledModules().includes(t)}[$t(290)](t){var e=$t;if(!this[e(310)])throw new Error(e(286));this._config={...this._config,...t},this[e(298)]()&&console[e(292)]("🔄 Config updated",t)}[$t(295)](){var t=$t;if(!this[t(310)]?.[t(281)])throw new Error(t(284));return z[t(301)](this[t(310)][t(281)])}}function ne(){var t=["apiKey","26463KQEEVi","233872FaFiOa","API key not available","9574119unFYId","Config module not initialized","getOrganizationInfo","1543840uRrDJd","getEnabledModules","updateConfig","baseUrl","log","92mEdAQX","✅ Config module initialized (sync mode)","getApiHeaders","2033454KLCCtb","development","isDebugMode","setBaseUrl","7vEYNYS","create","getBaseUrl","isModuleEnabled","2991824nIYqXB","3051380KAZqgj","debug","_isReady","modules","_organizationInfo","_config"];return(ne=function(){return t})()}function re(t,e){const n=se();return(re=function(t,e){return n[t-=200]})(t,e)}function se(){const t=["6883025nwPbLB","2320500GFIqPY","ios","17932491Sprrqb","desktop-web","android","48yjrthk","width","SSR","getViewportInfo","web","710074oqJJPl","getPlatform","1776145iShfNZ","12YpexnR","8340264zGWEbM","height","getAppVersion","platform","tablet","500572CzPDpq","desktop","test","mobile-web","toLowerCase","isMobile","onLine","language","userAgent","0x0","getDetailedInfo","unknown","mapPlatformForEvents","ko-KR","other","isBrowser","getDeviceInfo"];return(se=function(){return t})()}const oe=re;!function(t){const e=re,n=t();for(;;)try{if(796859===parseInt(e(230))/1+-parseInt(e(221))/2*(parseInt(e(224))/3)+-parseInt(e(211))/4+parseInt(e(210))/5+parseInt(e(225))/6+parseInt(e(223))/7*(parseInt(e(216))/8)+-parseInt(e(213))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(se);class ie{static[oe(209)](){const t=oe;if(!I[t(208)]())return{category:t(207),platform:t(218),model:t(218),appVersion:A.getAppVersion(),osVersion:"SSR"};const e=navigator[t(201)][t(234)]();let n=t(231);/tablet|ipad/[t(232)](e)?n=t(229):B[t(235)]()&&(n="mobile");const r=B[t(222)]();return{category:n,platform:ie.mapPlatformForEvents(r),model:navigator[t(228)],appVersion:A[t(227)](),osVersion:navigator[t(228)]}}static[oe(205)](t){const e=oe;switch(t){case e(212):return e(212);case e(215):return e(215);case e(220):return e(233);case e(231):return e(214);default:return e(204)}}static[oe(203)](){const t=oe;if(!I[t(208)]())return{userAgent:t(218),language:t(206),platform:t(218),cookieEnabled:!1,onLine:!0,screenResolution:t(202),viewportSize:"0x0"};const e=I[t(219)]();return{userAgent:navigator.userAgent,language:navigator[t(200)]||"ko-KR",platform:navigator[t(228)],cookieEnabled:navigator.cookieEnabled,onLine:navigator[t(236)],screenResolution:screen[t(217)]+"x"+screen[t(226)],viewportSize:e[t(217)]+"x"+e[t(226)]}}}const ae=le;function ce(){const t=["263079DcBHbl","timeZone","clearUserProperties","485055KqzEOZ","resolvedOptions","14203BEeBKT","getBaseUserInfo","70tfXWxk","_userProperties","language","setUserProperties","3348608ipACvr","155GfkPif","23650099JMGKRL","split","4yaDadl","ko-KR","168HyQeKe","getCurrentUserProperties","1099971rruFmH","extractCountryFromLanguage","isBrowser","UTC","134058THCbhJ","DateTimeFormat","estimateLocation"];return(ce=function(){return t})()}!function(t){const e=le,n=t();for(;;)try{if(446907===-parseInt(e(341))/1+-parseInt(e(327))/2*(parseInt(e(338))/3)+-parseInt(e(349))/4+parseInt(e(350))/5*(parseInt(e(335))/6)+parseInt(e(343))/7*(-parseInt(e(329))/8)+parseInt(e(331))/9*(-parseInt(e(345))/10)+parseInt(e(351))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ce);class de{static getUserInfo(){const t=le;return{...de[t(344)](),...de[t(346)]}}static getBaseUserInfo(){const t=le;if(!I[t(333)]())return{language:t(328),country:"KR"};const e=navigator[t(347)]||t(328);return{language:e,country:de[t(332)](e)}}static[ae(332)](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[ae(352)]("-")[0]]||"KR"}static[ae(348)](t){de[ae(346)]={...de._userProperties,...t}}static setUserProperty(t,e){de[ae(346)][t]=e}static[ae(340)](){de[ae(346)]={}}static[ae(330)](){return{...de._userProperties}}static[ae(337)](){const t=ae;if(!I[t(333)]())return{timezone:t(334),estimatedCountry:"KR"};const e=Intl[t(336)]()[t(342)]()[t(339)];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 le(t,e){const n=ce();return(le=function(t,e){return n[t-=327]})(t,e)}de[ae(346)]={};const ue=he;function pe(){const t=["adstage_session_start","isSessionExpired","now","12MPBhtS","isBrowser","setUserId","ssr_session_","isNewSession","7272seKVHh","session_","getSessionStats","12713140DQpHUX","getSessionDuration","250ICYVEy","toString","refreshSession","adstage_session_id","getUserId","20997OiaqEo","getItem","238jzDDqT","setItem","312ZMeGQf","28691SEnuYp","2HVJPSe","8sEkgau","adstage_user_id","970SlIAdW","_sessionStartTime","random","substr","_userId","removeItem","560641uAjhJO","118308IzNnQs","getSessionId","832055xeuTmU"];return(pe=function(){return t})()}function he(t,e){const n=pe();return(he=function(t,e){return n[t-=394]})(t,e)}!function(t){const e=he,n=t();for(;;)try{if(611906===parseInt(e(395))/1*(parseInt(e(423))/2)+-parseInt(e(407))/3*(-parseInt(e(421))/4)+parseInt(e(412))/5*(-parseInt(e(396))/6)+-parseInt(e(398))/7*(parseInt(e(424))/8)+parseInt(e(417))/9*(-parseInt(e(426))/10)+parseInt(e(410))/11*(parseInt(e(402))/12)+-parseInt(e(422))/13*(-parseInt(e(419))/14))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(pe);class fe{static[ue(397)](){const t=ue;if(!I[t(403)]())return t(405)+Date[t(401)]();const e=sessionStorage[t(418)](t(415));if(e)return e;const n=t(408)+Math[t(428)]()[t(413)](36)[t(429)](2,9)+"_"+Date[t(401)]();return sessionStorage[t(420)](t(415),n),!fe._sessionStartTime&&(fe[t(427)]=Date[t(401)](),I[t(403)]()&&sessionStorage[t(420)](t(399),String(fe[t(427)]))),n}static[ue(404)](t){const e=ue;fe._userId=t,I.isBrowser()&&localStorage.setItem(e(425),t)}static[ue(416)](){const t=ue;if(fe._userId)return fe[t(430)];if(I[t(403)]()){const e=localStorage.getItem("adstage_user_id");if(e)return fe[t(430)]=e,e}}static clearUserId(){const t=ue;fe[t(430)]=void 0,I[t(403)]()&&localStorage[t(394)]("adstage_user_id")}static getSessionInfo(){const t=ue,e=fe[t(397)](),n=fe[t(416)](),r=fe[t(406)]();return{sessionId:e,userId:n,sessionDuration:fe[t(411)](),isNewSession:r}}static[ue(406)](){const t=ue;if(!I[t(403)]())return!0;const e=sessionStorage[t(418)](t(415)),n=sessionStorage.getItem(t(399));return!e||!n}static[ue(411)](){const t=ue;if(!I[t(403)]())return 0;const e=sessionStorage[t(418)](t(399));return e?Date.now()-parseInt(e,10):0}static[ue(414)](){const t=ue;return I.isBrowser()&&(sessionStorage[t(394)](t(415)),sessionStorage[t(394)]("adstage_session_start")),fe[t(427)]=void 0,fe.getSessionId()}static[ue(400)](t=24){return fe[ue(411)]()>60*t*60*1e3}static[ue(409)](){const t=ue,e=fe.getSessionId(),n=fe[t(416)](),r=fe.getSessionDuration(),s=fe[t(400)](),o=fe[t(406)]();let i;if(I[t(403)]()){const e=sessionStorage.getItem(t(399));i=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:i,duration:r,isExpired:s,isNewSession:o}}}const ge=ye;function me(){const t=["Events module not initialized. Call AdStage.init() first.","Event data:","statusText","log","34187070fLpZqI","👤 User ID set:","stringify","✅ Event tracked:","4256BsbPsM","1497519dOIEaW","getUserId","getDeviceInfo","getUserProperties","sendEventToServer","_config","236830dpuVve","setUserProperties","warn","POST","40iHKabT","5626365UEGxqp","getSessionId","📊 Events module initialized","1845Mflvhv","❌ Failed to track event:","API key not configured for event tracking.","error","application/json","track","setUserId","getUserInfo","_isReady","getConfig","3378536kbogif","create","isReady","👤 User properties set:","1804819GesKuN","6TbjaBX","debug","Event tracking failed: "];return(me=function(){return t})()}function ye(t,e){const n=me();return(ye=function(t,e){return n[t-=299]})(t,e)}!function(t){const e=ye,n=t();for(;;)try{if(912083===-parseInt(e(311))/1+parseInt(e(330))/2+parseInt(e(338))/3*(parseInt(e(323))/4)+parseInt(e(335))/5*(-parseInt(e(312))/6)+parseInt(e(307))/7+-parseInt(e(334))/8*(parseInt(e(324))/9)+parseInt(e(319))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(me);class Ie{constructor(){this._isReady=!1,this._config=null}init(t){const e=ye;this._config=t,this[e(305)]=!0,t[e(313)]&&console[e(318)](e(337))}[ge(309)](){return this._isReady}[ge(306)](){return this[ge(329)]}setUserId(t){const e=ge;fe[e(303)](t),this[e(329)]?.[e(313)]&&console[e(318)](e(320),t)}getUserId(){return fe[ge(325)]()}[ge(331)](t){const e=ge;de.setUserProperties(t),this._config?.[e(313)]&&console.log(e(310),t)}[ge(327)](){return de.getCurrentUserProperties()}async track(t,e){const n=ge;if(this[n(305)])if(this[n(329)]?.apiKey)try{const r={eventName:t,userId:fe[n(325)](),sessionId:fe[n(336)](),sdkVersion:E(),device:ie[n(326)](),user:de[n(304)](),params:e||{}};await this.sendEventToServer(r),this[n(329)][n(313)]&&console[n(318)](n(322),t,e)}catch(r){console[n(300)](n(339),r),this[n(329)].debug&&console[n(300)](n(316),{eventName:t,properties:e})}else console[n(332)](n(299));else console[n(332)](n(315))}async[ge(328)](t){const e=ge,n=await fetch(J.events[e(302)](),{method:e(333),headers:{...z[e(308)](this._config.apiKey),"Content-Type":e(301)},body:JSON[e(321)](t)});if(!n.ok)throw new Error(e(314)+n.status+" "+n[e(317)])}}const ve=we;!function(t){const e=we,n=t();for(;;)try{if(617436===-parseInt(e(512))/1*(-parseInt(e(495))/2)+parseInt(e(516))/3*(-parseInt(e(530))/4)+-parseInt(e(527))/5*(-parseInt(e(506))/6)+parseInt(e(529))/7+parseInt(e(514))/8*(parseInt(e(523))/9)+parseInt(e(497))/10*(-parseInt(e(511))/11)+parseInt(e(528))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ke);class be{constructor(){const t=we;this[t(496)]=!1,this[t(499)]=null,this[t(500)]=new ee,this[t(518)]=new Qt,this[t(508)]=new Ie}static[ve(532)](t){const e=ve;!be.instance&&(be[e(505)]=new be);const n=be[e(505)];if(!t[e(501)])throw new Error(e(534));n[e(499)]={timeout:3e4,debug:!1,modules:[e(518),e(508),e(500)],...t},n[e(499)][e(526)]&&(J[e(507)](n._config[e(526)]),t.debug&&console[e(510)](e(521),n[e(499)].baseUrl));const r=n[e(499)][e(524)]||[e(518),e(508),e(500)];for(const t of r){const r=n[t];r&&typeof r[e(532)]===e(515)&&r[e(532)](n[e(499)])}n[e(496)]=!0,t[e(525)]&&console[e(510)]("🚀 AdStage SDK initialized (sync mode)",{version:"2.0.0",modules:r,apiKey:t[e(501)][e(522)](0,8)+e(502),mode:"development"})}static[ve(517)](){return be.instance?._isInitialized||!1}static[ve(503)](){const t=ve;return be[t(505)]?.[t(499)]||null}static getInstance(){const t=ve;if(!be[t(505)])throw new Error(t(509));return be[t(505)]}static get ads(){const t=ve;return be[t(533)]()[t(518)]}static get events(){const t=ve;return be[t(533)]()[t(508)]}static get[ve(500)](){return be[ve(533)]().config}static[ve(531)](){const t=ve;be[t(505)]&&(be[t(505)][t(496)]=!1,be[t(505)][t(499)]=null)}}function we(t,e){const n=ke();return(we=function(t,e){return n[t-=495]})(t,e)}function ke(){const t=["✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","🌐 API endpoint configured:","substring","8523CenLvZ","modules","debug","baseUrl","148125LIYSbR","291804frpRBq","6293910PMozze","766052smAnFD","reset","init","getInstance","API key is required for AdStage initialization","137882QUtvGF","_isInitialized","12630RmNkRH","size","_config","config","apiKey","...","getConfig","📊 AdStage Debug: 현재 viewable 추적 상태","instance","66XSDMMP","setBaseUrl","events","AdStage not initialized. Call AdStage.init() first.","log","4851FWhIlK","2YJnKdv",")의 viewable 추적 초기화됨","3056jbRDGL","function","9dTBQLA","isReady","ads","from"];return(ke=function(){return t})()}function Ee(t,e){var n=Se();return(Ee=function(t,e){return n[t-=352]})(t,e)}function Se(){var t=["events","937783QPllFJ","2rBSYVQ","AdStage not initialized. Call AdStage.init() first.","768jwgnfX","954488RNmAPQ","327111RpUWxo","getUserId","68844sALvrP","253ugZUiV","isReady","track","warn","resolve","19926nukEld","25WyjOmx","7176673aEpLvn","setUserId","179980WPBkzX","getUserProperties"];return(Se=function(){return t})()}be[ve(525)]={clearAllViewable:()=>{const t=ve;pt.clear(),console[t(510)](t(520))},clearAdViewable:(t,e)=>{const n=ve;pt.clearAdViewable(t,e),console[n(510)]("✅ AdStage Debug: 광고 "+t+"("+e+n(513))},getViewableStatus:()=>{const t=ve;console.log(t(504),{trackedCount:pt.viewableTracker[t(498)],trackedItems:Array[t(519)](pt.viewableTracker)})}},function(t){for(var e=Ee,n=t();;)try{if(579155===-parseInt(e(369))/1*(parseInt(e(370))/2)+parseInt(e(354))/3+parseInt(e(353))/4+parseInt(e(363))/5*(-parseInt(e(356))/6)+parseInt(e(364))/7+-parseInt(e(352))/8*(parseInt(e(362))/9)+-parseInt(e(366))/10*(-parseInt(e(357))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Se);var xe,Ae={exports:{}},Ce={},Te={exports:{}},Re={};Te.exports=function(){if(xe)return Re;xe=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 S(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var x=/\/+/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(x,"$&/")+"/"),C(i,r,s,"",function(t){return t})):null!=i&&(S(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(x,"$&/")+"/")+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 _={current:null},B={transition:null},P={ReactCurrentDispatcher:_,ReactCurrentBatchConfig:B,ReactCurrentOwner:w};function L(){throw Error("act(...) is not supported in production builds of React.")}return Re.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(!S(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},Re.Component=g,Re.Fragment=n,Re.Profiler=s,Re.PureComponent=y,Re.StrictMode=r,Re.Suspense=c,Re.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,Re.act=L,Re.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}},Re.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},Re.createElement=E,Re.createFactory=function(t){var e=E.bind(null,t);return e.type=t,e},Re.createRef=function(){return{current:null}},Re.forwardRef=function(t){return{$$typeof:a,render:t}},Re.isValidElement=S,Re.lazy=function(t){return{$$typeof:l,_payload:{_status:-1,_result:t},_init:R}},Re.memo=function(t,e){return{$$typeof:d,type:t,compare:void 0===e?null:e}},Re.startTransition=function(t){var e=B.transition;B.transition={};try{t()}finally{B.transition=e}},Re.unstable_act=L,Re.useCallback=function(t,e){return _.current.useCallback(t,e)},Re.useContext=function(t){return _.current.useContext(t)},Re.useDebugValue=function(){},Re.useDeferredValue=function(t){return _.current.useDeferredValue(t)},Re.useEffect=function(t,e){return _.current.useEffect(t,e)},Re.useId=function(){return _.current.useId()},Re.useImperativeHandle=function(t,e,n){return _.current.useImperativeHandle(t,e,n)},Re.useInsertionEffect=function(t,e){return _.current.useInsertionEffect(t,e)},Re.useLayoutEffect=function(t,e){return _.current.useLayoutEffect(t,e)},Re.useMemo=function(t,e){return _.current.useMemo(t,e)},Re.useReducer=function(t,e,n){return _.current.useReducer(t,e,n)},Re.useRef=function(t){return _.current.useRef(t)},Re.useState=function(t){return _.current.useState(t)},Re.useSyncExternalStore=function(t,e,n){return _.current.useSyncExternalStore(t,e,n)},Re.useTransition=function(){return _.current.useTransition()},Re.version="18.3.1",Re}();var _e,Be=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,s,r,o,i,a,c,l,d,u,p;function h(){var t=["416667SlcSow","NATIVE","7839eszfRD","658389kpZdzO","3988vylVUW","WEB","1270yybPQo","14MoPHoR","DESKTOP","CLICK","INTERSTITIAL","MOBILE","3353031gCfsJl","VIEWABLE","1188570jGrnqQ","TABLET","168396kXbPOh","BANNER","2iaisfD","1416LKhFQG"];return(h=function(){return t})()}function f(t,e){var n=h();return(f=function(t,e){return n[t-=151]})(t,e)}!function(t){for(var e=f,n=t();;)try{if(376475===parseInt(e(155))/1*(parseInt(e(170))/2)+-parseInt(e(152))/3+parseInt(e(156))/4*(parseInt(e(158))/5)+-parseInt(e(168))/6*(parseInt(e(159))/7)+-parseInt(e(151))/8*(parseInt(e(154))/9)+parseInt(e(166))/10+-parseInt(e(164))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(h),(n=e||(e={}))[(s=f)(169)]="BANNER",n.POPUP="POPUP",n[s(162)]=s(162),n[s(153)]="NATIVE",n.VIDEO="VIDEO",n.TEXT="TEXT",(o=r||(r={}))[(i=f)(157)]=i(157),o[i(163)]=i(163),c=a||(a={}),l=f,c.VIEWABLE=l(165),c[l(161)]=l(161),u=d||(d={}),p=f,u.DESKTOP=p(160),u[p(163)]=p(163),u.TABLET=p(167);const g=y;!function(t){const e=y,n=t();for(;;)try{if(960136===-parseInt(e(388))/1*(parseInt(e(354))/2)+parseInt(e(408))/3*(-parseInt(e(385))/4)+parseInt(e(381))/5+parseInt(e(356))/6+-parseInt(e(402))/7+-parseInt(e(367))/8*(parseInt(e(387))/9)+parseInt(e(410))/10*(parseInt(e(351))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(I);class m{static isBrowser(){return typeof window!==y(396)&&"undefined"!=typeof document}static[g(342)](){return!this[g(383)]()}static canUseDOM(){const t=g;return this[t(383)]()&&void 0!==document[t(344)]}static safeGetElementById(t){return this[g(398)]()?document.getElementById(t):null}static[g(415)](t){const e=g;return this[e(398)]()?document[e(369)](t):null}static[g(378)](t){const e=g;return this.canUseDOM()?Array.from(document[e(363)](t)):[]}static[g(364)](t){const e=g;return this.canUseDOM()?document[e(374)](t):null}static[g(360)](t,e,n,s){const r=g;this[r(398)]()&&t&&t[r(404)](e,n,s)}static[g(358)](t,e,n,s){this[g(398)]()&&t&&t.removeEventListener(e,n,s)}static[g(349)](t,e){return this[g(383)]()?window[t]??e:e}static[g(366)](t,e){return this[g(398)]()?document[t]??e:e}static[g(370)](t,e,n){const s=g;return this.isBrowser()?window[s(390)](t,e,n):null}static[g(365)](t){const e=g;return this[e(383)]()&&t?window[e(411)](t):null}static[g(357)](){const t=g;return!!this[t(398)]()&&document[t(344)]!==t(368)}static[g(384)](){return new Promise(t=>{const e=y;this[e(398)]()?this[e(357)]()?t():this.safeAddEventListener(document,e(352),()=>t()):t()})}static[g(413)](t,e){const n=g;this.canUseDOM()&&t&&Object.entries(e)[n(407)](([e,s])=>{t[n(392)].setProperty(e,s)})}static[g(359)](t,e){const n=g;this[n(398)]()&&t&&t.classList[n(403)](e)}static[g(362)](t,e){const n=g;this[n(398)]()&&t&&t[n(372)].remove(e)}static[g(406)](t,e){const n=g;this.canUseDOM()&&t&&(t[n(397)]=e)}static[g(389)](t,e){const n=g;this.canUseDOM()&&t&&(t[n(350)]=e)}static safeAppendChild(t,e){this[g(398)]()&&t&&e&&t.appendChild(e)}static[g(346)](t,e){const n=g;this[n(398)]()&&t&&e&&t[n(353)](e)}static[g(345)](){const t=g;return{url:this[t(349)]("location",{href:""})[t(343)],title:this[t(366)](t(377),""),referrer:this[t(366)](t(391),"")}}static[g(361)](){const t=g;return{width:this.getWindowProperty("innerWidth",0),height:this[t(349)](t(355),0),pixelRatio:this.getWindowProperty(t(399),1)}}static getScrollInfo(){const t=g;return{scrollTop:this.canUseDOM()?window[t(414)]||document[t(348)][t(405)]:0,scrollLeft:this[t(349)](t(380),0)}}static async[g(401)](t,e={}){const n=g,{timeout:s=3e3,retryInterval:r=100,debug:o=!1}=e;if(!this[n(398)]())throw new Error(n(376));const i=document.getElementById(t);return i?(o&&console[n(373)](n(347)+t),i):(o&&console[n(373)](n(412)+t+n(394)+s+n(395)),new Promise((e,i)=>{const a=n;let c=0;const l=Math[a(371)](s/r),d=()=>{const n=a;c++;const u=document[n(375)](t);if(u)return o&&console.log("✅ 컨테이너 발견: "+t+" ("+c+n(409)+c*r+n(400)),void e(u);if(c>=l){const e='❌ 컨테이너를 찾을 수 없습니다: "'+t+'"\n \n다음을 확인해보세요:\n1. HTML에 id="'+t+'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: '+s+n(393)+c+"번 시도)";return o&&console.error(e),void i(new Error(e))}o&&c%10==0&&console[n(373)](n(382)+t+" ("+c+"/"+l+")");const p=Math[n(379)](r*Math.pow(1.2,c),500);setTimeout(d,p)};setTimeout(d,r)}))}static async waitForElements(t,e={}){const n=g,s=t.map(t=>this[n(401)](t,e));return Promise[n(386)](s)}}function y(t,e){const n=I();return(y=function(t,e){return n[t-=342]})(t,e)}function I(){const t=["classList","log","createElement","getElementById","DOM을 사용할 수 없는 환경입니다.","title","safeQuerySelectorAll","min","pageXOffset","6175800LxsoId","⏳ 컨테이너 대기 중: ","isBrowser","waitForDOM","3909784kmzHMH","all","50751lvjlNR","3PTzLsc","safeSetInnerHTML","open","referrer","style","ms ("," (최대 ","ms)","undefined","textContent","canUseDOM","devicePixelRatio","ms 경과)","waitForElement","871766ENnBZZ","add","addEventListener","scrollTop","safeSetTextContent","forEach","3UYvwTZ","번째 시도, ","120FclBlC","getComputedStyle","⏳ 컨테이너 대기 시작: ","safeApplyStyles","pageYOffset","safeQuerySelector","isSSR","href","readyState","getPageInfo","safeRemoveChild","✅ 컨테이너 즉시 발견: ","documentElement","getWindowProperty","innerHTML","2140061jPogWj","DOMContentLoaded","removeChild","875690aNFfLG","innerHeight","5432928ttoaFq","isDOMReady","safeRemoveEventListener","safeAddClass","safeAddEventListener","getViewportInfo","safeRemoveClass","querySelectorAll","safeCreateElement","safeGetComputedStyle","getDocumentProperty","1560TDlZSR","loading","querySelector","safeWindowOpen","ceil"];return(I=function(){return t})()}const v=b;function b(t,e){const n=k();return(b=function(t,e){return n[t-=329]})(t,e)}!function(t){const e=b,n=t();for(;;)try{if(189663===parseInt(e(339))/1*(parseInt(e(336))/2)+parseInt(e(338))/3+parseInt(e(340))/4*(parseInt(e(341))/5)+parseInt(e(333))/6+-parseInt(e(342))/7+parseInt(e(334))/8+-parseInt(e(329))/9*(parseInt(e(335))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(k);const w=v(331);function E(){return w}function k(){const t=["1887896GbZBGB","3735370nBeJVK","6284LLnBTC"," AdStageSDK/","289440MOgAGf","11UPsECX","2164JclQRE","3105comeBm","2073680myDARR","9gAIMgW","userAgent",'"3.0.3"',"AdStageSDK/","938700DYthmj"];return(k=function(){return t})()}function x(t,e){const n=S();return(x=function(t,e){return n[t-=150]})(t,e)}function S(){const t=["5941745aIcXvr","isDebugMode","20Mzirjf","38073310eHyFfY","getTimeout","ads","1.0.0","debug","3hCLYcI","getAppVersion","2937192AIvSln","config","3jadEJE","352521UZyNOe","subtle","appVersion","41982AcsuiB","getEnabledModules","getConfig","getPlaceholderMode","events","243162RyivNx","apiKey","5629892vURKgC","modules","1673eZDufV","timeout"];return(S=function(){return t})()}const A=x;!function(t){const e=x,n=t();for(;;)try{if(882827===-parseInt(e(174))/1*(-parseInt(e(160))/2)+parseInt(e(151))/3*(parseInt(e(162))/4)+parseInt(e(166))/5+parseInt(e(155))/6*(parseInt(e(164))/7)+-parseInt(e(176))/8+-parseInt(e(152))/9*(-parseInt(e(168))/10)+-parseInt(e(169))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(S);class C{static[A(157)](){const t=A;try{const{AdStage:e}=require("../core/adstage");return e[t(157)]()}catch{return null}}static[A(175)](){const t=A,e=C[t(157)]();return e?.[t(154)]||t(172)}static[A(167)](){const t=A,e=C.getConfig();return e?.[t(173)]||!1}static getApiKey(){const t=A,e=C[t(157)]();return e?.[t(161)]}static[A(170)](){const t=A,e=C.getConfig();return e?.[t(165)]||3e4}static[A(158)](){const t=A,e=C[t(157)]();return e?.placeholderMode||t(153)}static[A(156)](){const t=A,e=C[t(157)]();return e?.[t(163)]||[t(171),t(159),t(150)]}}function T(t,e){const n=_();return(T=function(t,e){return n[t-=252]})(t,e)}const R=T;function _(){const t=["getBoundingClientRect","isBrowser","android","pixelRatio","web","adstage_session_id","ssr_device_","16LVPPQb","width","random","generateSessionId","collectDeviceInfo","2950209hLAPDX","unknown","connection","timeZone","2268563GChRHV","scrollTop","substr","effectiveType","12kMttpA","platform","adstage_device_id","toLowerCase","getSlotPosition","session_","getPlatform","getViewportInfo","toString","UTC","top","resolvedOptions","safeGetElementById","setItem","desktop","isMobile","height","720639AFUaSP","device_","32GqrLxT","colorDepth","SSR","generateDeviceId","DateTimeFormat","userAgent","getItem","12ALAzxp","round","42958CLCjUJ","4158000FAkPdr","now",",y:","20AXBKgc","test","1219910vbCFKX","2373595JPdoqw"];return(_=function(){return t})()}!function(t){const e=T,n=t();for(;;)try{if(587240===parseInt(e(276))/1*(parseInt(e(267))/2)+parseInt(e(296))/3+-parseInt(e(274))/4*(parseInt(e(282))/5)+parseInt(e(277))/6+parseInt(e(283))/7*(-parseInt(e(291))/8)+-parseInt(e(265))/9*(parseInt(e(280))/10)+-parseInt(e(300))/11*(parseInt(e(304))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class D{static[R(270)](){const t=R;if(!m[t(285)]())return t(290)+Date.now();const e=localStorage[t(273)](t(306));if(e)return e;const n=t(266)+Math[t(293)]()[t(256)](36)[t(302)](2,9)+"_"+Date[t(278)]();return localStorage[t(261)](t(306),n),n}static generateSessionId(){const t=R;if(!m[t(285)]())return"ssr_session_"+Date[t(278)]();const e=sessionStorage.getItem(t(289));if(e)return e;const n=t(253)+Math[t(293)]()[t(256)](36).substr(2,9)+"_"+Date[t(278)]();return sessionStorage.setItem("adstage_session_id",n),n}static[R(263)](){const t=R;return!!m[t(285)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(281)](navigator[t(272)])}static[R(254)](){const t=R;if(!m[t(285)]())return t(288);const e=navigator[t(272)][t(307)]();return/iphone|ipad|ipod/[t(281)](e)?"ios":/android/.test(e)?t(286):D[t(263)]()?t(288):t(262)}static[R(295)](){const t=R,e=m[t(255)]();return{deviceId:D[t(270)](),sessionId:D[t(294)](),osVersion:m[t(285)]()?navigator[t(305)]:t(269),deviceModel:m[t(285)]()?navigator.platform:"SSR",appVersion:C.getAppVersion(),sdkVersion:E(),language:m.isBrowser()&&navigator.language||"ko",country:"KR",ipAddress:"",userAgent:m[t(285)]()?navigator[t(272)]:t(269),timezone:m[t(285)]()?Intl[t(271)]()[t(259)]()[t(299)]:t(257),viewportWidth:e[t(292)],viewportHeight:e.height,screenWidth:m[t(285)]()?screen[t(292)]:0,screenHeight:m[t(285)]()?screen[t(264)]:0,colorDepth:m[t(285)]()?screen[t(268)]:24,pixelRatio:e[t(287)],connectionType:m[t(285)]()&&navigator[t(298)]?.[t(303)]||t(297),platform:D[t(254)]()}}static[R(252)](t){const e=R,n=m[e(260)](t);if(!n)return"unknown";const s=n[e(284)](),r=m.getScrollInfo();return"x:"+Math[e(275)](s.left)+e(279)+Math[e(275)](s[e(258)]+r[e(301)])}}const L=U;function P(){const t=["application/json","10CInGNC","User-Agent","14saqnmh","136708bLjGrF","806444cvzkEN","3rGoeDJ","userAgent","7LpdYOu","87848iEwWEg","827725ehMYBF","undefined","6txjgjr","2004yLTKHP","3597DJZwmN","create","547299UtjeEN","2333669LEXgdM","createForEvents","1ysrEwH"];return(P=function(){return t})()}function U(t,e){const n=P();return(U=function(t,e){return n[t-=169]})(t,e)}!function(t){const e=U,n=t();for(;;)try{if(102106===-parseInt(e(179))/1*(parseInt(e(184))/2)+parseInt(e(186))/3*(parseInt(e(185))/4)+-parseInt(e(170))/5*(-parseInt(e(172))/6)+-parseInt(e(188))/7*(parseInt(e(169))/8)+parseInt(e(176))/9*(-parseInt(e(181))/10)+-parseInt(e(174))/11*(-parseInt(e(173))/12)+parseInt(e(177))/13*(-parseInt(e(183))/14))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(P);class B{static[L(175)](t,e){const n=L;if(!t)throw new Error("API key is required");const s={"x-api-key":t,"Content-Type":e?.contentType||n(180)};return typeof navigator!==n(171)&&(s[n(182)]=e?.[n(187)]||navigator.userAgent),s}static[L(178)](t,e){const n=L,s=B.create(t);return e?.userAgent&&(s["User-Agent"]=e[n(187)]),s}}function M(t,e){const n=z();return(M=function(t,e){return n[t-=200]})(t,e)}const N=M;function z(){const t=["text","error","NOT_SET"," in slot ","getPageInfo","url","10eqEYKe","baseUrl","string","678rezmVQ","parseNumericValue","replace","height","4712355ikPGYb","VIEWABLE","trackAdvertisementEvent","✅ Successfully tracked advertisement event: "," for ad ","4986904yXCaQo","8001vymcYt","BANNER","sessionId","createForEvents","/advertisements/events/","...","collectDeviceInfo","119KGPFXC","POST","429582FfWnRj","6644871IYInVR","🚀 AdvertisementEventTracker: Processing ","slots","log","statusText","debug","📡 API Response Status: ","540819YBfwEZ","length","get"," event for ad ","adType","getSlotPosition","number","❌ Failed to track advertisement event:","status","stringify","now","🔍 Debug info:","platform","6181200ShBtKK","apiKey"];return(z=function(){return t})()}!function(t){const e=M,n=t();for(;;)try{if(643085===parseInt(e(239))/1+parseInt(e(212))/2*(-parseInt(e(222))/3)+parseInt(e(221))/4+parseInt(e(216))/5+-parseInt(e(231))/6*(parseInt(e(229))/7)+parseInt(e(201))/8+parseInt(e(232))/9*(-parseInt(e(209))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(z);class O{constructor(t,e,n,s){const r=M;this[r(210)]=t,this[r(202)]=e,this[r(237)]=n,this[r(234)]=s}async[N(218)](t,e,n){const s=N;try{this[s(237)]&&console[s(235)](s(233)+n+s(242)+t+s(206)+e);const r=this[s(234)][s(241)](e),o=D[s(228)](),i={adType:r?.[s(243)]||s(223),platform:o[s(200)],deviceId:o.deviceId,deviceInfo:o,pageUrl:m.getPageInfo()[s(208)],pageTitle:m.getPageInfo().title,referrer:m[s(207)]().referrer,slotId:e,slotPosition:D[s(244)](r?.containerId||""),slotWidth:O[s(213)](r?.width),slotHeight:O.parseNumericValue(r?.[s(215)]),sessionId:o[s(224)],pageLoadTime:performance.now(),metadata:{eventType:n,sdkVersion:E(),timestamp:Date[s(249)]()},...n===a[s(217)]&&{isViewable:!0,iabCompliant:!0}},c=this.baseUrl+s(226)+t+"/"+n,l=B[s(225)](this[s(202)],i);this[s(237)]&&(console.log("🚀 Sending advertisement event: "+n+s(220)+t,{url:c,headers:l,eventData:i}),console[s(235)]("🌐 Full API call details:",{method:s(230),url:c,hasApiKey:!!this[s(202)],bodySize:JSON[s(248)](i)[s(240)]}));const d=await fetch(c,{method:s(230),headers:l,body:JSON[s(248)](i)});if(this[s(237)]&&console[s(235)](s(238)+d[s(247)]+" "+d[s(236)],{url:c,ok:d.ok}),!d.ok){const t=await d[s(203)]();throw new Error("API request failed: "+d[s(247)]+" "+d.statusText+" - "+t)}this.debug&&console[s(235)](s(219)+n+s(220)+t)}catch(r){console[s(204)](s(246),r),console[s(204)](s(250),{baseUrl:this[s(210)],apiKey:this.apiKey?this.apiKey.substring(0,8)+s(227):s(205),url:this.baseUrl+"/advertisements/events/"+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[N(213)](t){const e=N;if(typeof t===e(245))return t;if(typeof t===e(211)){const n=parseFloat(t[e(214)](/px$/,""));return isNaN(n)?0:n}return 0}}var V=j;function F(){var t=["17005RXMlGI","observer","warn","onViewableCallback","initIntersectionObserver","78PEInAH","5355UIVPrW","observe","446hwgRqh","disconnect","intersectionRatio","isViewableTriggered","handleIntersection","97405VipoQN","IntersectionObserver","2160LxYRCy","hidden","0px","3HDJSjb","visibilityState","1341560lQxOqD","forEach","visible","1344211FsLDfF","544899XqSYWQ","IntersectionObserver not supported, viewability tracking disabled","element","isDocumentVisible","4wiroKk"];return(F=function(){return t})()}function j(t,e){var n=F();return(j=function(t,e){return n[t-=233]})(t,e)}!function(t){for(var e=j,n=t();;)try{if(100515===-parseInt(e(235))/1*(-parseInt(e(254))/2)+-parseInt(e(241))/3*(-parseInt(e(245))/4)+parseInt(e(246))/5+-parseInt(e(251))/6*(parseInt(e(259))/7)+-parseInt(e(261))/8*(parseInt(e(252))/9)+parseInt(e(237))/10+parseInt(e(240))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(F);class H{constructor(t,e){var n=j;this.observer=null,this[n(257)]=!1,this[n(243)]=t,this.onViewableCallback=e,this[n(250)]()}[V(250)](){var t=V;t(260)in window?(this[t(247)]=new IntersectionObserver(e=>this[t(258)](e),{threshold:.5,rootMargin:t(234)}),this[t(247)][t(253)](this[t(243)])):console[t(248)](t(242))}[V(258)](t){var e=V;t[e(238)](t=>{var n=e;t[n(256)]>=.5&&this[n(244)]()&&!this.isViewableTriggered&&(this[n(257)]=!0,this[n(249)]&&this[n(249)]())})}isDocumentVisible(){var t=V;return!document[t(233)]&&document[t(236)]===t(239)}destroy(){var t=V;this[t(247)]&&(this.observer[t(255)](),this[t(247)]=null)}}const K=W;!function(t){const e=W,n=t();for(;;)try{if(850173===parseInt(e(167))/1+parseInt(e(162))/2+parseInt(e(170))/3*(parseInt(e(171))/4)+-parseInt(e(161))/5*(parseInt(e(172))/6)+parseInt(e(164))/7+parseInt(e(169))/8+-parseInt(e(177))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y);const X={production:"https://api.adstage.io",beta:K(168)};function W(t,e){const n=Y();return(W=function(t,e){return n[t-=160]})(t,e)}function Y(){const t=["production","32085135iQlydf","list","55XBcghs","2768340MpRogP","events","4563867zJHgjC","/advertisements","/events/track","72398yzVvVJ","https://beta-api.adstage.app","12515960KSgzyK","112071wiRAwL","116lpzlFA","186114MTzZgW","track","advertisements","baseUrl"];return(Y=function(){return t})()}K(176);const G={advertisements:{list:"/advertisements/list",detail:K(165),events:"/advertisements/events"},events:{track:K(166)}};const J=new class{constructor(t){const e=K;this[e(174)]={list:()=>""+this[e(175)]+G[e(174)][e(160)],detail:t=>""+this[e(175)]+G[e(174)].detail+"/"+t,events:(t,n)=>""+this.baseUrl+G[e(174)].events+"/"+t+"/"+n},this[e(163)]={track:()=>""+this[e(175)]+G.events[e(173)]},this.baseUrl=t||X[e(176)]}setBaseUrl(t){this[K(175)]=t}getBaseUrl(){return this.baseUrl}custom(t){return""+this[K(175)]+(t.startsWith("/")?t:"/"+t)}};var q=Z;function Q(){var t=["18211524HRqMhb","30SOvNfz","trackSlideViewable","28lJCXAD","_id","🎯 Triggering initial VIEWABLE event: ad ","🎯 Triggering VIEWABLE event for slide change: ad ","198jfPFOi","395448DRcmAb","181531iGsFTo"," (index: ","5584227VLemqd","14bFdPud","1919020fOJAyW","trackInitialSlideViewable","504153GDoqQH","log","VIEWABLE","155913nKwFpS","232uqkQmN",") in slot: "];return(Q=function(){return t})()}function Z(t,e){var n=Q();return(Z=function(t,e){return n[t-=453]})(t,e)}!function(t){for(var e=Z,n=t();;)try{if(855327===-parseInt(e(471))/1*(parseInt(e(465))/2)+-parseInt(e(461))/3*(parseInt(e(456))/4)+parseInt(e(466))/5+-parseInt(e(460))/6*(-parseInt(e(462))/7)+-parseInt(e(472))/8*(-parseInt(e(468))/9)+-parseInt(e(454))/10*(-parseInt(e(464))/11)+-parseInt(e(453))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Q);class ${static[q(455)](t,e,n,s,r=!1){var o=q;r&&console[o(469)](o(459)+t[o(457)]+o(463)+n+o(473)+e.id),s(t[o(457)],e.id,a[o(470)])}static[q(467)](t,e,n,s=!1){var r=q;s&&console[r(469)](r(458)+t[r(457)]+" (index: 0) in slot: "+e.id),n(t._id,e.id,a[r(470)])}}function tt(){const t=["446296MrFslS","forEach","🔗 ","preventDefault","3722702xliHfk","addClickEventForRenderer","cursor","style"," -> ","7872024MblAAL","addClickEventsBatch","pointer","click"," ad clicked: ","addClickEvent","906wDKnRw","13622751NBMDnR","addEventListener","10gXWeyj","28637wxNbss","adType","addClickEventForSlider","toLowerCase","CLICK","_id","22416850xfpuED","3114681AOLmvi","1viXtHV","isClickable","_blank","open","linkUrl","log"];return(tt=function(){return t})()}const et=nt;function nt(t,e){const n=tt();return(nt=function(t,e){return n[t-=145]})(t,e)}!function(t){const e=nt,n=t();for(;;)try{if(961760===parseInt(e(153))/1*(parseInt(e(163))/2)+-parseInt(e(152))/3+parseInt(e(159))/4*(-parseInt(e(177))/5)+-parseInt(e(174))/6*(-parseInt(e(145))/7)+-parseInt(e(168))/8+-parseInt(e(175))/9+parseInt(e(151))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(tt);class st{static[et(173)](t,e,n,s,r=!1,o){const i=et;e[i(157)]&&(t[i(166)][i(165)]="pointer",t[i(176)]("click",t=>{const c=i;if(t[c(162)](),t.stopPropagation(),s&&s(e._id,n.id,a[c(149)]),window[c(156)](e.linkUrl,c(155)),r){const t=o||String(n[c(146)])[c(148)]();console.log(c(161)+t+c(172)+e[c(150)]+" -> "+e[c(157)])}}))}static[et(164)](t,e,n,s,r=!1,o){const i=et;e.linkUrl&&(t[i(166)].cursor=i(170),t.addEventListener(i(171),t=>{const c=i;t.preventDefault(),t.stopPropagation();if(s()(e._id,n.id,a[c(149)]),window[c(156)](e[c(157)],"_blank"),r){const t=o||String(n[c(146)])[c(148)]();console[c(158)](c(161)+t+c(172)+e[c(150)]+c(167)+e[c(157)])}}))}static[et(147)](t,e,n,s,r=!1,o){this[et(173)](t,e,n,s,r,o)}static[et(154)](t){return Boolean(t[et(157)])}static[et(169)](t,e,n,s,r=!1,o){t[et(160)]((t,i)=>{const a=e[i];a&&this.addClickEvent(t,a,n,s,r,o)})}}const rt=it;function ot(){const t=["getBoundingClientRect","color","Text Ad","trackSlideViewable","src","className","querySelectorAll","translateX(-","white","100px","whiteSpace","adstage-ad adstage-","changedTouches","0.7","backgroundColor","width","transform","BANNER","#666666","opacity","click","flex","removeChild","textContent","appendChild","adstage-dot","40yvtmFa","overflow","borderColor","touches","#cccccc","8mgpdCw","auto","adstage-dots","forEach","img","height","string","data-adstage-ad-id","Video Ad","5ucNAnx","2844QveJdv","remove","length","3002734mQikPJ","cssText","body","display","#f9f9f9","autoSlideInterval","fontSize","inline-block","style","normal","background","305691VaFsnC","createSimpleAdElement","3378378KmVmZb","createElement","every","\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 ","entries","center","abs","classList","border","adstage-slide-container","3039201doqAYP","videoUrl","0.9","cover","addTouchSupport","createSliderContainer",".adstage-dot","video","hidden","transform 0.4s ease-out","55396iZBunQ","50px","none","adType","imageUrl","block","add","includes","children","293nbMqnH","transition","padding","div","clientX","100%","mouseenter"," Ad","createMinimalDotIndicator","803016mJbljv","active","#f0f0f0","touchmove","setAttribute","1px solid #666","transparent","setProperty","toLowerCase","addEventListener","1px dashed #ccc","mouseleave","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","8px","touchstart"];return(ot=function(){return t})()}function it(t,e){const n=ot();return(it=function(t,e){return n[t-=356]})(t,e)}!function(t){const e=it,n=t();for(;;)try{if(316403===-parseInt(e(384))/1*(parseInt(e(449))/2)+-parseInt(e(463))/3+parseInt(e(393))/4+-parseInt(e(448))/5*(-parseInt(e(465))/6)+-parseInt(e(452))/7*(-parseInt(e(439))/8)+-parseInt(e(365))/9+parseInt(e(434))/10*(-parseInt(e(375))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ot);class at{static[rt(464)](t,n){const s=rt,r=document.createElement("div");switch(r.className=s(419)+String(t.adType).toLowerCase(),r[s(397)](s(446),n._id),r[s(397)]("data-adstage-slot-id",t.id),r.style[s(455)]=s(380),r[s(460)].width=s(389),r[s(460)][s(444)]=s(440),t.adType){case e[s(425)]:if(n[s(379)]){const t=document.createElement(s(443));t.src=n.imageUrl,t[s(460)][s(423)]=s(389),t[s(460)][s(444)]=s(440),t[s(460)].objectFit=s(368),r[s(432)](t)}else r[s(460)][s(444)]=s(417),r[s(460)][s(422)]=s(395),r[s(460)][s(363)]="1px dashed #ccc",r[s(431)]="Banner Ad";break;case e.VIDEO:if(n.videoUrl){const t=document.createElement(s(372));t[s(412)]=n[s(366)],t[s(460)][s(423)]="100%",t[s(460)][s(444)]=s(440),r[s(432)](t)}else r.style[s(444)]="200px",r[s(460)][s(422)]="#000",r[s(460)][s(363)]=s(398),r[s(431)]=s(447),r.style[s(409)]=s(416);break;case e.TEXT:if(n[s(431)]){const t=document.createElement(s(387));t[s(431)]=n.textContent||"",t[s(460)][s(386)]=s(406),t[s(460)][s(458)]="14px",r.appendChild(t)}else r[s(460)][s(444)]=s(376),r[s(460)][s(386)]=s(406),r[s(431)]=s(410);break;default:r[s(460)][s(444)]=s(417),r.style[s(363)]=s(403),r[s(460)][s(422)]=s(456),r[s(431)]=t.adType+s(391)}return r}static[rt(370)](t,n,s,r,o=!1){const i=rt,a=document[i(356)]("div");a[i(413)]="adstage-slider-wrapper";const c={position:"relative",overflow:"hidden"};if(t[i(423)]&&0!==t.width){let e;e=typeof t[i(423)]===i(445)?t[i(423)][i(382)]("px")||t[i(423)][i(382)]("%")?t[i(423)]:t[i(423)]+"px":t.width+"px",c[i(423)]=e,c.display="inline-block"}else c[i(455)]=i(459);if(t.height&&0!==t[i(444)]){const e=typeof t.height===i(445)?t.height:t[i(444)]+"px";c[i(444)]=e}Object[i(359)](c)[i(442)](([t,e])=>{const n=i;a[n(460)][n(400)](t,e)});const l=!t[i(423)]||0===t[i(423)],d=!t[i(444)]||0===t[i(444)];if(l||d){const e=document[i(356)]("div");if(e.style[i(453)]=i(405),!l&&t[i(423)]){let n;n=typeof t.width===i(445)&&(t[i(423)][i(382)]("px")||t[i(423)][i(382)]("%"))?t[i(423)]:t[i(423)]+"px",e[i(460)][i(423)]=n,e[i(460)][i(418)]=i(461)}document[i(454)][i(432)](e);let s=0,r=0;n[i(442)](n=>{const o=i,a=this[o(464)](t,n);e[o(432)](a);const c=a[o(408)]();c[o(423)]>s&&(s=c[o(423)]),c[o(444)]>r&&(r=c[o(444)]),e.removeChild(a)}),l&&s>0&&(a[i(460)][i(423)]=s+"px",c.width=s+"px"),d&&r>0&&(a.style[i(444)]=r+"px",c[i(444)]=r+"px"),document[i(454)][i(430)](e)}const u=[...n,n[0]],p=document.createElement(i(387));p.className=i(364);const h={display:i(429),transition:i(374),width:100*u[i(451)]+"%"};t[i(444)]&&0!==t.height&&(h[i(444)]="100%"),Object.entries(h).forEach(([t,e])=>{const n=i;p.style[n(400)](t,e)}),u[i(442)]((e,n)=>{const s=i,a=document[s(356)](s(387));a.className="adstage-slide";const c={width:100/u[s(451)]+"%","flex-shrink":"0",display:s(429),"align-items":s(360),"justify-content":s(360)};t[s(444)]&&0!==t.height&&(c[s(444)]=s(389)),Object[s(359)](c).forEach(([t,e])=>{const n=s;a[n(460)][n(400)](t,e)});const l=this[s(464)](t,e);st.addClickEventForSlider(l,e,t,r,o,String(t[s(378)])[s(401)]()),a[s(432)](l),p[s(432)](a)});const f=n[i(357)](t=>t[i(378)]===e.TEXT)?null:this[i(392)](n.length);let g=0;const m=n[i(451)],y=1e3*(s?.[i(457)]||3),I=(e,s=!1)=>{const a=i;g=e,s?p.style[a(385)]=a(377):p[a(460)].transition=a(374),p[a(460)][a(424)]=a(415)+100/u[a(451)]*g+"%)";const c=g===m?0:g;if(f){f[a(414)](".adstage-dot").forEach((t,e)=>{const n=a,s=t;e===c?(s.classList[n(381)](n(394)),s[n(460)][n(462)]="#666666",s.style.borderColor=n(426),s[n(460)][n(427)]="1"):(s[n(362)][n(450)]("active"),s[n(460)][n(462)]=n(399),s.style[n(436)]=n(438),s[n(460)][n(427)]=n(421))})}$[a(411)](n[c],t,c,r,o)},v=()=>{g===m&&setTimeout(()=>{I(0,!0)},400)};if(f){f[i(414)](i(371))[i(442)]((t,e)=>{const n=i;t[n(402)](n(428),()=>I(e))})}let b=setInterval(()=>{I(g+1),v()},y);return a[i(402)](i(390),()=>{clearInterval(b)}),a[i(402)]("mouseleave",()=>{b=setInterval(()=>{I(g+1),v()},y)}),this[i(369)](p,I,()=>g,m,v),a[i(432)](p),f&&a.appendChild(f),I(0),(!t[i(423)]||0===t[i(423)])&&setTimeout(()=>{const e=i,n=p[e(383)][0];if(n){const s=n[e(383)][0];if(s){const n=s[e(408)]();a.style[e(423)]=n[e(423)]+"px",(!t[e(444)]||0===t.height)&&(a.style[e(444)]=n[e(444)]+"px"),a[e(460)][e(435)]=e(373)}}},10),a}static[rt(392)](t){const e=rt,n=document[e(356)](e(387));n.className=e(441),n[e(460)].cssText="\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 s=0;s<t;s++){const t=document[e(356)]("button");t[e(413)]=e(433),t[e(460)][e(453)]=e(358),t.addEventListener("mouseenter",()=>{const n=e;!t.classList.contains(n(394))&&(t.style[n(436)]="#999999",t[n(460)][n(427)]=n(367))}),t[e(402)](e(404),()=>{const n=e;!t[n(362)].contains(n(394))&&(t[n(460)].borderColor=n(438),t[n(460)][n(427)]=n(421))}),n.appendChild(t)}return n}static[rt(369)](t,e,n,s,r){const o=rt;let i=0,a=!1;t.addEventListener(o(407),t=>{const e=o;i=t[e(437)][0][e(388)],a=!0}),t[o(402)](o(396),t=>{a&&t.preventDefault()}),t[o(402)]("touchend",t=>{const c=o;if(!a)return;a=!1;const l=t[c(420)][0][c(388)],d=i-l;if(Math[c(361)](d)>50){const t=n();if(d>0){e(t+1),r&&r()}else{e(t>0?t-1:s-1)}}})}}const ct=dt;function lt(){const t=["1219345qEerPB","144UrEDIy","293657zacDhe","205714hgOALE","12EwhipC","clear","isDuplicateViewable","479048xcXBFz","9632280EylwWS","4834368JAbuvf","has","delete","log","14YrwXSq","7059qqHPMW","add","viewableTracker"];return(lt=function(){return t})()}function dt(t,e){const n=lt();return(dt=function(t,e){return n[t-=105]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(287516===parseInt(e(106))/1+-parseInt(e(107))/2+parseInt(e(118))/3*(-parseInt(e(105))/4)+parseInt(e(121))/5*(parseInt(e(108))/6)+parseInt(e(117))/7*(parseInt(e(111))/8)+parseInt(e(113))/9+-parseInt(e(112))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class ut{static[ct(110)](t,e,n=!1){const s=ct,r=t+"_"+e;return ut.viewableTracker[s(114)](r)?(n&&console[s(116)]("Duplicate viewable blocked for ad "+t+" in slot "+e),!0):(ut[s(120)][s(119)](r),n&&console.log("✅ New viewable recorded for ad "+t+" in slot "+e),!1)}static[ct(109)](){const t=ct;ut[t(120)][t(109)]()}static clearAdViewable(t,e){const n=ct,s=t+"_"+e;ut[n(120)][n(115)](s)}}ut.viewableTracker=new Set;const pt=ft;function ht(){const t=["📦 Placeholder created for ","1px dashed #ccc","none","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","100%",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"innerHTML","19012BXjgFO","true","className","4px","): ","⚠️ Created empty ","applyPlaceholderStyle","<span>Loading ","parentElement"," in slot ","justifyContent","toLowerCase","data-adstage-empty","1px solid rgba(0, 0, 0, 0.08)","fontFamily","347952rUqccB",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"1319796PuTJED","minimal","3562494CrkBFb","debug","calculateAdSize","string","hasAttribute"," container collapsed (","placeholderMode"," for ad ","height","367152XzvjFB","color","border",'[data-adstage-container="true"]',"classList","width","adstage-slot adstage-","getContainerHeight","483140Djxysn","#e74c3c","⚠️ ","fontSize","contains","number","createEventTrackingCallback","📊 Advertisement event tracked: ","advertisement","opacity","adstage-slot",'[class*="ad"]',"7ILzUSj"," ad...</span>","containerId","18PcGNEl","createElement","9TImLaU","backgroundColor","getElementById","🚫 Duplicate viewable blocked for ad ","createPlaceholder","rgba(248, 249, 250, 0.5)","22ordhbG","setAttribute",'[class*="container"]',".adstage-","flex","px)","✅ New viewable recorded for ad ","createEmptyContainer","log","data-adstage-slot","#f9f9f9","display","adstage-slot adstage-empty adstage-","adstage-official",") - Mode: ","📏 Using 100% height (container: ","closest","style","appendChild","🔄 Starting advertisement event tracking: ","118RDlgMX","warn","cssText","6px","minHeight","data-adstage-container"," event for ad ",'[class*="banner"]',"invisible","div","monospace",'div[style*="min-height"]',"3992995QQMdYa","adType"," x ","auto","getDefaultHeight","filter","transparent","alignItems"," event","❌ Failed to track ","#666","center","advertisementEventTracker"];return(ht=function(){return t})()}function ft(t,e){const n=ht();return(ft=function(t,e){return n[t-=435]})(t,e)}!function(t){const e=ft,n=t();for(;;)try{if(619341===parseInt(e(514))/1*(parseInt(e(435))/2)+parseInt(e(488))/3*(parseInt(e(452))/4)+-parseInt(e(526))/5+parseInt(e(454))/6*(-parseInt(e(483))/7)+-parseInt(e(450))/8*(parseInt(e(486))/9)+parseInt(e(471))/10+-parseInt(e(494))/11*(parseInt(e(463))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ht);class gt{constructor(t,e=!1,n){const s=ft;this.adType=t,this[s(455)]=e,this[s(538)]=n||null}[pt(492)](t,e,n,s){const r=pt,o=document[r(487)](r(523));o.id=e,o.className=r(469)+String(this[r(527)])[r(446)](),o[r(495)]("data-adstage-container","true"),o[r(495)]("data-adstage-type",String(this[r(527)])),o[r(495)](r(503),e);const{width:i,height:a}=this[r(456)](t,n,s)||{width:"100%",height:this[r(530)]()};o.style[r(468)]=i,o[r(511)][r(462)]=a;const c=s?.[r(460)]||n[r(460)]||r(522);this[r(441)](o,c),t[r(512)](o),this[r(455)]&&console[r(502)](r(539)+this.adType+" slot: "+e+" ("+i+r(528)+a+r(508)+c)}[pt(441)](t,e){const n=pt;switch(e){case"invisible":t.style[n(489)]=n(532),t.style[n(465)]="none",t.style[n(480)]="0",t.innerHTML="";break;case n(532):t[n(511)][n(489)]="transparent",t[n(511)][n(465)]=n(541),t[n(511)][n(505)]="block",t[n(545)]="";break;case"subtle":t[n(511)][n(489)]="rgba(0, 0, 0, 0.02)",t.style.border="none",t[n(511)].borderRadius=n(438),t[n(511)][n(505)]=n(498),t[n(511)][n(533)]=n(537),t[n(511)][n(445)]=n(537),t[n(545)]=n(451);break;case n(453):t.style.backgroundColor=n(493),t[n(511)][n(465)]=n(448),t[n(511)].borderRadius=n(517),t[n(511)][n(505)]=n(498),t.style[n(533)]=n(537),t.style[n(445)]=n(537),t[n(545)]=n(544);break;case n(455):t[n(511)][n(465)]="2px dashed #e74c3c",t[n(511)][n(505)]="flex",t[n(511)][n(533)]=n(537),t.style[n(445)]=n(537),t.style.backgroundColor="rgba(231, 76, 60, 0.1)",t[n(511)][n(464)]=n(472),t[n(511)][n(449)]=n(524),t.style[n(474)]="11px",t[n(545)]=n(442)+this[n(527)]+n(484);break;default:t[n(511)][n(465)]=n(540),t[n(511)][n(505)]=n(498),t[n(511)][n(533)]=n(537),t.style.justifyContent=n(537),t[n(511)][n(489)]=n(504),t.style.color=n(536),t[n(545)]=n(442)+this[n(527)]+n(484)}}calculateAdSize(t,e,n){const s=pt,r=e[s(468)],o=e[s(462)];let i,a;if(i=typeof r===s(476)?r+"px":"string"==typeof r?r:s(543),"number"==typeof o)a=o+"px";else if(typeof o===s(457)&&"100%"!==o&&o!==s(529))a=o;else{const e=this[s(470)](t);e>0?(a=s(543),(n?.debug||this.debug)&&console[s(502)](s(509)+e+s(499))):(a=this[s(530)](),(n?.[s(455)]||this.debug)&&console.log("📏 Using default height "+a+" for "+this[s(527)]))}return{width:i,height:a}}[pt(470)](t){const e=pt,n=window.getComputedStyle(t),s=parseFloat(n[e(462)]);if(!s||0===s){const s=parseFloat(n[e(518)]);if(s>0)return s;if(t[e(511)].height&&"auto"!==t[e(511)][e(462)]){const n=parseFloat(t[e(511)][e(462)]);if(n>0)return n}const r=t.getAttribute(e(462));if(r){const t=parseFloat(r);if(t>0)return t}}return s||0}[pt(477)](){return async(t,e,n)=>{const s=ft;if(n===a.VIEWABLE){if(ut.isDuplicateViewable(t,e,this[s(455)]))return void(this.debug&&console[s(502)](s(491)+t+s(444)+e));this[s(455)]&&console.log(s(500)+t+" in slot "+e)}if(this[s(538)])try{this[s(455)]&&console[s(502)](s(513)+n+s(461)+t+" in slot "+e),await this[s(538)].trackAdvertisementEvent(t,e,n),this.debug&&console[s(502)](s(478)+n+s(461)+t+s(444)+e)}catch(e){this[s(455)]&&console.error(s(535)+n+s(520)+t+":",e)}else this[s(455)]&&console.warn("⚠️ AdvertisementEventTracker not available for "+n+s(534))}}renderFallback(t){const e=pt,n=document[e(490)](t.id);if(n){const s=[...[n.querySelector(e(466)),n[e(510)](e(466)),n][e(531)](t=>t&&t[e(458)]("data-adstage-container")),...[n[e(510)](".adstage-slot"),n[e(510)](e(497)+String(this[e(527)])[e(446)]()),n.closest(e(482)),n[e(510)](e(521)),n[e(510)](e(496)),n[e(510)]('div[style*="height"]'),n.closest(e(525)),n[e(443)]][e(531)](Boolean)][0];if(s){let n="unknown";n=s[e(458)](e(519))?e(507):s[e(467)][e(475)](e(481))?"adstage-class":"generic",s[e(511)][e(516)]+=e(542),s[e(545)]="",s.setAttribute(e(447),e(436)),this[e(455)]&&console[e(515)](e(473)+this[e(527)]+e(459)+n+e(439)+t.id,s)}else this[e(501)](t)}t[e(479)]=void 0,t.isEmpty=!0}createEmptyContainer(t){const e=pt,n=document[e(490)](t[e(485)]);if(n){n[e(545)]="";const s=document[e(487)]("div");s.id=t.id,s[e(437)]=e(506)+String(this[e(527)])[e(446)](),s[e(495)](e(519),e(436)),s[e(495)]("data-adstage-empty","true"),s.setAttribute(e(503),t.id),s.style[e(516)]="\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 ",n[e(512)](s),this.debug&&console[e(515)](e(440)+this[e(527)]+" container: "+t.id)}}[pt(502)](t,...e){const n=pt;this.debug&&console.log("["+this[n(527)]+"] "+t,...e)}}function mt(t,e){const n=yt();return(mt=function(t,e){return n[t-=162]})(t,e)}function yt(){const t=["objectFit","reduce","style","aspectRatio","loadImageDimensions","center","Container not found: ","appendChild","contain","from","name","getElementById",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"<div>","dominant","651435vFFfwm","4flvoHw","block","250px","abs",", ratio=","Banner","✅ Optimized banner image rendered for ad: ","Failed to calculate optimal banner size, using defaults:","Failed to load image: ","div","16073GwRaLo","slideInterval","log","map","debug","warn","optimizedHeight","onerror","Banner Ad","applyOptimizedImageStyle","renderMultipleAds","common","title","alt","display","8px","createElement","📐 Optimal banner container calculated: ","forEach","height","84QEWMkX","get","ratio","config","values","721242cLMRpB","toString","naturalHeight","100%","renderOptimizedBannerImage","set","average","BANNER","calculateOptimalContainerSize","containerId","94fCuGkY","imageUrl","14846KkVjbY","calculateAdSize","495638CztGov","fulfilled","optimizeContainerForBannerAds","#f0f0f0","2602485kEonuy","🎠 Banner carousel created for slot: ","error","5110uXgsMg","some","createEventTrackingCallback","2073477BoVCaS","round","width","objectPosition","calculateOptimalHeight","📸 Banner image dimensions: ","getDefaultHeight","count","cover","naturalWidth","addClickEventForRenderer","📦 Banner container dimensions: ","3:2","4:3","length","16:9","selectOptimalSizeStrategy","6TGroOn","innerHTML","❌ Failed to load optimized banner image:","filter","parentElement","borderRadius","Banner Advertisement","1:1","src","24uXSxdi","img","toFixed","getBoundingClientRect","onload","80xeXtSS","value"];return(yt=function(){return t})()}const It=mt;!function(t){const e=mt,n=t();for(;;)try{if(466918===-parseInt(e(169))/1*(parseInt(e(204))/2)+-parseInt(e(266))/3*(-parseInt(e(267))/4)+parseInt(e(212))/5*(parseInt(e(235))/6)+-parseInt(e(218))/7*(parseInt(e(244))/8)+parseInt(e(194))/9*(parseInt(e(249))/10)+parseInt(e(208))/11*(parseInt(e(189))/12)+parseInt(e(206))/13*(parseInt(e(215))/14))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(yt);class vt extends gt{constructor(t=!1,n){super(e[mt(201)],t,n)}[It(224)](){return It(269)}async renderAdElement(t,e){const n=It,s=document[n(262)](t.containerId);if(!s)return;const r=document.createElement(n(168));r.className="adstage-ad adstage-banner-ad";const o=t.optimizedHeight,i=s[n(239)]||s;if(o)r.style[n(220)]=n(197),r.style.height=String(o);else{const e=t[n(192)],s={width:e?.[n(220)],height:e?.[n(188)]},{width:o,height:a}=this[n(207)](i,s,{debug:this[n(173)]});r[n(253)][n(220)]=o,r.style.height=a}e[n(205)]?await this[n(198)](r,e,t):r[n(236)]=n(264)+(e[n(181)]||n(177))+"</div>",st[n(228)](r,e,t,()=>this[n(217)](),this.debug,n(164)),s[n(236)]="",s.appendChild(r)}async[It(179)](t,e){const n=It,s=document[n(262)](t[n(203)]);if(!s)throw new Error(n(257)+t[n(203)]);await this[n(210)](t,e);const r=this.createEventTrackingCallback(),o={autoSlideInterval:(t[n(192)]?.[n(170)]||5e3)/1e3,...t[n(192)],optimizedHeight:t[n(175)],aspectRatio:t[n(254)]},i=at.createSliderContainer(t,e,o,r,this.debug);i&&(s.innerHTML="",s[n(258)](i),this[n(173)]&&console[n(171)](n(213)+t.id+" with "+e[n(232)]+" ads (optimized: "+(t[n(175)]||"default")+")"))}async[It(202)](t,e){const n=It;if(!t[n(232)])return{width:"100%",height:this[n(224)](),aspectRatio:16/9};try{const s=(await Promise.allSettled(t[n(238)](t=>t.imageUrl).map(t=>this[n(255)](t[n(205)]))))[n(238)](t=>t.status===n(209))[n(172)](t=>t[n(250)]);if(0===s[n(232)])return{width:"100%",height:this.getDefaultHeight(),aspectRatio:16/9};const r=this[n(234)](s),o=this[n(222)](s,e,r);return this[n(173)]&&console.log(n(186)+e+"x"+o+" (strategy: "+r+")"),{width:n(197),height:o+"px",aspectRatio:e/o}}catch(t){return console[n(174)](n(166),t),{width:n(197),height:this.getDefaultHeight(),aspectRatio:16/9}}}async[It(210)](t,e){const n=It;try{const s=document[n(262)](t[n(203)]),r=document[n(262)](t.id);if(!s||!r)return;const o=s[n(247)]()[n(220)]||300,i=await this[n(202)](e,o);r[n(253)][n(188)]=i[n(188)],t[n(175)]=i.height,t.aspectRatio=i[n(254)],this[n(173)]&&console.log("🔧 Banner container optimized for "+e[n(232)]+" ads: "+i.height)}catch(t){console.warn("Banner container optimization failed, using default size:",t)}}[It(234)](t){const e=It,n=t[e(172)](t=>t[e(220)]/t[e(188)]),s=new Map;n.forEach(t=>{const n=e,r=(Math.round(10*t)/10)[n(195)]();s.set(r,(s[n(190)](r)||0)+1)});const r=Math.max(...s.values()),o=t.length;if(r/o>=.7)return"dominant";const i=[16/9,4/3,1,1.5],a=n.filter(t=>i[e(216)](e=>Math.abs(t-e)<.1))[e(232)];return e(a/o>=.5?180:200)}calculateOptimalHeight(t,e,n){const s=It,r=t[s(172)](t=>t[s(220)]/t[s(188)]);switch(n){case s(265):{const t=new Map;r[s(187)](e=>{const n=s,r=Math[n(219)](10*e)/10,o=r.toString(),i=t[n(190)](o);i?i[n(225)]++:t[n(199)](o,{ratio:r,count:1})});const n=Array[s(260)](t[s(193)]())[s(252)]((t,e)=>e.count>t[s(225)]?e:t);return Math[s(219)](e/n[s(191)])}case"common":{const t=[{ratio:16/9,name:s(233)},{ratio:4/3,name:s(231)},{ratio:1,name:s(242)},{ratio:1.5,name:s(230)}],n=r.reduce((t,e)=>t+e,0)/r.length,o=t[s(252)]((t,e)=>Math[s(162)](e.ratio-n)<Math[s(162)](t[s(191)]-n)?e:t);return this[s(173)]&&console[s(171)]("📊 Using standard ratio: "+o[s(261)]+" (avg: "+n[s(246)](2)+")"),Math[s(219)](e/o[s(191)])}case s(200):default:{const t=r.reduce((t,e)=>t+e,0)/r[s(232)];return Math[s(219)](e/t)}}}[It(255)](t){return new Promise((e,n)=>{const s=mt,r=new Image;r[s(248)]=()=>{const t=s;e({width:r[t(227)],height:r[t(196)]})},r[s(176)]=()=>{n(new Error(s(167)+t))},r.src=t})}[It(178)](t,e,n){const s=It,r=e/n;Math[s(162)](r-1)<.1?(t[s(253)][s(251)]=s(226),t.style[s(221)]="center"):r>1.3?(t.style[s(251)]=s(259),t[s(253)][s(221)]=s(256),t[s(253)].backgroundColor=s(211)):r<.7?(t[s(253)][s(251)]=s(226),t[s(253)][s(221)]=s(256)):(t[s(253)][s(251)]="cover",t.style.objectPosition=s(256)),this.debug&&console[s(171)]("🎨 Banner image style applied: objectFit="+t.style[s(251)]+s(163)+r[s(246)](2))}async[It(198)](t,e,n){const s=It,r=document[s(185)](s(245));r[s(253)].width=s(197),r[s(253)].height=s(197),r[s(253)][s(183)]=s(268),r[s(253)][s(240)]=s(184),r[s(182)]=e[s(181)]||s(241),t[s(236)]=s(263);try{if(!e.imageUrl)throw new Error("Image URL is not provided");const o=await this[s(255)](e[s(205)]),i=t[s(247)](),a=i[s(220)],c=i.height;this[s(173)]&&(console.log(s(223)+o[s(220)]+"x"+o[s(188)]),console[s(171)](s(229)+a+"x"+c));const l=o[s(220)]/o[s(188)],d=a/c;return this[s(178)](r,l,d),r[s(243)]=e[s(205)],t[s(236)]="",t[s(258)](r),st[s(228)](r,e,n,()=>this[s(217)](),this[s(173)],s(164)),this[s(173)]&&console.log(s(165)+e._id),r}catch(o){return console[s(214)](s(237),o),e[s(205)]&&(r[s(243)]=e[s(205)],r[s(253)][s(251)]=s(226),r.style.objectPosition=s(256),t.innerHTML="",t[s(258)](r),st[s(228)](r,e,n,()=>this.createEventTrackingCallback(),this[s(173)],s(164))),r}}}function bt(){const t=["635525JlVlOn","55GIGMwc","328ObhjKY","1691559bqotou","4260ghJKLZ","93051UHRuhD","setTextAdContent","title","1207706nwiFYs","textContent","413DgHhiq","455452bEBhVU","20gOAHML","189044mHyHaP","createTextAdStyles"];return(bt=function(){return t})()}function wt(t,e){const n=bt();return(wt=function(t,e){return n[t-=390]})(t,e)}const Et=wt;!function(t){const e=wt,n=t();for(;;)try{if(757503===parseInt(e(403))/1+-parseInt(e(391))/2+parseInt(e(398))/3+-parseInt(e(393))/4*(parseInt(e(396))/5)+parseInt(e(399))/6*(parseInt(e(390))/7)+-parseInt(e(397))/8*(parseInt(e(400))/9)+parseInt(e(392))/10*(parseInt(e(395))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt);class kt{static[Et(394)](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[Et(401)](t,e){const n=Et,s=e[n(404)]||e[n(402)]||"";t[n(404)]=s}}const xt=St;function St(t,e){const n=At();return(St=function(t,e){return n[t-=147]})(t,e)}function At(){const t=["fit-content","toLowerCase","addClickEventForSlider","string","mouseenter","createTextTransitionContainer","498tVKHbo","div","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","touches","style","730694tYODsL","removeChild","mouseleave","abs","entries","data-adstage-ad-id","whiteSpace","cssText","adstage-fade-slide","21055vQhgOB","top","auto","includes","setProperty","clientY","zIndex","\n ","48sgCRFA","forEach","transform","20px","setAttribute","touchstart","5293548RTjHjc","left","1752648IxStli","push","addEventListener","normal","createSimpleAdElement","translateY(0)","_id","className","adstage-ad adstage-","changedTouches","absolute","\n position: relative;\n width: 100%;\n ","height","hidden","adstage-fade-slide-container","width","height: auto;",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","532JMfIBe","preventDefault","touchend",";\n width: 100%;\n ","touchmove","minHeight","relative","opacity","1356313GSUToJ","position","body","addTouchSupport","appendChild",";\n ","adstage-fade-slider-wrapper","setTextAdContent","translateY(-20px)","createElement","height: 100%;","data-adstage-slot-id","180589yNioCq"];return(At=function(){return t})()}!function(t){const e=St,n=t();for(;;)try{if(348480===-parseInt(e(200))/1+parseInt(e(212))/2+parseInt(e(207))/3*(parseInt(e(180))/4)+parseInt(e(221))/5*(-parseInt(e(154))/6)+-parseInt(e(188))/7+-parseInt(e(162))/8+parseInt(e(160))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(At);class Ct{static[xt(166)](t,e){const n=xt,s=document.createElement(n(208));return s[n(169)]=n(170)+String(t.adType)[n(202)](),s[n(158)](n(217),e[n(168)]),s[n(158)](n(199),t.id),s[n(211)].cssText=kt.createTextAdStyles(!0),kt[n(195)](s,e),s}static[xt(206)](t,e,n,s,r=!1){const o=xt,i=t[o(174)]&&0!==t.height&&t[o(174)]!==o(148),a=document[o(197)](o(208));a[o(169)]=o(194);const c={position:o(186),overflow:o(175),display:"block"};if(!i&&(c[o(174)]=o(148),c[o(185)]=o(201)),t[o(177)]&&0!==t[o(177)]){let e;e=typeof t[o(177)]===o(204)&&(t[o(177)].includes("px")||t.width.includes("%"))?t[o(177)]:t[o(177)]+"px",c[o(177)]=e}if(t[o(174)]&&0!==t.height&&"auto"!==t[o(174)]&&i){let e;e=typeof t.height===o(204)&&(t[o(174)][o(149)]("px")||t[o(174)][o(149)]("%"))?t.height:t[o(174)]+"px",c[o(174)]=e}Object[o(216)](c).forEach(([t,e])=>{const n=o;a.style[n(150)](t,e)});const l=document.createElement(o(208));l.className=o(176),l.style[o(219)]=o(173)+(i?"height: 100%;":"height: auto; min-height: fit-content;")+o(153);let d=null;const u=!t[o(177)]||0===t[o(177)],p=!t.height||0===t[o(174)]||void 0===t.height||"auto"===t[o(174)];if(u||p&&i){if(d=document[o(197)]("div"),d[o(211)][o(219)]="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!u&&t.width){let e;e=typeof t[o(177)]===o(204)&&(t[o(177)][o(149)]("px")||t[o(177)][o(149)]("%"))?t[o(177)]:t[o(177)]+"px",d[o(211)][o(177)]=e,d[o(211)][o(218)]=o(165)}document[o(190)].appendChild(d);let n=0,s=0;e.forEach(e=>{const r=o,i=this[r(166)](t,e);d[r(192)](i);const a=i.getBoundingClientRect();a[r(177)]>n&&(n=a.width),a.height>s&&(s=a[r(174)]),d.removeChild(i)}),u&&n>0&&(a.style.width=n+"px"),p&&s>0&&i&&(a[o(211)][o(174)]=s+"px"),document[o(190)][o(213)](d)}const h=[];e[o(155)]((e,n)=>{const a=o,c=document[a(197)](a(208));c.className=a(220);const d=a(i?172:0===n?186:172);c.style[a(219)]="\n position: "+d+";\n top: "+("absolute"===d?"0":a(148))+";\n left: "+("absolute"===d?"0":a(148))+a(183)+a(i?198:178)+a(209)+(0===n?"1":"0")+";\n transform: translateY("+(0===n?"0":a(157))+a(179)+(0===n?"2":"1")+a(193);const u=this[a(166)](t,e);st[a(203)](u,e,t,s,r,"Text"),c.appendChild(u),l[a(192)](c),h[a(163)](c)});let f=0;const g=e.length,m=1e3*(n?.autoSlideInterval||4),y=n=>{const a=o;n>=g?n=0:n<0&&(n=g-1);const c=h[f],l=h[n];!i&&(c[a(211)][a(189)]===a(186)&&(c[a(211)][a(189)]=a(172),c[a(211)][a(147)]="0",c[a(211)][a(161)]="0"),l[a(211)][a(189)]=a(186),l.style[a(147)]="auto",l.style[a(161)]=a(148)),c[a(211)][a(187)]="0",c.style.transform=a(196),c[a(211)].zIndex="1",l[a(211)][a(187)]="1",l[a(211)].transform=a(167),l[a(211)][a(152)]="2",h[a(155)]((t,e)=>{const s=a;e!==n&&e!==f&&(t[s(211)][s(187)]="0",t.style[s(156)]="translateY(20px)",t.style.zIndex="1",!i&&t[s(211)][s(189)]===s(186)&&(t[s(211)][s(189)]=s(172),t.style[s(147)]="0",t[s(211)][s(161)]="0"))}),f=n,$.trackSlideViewable(e[f],t,f,s,r)};let I=setInterval(()=>{y(f+1)},m);return a[o(164)](o(205),()=>{clearInterval(I)}),a.addEventListener(o(214),()=>{I=setInterval(()=>{y(f+1)},m)}),Ct.addTouchSupport(a,y,()=>f,g),a.appendChild(l),a}static[xt(191)](t,e,n,s){const r=xt;let o=0,i=0,a=!1;t[r(164)](r(159),t=>{const e=r;o=t[e(210)][0].clientX,i=t.touches[0][e(151)],a=!0}),t[r(164)](r(184),t=>{a&&t[r(181)]()}),t[r(164)](r(182),t=>{const s=r;if(!a)return;a=!1;const c=t[s(171)][0].clientX,l=t.changedTouches[0][s(151)],d=o-c,u=i-l;if(Math.abs(d)>Math[s(215)](u)&&Math.abs(d)>50){const t=n();e(d>0?t+1:t-1)}})}}const Tt=Rt;function Rt(t,e){const n=_t();return(Rt=function(t,e){return n[t-=106]})(t,e)}function _t(){const t=["3108688ZcLZYu","hidden","createElement","optimizedHeight","createEventTrackingCallback","6884012mzuFTL","96tVcQtx","getElementById","style","createTextAdStyles","77637Cbbmpy","height","webkitLineClamp","div","cssText","webkitBoxOrient","renderAdElement","adstage-ad adstage-text-ad","width","maxLines","4516122PkqKwU","56217060ECJNbN","adstage-text-content","config","60px","1319136uWOUgF","TEXT","slideInterval","number","vertical","5cpGcOE","Container not found: ","100%","debug"," with ","appendChild","overflow","createTextTransitionContainer"," ads","5297436GvbxbF","setTextAdContent","innerHTML","log","24EMbuAT","Text","containerId","parentElement"];return(_t=function(){return t})()}!function(t){const e=Rt,n=t();for(;;)try{if(944241===-parseInt(e(128))/1+-parseInt(e(150))/2+parseInt(e(123))/3+-parseInt(e(108))/4*(parseInt(e(133))/5)+-parseInt(e(109))/6*(-parseInt(e(113))/7)+parseInt(e(146))/8*(-parseInt(e(142))/9)+parseInt(e(124))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_t);class Dt extends gt{constructor(t=!1,n){super(e[Rt(129)],t,n)}getDefaultHeight(){return Rt(127)}async[Tt(119)](t,e){const n=Tt,s=document.getElementById(t[n(148)]);if(!s)return;const r=document[n(152)]("div");r.className=n(120);const o=t[n(106)],i=s[n(149)]||s;if(o)r[n(111)][n(121)]=n(135),r[n(111)][n(114)]=String(o);else{const e=t[n(126)],s={width:e?.[n(121)],height:e?.[n(114)]},{width:o,height:a}=this.calculateAdSize(i,s,{debug:this.debug});r[n(111)].width=o,r[n(111)].height=a}const a=document.createElement(n(116));a.className=n(125),a[n(111)][n(117)]=kt[n(112)](!1),kt[n(143)](a,e);const c=t[n(126)]?.[n(122)];c&&typeof c===n(131)&&(a[n(111)].display="-webkit-box",a.style[n(115)]=String(c),a[n(111)][n(118)]=n(132),a.style[n(139)]=n(151)),r.appendChild(a),st.addClickEventForRenderer(r,e,t,()=>this.createEventTrackingCallback(),this.debug,n(147)),s[n(144)]="",s[n(138)](r),this.debug&&console.log("✨ Single text ad rendered: "+e._id)}async renderMultipleAds(t,e){const n=Tt,s=document[n(110)](t[n(148)]);if(!s)throw new Error(n(134)+t[n(148)]);const r=this[n(107)](),o={autoSlideInterval:(t[n(126)]?.[n(130)]||5e3)/1e3,...t.config,optimizedHeight:t[n(106)],aspectRatio:t.aspectRatio},i=Ct[n(140)](t,e,o,r,this[n(136)]);i&&(s[n(144)]="",s.appendChild(i),this[n(136)]&&console[n(145)]("✨ Text transition created for slot: "+t.id+n(137)+e.length+n(141)))}}function Lt(t,e){const n=Ut();return(Lt=function(t,e){return n[t-=262]})(t,e)}const Pt=Lt;function Ut(){const t=["775804STylbV","🎬 Video controls setting:"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","imageUrl","createEventTrackingCallback","paused","button","play","className","mouseleave","display","length","videoUrl","containerId","adstage-video-container",'\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 ',"656376DNamfk","🎬 Video data loaded, attempting autoplay...","playsinline"," (autoplay: ","disabled (default)","🎬 Video element created for ad: ","warn","hideCurrentTime","🎬 Auto-play was prevented:","catch","\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 ","2838426zYAdhl","none","renderMultipleAds","addEventListener","adstage-video-mute-button","scale(1)","innerHTML","preload","hidePlayButton","div","hideFullscreenButton","🎬 User explicitly enabled controls, overriding default","273575NkESuq"," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","_id","src","8FWVcfv","Container not found: ",", muted: ","🎬 Single video ad rendered: "," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","height","createElement",'\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 '," !important;\n }\n ","contain","hideControls","rgba(0, 0, 0, 0.7)","847120VIAlgJ","style","error","textContent","🎬 Video metadata loaded, attempting autoplay...","controls","config","customControls"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","VIDEO","1660141hwUuky","debug","Video thumbnail","addClickEventForRenderer","log","hideMuteButton","objectFit","6gVoRrT","video","transform","width","\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 ","autoplay","12382191rHiHSy","cssText","enabled","block","🎬 Autoplay completely failed:","head","rgba(0, 0, 0, 0.9)","click","100%","relative","🎬 Single video rendered for VIDEO slot: ","canplay","VIEWABLE","🎬 Video config received:","scale(1.1)","hideVolumeSlider","renderVideoElementDirect","loadedmetadata","loadeddata","metadata","alt","getElementById","title","Click to mute","getDefaultHeight","Video load failed:","🔊 Video mute toggled: ","\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 ","img"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","muted","🎬 Trying muted autoplay fallback...","background","appendChild","loop","adstage-video-default-controls"];return(Ut=function(){return t})()}!function(t){const e=Lt,n=t();for(;;)try{if(319650===-parseInt(e(281))/1+-parseInt(e(372))/2+-parseInt(e(314))/3*(parseInt(e(356))/4)+parseInt(e(297))/5+-parseInt(e(269))/6+parseInt(e(307))/7*(parseInt(e(285))/8)+parseInt(e(320))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ut);class Bt extends gt{constructor(t=!1,n){super(e[Lt(306)],t,n)}[Pt(344)](){return"360px"}async renderAdElement(t,e){const n=Pt,s=document[n(341)](t.containerId);if(!s)return;const r=document[n(291)]("div");r[n(364)]=n(370),r[n(298)][n(321)]=n(318),this[n(336)](r,e,t),s[n(275)]="",s[n(353)](r),this.debug&&console[n(311)](n(288)+e[n(283)])}async[Pt(271)](t,e){const n=Pt,s=document[n(341)](t[n(369)]);if(!s)throw new Error(n(286)+t[n(369)]);if(e[n(367)]>0){const r=e[0],o=document[n(291)](n(278));o[n(364)]=n(370),o[n(298)][n(321)]="\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ",this.renderVideoElementDirect(o,r,t),s[n(275)]="",s[n(353)](o);const i=this.createEventTrackingCallback();setTimeout(()=>{const e=n;i(r._id,t.id,a[e(332)])},100),this[n(308)]&&console[n(311)](n(330)+t.id+" ("+r[n(283)]+")")}else this[n(308)]&&console.warn("⚠️ No video advertisements available for slot: "+t.id)}[Pt(336)](t,e,n){const s=Pt;t.style.position=s(329);const r=document.createElement(s(315));r[s(298)][s(317)]=s(328),r[s(298)][s(290)]=s(328),r[s(298)][s(313)]=s(294),r[s(276)]=s(339);const o=n[s(303)];if(this[s(308)]&&console[s(311)](s(333),o),r[s(302)]=!1,r.autoplay=!1!==o?.[s(319)],r.muted=!0,r[s(354)]=!1!==o?.[s(354)],this.debug&&console[s(311)]("🎬 Final video settings:",{autoplay:r[s(319)],muted:r.muted,loop:r.loop,controls:r.controls}),!1!==o?.[s(374)]&&r.setAttribute(s(374),""),!0===o?.controls&&(r[s(302)]=!0,this.debug&&console[s(311)](s(280))),o?.hideControls)r[s(302)]=!1,r[s(298)][s(321)]+="\n pointer-events: none;\n ";else if(o?.[s(304)]){if(r[s(302)]){const t=document[s(291)](s(298));t.textContent="\n video::-webkit-media-controls-play-button {\n display: "+(o[s(304)][s(277)]?s(270):s(323))+s(305)+(o.customControls.hideProgressBar?s(270):s(323))+s(349)+(o[s(304)][s(265)]?"none":s(323))+s(289)+(o[s(304)].hideRemainingTime?s(270):s(323))+" !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: "+(o[s(304)][s(335)]?s(270):s(323))+s(282)+(o[s(304)][s(312)]?s(270):"block")+s(358)+(o.customControls[s(279)]?s(270):"block")+s(293),document[s(325)][s(353)](t)}}else if(r.controls){const t=document[s(291)](s(298));t.id="adstage-video-default-controls",t[s(300)]=s(268),!document.getElementById(s(355))&&document.head[s(353)](t)}this[s(308)]&&console.log(s(357),r[s(302)]?s(322):s(262));const i=document[s(291)](s(362));i[s(364)]=s(273),i[s(298)][s(321)]=s(347),o?.[s(295)]&&(i.style[s(366)]=s(270));const a=()=>{const t=s,e=t(292),n=t(371);i.innerHTML=r[t(350)]?e:n,i[t(342)]=r[t(350)]?"Click to unmute":t(343)};if(a(),i.addEventListener(s(327),t=>{const e=s;t.stopPropagation(),r[e(350)]=!r[e(350)],a(),this[e(308)]&&console[e(311)](e(346)+(r[e(350)]?e(350):"unmuted"))}),i.addEventListener("mouseenter",()=>{const t=s;i[t(298)][t(352)]=t(326),i[t(298)][t(316)]=t(334)}),i[s(272)](s(365),()=>{const t=s;i[t(298)][t(352)]=t(296),i.style[t(316)]=t(274)}),e[s(368)]){r[s(284)]=e.videoUrl;const t=()=>{const t=s;r[t(319)]&&r[t(350)]&&r[t(361)]&&r[t(363)]().catch(e=>{const n=t;this[n(308)]&&(console[n(264)](n(266),e),console[n(264)](n(351))),r[n(350)]=!0,r[n(363)]()[n(267)](t=>{const e=n;this[e(308)]&&console[e(299)](e(324),t)})})};r[s(272)](s(337),()=>{const e=s;this.debug&&console[e(311)](e(301)),t()}),r[s(272)](s(331),()=>{const e=s;this[e(308)]&&console[e(311)]("🎬 Video can play, attempting autoplay..."),t()}),r[s(272)](s(338),()=>{const e=s;this[e(308)]&&console[e(311)](e(373)),t()}),setTimeout(()=>{const e=s;this[e(308)]&&console[e(311)]("🎬 Initial autoplay attempt after timeout..."),t()},100)}else if(e.imageUrl){const n=document[s(291)](s(348));return n.src=e[s(359)],n[s(298)].width=s(328),n[s(298)][s(290)]="100%",n[s(298)][s(313)]="contain",n[s(340)]=e[s(342)]||s(309),void t.appendChild(n)}st[s(310)](r,e,n,()=>this[s(360)](),this[s(308)],"Video"),r.addEventListener(s(299),r=>{const o=s;if(console[o(299)](o(345),r),e.imageUrl){const s=document[o(291)](o(348));s[o(284)]=e[o(359)],s[o(298)][o(317)]=o(328),s[o(298)].height=o(328),s[o(298)][o(313)]=o(294),s[o(340)]=e.title||"Video thumbnail",st[o(310)](s,e,n,()=>this[o(360)](),this[o(308)],"Video fallback"),t[o(275)]="",t[o(353)](s)}}),t[s(353)](r),t[s(353)](i),this[s(308)]&&console[s(311)](s(263)+e[s(283)]+s(375)+r[s(319)]+s(287)+r[s(350)]+", loop: "+r[s(354)]+")")}}const Mt=zt;function Nt(){const t=["className","NATIVE","addEventListener","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","alt","getElementById","div","advertisementEventTracker","mouseenter","22QApzAD","img","⚠️ No native advertisements available for slot: ","log","14vKSCXf","button","open","textContent","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","length","#3b82f6","7YYbKKJ","backgroundColor","appendChild","renderAdElement","_blank","getDefaultHeight","218136pYRbie","renderMultipleAds","4399338uXiwTo","\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 ","createElement","src","9736420cjPcFV","Native click tracked for ad: ","200px","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","45472wAYWvQ","linkUrl","warn","Learn More","imageUrl","containerId","innerHTML","Native Advertisement","15330410KZitwz","adstage-ad adstage-native-ad","click","debug","cssText","182823jGLHku","style","722871injqkA","93ZHghgX"];return(Nt=function(){return t})()}function zt(t,e){const n=Nt();return(zt=function(t,e){return n[t-=411]})(t,e)}!function(t){const e=zt,n=t();for(;;)try{if(977720===-parseInt(e(455))/1*(parseInt(e(419))/2)+parseInt(e(458))/3*(parseInt(e(442))/4)+-parseInt(e(438))/5+-parseInt(e(434))/6*(-parseInt(e(426))/7)+-parseInt(e(432))/8+parseInt(e(457))/9+parseInt(e(450))/10*(parseInt(e(415))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Nt);class Ot extends gt{constructor(t=!1,n){super(e[zt(460)],t,n)}[Mt(431)](){return Mt(440)}async[Mt(429)](t,e){const n=Mt,s=document[n(411)](t[n(447)]);if(!s)return;const r=document.createElement("div");if(r[n(459)]=n(451),r[n(456)][n(454)]=n(435),e.title){const t=document[n(436)]("h3");t[n(422)]=e.title,t[n(456)].cssText=n(462),r[n(428)](t)}if(e.textContent){const t=document[n(436)]("p");t.textContent=e[n(422)],t[n(456)][n(454)]=n(441),r[n(428)](t)}if(e[n(446)]){const t=document[n(436)](n(412));t[n(456)][n(454)]="\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ";const s=document.createElement(n(416));s[n(437)]=e.imageUrl,s[n(463)]=e.title||n(449),s[n(456)][n(454)]=n(423),t[n(428)](s),r[n(428)](t)}if(e[n(443)]){const t=document.createElement(n(420));t[n(422)]=n(445),t[n(456)].cssText="\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 ",t[n(461)](n(452),()=>{const t=n;this[t(413)]&&console[t(418)](t(439)+e._id),window[t(421)](e[t(443)],t(430))}),t.addEventListener(n(414),()=>{const e=n;t[e(456)][e(427)]="#2563eb"}),t[n(461)]("mouseleave",()=>{const e=n;t[e(456)][e(427)]=e(425)}),r[n(428)](t)}s[n(448)]="",s[n(428)](r),this[n(453)]&&console[n(418)]("🏠 Single native ad rendered: "+e._id)}async[Mt(433)](t,e){const n=Mt;e[n(424)]>0?(await this[n(429)](t,e[0]),this[n(453)]&&console[n(418)]("🏠 Native ad rendered (first of "+e[n(424)]+"): "+t.id)):this[n(453)]&&console[n(444)](n(417)+t.id)}}function Vt(t,e){const n=jt();return(Vt=function(t,e){return n[t-=236]})(t,e)}const Ft=Vt;function jt(){const t=["button","log","590501kYHYaP","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","removeChild","body","div","removeEventListener","2406524SRjJFR","🖼️ Interstitial ad closed","renderMultipleAds","addEventListener","renderAdElement","10420BkEbRu","style","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","innerHTML","keydown","backgroundColor","appendChild","advertisementEventTracker","closeInterstitial","#6b7280","mouseenter","getElementById","🖼️ Interstitial ad rendered (first of ","Escape","#3b82f6","\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 ","cssText","3210048kJBmno","alt","title","363bAcFpV","INTERSTITIAL","\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 ","Get Started","⚠️ No interstitial advertisements available for slot: ","getDefaultHeight","_id","adstage-interstitial-overlay","debug","click","248KmiXpe","containerId","textContent","animation","key","fadeOut 0.3s ease-out forwards","adstage-interstitial-content","createElement","Interstitial click tracked for ad: ","6924zHFicO","#374151","51564IvGIpj","parentNode","color","\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 ","): ","target","95UnGfZp","adstage-interstitial-styles","#f3f4f6","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","400px","src","length","_blank","className","76055lquHre","warn","head","imageUrl","img","linkUrl","🖼️ Interstitial ad rendered: ","10351TdTWng","open"];return(jt=function(){return t})()}!function(t){const e=Vt,n=t();for(;;)try{if(429321===-parseInt(e(253))/1+-parseInt(e(303))/2*(parseInt(e(284))/3)+parseInt(e(259))/4+-parseInt(e(311))/5*(parseInt(e(305))/6)+parseInt(e(242))/7*(-parseInt(e(294))/8)+parseInt(e(281))/9+-parseInt(e(264))/10*(-parseInt(e(249))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(jt);class Ht extends gt{constructor(t=!1,n){super(e[Vt(285)],t,n)}[Ft(289)](){return Ft(237)}async[Ft(263)](t,e){const n=Ft;if(!document[n(275)](t[n(295)]))return;const s=document[n(301)]("div");s[n(241)]=n(291),s[n(265)].cssText=n(286);const r=document[n(301)](n(257));r[n(241)]=n(300),r.style.cssText="\n position: relative;\n max-width: 90vw;\n max-height: 90vh;\n background: white;\n border-radius: 12px;\n padding: 24px;\n box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);\n animation: slideUp 0.3s ease-out;\n overflow: auto;\n ";const o=document[n(301)]("button");if(o[n(267)]="×",o[n(265)].cssText=n(279),o[n(262)](n(293),()=>{this[n(272)](s)}),o[n(262)](n(274),()=>{const t=n;o[t(265)][t(269)]="#e5e7eb",o.style[t(307)]=t(304)}),o[n(262)]("mouseleave",()=>{const t=n;o.style[t(269)]=t(313),o[t(265)].color=t(273)}),e[n(245)]){const t=document[n(301)](n(246));t[n(238)]=e[n(245)],t[n(282)]=e.title||"Interstitial Advertisement",t[n(265)][n(280)]=n(254),r[n(270)](t)}if(e[n(283)]){const t=document[n(301)]("h2");t[n(296)]=e[n(283)],t[n(265)].cssText=n(266),r[n(270)](t)}if(e[n(296)]){const t=document[n(301)]("p");t[n(296)]=e[n(296)],t[n(265)].cssText=n(236),r[n(270)](t)}if(e[n(247)]){const t=document[n(301)](n(251));t[n(296)]=n(287),t[n(265)][n(280)]=n(308),t[n(262)]("click",()=>{const t=n;this[t(271)]&&console[t(252)](t(302)+e[t(290)]),window[t(250)](e[t(247)],t(240)),this.closeInterstitial(s)}),t[n(262)]("mouseenter",()=>{const e=n;t[e(265)][e(269)]="#2563eb"}),t[n(262)]("mouseleave",()=>{const e=n;t[e(265)][e(269)]=e(278)}),r[n(270)](t)}const i=t=>{const e=n;t[e(298)]===e(277)&&(this[e(272)](s),document[e(258)](e(268),i))};if(document.addEventListener(n(268),i),s[n(262)](n(293),t=>{const e=n;t[e(310)]===s&&this[e(272)](s)}),!document.getElementById(n(312))){const t=document[n(301)](n(265));t.id="adstage-interstitial-styles",t[n(296)]="\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(244)].appendChild(t)}r.appendChild(o),s[n(270)](r),document[n(256)][n(270)](s),this[n(292)]&&console[n(252)](n(248)+e[n(290)])}async[Ft(261)](t,e){const n=Ft;e[n(239)]>0?(await this[n(263)](t,e[0]),this[n(292)]&&console[n(252)](n(276)+e[n(239)]+n(309)+t.id)):this.debug&&console[n(243)](n(288)+t.id)}[Ft(272)](t){const e=Ft;t[e(265)][e(297)]=e(299),setTimeout(()=>{const n=e;t[n(306)]&&t[n(306)][n(255)](t)},300),this[e(292)]&&console[e(252)](e(260))}}const Kt=Xt;function Xt(t,e){const n=Wt();return(Xt=function(t,e){return n[t-=133]})(t,e)}function Wt(){const t=["src","No advertisement to render","2702pcUkqT","initializeRenderers","optimizeContainerForBannerAds","div","block","width","config","objectFit","renderOptimizedBannerImage is only supported for BANNER ads","img","calculateAdSize","data-adstage-slot-id","100%","8px","size","advertisement","createElement","video","data-adstage-ad-id","height","87190MJitte"," Ad","advertisementEventTracker","className","appendChild","renderFallback","TEXT","renderers","renderAdElement","⚠️ Container optimization is only supported for BANNER ads, got: ","1px dashed #ccc","1124VfnDfG","debug","renderOptimizedBannerImage","onload","getDefaultHeight","[AdRenderer] ","1414368OQyqcj","14NJQJHB","videoUrl","calculateOptimalContainerSize","padding","toLowerCase","renderAd","Failed to load image: ","VIDEO","getRenderer","set","BANNER","NATIVE","naturalWidth","renderAdSlider","naturalHeight","adType"," renderers","17050bmDpSc","log","_id","textContent","setAttribute","50548lKFBnX","6072qNVJSh","INTERSTITIAL","loadImageDimensions","createAdElement","warn","755835EBHFcN","468XqXWdy","No renderer found for ad type: ","14315972Plfqgq","style","imageUrl"];return(Wt=function(){return t})()}!function(t){const e=Xt,n=t();for(;;)try{if(575683===parseInt(e(149))/1*(-parseInt(e(201))/2)+parseInt(e(155))/3+-parseInt(e(194))/4*(-parseInt(e(144))/5)+parseInt(e(150))/6*(parseInt(e(163))/7)+parseInt(e(200))/8+-parseInt(e(156))/9*(-parseInt(e(183))/10)+-parseInt(e(158))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Wt);class Yt{constructor(t=!1,e){const n=Xt;this[n(190)]=new Map,this[n(195)]=t,this[n(185)]=e||null,this[n(164)]()}[Kt(164)](){const t=Kt;this[t(190)][t(136)](e.BANNER,new vt(this[t(195)],this[t(185)])),this[t(190)][t(136)](e[t(189)],new Dt(this[t(195)],this[t(185)])),this.renderers[t(136)](e.VIDEO,new Bt(this.debug,this.advertisementEventTracker)),this.renderers[t(136)](e[t(138)],new Ot(this[t(195)],this.advertisementEventTracker)),this[t(190)][t(136)](e[t(151)],new Ht(this[t(195)],this[t(185)])),this[t(195)]&&console[t(145)]("🏭 AdRenderer factory initialized with "+this.renderers[t(177)]+t(143))}[Kt(153)](t,n){const s=Kt,r=this[s(135)](t[s(142)]),o=document[s(179)]("div");o[s(186)]="adstage-ad adstage-"+String(t.adType)[s(205)](),o[s(148)](s(181),n[s(146)]),o.setAttribute(s(174),t.id);const{width:i,height:a}=r[s(173)](o,t[s(169)]||{},n);switch(o[s(159)][s(168)]=i,o.style.height=a,o[s(159)].display=s(167),t[s(142)]){case e[s(137)]:if(n[s(160)]){const t=document.createElement(s(172));t.src=n[s(160)],t.style[s(168)]=s(175),t.style[s(182)]=s(175),t.style[s(170)]="cover",o.appendChild(t)}break;case e[s(134)]:if(n.videoUrl){const t=document.createElement(s(180));t[s(161)]=n[s(202)],t[s(159)].width=s(175),t[s(159)][s(182)]="100%",o[s(187)](t)}break;case e.TEXT:if(n[s(147)]){const t=document[s(179)](s(166));t.textContent=n[s(147)]||"",t.style[s(204)]=s(176),o[s(187)](t)}break;default:o[s(159)].border=s(193),o[s(159)].backgroundColor="#f9f9f9",o[s(147)]=t[s(142)]+s(184)}return o}getRenderer(t){const e=Kt,n=this[e(190)].get(t);if(!n)throw new Error(e(157)+t);return n}createPlaceholder(t,e,n,s,r){this[Kt(135)](n).createPlaceholder(t,e,s,r)}async[Kt(165)](t,n){const s=Kt;if(t[s(142)]!==e.BANNER)return void(this[s(195)]&&console[s(154)](s(192)+t.adType));const r=this[s(135)](e.BANNER);await r[s(165)](t,n)}async[Kt(140)](t,e){const n=Kt,s=this.getRenderer(t[n(142)]);await s.renderMultipleAds(t,e)}async[Kt(206)](t){const e=Kt;if(!t[e(178)])throw new Error(e(162));const n=this[e(135)](t[e(142)]);await n[e(191)](t,t.advertisement),t.isLoaded=!0}async[Kt(191)](t,e){const n=Kt,s=this[n(135)](t[n(142)]);await s[n(191)](t,e)}[Kt(188)](t){this[Kt(135)](t.adType).renderFallback(t)}getDefaultHeightForAdType(t){const e=Kt;return this.getRenderer(t)[e(198)]()}[Kt(173)](t,e,n,s){const r=Kt;return this[r(135)](e)[r(173)](t,n,s)}[Kt(152)](t){return new Promise((e,n)=>{const s=Xt,r=new Image;r[s(197)]=()=>{const t=s;e({width:r[t(139)],height:r[t(141)]})},r.onerror=()=>{n(new Error(s(133)+t))},r[s(161)]=t})}async[Kt(196)](t,n,s){const r=Kt;if(s[r(142)]!==e[r(137)])throw new Error(r(171));const o=this[r(135)](e[r(137)]);return await o[r(196)](t,n,s)}async[Kt(203)](t,n,s){const r=Kt;if(s!==e[r(137)]){const t=this.getRenderer(s);return{width:r(175),height:t[r(198)](),aspectRatio:16/9}}const o=this[r(135)](e.BANNER);return await o.calculateOptimalContainerSize(t,n)}[Kt(145)](t,...e){const n=Kt;this[n(195)]&&console[n(145)](n(199)+t,...e)}}function Gt(t,e){const n=qt();return(Gt=function(t,e){return n[t-=155]})(t,e)}const Jt=Gt;function qt(){const t=["append","2564973Vxfsld","57235selnwE","muted","trackAdvertisementEvent","removedNodes","_id","isReady","refresh","createAd","length","BANNER","debug","width","_config","language","❌ Failed to load ad for slot: ","Auto-cleanup failed for slot ","loop","text","now","8VUpZXy","values","fetchAdData","ELEMENT_NODE","country","refreshAdSlot","renderAdSlider","getAllSlots","6YPkZxk","banner","[data-adstage-slot-id]","광고 생성 중 오류 발생:","92HlKLhS","_isReady","loadAdContentInBackground","data-adstage-slot-id","viewabilityTracker","VIDEO","create","innerHTML","default","slots","destroyModule","json","hideControls","API key not configured","getAttribute","TEXT","style","🗑️ Ads module destroyed","onClick","100%","forEach","containerId","📊 Advertisement event tracking enabled for slot: ","auto-","4171538tgmGEL","mutationObserver","New advertisement viewable tracked for slot:","error","❌ Failed to find element for viewability tracking: ","autoplay","🚫 Advertisement not found with ID: ","renderAdElement"," attempts: ","adId","list","set","startSimpleViewabilityTracking","autoDestroy","setupAutoCleanup","✅ Ad loaded for slot: ","log","576459jiFvyM","renderFallback","maxLines","adType","isLoaded","ms... (attempt ","4078074HFSDFp","undefined","from","Ads module not initialized. Call AdStage.init() first.","controls","getConfig","advertisements","height","🎯 Simple viewability tracking started for slot: "," ads for type: ","🔍 Auto-cleanup MutationObserver enabled","getSlotById","🎯 Ads module initialized (sync mode) with auto-cleanup","status","✅ Simple viewable impression tracked for ad ","detail","querySelectorAll","disconnect","526910dvfyIQ","customControls","apiKey","🎠 Slider will handle VIEWABLE events for ","autoSlide","Failed to refresh ad slot: ",", filters:","warn","string","🧹 Auto-cleanup: slot ","🔄 Retrying viewability tracking for slot: ","config","advertisement","134635THbVYI","VIEWABLE","❌ Failed to track viewable impression:","deviceType","delete","handleViewableEvent","NATIVE","playsinline","createAdInternal","adRenderer","renderAd","Container not found after ","Failed to fetch ad data: ","getElementById","adstage-","INTERSTITIAL","Ad slot not found: ","createAdWithRetry","GET","handleRemovedElement","getBaseUrl","get"," (attempt ","🗑️ Ad slot destroyed: ","187UjJObJ","advertisementEventTracker"," removed","toString","destroy","📊 Fetched specific ad with ID: ","ensureReady","clear","🔄 Ad slot refreshed: ","auto"];return(qt=function(){return t})()}!function(t){const e=Gt,n=t();for(;;)try{if(515952===parseInt(e(183))/1+parseInt(e(246))/2*(-parseInt(e(291))/3)+parseInt(e(250))/4*(parseInt(e(219))/5)+parseInt(e(297))/6+-parseInt(e(274))/7*(parseInt(e(238))/8)+-parseInt(e(218))/9+-parseInt(e(170))/10*(-parseInt(e(207))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(qt);class Qt{constructor(){const t=Gt;this[t(251)]=!1,this._config=null,this.slots=new Map,this[t(208)]=null,this[t(192)]=null,this[t(275)]=null}init(t){const e=Gt;this[e(231)]=t,this[e(208)]=new O(J[e(203)](),t[e(172)],t[e(229)]||!1,this[e(259)]),this.adRenderer=new Yt(t[e(229)]||!1,this.advertisementEventTracker),this[e(288)](),this._isReady=!0,t.debug&&console.log(e(164))}[Jt(224)](){return this[Jt(251)]}[Jt(157)](){return this._config}[Jt(247)](t,n){const s=Jt;this[s(213)]();const r={width:n?.width||s(269),height:n?.height||"auto",autoSlide:n?.[s(174)]||!1,slideInterval:n?.slideInterval||5e3,onClick:n?.[s(268)],adId:n?.[s(283)],language:n?.[s(232)],deviceType:n?.[s(186)],country:n?.country};return this.createAd(t,e[s(228)],r)}[Jt(236)](t,n){const s=Jt;this.ensureReady();const r={maxLines:n?.[s(293)]||3,style:n?.[s(266)]||s(258),onClick:n?.[s(268)],adId:n?.[s(283)],language:n?.language,deviceType:n?.[s(186)],country:n?.[s(242)]};return this[s(226)](t,e[s(265)],r)}video(t,n){const s=Jt;this.ensureReady();const r={width:n?.width||640,height:n?.[s(159)]||360,autoplay:void 0===n?.[s(279)]||n[s(279)],muted:void 0===n?.[s(220)]||n.muted,loop:void 0===n?.[s(235)]||n[s(235)],playsinline:!1!==n?.[s(190)],controls:void 0!==n?.controls&&n[s(156)],hideControls:n?.[s(262)]||!1,customControls:n?.[s(171)],autoSlide:!1,maxAds:1,onClick:n?.[s(268)],...n?.adId&&{adId:n[s(283)]}};return this[s(226)](t,e[s(255)],r)}native(t,n){const s=Jt;return this[s(213)](),this[s(226)](t,e[s(189)],n||{})}interstitial(t,n){const s=Jt;return this[s(213)](),this[s(226)](t,e[s(198)],n||{})}[Jt(225)](t){const e=Jt;this.ensureReady();const n=this[e(259)][e(204)](t);if(!n)throw new Error("Ad slot not found: "+t);this[e(243)](n),this[e(231)]?.[e(229)]&&console[e(290)](e(215)+t)}[Jt(211)](t){const e=Jt;this[e(213)]();const n=this.slots[e(204)](t);if(!n)throw new Error(e(199)+t);n[e(254)]&&n[e(254)][e(211)]();const s=document[e(196)](n[e(271)]);s&&(s[e(257)]=""),this[e(259)][e(187)](t),this[e(231)]?.[e(229)]&&console[e(290)](e(206)+t)}[Jt(245)](){const t=Jt;return this[t(213)](),Array[t(299)](this.slots[t(239)]())}[Jt(163)](t){const e=Jt;return this.ensureReady(),this[e(259)][e(204)](t)||null}[Jt(226)](t,e,n){const s=Jt;if(!this[s(231)]?.[s(172)])throw new Error(s(263));const r=s(197)+e+"-"+Date[s(237)]()+"-"+Math.random()[s(210)](36).substr(2,9);return this[s(200)](t,e,n,r,0),r}async[Jt(200)](t,e,n,s,r){const o=Jt,i=[0,50,100,200,500];let a,c=null;if(typeof t===o(178)){if(a=t,c=document.getElementById(t),!c)return r<4?(this[o(231)]?.[o(229)]&&console[o(177)]("Container not found: "+t+". Retrying in "+i[r+1]+o(296)+(r+1)+"/5)"),void setTimeout(()=>{this[o(200)](t,e,n,s,r+1)},i[r+1])):void console.error(o(194)+5+o(282)+t)}else c=t,a=c.id||o(273)+s,!c.id&&(c.id=a);try{this.createAdInternal(a,e,n,s,c)}catch(t){console[o(277)](o(249),t)}}[Jt(191)](t,n,s,r,o){const i=Jt;o.setAttribute("data-adstage-slot-id",r),this[i(192)]?.createPlaceholder(o,r,n,s,this[i(231)]);const a={id:r,containerId:t,adType:n,width:s[i(230)]||i(269),height:s[i(159)]||(n===e[i(265)]?i(216):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...s},load:async()=>this[i(240)](n,s).then(t=>t[0]||null),render:t=>this[i(192)]?.[i(281)](a,t),refresh:async()=>this[i(243)](a),destroy:()=>this.destroy(r)};this.slots[i(285)](r,a),this[i(252)](a),this[i(208)]&&this[i(231)]?.debug&&console.log(i(272)+r)}async[Jt(252)](t){const n=Jt;try{const s=await this[n(240)](t[n(294)],t[n(181)]);if(!s||0===s[n(227)])return void this[n(192)]?.[n(292)](t);t[n(294)]===e[n(228)]&&s[n(227)]>0&&await(this[n(192)]?.optimizeContainerForBannerAds(t,s)),s.length>1||t[n(181)]?.[n(174)]?(await(this[n(192)]?.[n(244)](t,s)),this[n(231)]?.[n(229)]&&console[n(290)](n(173)+s[n(227)]+" ads automatically")):(t[n(182)]=s[0],await(this[n(192)]?.[n(281)](t,s[0])),this[n(286)](t,s[0])),t[n(295)]=!0,this._config?.debug&&console.log(n(289)+t.id+" ("+s[n(227)]+" ads)")}catch(e){console[n(277)](n(233)+t.id,e),this[n(192)]?.[n(292)](t)}}startSimpleViewabilityTracking(t,e){const n=(s=0)=>{const r=Gt,o=document[r(196)](t.id);if(!o)return void(s<5?(setTimeout(()=>n(s+1),300),this[r(231)]?.[r(229)]&&console[r(290)](r(180)+t.id+r(205)+(s+1)+")")):console.warn(r(278)+t.id));const i=new H(o,async()=>{const n=r;await this[n(188)](e,t)});t[r(254)]=i,this[r(231)]?.[r(229)]&&console[r(290)](r(160)+t.id+" (element found)")};n()}async[Jt(188)](t,e){const n=Jt;try{this[n(208)]&&(await this.advertisementEventTracker[n(221)](t._id,e.id,a[n(184)]),this[n(231)]?.[n(229)]&&console[n(290)](n(166)+t[n(223)]))}catch(t){console[n(277)](n(185),t)}}async fetchAdData(t,e){const n=Jt;if(!this._config?.[n(172)])throw new Error(n(263));if(e[n(283)]){const t=""+J.advertisements[n(167)](e[n(283)]),s=await fetch(t,{method:n(201),headers:B[n(256)](this[n(231)][n(172)])});if(!s.ok){if(404===s[n(165)])return console[n(177)](n(280)+e[n(283)]),[];throw new Error(n(195)+s.status)}const r=await s.json();return this[n(231)]?.debug&&console[n(290)](n(212)+e[n(283)],r),[r]}const s=new URLSearchParams;s[n(217)]("adType",t),e[n(232)]&&s[n(217)]("language",e.language),e.deviceType&&s[n(217)](n(186),e.deviceType),e[n(242)]&&s[n(217)](n(242),e.country);const r=J[n(158)][n(284)]()+"?"+s[n(210)](),o=await fetch(r,{method:"GET",headers:B[n(256)](this[n(231)][n(172)])});if(!o.ok)throw new Error(n(195)+o[n(165)]);const i=(await o[n(261)]())[n(158)]||[];return this[n(231)]?.[n(229)]&&console[n(290)]("📊 Fetched "+i[n(227)]+n(161)+t+n(176),{language:e[n(232)],deviceType:e[n(186)],country:e[n(242)]}),i}async[Jt(243)](t){const e=Jt;try{const n=await this[e(240)](t[e(294)],t[e(181)]||{});n&&n[e(227)]>0&&(t[e(182)]=n[0],await(this.adRenderer?.[e(193)](t)),this[e(208)]&&console.log(e(276),t.id))}catch(n){console.error(e(175)+t.id,n)}}[Jt(213)](){const t=Jt;if(!this[t(251)])throw new Error(t(155))}[Jt(288)](){const t=Jt;typeof window!==t(298)&&typeof document!==t(298)&&(this[t(275)]&&this[t(275)][t(169)](),this[t(275)]=new MutationObserver(t=>{t.forEach(t=>{const e=Gt;t[e(222)].forEach(t=>{const n=e;t.nodeType===Node[n(241)]&&this[n(202)](t)})})}),this[t(275)].observe(document.body,{childList:!0,subtree:!0}),this[t(231)]?.[t(229)]&&console[t(290)](t(162)))}[Jt(202)](t){const e=Jt,n=t[e(264)]("data-adstage-slot-id");if(n)return void this[e(287)](n);t[e(168)](e(248))[e(270)](t=>{const n=e,s=t[n(264)](n(253));s&&this[n(287)](s)})}[Jt(287)](t){const e=Jt;if(this.slots[e(204)](t))try{this[e(259)][e(187)](t),this[e(231)]?.[e(229)]&&console[e(290)](e(179)+t+e(209))}catch(n){this._config?.[e(229)]&&console.warn(e(234)+t+":",n)}}[Jt(260)](){const t=Jt,e=this[t(231)]?.[t(229)];this.mutationObserver&&(this[t(275)].disconnect(),this[t(275)]=null),this.slots[t(214)](),this[t(208)]=null,this[t(192)]=null,this._isReady=!1,this[t(231)]=null,e&&console[t(290)](t(267))}}function Zt(){var t=["apiKey","development","Config module not initialized","4630915XXLksP","isDebugMode","✅ Config module initialized (sync mode)","events","9594186lVcJCw","modules","config","updateConfig","setBaseUrl","debug","getConfig","ads","🔄 Config updated","941298zADsRO","log","656884HrAoyM","_config","create","isReady","3WCiGXa","3190334POrzcw","10361296fuOixT","baseUrl","includes","2493HjsluC","4nircSr","getApiEndpoint","_organizationInfo","_isReady","40590xKhuga"];return(Zt=function(){return t})()}var $t=te;function te(t,e){var n=Zt();return(te=function(t,e){return n[t-=315]})(t,e)}!function(t){for(var e=te,n=t();;)try{if(904124===-parseInt(e(317))/1+parseInt(e(322))/2*(parseInt(e(321))/3)+parseInt(e(327))/4*(-parseInt(e(335))/5)+-parseInt(e(315))/6+-parseInt(e(339))/7+parseInt(e(323))/8+-parseInt(e(326))/9*(-parseInt(e(331))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Zt);class ee{constructor(){this[te(330)]=!1,this._config=null,this._organizationInfo=null}init(t){var e=te;this[e(318)]={timeout:3e4,debug:!1,modules:[e(346),e(338),e(341)],...t},t.baseUrl&&J[e(343)](t[e(324)]),this[e(330)]=!0,t.debug&&console.log(e(337),{modules:this[e(318)][e(340)],endpoint:J.getBaseUrl(),mode:e(333)})}[$t(320)](){return this[$t(330)]}[$t(345)](){return this._config}getOrganizationInfo(){return this[$t(329)]}[$t(328)](){return J.getBaseUrl()}[$t(336)](){var t=$t;return this[t(318)]?.[t(344)]||!1}getEnabledModules(){var t=$t;return this[t(318)]?.[t(340)]||[]}isModuleEnabled(t){var e=$t;return this.getEnabledModules()[e(325)](t)}[$t(342)](t){var e=$t;if(!this._config)throw new Error(e(334));this._config={...this[e(318)],...t},this[e(336)]()&&console[e(316)](e(347),t)}getApiHeaders(){var t=$t;if(!this._config?.apiKey)throw new Error("API key not available");return B[t(319)](this[t(318)][t(332)])}}const ne=re;function se(){const t=["ios","setDeviceInfo","12544mHtgLo","getUserProvidedDeviceInfo","toLowerCase","SSR","isMobile","Desktop Web","mapPlatformForEvents","ko-KR","6426835VskRut","onLine","mobile","2739622AOUOFT","0x0","2159517aFmlaU","platform","getPlatform","getDeviceInfo","Mobile Web","getAppVersion","1928402SewZxa","12GrJvCg","height","android","userAgent","desktop","isBrowser","_userProvidedDeviceInfo","setDeviceProperty","getAutoDetectedDeviceInfo","Android","1696393BsSXCk","11259WLQvTc","13091290aZdYYs","4NFvoZt","getViewportInfo","tablet"];return(se=function(){return t})()}function re(t,e){const n=se();return(re=function(t,e){return n[t-=466]})(t,e)}!function(t){const e=re,n=t();for(;;)try{if(993577===parseInt(e(473))/1+-parseInt(e(492))/2+parseInt(e(494))/3*(-parseInt(e(476))/4)+parseInt(e(489))/5+-parseInt(e(501))/6*(parseInt(e(500))/7)+parseInt(e(481))/8*(parseInt(e(474))/9)+-parseInt(e(475))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(se);class oe{static[ne(497)](){const t=ne;return{...oe[t(471)](),...oe[t(469)]}}static[ne(471)](){const t=ne;if(!m.isBrowser())return{category:"other",platform:t(484),model:t(484),appVersion:C[t(499)](),osVersion:t(484)};const e=navigator[t(466)][t(483)]();let n=t(467);/tablet|ipad/.test(e)?n=t(478):D[t(485)]()&&(n=t(491));const s=D[t(496)]();return{category:n,platform:oe[t(487)](s),model:navigator.platform,appVersion:C[t(499)](),osVersion:navigator.platform}}static[ne(480)](t){const e=ne;oe._userProvidedDeviceInfo={...oe[e(469)],...t}}static[ne(470)](t,e){oe[ne(469)][t]=e}static clearUserProvidedDeviceInfo(){oe[ne(469)]={}}static[ne(482)](){return{...oe[ne(469)]}}static[ne(487)](t){const e=ne;switch(t){case e(479):return"iOS";case e(503):return e(472);case"web":return e(498);case e(467):return e(486);default:return"Unknown"}}static getDetailedInfo(){const t=ne;if(!m[t(468)]())return{userAgent:t(484),language:t(488),platform:t(484),cookieEnabled:!1,onLine:!0,screenResolution:t(493),viewportSize:"0x0"};const e=m[t(477)]();return{userAgent:navigator.userAgent,language:navigator.language||t(488),platform:navigator[t(495)],cookieEnabled:navigator.cookieEnabled,onLine:navigator[t(490)],screenResolution:screen.width+"x"+screen[t(502)],viewportSize:e.width+"x"+e[t(502)]}}}oe[ne(469)]={};const ie=ce;!function(t){const e=ce,n=t();for(;;)try{if(943187===-parseInt(e(417))/1*(parseInt(e(409))/2)+-parseInt(e(401))/3*(parseInt(e(412))/4)+parseInt(e(394))/5*(parseInt(e(408))/6)+parseInt(e(400))/7*(parseInt(e(416))/8)+-parseInt(e(396))/9*(-parseInt(e(397))/10)+-parseInt(e(414))/11+parseInt(e(411))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(le);class ae{static[ie(403)](){const t=ie;return{...ae[t(398)](),...ae[t(399)]}}static[ie(398)](){const t=ie;if(!m[t(404)]())return{language:t(406),country:"KR"};const e=navigator[t(415)]||t(406);return{language:e,country:ae.extractCountryFromLanguage(e)}}static extractCountryFromLanguage(t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t[ie(410)]("-")[0]]||"KR"}static setUserProperties(t){const e=ie;ae._userProperties={...ae[e(399)],...t}}static setUserProperty(t,e){ae[ie(399)][t]=e}static[ie(402)](){ae[ie(399)]={}}static getCurrentUserProperties(){return{...ae[ie(399)]}}static[ie(395)](){const t=ie;if(!m[t(404)]())return{timezone:t(405),estimatedCountry:"KR"};const e=Intl[t(413)]().resolvedOptions()[t(407)];return{timezone:e,estimatedCountry:{"Asia/Seoul":"KR","Asia/Tokyo":"JP","Asia/Shanghai":"CN","Asia/Hong_Kong":"HK","Asia/Taipei":"TW","America/New_York":"US","America/Los_Angeles":"US","Europe/London":"GB","Europe/Berlin":"DE","Europe/Paris":"FR"}[e]||"KR"}}}function ce(t,e){const n=le();return(ce=function(t,e){return n[t-=394]})(t,e)}function le(){const t=["isBrowser","UTC","ko-KR","timeZone","296850cNaDJK","66574hDIFxS","split","3313428gNcNhj","308920jWBPsy","DateTimeFormat","734712Eegvxy","language","8MAAWbZ","9gXeEXV","25NJTpEV","estimateLocation","3177dtXzfk","13930NFgalp","getBaseUserInfo","_userProperties","12872573kbvpkB","60KqhDZc","clearUserProperties","getUserInfo"];return(le=function(){return t})()}ae[ie(399)]={};const de=pe;function ue(){const t=["2958822ILxLki","setItem","10249494hIxNub","getSessionStats","adstage_session_start","9203576RqvufY","_sessionStartTime","random","38972WGoiQE","getSessionId","76hEoZXj","3887364lKDoXC","4822155kNwoxN","getItem","isBrowser","isNewSession","_userId","now","adstage_session_id","toString","adstage_user_id","getUserId","session_","isSessionExpired","7wvgtyY","substr","getSessionDuration","379053ALUXss","150VFtYoY","clearUserId","removeItem"];return(ue=function(){return t})()}function pe(t,e){const n=ue();return(pe=function(t,e){return n[t-=308]})(t,e)}!function(t){const e=pe,n=t();for(;;)try{if(913031===-parseInt(e(312))/1*(-parseInt(e(314))/2)+parseInt(e(335))/3+parseInt(e(315))/4+parseInt(e(316))/5+parseInt(e(337))/6*(-parseInt(e(328))/7)+-parseInt(e(309))/8+parseInt(e(331))/9*(-parseInt(e(332))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ue);class he{static[de(313)](){const t=de;if(!m[t(318)]())return"ssr_session_"+Date[t(321)]();const e=sessionStorage[t(317)](t(322));if(e)return e;const n=t(326)+Math[t(311)]()[t(323)](36)[t(329)](2,9)+"_"+Date[t(321)]();return sessionStorage[t(336)](t(322),n),!he._sessionStartTime&&(he[t(310)]=Date.now(),m[t(318)]()&&sessionStorage[t(336)](t(308),String(he[t(310)]))),n}static setUserId(t){const e=de;he[e(320)]=t,m[e(318)]()&&localStorage[e(336)](e(324),t)}static getUserId(){const t=de;if(he[t(320)])return he[t(320)];if(m[t(318)]()){const e=localStorage[t(317)](t(324));if(e)return he._userId=e,e}}static[de(333)](){const t=de;he[t(320)]=void 0,m[t(318)]()&&localStorage.removeItem("adstage_user_id")}static getSessionInfo(){const t=de,e=he[t(313)](),n=he.getUserId(),s=he[t(319)]();return{sessionId:e,userId:n,sessionDuration:he.getSessionDuration(),isNewSession:s}}static[de(319)](){const t=de;if(!m[t(318)]())return!0;const e=sessionStorage.getItem("adstage_session_id"),n=sessionStorage.getItem(t(308));return!e||!n}static[de(330)](){const t=de;if(!m[t(318)]())return 0;const e=sessionStorage[t(317)](t(308));return e?Date[t(321)]()-parseInt(e,10):0}static refreshSession(){const t=de;return m.isBrowser()&&(sessionStorage[t(334)](t(322)),sessionStorage[t(334)](t(308))),he[t(310)]=void 0,he[t(313)]()}static[de(327)](t=24){return he[de(330)]()>60*t*60*1e3}static[de(338)](){const t=de,e=he.getSessionId(),n=he[t(325)](),s=he[t(330)](),r=he.isSessionExpired(),o=he.isNewSession();let i;if(m.isBrowser()){const e=sessionStorage[t(317)]("adstage_session_start");i=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:i,duration:s,isExpired:r,isNewSession:o}}}const fe=ge;function ge(t,e){const n=me();return(ge=function(t,e){return n[t-=340]})(t,e)}function me(){const t=["events","isReady","Event data:","94298wwoDMC","debug","application/json","6SpuFEa","sendEventToServer","👤 User ID set:","statusText","getUserId","Event tracking failed: ","📊 Events module initialized","_isReady","20HGfSNx","_config","setUserId","status","getDeviceInfo","API key not configured for event tracking.","stringify","track","setUserProperties","apiKey","166593mDQOOO","1289898nASHTd","2973390SWjSzj","init","1016736mdIznu","create","log","getUserProperties","183522ZYuuGg","error","getSessionId","162qPYQVJ","getConfig","Events module not initialized. Call AdStage.init() first.","55200nMblOi","getCurrentUserProperties"];return(me=function(){return t})()}!function(t){const e=ge,n=t();for(;;)try{if(363028===-parseInt(e(342))/1+parseInt(e(345))/2*(parseInt(e(371))/3)+parseInt(e(353))/4*(-parseInt(e(377))/5)+parseInt(e(374))/6*(parseInt(e(363))/7)+parseInt(e(367))/8+-parseInt(e(364))/9+-parseInt(e(365))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(me);class ye{constructor(){const t=ge;this[t(352)]=!1,this[t(354)]=null}[fe(366)](t){const e=fe;this[e(354)]=t,this[e(352)]=!0,t[e(343)]&&console[e(369)](e(351))}[fe(340)](){return this[fe(352)]}[fe(375)](){return this._config}[fe(355)](t){const e=fe;he.setUserId(t),this._config?.[e(343)]&&console[e(369)](e(347),t)}[fe(349)](){return he[fe(349)]()}setUserProperties(t){const e=fe;ae[e(361)](t),this[e(354)]?.[e(343)]&&console[e(369)]("👤 User properties set:",t)}[fe(370)](){return ae[fe(378)]()}async[fe(360)](t,e){const n=fe;if(this[n(352)])if(this[n(354)]?.[n(362)])try{const s={eventName:t,userId:he[n(349)](),sessionId:he[n(373)](),sdkVersion:E(),device:oe[n(357)](),user:ae.getUserInfo(),params:e||{}};await this[n(346)](s),this._config[n(343)]&&console[n(369)]("✅ Event tracked:",t,e)}catch(s){console.error("❌ Failed to track event:",s),this._config[n(343)]&&console[n(372)](n(341),{eventName:t,properties:e})}else console.warn(n(358));else console.warn(n(376))}async[fe(346)](t){const e=fe,n=await fetch(J[e(379)][e(360)](),{method:"POST",headers:{...B[e(368)](this[e(354)].apiKey),"Content-Type":e(344)},body:JSON[e(359)](t)});if(!n.ok)throw new Error(e(350)+n[e(356)]+" "+n[e(348)])}}const Ie=ve;function ve(t,e){const n=we();return(ve=function(t,e){return n[t-=433]})(t,e)}!function(t){const e=ve,n=t();for(;;)try{if(446595===-parseInt(e(439))/1+parseInt(e(453))/2*(parseInt(e(455))/3)+parseInt(e(451))/4*(-parseInt(e(462))/5)+-parseInt(e(471))/6+-parseInt(e(441))/7*(parseInt(e(442))/8)+parseInt(e(443))/9+parseInt(e(436))/10*(parseInt(e(460))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(we);class be{constructor(){const t=ve;this[t(449)]=!1,this[t(434)]=null,this[t(447)]=new ee,this[t(448)]=new Qt,this[t(445)]=new ye}static init(t){const e=ve;!be[e(435)]&&(be[e(435)]=new be);const n=be[e(435)];if(!t[e(456)])throw new Error(e(437));n[e(434)]={timeout:3e4,debug:!1,modules:[e(448),e(445),e(447)],...t},n[e(434)].baseUrl&&(J.setBaseUrl(n[e(434)].baseUrl),t[e(458)]&&console[e(452)](e(461),n[e(434)][e(465)]));const s=n._config[e(470)]||[e(448),e(445),e(447)];for(const t of s){const s=n[t];s&&"function"==typeof s[e(444)]&&s[e(444)](n[e(434)])}n[e(449)]=!0,t[e(458)]&&console.log(e(467),{version:e(469),modules:s,apiKey:t[e(456)][e(459)](0,8)+e(446),mode:e(463)})}static[Ie(433)](){const t=Ie;return be.instance?.[t(449)]||!1}static[Ie(468)](){const t=Ie;return be.instance?.[t(434)]||null}static[Ie(464)](){const t=Ie;if(!be.instance)throw new Error(t(450));return be[t(435)]}static get[Ie(448)](){return be[Ie(464)]().ads}static get[Ie(445)](){const t=Ie;return be[t(464)]()[t(445)]}static get[Ie(447)](){const t=Ie;return be[t(464)]()[t(447)]}static reset(){const t=Ie;be[t(435)]&&(be[t(435)][t(449)]=!1,be.instance._config=null)}}function we(){const t=["getConfig","2.0.0","modules","344640XFlgNe","isReady","_config","instance","4925510wgWWGy","API key is required for AdStage initialization","viewableTracker","865861CLKrsr","📊 AdStage Debug: 현재 viewable 추적 상태","4549055LZxXld","8zmGgrX","2847870dMupbF","init","events","...","config","ads","_isInitialized","AdStage not initialized. Call AdStage.init() first.","4celJFG","log","1137706pEjNab","clear","3ehSlfQ","apiKey",")의 viewable 추적 초기화됨","debug","substring","44zrNCJE","🌐 API endpoint configured:","4178630rVLPbp","development","getInstance","baseUrl","✅ AdStage Debug: 광고 ","🚀 AdStage SDK initialized (sync mode)"];return(we=function(){return t})()}function Ee(t,e){var n=ke();return(Ee=function(t,e){return n[t-=359]})(t,e)}function ke(){var t=["2299990oEAmcA","AdStage not initialized. Call AdStage.init() first.","6YtHWMX","getUserId","1777304ThZujy","track","20KFBJam","events","73588Kwigvs","546435wwaiWi","20bruEfi","warn","355523gCZFZd","1Tjglfc","234825cUfEhJ","resolve","937746faBaUI","isReady"];return(ke=function(){return t})()}be[Ie(458)]={clearAllViewable:()=>{const t=Ie;ut[t(454)](),console[t(452)]("✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨")},clearAdViewable:(t,e)=>{const n=Ie;ut.clearAdViewable(t,e),console[n(452)](n(466)+t+"("+e+n(457))},getViewableStatus:()=>{const t=Ie;console[t(452)](t(440),{trackedCount:ut.viewableTracker.size,trackedItems:Array.from(ut[t(438)])})}},function(t){for(var e=Ee,n=t();;)try{if(164980===-parseInt(e(370))/1*(-parseInt(e(365))/2)+-parseInt(e(373))/3+parseInt(e(367))/4*(parseInt(e(371))/5)+parseInt(e(359))/6*(-parseInt(e(369))/7)+-parseInt(e(361))/8+parseInt(e(366))/9+-parseInt(e(363))/10*(-parseInt(e(375))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ke);var xe,Se={exports:{}},Ae={},Ce={exports:{}},Te={};Ce.exports=function(){if(xe)return Te;xe=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),r=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"),l=Symbol.for("react.memo"),d=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},E={key:!0,ref:!0,__self:!0,__source:!0};function k(e,n,s){var r,o={},i=null,a=null;if(null!=n)for(r in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(i=""+n.key),n)b.call(n,r)&&!E.hasOwnProperty(r)&&(o[r]=n[r]);var c=arguments.length-2;if(1===c)o.children=s;else if(1<c){for(var l=Array(c),d=0;d<c;d++)l[d]=arguments[d+2];o.children=l}if(e&&e.defaultProps)for(r in c=e.defaultProps)void 0===o[r]&&(o[r]=c[r]);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,s,r,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)?(r="",null!=n&&(r=n.replace(S,"$&/")+"/"),C(i,s,r,"",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,r+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(S,"$&/")+"/")+n)),s.push(i)),1;if(c=0,o=""===o?".":o+":",v(n))for(var l=0;l<n.length;l++){var d=o+A(a=n[l],l);c+=C(a,s,r,d,i)}else if(d=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof d)for(n=d.call(n),l=0;!(a=n.next()).done;)c+=C(a=a.value,s,r,d=o+A(a,l++),i);else if("object"===a)throw s=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===s?"object with keys {"+Object.keys(n).join(", ")+"}":s)+"). 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 s=[],r=0;return C(t,s,"","",function(t){return e.call(n,t,r++)}),s}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 _={current:null},D={transition:null},L={ReactCurrentDispatcher:_,ReactCurrentBatchConfig:D,ReactCurrentOwner:w};function P(){throw Error("act(...) is not supported in production builds of React.")}return Te.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}},Te.Component=g,Te.Fragment=n,Te.Profiler=r,Te.PureComponent=y,Te.StrictMode=s,Te.Suspense=c,Te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,Te.act=P,Te.cloneElement=function(e,n,s){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=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(l in n)b.call(n,l)&&!E.hasOwnProperty(l)&&(r[l]=void 0===n[l]&&void 0!==c?c[l]:n[l])}var l=arguments.length-2;if(1===l)r.children=s;else if(1<l){c=Array(l);for(var d=0;d<l;d++)c[d]=arguments[d+2];r.children=c}return{$$typeof:t,type:e.type,key:o,ref:i,props:r,_owner:a}},Te.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},Te.createElement=k,Te.createFactory=function(t){var e=k.bind(null,t);return e.type=t,e},Te.createRef=function(){return{current:null}},Te.forwardRef=function(t){return{$$typeof:a,render:t}},Te.isValidElement=x,Te.lazy=function(t){return{$$typeof:d,_payload:{_status:-1,_result:t},_init:R}},Te.memo=function(t,e){return{$$typeof:l,type:t,compare:void 0===e?null:e}},Te.startTransition=function(t){var e=D.transition;D.transition={};try{t()}finally{D.transition=e}},Te.unstable_act=P,Te.useCallback=function(t,e){return _.current.useCallback(t,e)},Te.useContext=function(t){return _.current.useContext(t)},Te.useDebugValue=function(){},Te.useDeferredValue=function(t){return _.current.useDeferredValue(t)},Te.useEffect=function(t,e){return _.current.useEffect(t,e)},Te.useId=function(){return _.current.useId()},Te.useImperativeHandle=function(t,e,n){return _.current.useImperativeHandle(t,e,n)},Te.useInsertionEffect=function(t,e){return _.current.useInsertionEffect(t,e)},Te.useLayoutEffect=function(t,e){return _.current.useLayoutEffect(t,e)},Te.useMemo=function(t,e){return _.current.useMemo(t,e)},Te.useReducer=function(t,e,n){return _.current.useReducer(t,e,n)},Te.useRef=function(t){return _.current.useRef(t)},Te.useState=function(t){return _.current.useState(t)},Te.useSyncExternalStore=function(t,e,n){return _.current.useSyncExternalStore(t,e,n)},Te.useTransition=function(){return _.current.useTransition()},Te.version="18.3.1",Te}();var Re,_e=Ce.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
|
-
*/
|
|
10
|
+
*/Se.exports=function(){if(Re)return Ae;Re=1;var t=_e,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,r=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={},l=null,d=null;for(a in void 0!==i&&(l=""+i),void 0!==n.key&&(l=""+n.key),void 0!==n.ref&&(d=n.ref),n)s.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:l,ref:d,props:c,_owner:r.current}}return Ae.Fragment=n,Ae.jsx=i,Ae.jsxs=i,Ae}();var De=Se.exports;const Le=_e.createContext(null);function Pe(){const t=_e.useContext(Le);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function Ue(t,e){var n=Be();return(Ue=function(t,e){return n[t-=151]})(t,e)}function Be(){var t=["144010gSiYxr","12928773tHJlRs","30789jMwuoJ","1912spLxQz","259GBZREO","5876680WevaOZ","4274560YwxOqK","20YGlpkX","124692bjpFrJ","159EaKjji","58264KisTiZ"];return(Be=function(){return t})()}!function(t){for(var e=Ue,n=t();;)try{if(720826===parseInt(e(151))/1*(parseInt(e(155))/2)+-parseInt(e(153))/3*(-parseInt(e(154))/4)+-parseInt(e(161))/5+parseInt(e(152))/6*(parseInt(e(159))/7)+parseInt(e(158))/8*(-parseInt(e(157))/9)+parseInt(e(160))/10+-parseInt(e(156))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Be);const Me=Oe;function Ne(){const t=["config","10679622HqJKwM","undefined","354CUXHlE","910504IIxzCz","AdStage","220SQmOCM","1054772UgMGOz","81KHUrgg","258860iuoIOQ","6998mIoUht","99644QxMved","11tnngHv","ads","63099030xyWGhw"];return(Ne=function(){return t})()}!function(t){const e=Oe,n=t();for(;;)try{if(978891===-parseInt(e(222))/1+-parseInt(e(225))/2*(parseInt(e(233))/3)+parseInt(e(226))/4*(-parseInt(e(236))/5)+-parseInt(e(231))/6+parseInt(e(224))/7+parseInt(e(234))/8*(-parseInt(e(223))/9)+parseInt(e(229))/10*(parseInt(e(227))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ne);const ze=[Me(228),"events",Me(230)];function Oe(t,e){const n=Ne();return(Oe=function(t,e){return n[t-=222]})(t,e)}typeof window!==Me(232)&&(window[Me(235)]=be),t.AdStage=be,t.AdStageProvider=function({children:t,config:e}){const[n,s]=_e.useState(!1),[r,o]=_e.useState(null),[i,a]=_e.useState(null),c=t=>{try{a(null),n&&be.reset(),be.init(t),o(t),s(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),s(!1),o(null)}};_e.useEffect(()=>{e&&!n&&c(e)},[e,n]);const l={isInitialized:n,config:r,initialize:c,reset:()=>{try{be.reset(),s(!1),o(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:i};return De.jsx(Le.Provider,{value:l,children:t})},t.SDK_VERSION="2.0.0",t.SUPPORTED_MODULES=ze,t.getUserId=function(){var t=Ee;if(be[t(374)]())return be[t(364)][t(360)]();console.warn("AdStage not initialized. Call AdStage.init() first.")},t.getUserProperties=function(){var t=Ee;if(be[t(374)]())return be[t(364)].getUserProperties();console[t(368)](t(376))},t.setUserId=function(t){var e=Ee;be[e(374)]()?be[e(364)].setUserId(t):console[e(368)](e(376))},t.setUserProperties=function(t){var e=Ee;be[e(374)]()?be.events.setUserProperties(t):console[e(368)](e(376))},t.track=function(t,e){var n=Ee;return be[n(374)]()?be.events[n(362)](t,e):(console[n(368)](n(376)),Promise[n(372)]())},t.useAdStageContext=Pe,t.useAdStageInstance=function(){const{isInitialized:t}=Pe();return t?be:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}});
|