@adstage/web-sdk 3.0.9 → 3.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- var t,e,n,r,s,o,i,a,c,l,d,u;function p(){var t=["WEB","MOBILE","INTERSTITIAL","428aDkzNB","CLICK","VIDEO","DESKTOP","3831669PBQaek","7MMXgwb","20933YCnsoN","8ThXuFp","NATIVE","289234RzMApC","1757706OCzrJf","7377QnCQaM","VIEWABLE","TABLET","BANNER","POPUP","TEXT","2367865GkJvjN","5170lVyVly","376338nApVFU"];return(p=function(){return t})()}function h(t,e){var n=p();return(h=function(t,e){return n[t-=444]})(t,e)}function f(t,e){const n=v();return(f=function(t,e){return n[t-=217]})(t,e)}!function(){for(var t=h,e=p();;)try{if(239806===-parseInt(t(444))/1+parseInt(t(457))/2+-parseInt(t(459))/3*(-parseInt(t(448))/4)+parseInt(t(465))/5+parseInt(t(458))/6*(parseInt(t(453))/7)+parseInt(t(455))/8*(parseInt(t(452))/9)+parseInt(t(466))/10*(-parseInt(t(454))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(e=t||(t={}))[(n=h)(462)]=n(462),e[n(463)]=n(463),e[n(447)]=n(447),e.NATIVE=n(456),e[n(450)]=n(450),e.TEXT=n(464),(s=r||(r={}))[(o=h)(445)]=o(445),s.MOBILE=o(446),(a=i||(i={}))[(c=h)(460)]=c(460),a[c(449)]=c(449),(d=l||(l={}))[(u=h)(451)]=u(451),d.MOBILE=u(446),d.TABLET=u(461);const g=f;!function(){const t=f,e=v();for(;;)try{if(795086===-parseInt(t(264))/1*(-parseInt(t(251))/2)+parseInt(t(225))/3+-parseInt(t(287))/4+parseInt(t(257))/5*(-parseInt(t(248))/6)+parseInt(t(274))/7*(parseInt(t(239))/8)+parseInt(t(224))/9+parseInt(t(236))/10*(-parseInt(t(242))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class m{static[g(223)](){return"undefined"!=typeof window&&typeof document!==g(273)}static[g(231)](){return!this[g(223)]()}static canUseDOM(){const t=g;return this.isBrowser()&&void 0!==document[t(262)]}static[g(229)](t){const e=g;return this[e(282)]()?document[e(290)](t):null}static[g(268)](t){const e=g;return this[e(282)]()?document[e(283)](t):null}static[g(280)](t){const e=g;return this[e(282)]()?Array[e(277)](document[e(260)](t)):[]}static[g(276)](t){const e=g;return this[e(282)]()?document[e(230)](t):null}static[g(269)](t,e,n,r){const s=g;this[s(282)]()&&t&&t[s(284)](e,n,r)}static[g(218)](t,e,n,r){const s=g;this[s(282)]()&&t&&t[s(285)](e,n,r)}static[g(227)](t,e){return this[g(223)]()?window[t]??e:e}static getDocumentProperty(t,e){return this[g(282)]()?document[t]??e:e}static safeWindowOpen(t,e,n){return this.isBrowser()?window.open(t,e,n):null}static[g(288)](t){return this[g(223)]()&&t?window.getComputedStyle(t):null}static isDOMReady(){const t=g;return!!this.canUseDOM()&&"loading"!==document[t(262)]}static[g(286)](){return new Promise(t=>{const e=f;this.canUseDOM()?this.isDOMReady()?t():this[e(269)](document,"DOMContentLoaded",()=>t()):t()})}static[g(234)](t,e){const n=g;this.canUseDOM()&&t&&Object[n(265)](e).forEach(([e,r])=>{const s=n;t.style[s(270)](e,r)})}static[g(254)](t,e){const n=g;this[n(282)]()&&t&&t[n(271)][n(279)](e)}static safeRemoveClass(t,e){const n=g;this[n(282)]()&&t&&t[n(271)][n(252)](e)}static[g(240)](t,e){const n=g;this.canUseDOM()&&t&&(t[n(244)]=e)}static[g(232)](t,e){const n=g;this[n(282)]()&&t&&(t[n(245)]=e)}static safeAppendChild(t,e){const n=g;this[n(282)]()&&t&&e&&t[n(289)](e)}static[g(275)](t,e){const n=g;this[n(282)]()&&t&&e&&t[n(253)](e)}static getPageInfo(){const t=g;return{url:this[t(227)](t(241),{href:""})[t(258)],title:this[t(266)]("title",""),referrer:this.getDocumentProperty(t(246),"")}}static getViewportInfo(){const t=g;return{width:this[t(227)](t(250),0),height:this[t(227)](t(256),0),pixelRatio:this.getWindowProperty(t(220),1)}}static[g(228)](){const t=g;return{scrollTop:this[t(282)]()?window[t(233)]||document[t(267)].scrollTop:0,scrollLeft:this[t(227)](t(272),0)}}static async waitForElement(t,e={}){const n=g,{timeout:r=3e3,retryInterval:s=100,debug:o=!1}=e;if(!this[n(282)]())throw new Error("DOM을 사용할 수 없는 환경입니다.");const i=document[n(290)](t);return i?(o&&console[n(243)]("✅ 컨테이너 즉시 발견: "+t),i):(o&&console.log(n(281)+t+" (최대 "+r+n(249)),new Promise((e,i)=>{const a=n;let c=0;const l=Math[a(278)](r/s),d=()=>{const n=a;c++;const u=document[n(290)](t);if(u)return o&&console[n(243)](n(263)+t+" ("+c+"번째 시도, "+c*s+n(259)),void e(u);if(c>=l){const e='❌ 컨테이너를 찾을 수 없습니다: "'+t+n(238)+t+n(255)+r+n(235)+c+n(237);return o&&console[n(247)](e),void i(new Error(e))}o&&c%10==0&&console.log(n(217)+t+" ("+c+"/"+l+")");const p=Math[n(222)](s*Math.pow(1.2,c),500);setTimeout(d,p)};setTimeout(d,s)}))}static async[g(219)](t,e={}){const n=g,r=t[n(261)](t=>this[n(226)](t,e));return Promise[n(221)](r)}}function v(){const t=["safeQuerySelector","safeAddEventListener","setProperty","classList","pageXOffset","undefined","167356ukzZcb","safeRemoveChild","safeCreateElement","from","ceil","add","safeQuerySelectorAll","⏳ 컨테이너 대기 시작: ","canUseDOM","querySelector","addEventListener","removeEventListener","waitForDOM","730808dBBUjM","safeGetComputedStyle","appendChild","getElementById","⏳ 컨테이너 대기 중: ","safeRemoveEventListener","waitForElements","devicePixelRatio","all","min","isBrowser","8298342McOOEY","4637067rtZYZQ","waitForElement","getWindowProperty","getScrollInfo","safeGetElementById","createElement","isSSR","safeSetInnerHTML","pageYOffset","safeApplyStyles","ms (","30GPzPpm","번 시도)",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"376JAiQpb","safeSetTextContent","location","7795370xtqNAG","log","textContent","innerHTML","referrer","error","6NIZxwV","ms)","innerWidth","4vacyLI","remove","removeChild","safeAddClass",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"innerHeight","3864965idsKLz","href","ms 경과)","querySelectorAll","map","readyState","✅ 컨테이너 발견: ","142694qLwiNM","entries","getDocumentProperty","documentElement"];return(v=function(){return t})()}function y(t,e){const n=b();return(y=function(t,e){return n[t-=315]})(t,e)}const I=y;function b(){const t=["893262damIUb","3ROeZhB","915618vqcwSS","userAgent","8SvegKQ","5LCaspg","2922542uJuruv","99330FBeGpD","8869512guJnxg","1784472MJzMma"," AdStageSDK/",'"3.0.9"',"153DfkWuG","7733891jegNcB"];return(b=function(){return t})()}!function(){const t=y,e=b();for(;;)try{if(959333===-parseInt(t(326))/1+-parseInt(t(324))/2*(parseInt(t(325))/3)+-parseInt(t(319))/4+-parseInt(t(315))/5*(-parseInt(t(318))/6)+parseInt(t(316))/7*(parseInt(t(328))/8)+parseInt(t(322))/9*(parseInt(t(317))/10)+parseInt(t(323))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const w=I(321);function k(){return w}const E=x;function x(t,e){const n=S();return(x=function(t,e){return n[t-=104]})(t,e)}function S(){const t=["effectiveType","resolvedOptions","SSR","substr","getViewportInfo","ssr_device_","width","random","now","setItem","android","isBrowser","2863278xRNjfT","2193608dSMDrm","3563QKBkqu","16288lsSRAv","1.0.0","userAgent","9322850jtEJXW","round","toLowerCase","top","ios","isMobile","6geBYcx","device_","getSlotPosition","2488660ZLorPM","DateTimeFormat","getPlatform","UTC","test","6taheGv","timeZone","web"," .adstage-slider-wrapper","91945rkrimx","22fSmErv","generateSessionId","colorDepth","safeGetElementById","desktop","pixelRatio","language",",y:","height","generateDeviceId","platform",'[data-adstage-slot-id="',"ssr_session_","collectDeviceInfo","session_","getScrollInfo","unknown","getItem","getBoundingClientRect","692256cowHxO","adstage_session_id","safeQuerySelector","6qhtgNk","left"];return(S=function(){return t})()}!function(){const t=x,e=S();for(;;)try{if(660184===parseInt(t(107))/1*(-parseInt(t(164))/2)+parseInt(t(130))/3*(-parseInt(t(145))/4)+-parseInt(t(159))/5*(-parseInt(t(156))/6)+parseInt(t(146))/7*(parseInt(t(147))/8)+-parseInt(t(144))/9+parseInt(t(150))/10+-parseInt(t(108))/11*(parseInt(t(127))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class A{static[E(117)](){const t=E;if(!m[t(143)]())return t(137)+Date[t(140)]();const e=localStorage[t(125)]("adstage_device_id");if(e)return e;const n=t(157)+Math[t(139)]().toString(36)[t(135)](2,9)+"_"+Date.now();return localStorage.setItem("adstage_device_id",n),n}static[E(109)](){const t=E;if(!m[t(143)]())return t(120)+Date[t(140)]();const e=sessionStorage.getItem(t(128));if(e)return e;const n=t(122)+Math[t(139)]().toString(36).substr(2,9)+"_"+Date[t(140)]();return sessionStorage[t(141)](t(128),n),n}static[E(155)](){const t=E;return!!m[t(143)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(163)](navigator[t(149)])}static[E(161)](){const t=E;if(!m[t(143)]())return"web";const e=navigator[t(149)][t(152)]();return/iphone|ipad|ipod/[t(163)](e)?t(154):/android/[t(163)](e)?t(142):A.isMobile()?t(105):t(112)}static[E(121)](){const t=E,e=m[t(136)]();return{deviceId:A[t(117)](),sessionId:A[t(109)](),osVersion:m[t(143)]()?navigator[t(118)]:t(134),deviceModel:m[t(143)]()?navigator[t(118)]:"SSR",appVersion:t(148),sdkVersion:k(),language:m.isBrowser()&&navigator[t(114)]||"ko",country:"KR",ipAddress:"",userAgent:m[t(143)]()?navigator[t(149)]:t(134),timezone:m[t(143)]()?Intl[t(160)]()[t(133)]()[t(104)]:t(162),viewportWidth:e[t(138)],viewportHeight:e[t(116)],screenWidth:m.isBrowser()?screen[t(138)]:0,screenHeight:m[t(143)]()?screen[t(116)]:0,colorDepth:m[t(143)]()?screen[t(110)]:24,pixelRatio:e[t(113)],connectionType:m[t(143)]()&&navigator.connection?.[t(132)]||t(124),platform:A[t(161)]()}}static[E(158)](t){const e=E;let n=m[e(111)](t);if(!n){const r=m[e(129)]("#"+t+e(106));r&&(n=r)}if(!n&&(n=m.safeQuerySelector(e(119)+t+'"]')),!n)return"unknown";const r=n[e(126)](),s=m[e(123)]();return"x:"+Math[e(151)](r[e(131)])+e(115)+Math.round(r[e(153)]+s.scrollTop)}}const C=T;function T(t,e){const n=_();return(T=function(t,e){return n[t-=247]})(t,e)}function _(){const t=["20322zpkBlV","createForEvents","undefined","User-Agent","460704FPNutH","userAgent","API key is required","create","contentType","84ZnNtPM","application/json","75hOHRgV","1714472jBqnxK","298764iFTTwB","10955AtBZAh","345863DOZacp","127156QsDSTH"];return(_=function(){return t})()}!function(){const t=T,e=_();for(;;)try{if(155729===parseInt(t(255))/1+parseInt(t(256))/2*(-parseInt(t(250))/3)+parseInt(t(260))/4+parseInt(t(253))/5*(-parseInt(t(248))/6)+-parseInt(t(254))/7+parseInt(t(251))/8+parseInt(t(252))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class R{static[C(263)](t,e){const n=C;if(!t)throw new Error(n(262));const r={"x-api-key":t,"Content-Type":e?.[n(247)]||n(249)};return typeof navigator!==n(258)&&(r[n(259)]=e?.[n(261)]||navigator[n(261)]),r}static[C(257)](t,e){const n=C,r=R[n(263)](t);return e?.[n(261)]&&(r[n(259)]=e[n(261)]),r}}function D(t,e){const n=B();return(D=function(t,e){return n[t-=190]})(t,e)}const L=D;function B(){const t=["warn","getSlotPosition","🌐 Full API call details:","❌ Failed to track advertisement event:","VIEWABLE","trackAdvertisementEvent","debug","🚀 AdvertisementEventTracker: Processing "," event for ad ","height","apiKey","length","getPageInfo"," in slot ","width","7003549LAzrmD","title","log","baseUrl","3623892jMFSPp"," - ","/advertisements/events/","status","⚠️ Slot not found for slotId: ","6744mhyivp","adType","number","18243HfYYOz","✅ Successfully tracked advertisement event: ","sessionId","containerId","stringify","url","slots","API request failed: ","🚀 Sending advertisement event: ","4536252BRJjQz","get","2485400voZneT","4005588BnvGYf","statusText","857927FtDKGM","POST","🔍 Debug info:","parseNumericValue","2yaiCUy","replace","..."];return(B=function(){return t})()}!function(){const t=D,e=B();for(;;)try{if(612762===parseInt(t(203))/1*(-parseInt(t(207))/2)+-parseInt(t(229))/3+parseInt(t(198))/4+-parseInt(t(200))/5+-parseInt(t(201))/6+parseInt(t(225))/7+-parseInt(t(234))/8*(-parseInt(t(237))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class P{constructor(t,e,n,r){const s=D;this[s(228)]=t,this.apiKey=e,this[s(216)]=n,this[s(195)]=r}async[L(215)](t,e,n){const r=L;try{this[r(216)]&&console[r(227)](r(217)+n+r(218)+t+r(223)+e);const s=this[r(195)][r(199)](e);if(!s)return void(this.debug&&console[r(210)](r(233)+e+". Skipping event tracking to prevent incorrect adType."));if(!(document.getElementById(s[r(192)])||document.querySelector('[data-adstage-slot-id="'+e+'"]')))return void(this[r(216)]&&console.warn("⚠️ DOM element not found for slotId: "+e+" (containerId: "+s[r(192)]+"). Skipping event tracking."));const o=A.collectDeviceInfo(),a={adType:s[r(235)],platform:o.platform,deviceId:o.deviceId,deviceInfo:o,pageUrl:m[r(222)]()[r(194)],pageTitle:m[r(222)]()[r(226)],referrer:m.getPageInfo().referrer,slotId:e,slotPosition:A[r(211)](s[r(192)]),slotWidth:P[r(206)](s[r(224)]),slotHeight:P.parseNumericValue(s[r(219)]),sessionId:o[r(191)],pageLoadTime:performance.now(),metadata:{eventType:n,sdkVersion:k(),timestamp:Date.now()},...n===i[r(214)]&&{isViewable:!0,iabCompliant:!0}},c=this[r(228)]+r(231)+t+"/"+n,l=R.createForEvents(this[r(220)],a);this[r(216)]&&(console.log(r(197)+n+" for ad "+t,{url:c,headers:l,eventData:a}),console[r(227)](r(212),{method:r(204),url:c,hasApiKey:!!this.apiKey,bodySize:JSON.stringify(a)[r(221)]}));const d=await fetch(c,{method:r(204),headers:l,body:JSON[r(193)](a)});if(this[r(216)]&&console[r(227)]("📡 API Response Status: "+d[r(232)]+" "+d[r(202)],{url:c,ok:d.ok}),!d.ok){const t=await d.text();throw new Error(r(196)+d[r(232)]+" "+d[r(202)]+r(230)+t)}this.debug&&console[r(227)](r(190)+n+" for ad "+t)}catch(s){console.error(r(213),s),console.error(r(205),{baseUrl:this[r(228)],apiKey:this[r(220)]?this[r(220)].substring(0,8)+r(209):"NOT_SET",url:this[r(228)]+"/advertisements/events/"+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[L(206)](t){const e=L;if(typeof t===e(236))return t;if("string"==typeof t){const n=parseFloat(t[e(208)](/px$/,""));return isNaN(n)?0:n}return 0}}var M=U;function z(){var t=["isViewableTriggered","4483152mZloop","5620008wiFPEP","2163252vUFnnA","observe","destroy","initIntersectionObserver","IntersectionObserver not supported, viewability tracking disabled","8786484VueIve","observer","hidden","0px","visible","disconnect","onViewableCallback","1906430RkbKpf","isDocumentVisible","5441436xKjolF","IntersectionObserver","7854910LZfeSV","warn"];return(z=function(){return t})()}function U(t,e){var n=z();return(U=function(t,e){return n[t-=163]})(t,e)}!function(){for(var t=U,e=z();;)try{if(972586===parseInt(t(180))/1+parseInt(t(168))/2+-parseInt(t(166))/3+-parseInt(t(167))/4+parseInt(t(163))/5+-parseInt(t(173))/6+parseInt(t(182))/7)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class O{constructor(t,e){var n=U;this[n(174)]=null,this[n(165)]=!1,this.element=t,this.onViewableCallback=e,this[n(171)]()}[M(171)](){var t=M;t(183)in window?(this[t(174)]=new IntersectionObserver(t=>this.handleIntersection(t),{threshold:.5,rootMargin:t(176)}),this[t(174)][t(169)](this.element)):console[t(164)](t(172))}handleIntersection(t){t.forEach(t=>{var e=U;t.intersectionRatio>=.5&&this[e(181)]()&&!this[e(165)]&&(this[e(165)]=!0,this[e(179)]&&this.onViewableCallback())})}[M(181)](){var t=M;return!document[t(175)]&&document.visibilityState===t(177)}[M(170)](){var t=M;this[t(174)]&&(this.observer[t(178)](),this[t(174)]=null)}}function N(t,e){const n=j();return(N=function(t,e){return n[t-=208]})(t,e)}const V=N;!function(){const t=N,e=j();for(;;)try{if(772430===parseInt(t(214))/1+-parseInt(t(231))/2*(-parseInt(t(227))/3)+-parseInt(t(215))/4*(-parseInt(t(223))/5)+parseInt(t(228))/6+parseInt(t(216))/7+-parseInt(t(218))/8*(-parseInt(t(213))/9)+-parseInt(t(224))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const F={production:V(230),beta:"https://beta-api.adstage.app"};function j(){const t=["174276fmaLnG","7032420qFhhnj","baseUrl","https://api.adstage.app","16roJUoW","production","advertisements","events","/advertisements","startsWith","8500131BvEmhG","726040TlViQK","2092zTxFKb","2559263xDttal","detail","8srpQNd","/events/track","custom","getBaseUrl","list","2465KUfYJP","31583230DhdJLh","/advertisements/list","setBaseUrl"];return(j=function(){return t})()}const H={advertisements:{list:V(225),detail:V(211),events:"/advertisements/events"},events:{track:V(219)}};class K{constructor(t){const e=V;this[e(209)]={list:()=>""+this[e(229)]+H[e(209)][e(222)],detail:t=>""+this.baseUrl+H.advertisements[e(217)]+"/"+t,events:(t,n)=>""+this[e(229)]+H[e(209)].events+"/"+t+"/"+n},this[e(210)]={track:()=>""+this[e(229)]+H[e(210)].track},this[e(229)]=t||F[e(208)]}[V(226)](t){this[V(229)]=t}[V(221)](){return this[V(229)]}[V(220)](t){const e=V;return""+this[e(229)]+(t[e(212)]("/")?t:"/"+t)}}const W=new K;var G=Y;function Y(t,e){var n=J();return(Y=function(t,e){return n[t-=366]})(t,e)}!function(){for(var t=Y,e=J();;)try{if(247864===parseInt(t(372))/1*(-parseInt(t(367))/2)+-parseInt(t(382))/3*(parseInt(t(370))/4)+parseInt(t(383))/5+-parseInt(t(371))/6+parseInt(t(373))/7*(parseInt(t(374))/8)+parseInt(t(380))/9*(parseInt(t(378))/10)+parseInt(t(376))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class q{static[G(369)](t,e,n,r,s=!1){var o=G;s&&console[o(368)](o(379)+t[o(366)]+o(375)+n+") in slot: "+e.id),r(t[o(366)],e.id,i.VIEWABLE)}static[G(377)](t,e,n,r=!1){var s=G;r&&console[s(368)](s(381)+t[s(366)]+" (index: 0) in slot: "+e.id),n(t[s(366)],e.id,i.VIEWABLE)}}function J(){var t=[" (index: ","6620999GvUFUl","trackInitialSlideViewable","67220GOmpNL","🎯 Triggering VIEWABLE event for slide change: ad ","135dBKHlD","🎯 Triggering initial VIEWABLE event: ad ","1065hZpWMl","1326015NfEVya","_id","830044OWzSHo","log","trackSlideViewable","3628FnCiva","1093350Ddwjkp","1DlBPLF","1394078VDfNpy","8lVWvvT"];return(J=function(){return t})()}function Q(){const t=["717846ayHniY","addClickEventForSlider","6895545UQpOSV","stopPropagation","forEach","9632840DnLdAb","addClickEventsBatch","413871XweFIB","6Edjnap","_blank","355493FYbIZX","9031815wsThEC","style","log","pointer","addClickEvent","44FPLeHN"," ad clicked: ","🔗 ","CLICK","isClickable","preventDefault","8fVJBmm","linkUrl","7oNKRVr","_id"," -> ","toLowerCase","2383748OOICrB","addEventListener","open","click","cursor","addClickEventForRenderer"];return(Q=function(){return t})()}const Z=X;function X(t,e){const n=Q();return(X=function(t,e){return n[t-=379]})(t,e)}!function(){const t=X,e=Q();for(;;)try{if(696536===parseInt(t(393))/1+parseInt(t(391))/2*(-parseInt(t(390))/3)+-parseInt(t(411))/4+-parseInt(t(385))/5+parseInt(t(383))/6*(-parseInt(t(407))/7)+parseInt(t(405))/8*(-parseInt(t(394))/9)+parseInt(t(388))/10*(parseInt(t(399))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ${static[Z(398)](t,e,n,r,s=!1,o){const a=Z;e[a(406)]&&(t[a(395)][a(381)]=a(397),t.addEventListener(a(380),t=>{const c=a;if(t[c(404)](),t[c(386)](),r&&r(e._id,n.id,i[c(402)]),window[c(379)](e[c(406)],c(392)),s){const t=o||String(n.adType)[c(410)]();console.log(c(401)+t+c(400)+e._id+" -> "+e[c(406)])}}))}static[Z(382)](t,e,n,r,s=!1,o){const a=Z;e.linkUrl&&(t[a(395)][a(381)]=a(397),t[a(412)](a(380),t=>{const c=a;t.preventDefault(),t.stopPropagation();if(r()(e[c(408)],n.id,i.CLICK),window[c(379)](e[c(406)],c(392)),s){const t=o||String(n.adType)[c(410)]();console[c(396)](c(401)+t+c(400)+e[c(408)]+c(409)+e.linkUrl)}}))}static[Z(384)](t,e,n,r,s=!1,o){this[Z(398)](t,e,n,r,s,o)}static[Z(403)](t){return Boolean(t.linkUrl)}static[Z(389)](t,e,n,r,s=!1,o){const i=Z;t[i(387)]((t,a)=>{const c=i,l=e[a];l&&this[c(398)](t,l,n,r,s,o)})}}const tt=et;function et(t,e){const n=nt();return(et=function(t,e){return n[t-=436]})(t,e)}function nt(){const t=["100%","video","VIDEO","adstage-slide-container","data-adstage-slot-id","#f0f0f0","every","preventDefault","className","#cccccc","children","cssText","#666666","border","string","display","adstage-ad adstage-","adType","54yqjFzL","6810210DLtgIt","addEventListener","_id","body","forEach","mouseenter","normal","BANNER","TEXT","contains","img","transform","auto","none"," Ad","setAttribute","appendChild","#000","changedTouches","712303CFeHOB","createElement","50px","objectFit","transform 0.4s ease-out","clientX","padding","whiteSpace","div","1px dashed #ccc","4619016LdQGcN","overflow","flex","textContent","abs","200px","touches","classList","2468525phImbN","\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 ","length","1032591AGsQGk","0.9","includes","2xIULjY","inline-block","touchmove","addTouchSupport","#999999","remove","height","button","transition","0.7","src","color","backgroundColor","Text Ad","#f9f9f9","14px","createSimpleAdElement","querySelectorAll","add","createSliderContainer","Video Ad","relative","active","trackSlideViewable","1px solid #666","Banner Ad","autoSlideInterval","entries","background","toLowerCase","borderColor","adstage-dot","white","4326680abMRic","setProperty","51kGxGgN","style",".adstage-dot","adstage-slider-wrapper","100px","8px","center","getBoundingClientRect","147368XHTTLj","width","transparent","opacity","createMinimalDotIndicator","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","touchstart","block","removeChild"];return(nt=function(){return t})()}!function(){const t=et,e=nt();for(;;)try{if(736060===parseInt(t(439))/1*(-parseInt(t(463))/2)+-parseInt(t(498))/3*(parseInt(t(506))/4)+parseInt(t(457))/5+parseInt(t(533))/6*(parseInt(t(460))/7)+parseInt(t(449))/8+-parseInt(t(534))/9+parseInt(t(496))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class rt{static createSimpleAdElement(e,n){const r=et,s=document[r(440)](r(447));switch(s[r(523)]=r(531)+String(e[r(532)]).toLowerCase(),s[r(549)]("data-adstage-ad-id",n[r(536)]),s[r(549)](r(519),e.id),s[r(499)].display=r(513),s[r(499)][r(507)]=r(515),s[r(499)].height="auto",e.adType){case t[r(541)]:if(n.imageUrl){const t=document[r(440)](r(544));t[r(473)]=n.imageUrl,t.style[r(507)]=r(515),t.style[r(469)]=r(546),t[r(499)][r(442)]="cover",s.appendChild(t)}else s[r(499)].height=r(502),s[r(499)][r(475)]=r(520),s[r(499)][r(528)]="1px dashed #ccc",s[r(452)]=r(488);break;case t[r(517)]:if(n.videoUrl){const t=document.createElement(r(516));t[r(473)]=n.videoUrl,t[r(499)][r(507)]=r(515),t[r(499)].height=r(546),s.appendChild(t)}else s[r(499)][r(469)]=r(454),s[r(499)].backgroundColor=r(437),s[r(499)][r(528)]=r(487),s[r(452)]=r(483),s[r(499)][r(474)]=r(495);break;case t[r(542)]:if(n[r(452)]){const t=document[r(440)](r(447));t[r(452)]=n[r(452)]||"",t.style[r(445)]=r(503),t[r(499)].fontSize=r(478),s[r(436)](t)}else s[r(499)][r(469)]=r(441),s[r(499)][r(445)]=r(503),s[r(452)]=r(476);break;default:s[r(499)][r(469)]=r(502),s[r(499)][r(528)]=r(448),s[r(499)][r(475)]=r(477),s[r(452)]=e.adType+r(548)}return s}static[tt(482)](e,n,r,s,o=!1){const i=tt,a=document.createElement("div");a[i(523)]=i(501);const c={position:i(484),overflow:"hidden"};if(e[i(507)]&&0!==e[i(507)]){let t;t=typeof e.width===i(529)&&(e.width[i(462)]("px")||e[i(507)][i(462)]("%"))?e.width:e[i(507)]+"px",c.width=t,c.display=i(464)}else c[i(530)]=i(464);if(e[i(469)]&&0!==e[i(469)]){const t=typeof e[i(469)]===i(529)?e[i(469)]:e.height+"px";c[i(469)]=t}Object.entries(c)[i(538)](([t,e])=>{const n=i;a[n(499)][n(497)](t,e)});const l=!e[i(507)]||0===e[i(507)],d=!e[i(469)]||0===e[i(469)];if(l||d){const t=document[i(440)](i(447));if(t.style[i(526)]=i(511),!l&&e[i(507)]){let n;n="string"==typeof e[i(507)]&&(e[i(507)].includes("px")||e[i(507)][i(462)]("%"))?e[i(507)]:e[i(507)]+"px",t[i(499)][i(507)]=n,t[i(499)][i(446)]=i(540)}document[i(537)].appendChild(t);let r=0,s=0;n[i(538)](n=>{const o=i,a=this[o(479)](e,n);t.appendChild(a);const c=a[o(505)]();c.width>r&&(r=c[o(507)]),c[o(469)]>s&&(s=c[o(469)]),t.removeChild(a)}),l&&r>0&&(a.style[i(507)]=r+"px",c[i(507)]=r+"px"),d&&s>0&&(a[i(499)][i(469)]=s+"px",c[i(469)]=s+"px"),document.body[i(514)](t)}const u=[...n,n[0]],p=document.createElement("div");p[i(523)]=i(518);const h={display:i(451),transition:i(443),width:100*u[i(459)]+"%"};e.height&&0!==e[i(469)]&&(h[i(469)]="100%"),Object.entries(h)[i(538)](([t,e])=>{const n=i;p[n(499)][n(497)](t,e)}),u[i(538)]((t,n)=>{const r=i,a=document.createElement(r(447));a[r(523)]="adstage-slide";const c={width:100/u.length+"%","flex-shrink":"0",display:r(451),"align-items":"center","justify-content":r(504)};e[r(469)]&&0!==e[r(469)]&&(c.height=r(515)),Object[r(490)](c)[r(538)](([t,e])=>{const n=r;a[n(499)][n(497)](t,e)});const l=this[r(479)](e,t);$.addClickEventForSlider(l,t,e,s,o,String(e[r(532)])[r(492)]()),a.appendChild(l),p.appendChild(a)});const f=n[i(521)](e=>e[i(532)]===t[i(542)])?null:this[i(510)](n[i(459)]);let g=0;const m=n[i(459)],v=1e3*(r?.[i(489)]||3),y=(t,r=!1)=>{const a=i;g=t,p[a(499)][a(471)]=a(r?547:443),p[a(499)][a(545)]="translateX(-"+100/u[a(459)]*g+"%)";const c=g===m?0:g;if(f){f[a(480)](a(500))[a(538)]((t,e)=>{const n=a,r=t;e===c?(r.classList[n(481)](n(485)),r[n(499)][n(491)]=n(527),r[n(499)][n(493)]=n(527),r[n(499)][n(509)]="1"):(r[n(456)][n(468)]("active"),r[n(499)][n(491)]=n(508),r[n(499)][n(493)]=n(524),r[n(499)][n(509)]=n(472))})}q[a(486)](n[c],e,c,s,o)},I=()=>{g===m&&setTimeout(()=>{y(0,!0)},400)};if(f){f[i(480)](i(500))[i(538)]((t,e)=>{t.addEventListener("click",()=>y(e))})}let b=setInterval(()=>{y(g+1),I()},v);return a[i(535)](i(539),()=>{clearInterval(b)}),a[i(535)]("mouseleave",()=>{b=setInterval(()=>{y(g+1),I()},v)}),this[i(466)](p,y,()=>g,m,I),a[i(436)](p),f&&a[i(436)](f),y(0),(!e[i(507)]||0===e.width)&&setTimeout(()=>{const t=i,n=p[t(525)][0];if(n){const r=n[t(525)][0];if(r){const n=r[t(505)]();a[t(499)][t(507)]=n[t(507)]+"px",(!e[t(469)]||0===e[t(469)])&&(a[t(499)][t(469)]=n.height+"px"),a[t(499)][t(450)]="hidden"}}},10),a}static[tt(510)](t){const e=tt,n=document[e(440)](e(447));n[e(523)]="adstage-dots",n[e(499)][e(526)]=e(458);for(let r=0;r<t;r++){const t=document[e(440)](e(470));t[e(523)]=e(494),t[e(499)][e(526)]="\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[e(535)](e(539),()=>{const n=e;!t.classList[n(543)](n(485))&&(t[n(499)][n(493)]=n(467),t[n(499)][n(509)]=n(461))}),t[e(535)]("mouseleave",()=>{const n=e;!t[n(456)][n(543)]("active")&&(t.style[n(493)]=n(524),t[n(499)][n(509)]="0.7")}),n[e(436)](t)}return n}static[tt(466)](t,e,n,r,s){const o=tt;let i=0,a=!1;t.addEventListener(o(512),t=>{i=t[o(455)][0].clientX,a=!0}),t.addEventListener(o(465),t=>{a&&t[o(522)]()}),t[o(535)]("touchend",t=>{const c=o;if(!a)return;a=!1;const l=t[c(438)][0][c(444)],d=i-l;if(Math[c(453)](d)>50){const t=n();if(d>0){e(t+1),s&&s()}else{e(t>0?t-1:r-1)}}})}}function st(t,e){const n=ot();return(st=function(t,e){return n[t-=427]})(t,e)}function ot(){const t=["11968YITCDU","56505kKVLsn","9624RYdYVE","delete","14knYUIW"," in slot ","8238790mbRztI","4695909Ftfxev","viewableTracker","18xwNnvt","add","955MAopqR","✅ New viewable recorded for ad ","log","clearAdViewable","14528VJKRsG","2358456WHtIPm","12eqaJWv","3724362AqEuUH","clear","Duplicate viewable blocked for ad "];return(ot=function(){return t})()}const it=st;!function(){const t=st,e=ot();for(;;)try{if(929478===parseInt(t(429))/1*(-parseInt(t(445))/2)+-parseInt(t(435))/3+parseInt(t(443))/4*(-parseInt(t(439))/5)+-parseInt(t(446))/6*(-parseInt(t(432))/7)+-parseInt(t(444))/8*(-parseInt(t(437))/9)+parseInt(t(434))/10+-parseInt(t(428))/11*(-parseInt(t(430))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class at{static isDuplicateViewable(t,e,n=!1){const r=st,s=t+"_"+e;return at.viewableTracker.has(s)?(n&&console.log(r(427)+t+r(433)+e),!0):(at[r(436)][r(438)](s),n&&console[r(441)](r(440)+t+r(433)+e),!1)}static[it(447)](){at.viewableTracker.clear()}static[it(442)](t,e){const n=it,r=t+"_"+e;at.viewableTracker[n(431)](r)}}function ct(){const t=["toLowerCase","data-adstage-empty","data-adstage-type","appendChild","string","contains","🔄 Starting advertisement event tracking: ","setAttribute","true"," container collapsed (","applyPlaceholderStyle","none","adstage-slot adstage-","parentElement","getAttribute","div","hasAttribute","filter","54GaHqLO","auto",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"unknown","getDefaultHeight","px)","#f9f9f9","number","backgroundColor","adstage-official","VIEWABLE","rgba(231, 76, 60, 0.1)","rgba(0, 0, 0, 0.02)","adstage-class","rgba(248, 249, 250, 0.5)","📦 Placeholder created for ","): ","renderFallback","block","placeholderMode","monospace","trackAdvertisementEvent","4px",'div[style*="height"]'," ad...</span>","querySelector","1091734wrNyJD","innerHTML","getElementById","<span>Loading "," for ad ","adstage-slot adstage-empty adstage-","containerId","center","alignItems","✅ New viewable recorded for ad ","📏 Using default height ","closest","border",'div[style*="min-height"]',"728sUlOJP","7853316mCnUIl","createElement","getContainerHeight","adstage-slot","21905nZqapX","height","data-adstage-slot","calculateAdSize","generic","1px dashed #ccc","37779liKJel","width","adType","#666","⚠️ AdvertisementEventTracker not available for ","log","borderRadius","fontFamily"," event for ad ","className","advertisement","6px","3818535EmQHjV","error",".adstage-slot",'[data-adstage-container="true"]',"🚫 Duplicate viewable blocked for ad "," in slot ","33607008ulQqvY",'[class*="container"]'," container: ","advertisementEventTracker","classList",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"📊 Advertisement event tracked: ",") - Mode: ","⚠️ ","cssText","fontSize","1px solid rgba(0, 0, 0, 0.08)","subtle","100%","createEventTrackingCallback","isEmpty","display",".adstage-","\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 ","warn",'[class*="ad"]',"opacity","justifyContent","invisible","transparent","data-adstage-container","style","📏 Using 100% height (container: ","flex","debug"," event","⚠️ Created empty ","2px dashed #e74c3c","959424HPnFBO"];return(ct=function(){return t})()}at[it(436)]=new Set;const lt=dt;function dt(t,e){const n=ct();return(dt=function(t,e){return n[t-=235]})(t,e)}!function(){const t=dt,e=ct();for(;;)try{if(861572===-parseInt(t(294))/1+-parseInt(t(268))/2*(parseInt(t(319))/3)+-parseInt(t(308))/4*(parseInt(t(313))/5)+-parseInt(t(309))/6+parseInt(t(331))/7+parseInt(t(249))/8+parseInt(t(337))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ut{constructor(t,e=!1,n){const r=dt;this.adType=t,this[r(245)]=e,this[r(340)]=n||null}createPlaceholder(t,e,n,r){const s=dt,o=document[s(310)](s(265));o.id=e,o[s(328)]=s(262)+String(this[s(321)]).toLowerCase(),o.setAttribute("data-adstage-container",s(258)),o.setAttribute(s(252),String(this[s(321)])),o[s(257)]("data-adstage-slot",e);const{width:i,height:a}=this[s(316)](t,n,r)||{width:s(350),height:this[s(272)]()};o[s(242)][s(320)]=i,o[s(242)].height=a;const c=r?.placeholderMode||n[s(287)]||"invisible";this.applyPlaceholderStyle(o,c),t[s(253)](o),this[s(245)]&&console.log(s(283)+this[s(321)]+" slot: "+e+" ("+i+" x "+a+s(344)+c)}[lt(260)](t,e){const n=lt;switch(e){case n(239):t[n(242)][n(276)]=n(240),t[n(242)][n(306)]=n(261),t[n(242)][n(237)]="0",t.innerHTML="";break;case n(240):t.style[n(276)]=n(240),t[n(242)][n(306)]=n(261),t[n(242)][n(353)]=n(286),t[n(295)]="";break;case n(349):t[n(242)][n(276)]=n(280),t[n(242)].border=n(261),t[n(242)][n(325)]=n(290),t.style[n(353)]=n(244),t[n(242)].alignItems="center",t[n(242)][n(238)]=n(301),t.innerHTML=n(342);break;case"minimal":t.style[n(276)]=n(282),t[n(242)][n(306)]=n(348),t.style[n(325)]=n(330),t[n(242)][n(353)]=n(244),t[n(242)][n(302)]="center",t[n(242)][n(238)]=n(301),t[n(295)]=n(270);break;case n(245):t[n(242)][n(306)]=n(248),t[n(242)][n(353)]=n(244),t[n(242)][n(302)]=n(301),t[n(242)][n(238)]=n(301),t[n(242)][n(276)]=n(279),t[n(242)].color="#e74c3c",t.style[n(326)]=n(288),t.style[n(347)]="11px",t[n(295)]=n(297)+this[n(321)]+n(292);break;default:t[n(242)][n(306)]=n(318),t[n(242)][n(353)]="flex",t[n(242)][n(302)]=n(301),t[n(242)][n(238)]="center",t[n(242)][n(276)]=n(274),t.style.color=n(322),t[n(295)]="<span>Loading "+this[n(321)]+n(292)}}[lt(316)](t,e,n){const r=lt,s=e.width,o=e[r(314)];let i,a;if(i=typeof s===r(275)?s+"px":typeof s===r(254)?s:r(350),typeof o===r(275))a=o+"px";else if("string"==typeof o&&"100%"!==o&&o!==r(269))a=o;else{const e=this[r(311)](t);e>0?(a=r(350),(n?.debug||this[r(245)])&&console[r(324)](r(243)+e+r(273))):(a=this[r(272)](),(n?.debug||this.debug)&&console[r(324)](r(304)+a+" for "+this[r(321)]))}return{width:i,height:a}}[lt(311)](t){const e=lt,n=window.getComputedStyle(t),r=parseFloat(n[e(314)]);if(!r||0===r){const r=parseFloat(n.minHeight);if(r>0)return r;if(t[e(242)].height&&t[e(242)].height!==e(269)){const n=parseFloat(t[e(242)].height);if(n>0)return n}const s=t[e(264)](e(314));if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}[lt(351)](){return async(t,e,n)=>{const r=dt;if(n===i[r(278)]){if(at.isDuplicateViewable(t,e,this[r(245)]))return void(this.debug&&console.log(r(335)+t+r(336)+e));this[r(245)]&&console[r(324)](r(303)+t+" in slot "+e)}if(this[r(340)])try{this[r(245)]&&console.log(r(256)+n+r(298)+t+r(336)+e),await this[r(340)][r(289)](t,e,n),this[r(245)]&&console[r(324)](r(343)+n+" for ad "+t+r(336)+e)}catch(e){this.debug&&console[r(332)]("❌ Failed to track "+n+r(327)+t+":",e)}else this[r(245)]&&console.warn(r(323)+n+r(246))}}[lt(285)](t){const e=lt,n=document[e(296)](t.id);if(n){const r=[...[n[e(293)]('[data-adstage-container="true"]'),n[e(305)](e(334)),n][e(267)](t=>t&&t[e(266)](e(241))),...[n[e(305)](e(333)),n.closest(e(354)+String(this[e(321)])[e(250)]()),n[e(305)](e(236)),n.closest('[class*="banner"]'),n[e(305)](e(338)),n.closest(e(291)),n[e(305)](e(307)),n[e(263)]][e(267)](Boolean)][0];if(r){let n=e(271);n=r[e(266)]("data-adstage-container")?e(277):r[e(341)][e(255)](e(312))?e(281):e(317),r[e(242)].cssText+=e(355),r[e(295)]="",r.setAttribute(e(251),"true"),this[e(245)]&&console.warn(e(345)+this[e(321)]+e(259)+n+e(284)+t.id,r)}else this.createEmptyContainer(t)}t[e(329)]=void 0,t[e(352)]=!0}createEmptyContainer(t){const e=lt,n=document[e(296)](t[e(300)]);if(n){n[e(295)]="";const r=document[e(310)](e(265));r.id=t.id,r[e(328)]=e(299)+String(this[e(321)])[e(250)](),r[e(257)](e(241),e(258)),r[e(257)](e(251),"true"),r[e(257)](e(315),t.id),r[e(242)][e(346)]="\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(253)](r),this[e(245)]&&console[e(235)](e(247)+this[e(321)]+e(339)+t.id)}}[lt(324)](t,...e){this[lt(245)]&&console.log("["+this.adType+"] "+t,...e)}}const pt=ft;function ht(){const t=["values","🔧 Banner container optimized for ","warn","width","_id","map","naturalHeight","src"," with ","common","reduce","config","470HykMmT","dominant","innerHTML","objectPosition","status","naturalWidth","optimizedHeight","forEach","Failed to calculate optimal banner size, using defaults:","filter","center","3741183wghfwu","appendChild","from","round","calculateAdSize","6bYeguY","loadImageDimensions","error","Image URL is not provided","renderOptimizedBannerImage","onerror","Banner container optimization failed, using default size:","3004NfRCHM","set","imageUrl","✅ Optimized banner image rendered for ad: ","applyOptimizedImageStyle","createEventTrackingCallback","17456186OeinOI","img","toFixed","Failed to load image: ","average","250px","renderAdElement"," (strategy: ","debug","title","#f0f0f0","addClickEventForRenderer","📐 Optimal banner container calculated: ","🎠 Banner carousel created for slot: ","Banner Ad",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"slideInterval","containerId","118122pmWiCb","948661AJYIKJ","100%","calculateOptimalHeight","getBoundingClientRect","createSliderContainer","📊 Using standard ratio: ","getElementById","block","2984745nTQAOY","get","toString","16:9","8px","2ohkjFP","abs","renderMultipleAds","height","allSettled","max","log","Container not found: ",", ratio=","createElement","Banner","calculateOptimalContainerSize","❌ Failed to load optimized banner image:","count","alt","cover","Banner Advertisement","length","selectOptimalSizeStrategy","getDefaultHeight","div","className","value","ratio"," (avg: ","objectFit","optimizeContainerForBannerAds","style","8MUIZsJ","1596510kVShjH","onload"];return(ht=function(){return t})()}function ft(t,e){const n=ht();return(ft=function(t,e){return n[t-=141]})(t,e)}!function(){const t=ft,e=ht();for(;;)try{if(523808===parseInt(t(210))/1*(-parseInt(t(224))/2)+-parseInt(t(219))/3+parseInt(t(186))/4*(-parseInt(t(163))/5)+parseInt(t(179))/6*(-parseInt(t(211))/7)+-parseInt(t(148))/8*(-parseInt(t(174))/9)+-parseInt(t(149))/10+parseInt(t(192))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class gt extends ut{constructor(e=!1,n){super(t.BANNER,e,n)}[pt(243)](){return pt(197)}async[pt(198)](t,e){const n=pt,r=document[n(217)](t[n(209)]);if(!r)return;const s=document[n(233)](n(244));s[n(141)]="adstage-ad adstage-banner-ad";const o=t[n(169)],i=r.parentElement||r;if(o)s[n(147)][n(154)]=n(212),s[n(147)].height=String(o);else{const e=t.config,r={width:e?.[n(154)],height:e?.height},{width:o,height:a}=this[n(178)](i,r,{debug:this[n(200)]});s[n(147)][n(154)]=o,s[n(147)][n(227)]=a}e[n(188)]?await this[n(183)](s,e,t):s[n(165)]="<div>"+(e[n(201)]||n(206))+"</div>",$[n(203)](s,e,t,()=>this.createEventTrackingCallback(),this[n(200)],"Banner"),r.innerHTML="",r[n(175)](s)}async[pt(226)](t,e){const n=pt,r=document.getElementById(t[n(209)]);if(!r)throw new Error(n(231)+t[n(209)]);await this[n(146)](t,e);const s=this.createEventTrackingCallback(),o={autoSlideInterval:(t[n(162)]?.[n(208)]||5e3)/1e3,...t[n(162)],optimizedHeight:t[n(169)],aspectRatio:t.aspectRatio},i=rt[n(215)](t,e,o,s,this[n(200)]);i&&(r.innerHTML="",r[n(175)](i),this[n(200)]&&console.log(n(205)+t.id+n(159)+e[n(241)]+" ads (optimized: "+(t[n(169)]||"default")+")"))}async calculateOptimalContainerSize(t,e){const n=pt;if(!t[n(241)])return{width:n(212),height:this[n(243)](),aspectRatio:16/9};try{const r=(await Promise[n(228)](t[n(172)](t=>t[n(188)]).map(t=>this[n(180)](t[n(188)]))))[n(172)](t=>"fulfilled"===t[n(167)]).map(t=>t[n(142)]);if(0===r[n(241)])return{width:n(212),height:this.getDefaultHeight(),aspectRatio:16/9};const s=this[n(242)](r),o=this[n(213)](r,e,s);return this[n(200)]&&console[n(230)](n(204)+e+"x"+o+n(199)+s+")"),{width:n(212),height:o+"px",aspectRatio:e/o}}catch(t){return console[n(153)](n(171),t),{width:n(212),height:this.getDefaultHeight(),aspectRatio:16/9}}}async[pt(146)](t,e){const n=pt;try{const r=document.getElementById(t[n(209)]),s=document[n(217)](t.id);if(!r||!s)return;const o=r[n(214)]()[n(154)]||300,i=await this[n(235)](e,o);s.style.height=i[n(227)],t[n(169)]=i[n(227)],t.aspectRatio=i.aspectRatio,this.debug&&console.log(n(152)+e[n(241)]+" ads: "+i[n(227)])}catch(t){console.warn(n(185),t)}}selectOptimalSizeStrategy(t){const e=pt,n=t.map(t=>t[e(154)]/t[e(227)]),r=new Map;n[e(170)](t=>{const n=(Math[e(177)](10*t)/10).toString();r.set(n,(r.get(n)||0)+1)});const s=Math[e(229)](...r[e(151)]()),o=t.length;if(s/o>=.7)return e(164);const i=[16/9,4/3,1,1.5];return n[e(172)](t=>i.some(e=>Math.abs(t-e)<.1))[e(241)]/o>=.5?e(160):"average"}[pt(213)](t,e,n){const r=pt,s=t[r(156)](t=>t[r(154)]/t[r(227)]);switch(n){case"dominant":{const t=new Map;s[r(170)](e=>{const n=r,s=Math.round(10*e)/10,o=s[n(221)](),i=t[n(220)](o);i?i.count++:t[n(187)](o,{ratio:s,count:1})});const n=Array[r(176)](t[r(151)]())[r(161)]((t,e)=>e[r(237)]>t[r(237)]?e:t);return Math[r(177)](e/n[r(143)])}case r(160):{const t=[{ratio:16/9,name:r(222)},{ratio:4/3,name:"4:3"},{ratio:1,name:"1:1"},{ratio:1.5,name:"3:2"}],n=s[r(161)]((t,e)=>t+e,0)/s.length,o=t.reduce((t,e)=>Math[r(225)](e[r(143)]-n)<Math[r(225)](t[r(143)]-n)?e:t);return this[r(200)]&&console[r(230)](r(216)+o.name+r(144)+n[r(194)](2)+")"),Math.round(e/o[r(143)])}case r(196):default:{const t=s[r(161)]((t,e)=>t+e,0)/s[r(241)];return Math[r(177)](e/t)}}}[pt(180)](t){return new Promise((e,n)=>{const r=ft,s=new Image;s[r(150)]=()=>{const t=r;e({width:s[t(168)],height:s[t(157)]})},s[r(184)]=()=>{n(new Error(r(195)+t))},s[r(158)]=t})}[pt(190)](t,e,n){const r=pt,s=e/n;Math[r(225)](s-1)<.1?(t[r(147)][r(145)]=r(239),t[r(147)].objectPosition="center"):s>1.3?(t[r(147)][r(145)]="contain",t[r(147)][r(166)]=r(173),t.style.backgroundColor=r(202)):s<.7?(t[r(147)].objectFit=r(239),t.style[r(166)]=r(173)):(t.style[r(145)]="cover",t.style.objectPosition=r(173)),this[r(200)]&&console[r(230)]("🎨 Banner image style applied: objectFit="+t[r(147)][r(145)]+r(232)+s[r(194)](2))}async[pt(183)](t,e,n){const r=pt,s=document[r(233)](r(193));s[r(147)][r(154)]=r(212),s[r(147)][r(227)]=r(212),s[r(147)].display=r(218),s[r(147)].borderRadius=r(223),s[r(238)]=e[r(201)]||r(240),t[r(165)]=r(207);try{if(!e[r(188)])throw new Error(r(182));const o=await this.loadImageDimensions(e.imageUrl),i=t[r(214)](),a=i[r(154)],c=i[r(227)];this[r(200)]&&(console[r(230)]("📸 Banner image dimensions: "+o[r(154)]+"x"+o[r(227)]),console[r(230)]("📦 Banner container dimensions: "+a+"x"+c));const l=o[r(154)]/o[r(227)],d=a/c;return this[r(190)](s,l,d),s[r(158)]=e[r(188)],t[r(165)]="",t.appendChild(s),$[r(203)](s,e,n,()=>this.createEventTrackingCallback(),this[r(200)],r(234)),this[r(200)]&&console[r(230)](r(189)+e[r(155)]),s}catch(o){return console[r(181)](r(236),o),e[r(188)]&&(s[r(158)]=e[r(188)],s[r(147)][r(145)]=r(239),s[r(147)].objectPosition=r(173),t[r(165)]="",t[r(175)](s),$[r(203)](s,e,n,()=>this[r(191)](),this.debug,r(234))),s}}}const mt=vt;function vt(t,e){const n=yt();return(vt=function(t,e){return n[t-=346]})(t,e)}function yt(){const t=["\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 ","4944804wqMAXZ","36sGsHIL","1941460MgMeMB","67869CIEpLj","setTextAdContent","title","111056uRzBsJ","5125240XJxlHg","textContent","7kAajTu","2933262vOcPPR","4403864XSgmNQ"];return(yt=function(){return t})()}!function(){const t=vt,e=yt();for(;;)try{if(593344===-parseInt(t(358))/1+parseInt(t(357))/2+-parseInt(t(356))/3*(parseInt(t(348))/4)+-parseInt(t(349))/5+parseInt(t(355))/6*(parseInt(t(351))/7)+parseInt(t(353))/8+-parseInt(t(352))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class It{static createTextAdStyles(t=!1){return vt(354)}static[mt(346)](t,e){const n=mt,r=e[n(350)]||e[n(347)]||"";t[n(350)]=r}}const bt=wt;function wt(t,e){const n=kt();return(wt=function(t,e){return n[t-=490]})(t,e)}function kt(){const t=["adstage-fade-slide-container","position","adstage-fade-slide","20px","height: auto;","createSimpleAdElement","addClickEventForSlider","zIndex","touches","clientY","setTextAdContent","touchstart","includes","length","preventDefault","style","setAttribute","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","height: 100%;","8jRftxB","string","adstage-ad adstage-","37870096LQxGFd","width","2141562VYVaCF",";\n width: 100%;\n ",";\n top: ","createElement","\n position: relative;\n width: 100%;\n ","auto","\n ","hidden","changedTouches","9279lwtwfg","whiteSpace","77xHpAVO","addTouchSupport","mouseleave","115izMigH","abs","185599sdsHPt","toLowerCase",";\n transform: translateY(","forEach","removeChild","className","Text","minHeight","cssText","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","2900806yZwrWm","5380lqYWBN","relative","autoSlideInterval","div","getBoundingClientRect","250878FeVOOs","addEventListener","translateY(0)","absolute","block","touchend","translateY(20px)","createTextAdStyles","body","appendChild","\n position: ","left","data-adstage-ad-id","height",";\n left: ","normal","opacity","transform","trackSlideViewable","data-adstage-slot-id","272536VnRpLU","top"];return(kt=function(){return t})()}!function(){const t=wt,e=kt();for(;;)try{if(762614===parseInt(t(518))/1+parseInt(t(528))/2+-parseInt(t(502))/3*(-parseInt(t(497))/4)+parseInt(t(516))/5*(parseInt(t(534))/6)+parseInt(t(513))/7*(-parseInt(t(554))/8)+parseInt(t(511))/9*(parseInt(t(529))/10)+-parseInt(t(500))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Et{static[bt(561)](t,e){const n=bt,r=document[n(505)](n(532));return r.className=n(499)+String(t.adType)[n(519)](),r[n(494)](n(546),e._id),r[n(494)](n(553),t.id),r[n(493)][n(526)]=It[n(541)](!0),It[n(566)](r,e),r}static createTextTransitionContainer(t,e,n,r,s=!1){const o=bt,i=t.height&&0!==t.height&&t[o(547)]!==o(507),a=document[o(505)]("div");a.className="adstage-fade-slider-wrapper";const c={position:o(530),overflow:o(509),display:o(538)};if(!i&&(c[o(547)]=o(507),c[o(525)]="fit-content"),t[o(501)]&&0!==t[o(501)]){let e;e="string"==typeof t[o(501)]?t.width[o(490)]("px")||t.width[o(490)]("%")?t.width:t[o(501)]+"px":t.width+"px",c[o(501)]=e}if(t.height&&0!==t[o(547)]&&t.height!==o(507)&&i){let e;e=typeof t[o(547)]===o(498)?t[o(547)][o(490)]("px")||t.height[o(490)]("%")?t[o(547)]:t.height+"px":t[o(547)]+"px",c[o(547)]=e}Object.entries(c)[o(521)](([t,e])=>{a[o(493)].setProperty(t,e)});const l=document[o(505)](o(532));l[o(523)]=o(556),l[o(493)][o(526)]=o(506)+(i?o(496):"height: auto; min-height: fit-content;")+o(508);let d=null;const u=!t[o(501)]||0===t[o(501)],p=!t[o(547)]||0===t[o(547)]||void 0===t[o(547)]||"auto"===t[o(547)];if(u||p&&i){if(d=document.createElement(o(532)),d[o(493)][o(526)]=o(527),!u&&t[o(501)]){let e;e=typeof t[o(501)]===o(498)?t[o(501)][o(490)]("px")||t.width[o(490)]("%")?t.width:t[o(501)]+"px":t.width+"px",d.style[o(501)]=e,d[o(493)][o(512)]=o(549)}document.body[o(543)](d);let n=0,r=0;e.forEach(e=>{const s=o,i=this[s(561)](t,e);d[s(543)](i);const a=i[s(533)]();a.width>n&&(n=a[s(501)]),a[s(547)]>r&&(r=a[s(547)]),d[s(522)](i)}),u&&n>0&&(a[o(493)][o(501)]=n+"px"),p&&r>0&&i&&(a.style[o(547)]=r+"px"),document[o(542)][o(522)](d)}const h=[];e[o(521)]((e,n)=>{const a=o,c=document[a(505)](a(532));c[a(523)]=a(558);const d=a(i?537:0===n?530:537);c[a(493)][a(526)]=a(544)+d+a(504)+(d===a(537)?"0":a(507))+a(548)+(d===a(537)?"0":a(507))+a(503)+a(i?496:560)+a(495)+(0===n?"1":"0")+a(520)+(0===n?"0":a(559))+");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: "+(0===n?"2":"1")+";\n ";const u=this[a(561)](t,e);$[a(562)](u,e,t,r,s,a(524)),c[a(543)](u),l[a(543)](c),h.push(c)});let f=0;const g=e[o(491)],m=1e3*(n?.[o(531)]||4),v=n=>{const a=o;n>=g?n=0:n<0&&(n=g-1);const c=h[f],l=h[n];!i&&(c[a(493)][a(557)]===a(530)&&(c[a(493)][a(557)]=a(537),c[a(493)].top="0",c[a(493)][a(545)]="0"),l[a(493)][a(557)]=a(530),l[a(493)][a(555)]="auto",l.style[a(545)]=a(507)),c[a(493)][a(550)]="0",c.style[a(551)]="translateY(-20px)",c[a(493)][a(563)]="1",l[a(493)].opacity="1",l[a(493)][a(551)]=a(536),l[a(493)][a(563)]="2",h[a(521)]((t,e)=>{const r=a;e!==n&&e!==f&&(t[r(493)].opacity="0",t.style[r(551)]=r(540),t.style[r(563)]="1",!i&&t[r(493)][r(557)]===r(530)&&(t[r(493)][r(557)]="absolute",t[r(493)][r(555)]="0",t[r(493)].left="0"))}),f=n,q[a(552)](e[f],t,f,r,s)};let y=setInterval(()=>{v(f+1)},m);return a[o(535)]("mouseenter",()=>{clearInterval(y)}),a[o(535)](o(515),()=>{y=setInterval(()=>{v(f+1)},m)}),Et[o(514)](a,v,()=>f,g),a.appendChild(l),a}static[bt(514)](t,e,n,r){const s=bt;let o=0,i=0,a=!1;t[s(535)](s(567),t=>{const e=s;o=t[e(564)][0].clientX,i=t[e(564)][0][e(565)],a=!0}),t[s(535)]("touchmove",t=>{a&&t[s(492)]()}),t[s(535)](s(539),t=>{const r=s;if(!a)return;a=!1;const c=t[r(510)][0].clientX,l=t.changedTouches[0][r(565)],d=o-c,u=i-l;if(Math[r(517)](d)>Math[r(517)](u)&&Math[r(517)](d)>50){const t=n();e(d>0?t+1:t-1)}})}}const xt=St;function St(t,e){const n=At();return(St=function(t,e){return n[t-=336]})(t,e)}function At(){const t=["2979907gJsnsx","width","log","appendChild","setTextAdContent","4DZHPFF","Text","_id","Container not found: ","aspectRatio","calculateAdSize","debug","optimizedHeight"," ads","className","div","hidden","20801970WLFSgE","maxLines","-webkit-box","height","style","7881840gMrMsX","config","✨ Text transition created for slot: ","containerId","getDefaultHeight","291642azVaqu","5176368PwDYAx","65GMzkFB","renderMultipleAds","display","3192948cLjcQJ","number","60px","innerHTML","webkitLineClamp","createElement"," with ","76495vVZwsw","overflow","✨ Single text ad rendered: ","createTextTransitionContainer","createTextAdStyles","addClickEventForRenderer","slideInterval"];return(At=function(){return t})()}!function(){const t=St,e=At();for(;;)try{if(651274===-parseInt(t(371))/1*(-parseInt(t(337))/2)+-parseInt(t(364))/3+parseInt(t(360))/4+-parseInt(t(361))/5*(parseInt(t(359))/6)+-parseInt(t(378))/7+-parseInt(t(354))/8+parseInt(t(349))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ct extends ut{constructor(e=!1,n){super(t.TEXT,e,n)}[xt(358)](){return xt(366)}async renderAdElement(t,e){const n=xt,r=document.getElementById(t[n(357)]);if(!r)return;const s=document.createElement(n(347));s[n(346)]="adstage-ad adstage-text-ad";const o=t.optimizedHeight,i=r.parentElement||r;if(o)s[n(353)][n(379)]="100%",s[n(353)][n(352)]=String(o);else{const e=t[n(355)],r={width:e?.[n(379)],height:e?.[n(352)]},{width:o,height:a}=this[n(342)](i,r,{debug:this.debug});s.style[n(379)]=o,s[n(353)][n(352)]=a}const a=document[n(369)](n(347));a[n(346)]="adstage-text-content",a[n(353)].cssText=It[n(375)](!1),It[n(336)](a,e);const c=t[n(355)]?.[n(350)];c&&typeof c===n(365)&&(a[n(353)][n(363)]=n(351),a[n(353)][n(368)]=String(c),a[n(353)].webkitBoxOrient="vertical",a[n(353)][n(372)]=n(348)),s.appendChild(a),$[n(376)](s,e,t,()=>this.createEventTrackingCallback(),this.debug,n(338)),r.innerHTML="",r.appendChild(s),this[n(343)]&&console[n(380)](n(373)+e[n(339)])}async[xt(362)](t,e){const n=xt,r=document.getElementById(t.containerId);if(!r)throw new Error(n(340)+t[n(357)]);const s=this.createEventTrackingCallback(),o={autoSlideInterval:(t.config?.[n(377)]||5e3)/1e3,...t[n(355)],optimizedHeight:t[n(344)],aspectRatio:t[n(341)]},i=Et[n(374)](t,e,o,s,this.debug);i&&(r[n(367)]="",r[n(381)](i),this[n(343)]&&console.log(n(356)+t.id+n(370)+e.length+n(345)))}}const Tt=_t;function _t(t,e){const n=Rt();return(_t=function(t,e){return n[t-=255]})(t,e)}function Rt(){const t=["loop","mouseleave","log","1160565zoIvPA","hideRemainingTime","height"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","renderVideoElementDirect","transform","Click to unmute","🎬 Trying muted autoplay fallback..."," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","createElement","head","renderAdElement","loadedmetadata","warn","hideControls","innerHTML","100%","\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 ","192yqulNp","hideFullscreenButton","unmuted","play","addEventListener","1633576nhCjQd","getElementById","contain","objectFit","adstage-video-container","\n video::-webkit-media-controls-play-button {\n display: ","style","506257oXAmvp","Container not found: ","rgba(0, 0, 0, 0.7)","length","🎬 Final video settings:","width",'\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 ',"customControls","preload","adstage-video-default-controls","Click to mute","className","Video fallback","background","autoplay","1600752HnXwNv","enabled","none","\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 ","\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 ",", muted: "," (autoplay: ","🎬 Auto-play was prevented:","click","catch","⚠️ No video advertisements available for slot: ","addClickEventForRenderer","button","imageUrl","title","🎬 Video can play, attempting autoplay...","relative","VIDEO","error","video","disabled (default)","setAttribute","canplay","appendChild","_id","src","debug","controls","playsinline"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","containerId","div","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","Video load failed:","3238490lEBzHS","cssText","107010iQEbzm","getDefaultHeight","block","scale(1)","🎬 Autoplay completely failed:","mouseenter","adstage-video-mute-button","config","muted","hideVolumeSlider"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","hidePlayButton","hideMuteButton","VIEWABLE","🎬 Single video rendered for VIDEO slot: ","alt","textContent","img","paused","createEventTrackingCallback","🎬 Initial autoplay attempt after timeout...","Video thumbnail","display","Video","🎬 Video element created for ad: ","\n pointer-events: none;\n ","360px","22086xlPypl","loadeddata","videoUrl",", loop: "];return(Rt=function(){return t})()}!function(){const t=_t,e=Rt();for(;;)try{if(468572===-parseInt(t(360))/1+parseInt(t(348))/2*(parseInt(t(323))/3)+-parseInt(t(260))/4+parseInt(t(294))/5+-parseInt(t(296))/6+-parseInt(t(330))/7+parseInt(t(353))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Dt extends ut{constructor(e=!1,n){super(t[_t(277)],e,n)}[Tt(297)](){return Tt(322)}async[Tt(341)](t,e){const n=Tt,r=document[n(354)](t[n(290)]);if(!r)return;const s=document[n(339)](n(291));s[n(256)]=n(357),s[n(359)][n(295)]=n(292),this.renderVideoElementDirect(s,e,t),r[n(345)]="",r[n(283)](s),this[n(286)]&&console[n(329)]("🎬 Single video ad rendered: "+e[n(284)])}async renderMultipleAds(t,e){const n=Tt,r=document[n(354)](t[n(290)]);if(!r)throw new Error(n(361)+t[n(290)]);if(e[n(363)]>0){const s=e[0],o=document[n(339)](n(291));o[n(256)]="adstage-video-container",o[n(359)][n(295)]=n(263),this[n(334)](o,s,t),r[n(345)]="",r[n(283)](o);const a=this.createEventTrackingCallback();setTimeout(()=>{const e=n;a(s[e(284)],t.id,i[e(309)])},100),this[n(286)]&&console[n(329)](n(310)+t.id+" ("+s[n(284)]+")")}else this[n(286)]&&console[n(343)](n(270)+t.id)}[Tt(334)](t,e,n){const r=Tt;t[r(359)].position=r(276);const s=document[r(339)](r(279));s.style[r(365)]="100%",s[r(359)][r(332)]=r(346),s[r(359)].objectFit=r(355),s[r(368)]="metadata";const o=n[r(303)];if(this[r(286)]&&console.log("🎬 Video config received:",o),s[r(287)]=!1,s[r(259)]=!1!==o?.[r(259)],s[r(304)]=!0,s[r(327)]=!1!==o?.loop,this[r(286)]&&console[r(329)](r(364),{autoplay:s[r(259)],muted:s[r(304)],loop:s.loop,controls:s.controls}),!1!==o?.[r(288)]&&s[r(281)](r(288),""),!0===o?.controls&&(s[r(287)]=!0,this[r(286)]&&console.log("🎬 User explicitly enabled controls, overriding default")),o?.[r(344)])s[r(287)]=!1,s[r(359)][r(295)]+=r(321);else if(o?.[r(367)]){if(s[r(287)]){const t=document[r(339)](r(359));t[r(312)]=r(358)+(o[r(367)][r(307)]?r(262):r(298))+" !important;\n }\n video::-webkit-media-controls-timeline {\n display: "+(o[r(367)].hideProgressBar?r(262):"block")+r(333)+(o.customControls.hideCurrentTime?r(262):r(298))+" !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: "+(o[r(367)][r(331)]?r(262):"block")+r(306)+(o[r(367)][r(305)]?r(262):r(298))+r(338)+(o.customControls[r(308)]?r(262):r(298))+r(289)+(o[r(367)][r(349)]?r(262):r(298))+" !important;\n }\n ",document.head[r(283)](t)}}else if(s.controls){const t=document[r(339)](r(359));t.id="adstage-video-default-controls",t[r(312)]=r(264),!document[r(354)](r(369))&&document[r(340)][r(283)](t)}this[r(286)]&&console[r(329)]("🎬 Video controls setting:",s.controls?r(261):r(280));const i=document[r(339)](r(272));i[r(256)]=r(302),i.style.cssText=r(347),o?.[r(344)]&&(i.style[r(318)]=r(262));const a=()=>{const t=r,e=t(366);i.innerHTML=s[t(304)]?e:'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/>\n </svg>\n ',i[t(274)]=s[t(304)]?t(336):t(255)};if(a(),i[r(352)](r(268),t=>{const e=r;t.stopPropagation(),s.muted=!s[e(304)],a(),this[e(286)]&&console[e(329)]("🔊 Video mute toggled: "+(s[e(304)]?e(304):e(350)))}),i[r(352)](r(301),()=>{const t=r;i[t(359)][t(258)]="rgba(0, 0, 0, 0.9)",i.style[t(335)]="scale(1.1)"}),i[r(352)](r(328),()=>{const t=r;i[t(359)].background=t(362),i[t(359)][t(335)]=t(299)}),e[r(325)]){s[r(285)]=e[r(325)];const t=()=>{const t=r;s[t(259)]&&s[t(304)]&&s[t(314)]&&s[t(351)]()[t(269)](e=>{const n=t;this[n(286)]&&(console[n(343)](n(267),e),console[n(343)](n(337))),s.muted=!0,s[n(351)]()[n(269)](t=>{const e=n;this[e(286)]&&console[e(278)](e(300),t)})})};s[r(352)](r(342),()=>{const e=r;this[e(286)]&&console[e(329)]("🎬 Video metadata loaded, attempting autoplay..."),t()}),s[r(352)](r(282),()=>{const e=r;this[e(286)]&&console[e(329)](e(275)),t()}),s[r(352)](r(324),()=>{const e=r;this[e(286)]&&console[e(329)]("🎬 Video data loaded, attempting autoplay..."),t()}),setTimeout(()=>{const e=r;this.debug&&console[e(329)](e(316)),t()},100)}else if(e[r(273)]){const n=document[r(339)](r(313));return n.src=e.imageUrl,n.style[r(365)]=r(346),n[r(359)][r(332)]="100%",n[r(359)][r(356)]=r(355),n[r(311)]=e.title||r(317),void t[r(283)](n)}$[r(271)](s,e,n,()=>this[r(315)](),this[r(286)],r(319)),s.addEventListener("error",s=>{const o=r;if(console.error(o(293),s),e[o(273)]){const r=document[o(339)](o(313));r.src=e[o(273)],r[o(359)][o(365)]="100%",r.style[o(332)]=o(346),r.style[o(356)]=o(355),r[o(311)]=e[o(274)]||o(317),$[o(271)](r,e,n,()=>this.createEventTrackingCallback(),this[o(286)],o(257)),t.innerHTML="",t[o(283)](r)}}),t[r(283)](s),t[r(283)](i),this[r(286)]&&console[r(329)](r(320)+e._id+r(266)+s[r(259)]+r(265)+s.muted+r(326)+s[r(327)]+")")}}const Lt=Pt;function Bt(){const t=["cssText","containerId","textContent","imageUrl","117585lDeCHE","Native Advertisement","200px","open","90286pmzIZP","renderAdElement","style","_id","advertisementEventTracker","renderMultipleAds","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","debug","Learn More","log","504MNCzZh","getElementById","src","#2563eb","warn","#3b82f6","addEventListener","adstage-ad adstage-native-ad","alt","\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 ","title","button","backgroundColor","length","div","36uZjeYa","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","getDefaultHeight","391280pGsyxn","2485824SQokMi","createElement","className","2144394ffhtwg","click","innerHTML","linkUrl","NATIVE","\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 ","⚠️ No native advertisements available for slot: ","appendChild","624836AUculH","🏠 Native ad rendered (first of ","934515asETtl","): "];return(Bt=function(){return t})()}function Pt(t,e){const n=Bt();return(Pt=function(t,e){return n[t-=216]})(t,e)}!function(){const t=Pt,e=Bt();for(;;)try{if(585149===-parseInt(t(262))/1+parseInt(t(250))/2+parseInt(t(254))/3+parseInt(t(251))/4+parseInt(t(264))/5*(-parseInt(t(246))/6)+parseInt(t(221))/7*(parseInt(t(231))/8)+-parseInt(t(217))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Mt extends ut{constructor(e=!1,n){super(t[Pt(258)],e,n)}[Lt(249)](){return Lt(219)}async[Lt(222)](t,e){const n=Lt,r=document[n(232)](t[n(267)]);if(!r)return;const s=document[n(252)]("div");if(s[n(253)]=n(238),s[n(223)][n(266)]=n(240),e.title){const t=document[n(252)]("h3");t.textContent=e[n(241)],t[n(223)][n(266)]=n(227),s.appendChild(t)}if(e[n(268)]){const t=document[n(252)]("p");t[n(268)]=e[n(268)],t.style[n(266)]="\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ",s[n(261)](t)}if(e[n(216)]){const t=document[n(252)](n(245));t[n(223)][n(266)]=n(248);const r=document[n(252)]("img");r[n(233)]=e.imageUrl,r[n(239)]=e.title||n(218),r[n(223)][n(266)]=n(247),t[n(261)](r),s[n(261)](t)}if(e[n(257)]){const t=document[n(252)](n(242));t[n(268)]=n(229),t.style[n(266)]=n(259),t[n(237)](n(255),()=>{const t=n;this[t(225)]&&console.log("Native click tracked for ad: "+e._id),window[t(220)](e[t(257)],"_blank")}),t[n(237)]("mouseenter",()=>{const e=n;t[e(223)][e(243)]=e(234)}),t[n(237)]("mouseleave",()=>{const e=n;t.style[e(243)]=e(236)}),s.appendChild(t)}r[n(256)]="",r[n(261)](s),this[n(228)]&&console[n(230)]("🏠 Single native ad rendered: "+e[n(224)])}async[Lt(226)](t,e){const n=Lt;e.length>0?(await this.renderAdElement(t,e[0]),this[n(228)]&&console[n(230)](n(263)+e[n(244)]+n(265)+t.id)):this.debug&&console[n(235)](n(260)+t.id)}}const zt=Ut;function Ut(t,e){const n=Ot();return(Ut=function(t,e){return n[t-=250]})(t,e)}function Ot(){const t=["title","_blank","3647462aqXazl","renderAdElement","2673312CwXEnu","backgroundColor","6158784GnzUzg","🖼️ Interstitial ad closed","style","containerId","300OxJrSl","key","mouseleave","warn","button","cssText","1dPgXDG","🖼️ Interstitial ad rendered (first of ","): ","addEventListener","#f3f4f6","\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n }\n ","\n 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 ","head","removeChild","appendChild","removeEventListener","\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 ","alt","Interstitial Advertisement","27171cECICg","#374151","adstage-interstitial-content","linkUrl","400px","src","body","closeInterstitial","1001135xXTqWl","length","adstage-interstitial-overlay","advertisementEventTracker","log","parentNode","keydown","className","color","getElementById","createElement","animation","textContent","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","fadeOut 0.3s ease-out forwards","getDefaultHeight","Get Started","renderMultipleAds","open","debug","#6b7280","1206378eInqLg","click","adstage-interstitial-styles","div","target","Interstitial click tracked for ad: ","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","_id","imageUrl","26131572OKrKkL"];return(Ot=function(){return t})()}!function(){const t=Ut,e=Ot();for(;;)try{if(607905===-parseInt(t(277))/1*(parseInt(t(251))/2)+-parseInt(t(291))/3*(parseInt(t(271))/4)+parseInt(t(299))/5+-parseInt(t(267))/6+-parseInt(t(263))/7+parseInt(t(265))/8+parseInt(t(260))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Nt extends ut{constructor(e=!1,n){super(t.INTERSTITIAL,e,n)}[zt(314)](){return zt(295)}async[zt(264)](t,e){const n=zt;if(!document[n(308)](t[n(270)]))return;const r=document[n(309)](n(254));r[n(306)]=n(301),r[n(269)][n(276)]="\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10000;\n animation: fadeIn 0.3s ease-out;\n ";const s=document[n(309)]("div");s[n(306)]=n(293),s.style[n(276)]="\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(309)](n(275));if(o.innerHTML="×",o[n(269)].cssText=n(288),o[n(280)](n(252),()=>{this[n(298)](r)}),o[n(280)]("mouseenter",()=>{const t=n;o[t(269)][t(266)]="#e5e7eb",o[t(269)][t(307)]=t(292)}),o[n(280)]("mouseleave",()=>{const t=n;o[t(269)].backgroundColor=t(281),o.style.color=t(250)}),e[n(259)]){const t=document[n(309)]("img");t[n(296)]=e[n(259)],t[n(289)]=e[n(261)]||n(290),t.style[n(276)]="\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ",s[n(286)](t)}if(e.title){const t=document[n(309)]("h2");t[n(311)]=e[n(261)],t[n(269)][n(276)]=n(312),s[n(286)](t)}if(e[n(311)]){const t=document[n(309)]("p");t[n(311)]=e[n(311)],t[n(269)][n(276)]=n(257),s.appendChild(t)}if(e[n(294)]){const t=document[n(309)](n(275));t[n(311)]=n(315),t[n(269)].cssText=n(283),t.addEventListener(n(252),()=>{const t=n;this[t(302)]&&console[t(303)](t(256)+e[t(258)]),window[t(317)](e.linkUrl,t(262)),this[t(298)](r)}),t[n(280)]("mouseenter",()=>{const e=n;t[e(269)][e(266)]="#2563eb"}),t[n(280)](n(273),()=>{const e=n;t[e(269)][e(266)]="#3b82f6"}),s.appendChild(t)}const i=t=>{const e=n;"Escape"===t[e(272)]&&(this[e(298)](r),document[e(287)](e(305),i))};if(document[n(280)](n(305),i),r[n(280)](n(252),t=>{t[n(255)]===r&&this.closeInterstitial(r)}),!document.getElementById("adstage-interstitial-styles")){const t=document[n(309)]("style");t.id=n(253),t[n(311)]=n(282),document[n(284)][n(286)](t)}s[n(286)](o),r[n(286)](s),document[n(297)][n(286)](r),this.debug&&console.log("🖼️ Interstitial ad rendered: "+e[n(258)])}async[zt(316)](t,e){const n=zt;e[n(300)]>0?(await this[n(264)](t,e[0]),this[n(318)]&&console[n(303)](n(278)+e[n(300)]+n(279)+t.id)):this.debug&&console[n(274)]("⚠️ No interstitial advertisements available for slot: "+t.id)}closeInterstitial(t){const e=zt;t.style[e(310)]=e(313),setTimeout(()=>{const n=e;t[n(304)]&&t.parentNode[n(285)](t)},300),this[e(318)]&&console[e(303)](e(268))}}const Vt=Ft;function Ft(t,e){const n=jt();return(Ft=function(t,e){return n[t-=110]})(t,e)}function jt(){const t=["10013890dequrY","NATIVE","width","div","136LlrdRR","textContent","#f9f9f9","className","651vuTXgC","🏭 AdRenderer factory initialized with ","debug","style","createAdElement","set","initializeRenderers","createElement","420385obFdZt","display"," Ad","renderMultipleAds","Failed to load image: ","getRenderer","height","src","100%","renderers","onerror","[AdRenderer] ","calculateOptimalContainerSize","loadImageDimensions","backgroundColor","setAttribute","1px dashed #ccc","BANNER","644oIWpVV","data-adstage-ad-id","naturalWidth","imageUrl","INTERSTITIAL","⚠️ Container optimization is only supported for BANNER ads, got: ","116TEZBIR","config","padding","adstage-ad adstage-","TEXT","getDefaultHeight","log","adType","8805qUFcOr","renderAd","cover","advertisementEventTracker","1034220OjALvk","img","isLoaded","appendChild","get","9usVMQn","createPlaceholder","size","renderFallback","optimizeContainerForBannerAds","getDefaultHeightForAdType","renderOptimizedBannerImage is only supported for BANNER ads","1035966DvSscu","objectFit","calculateAdSize","renderAdSlider","advertisement","1851762GvTNwT","renderAdElement","renderOptimizedBannerImage"];return(jt=function(){return t})()}!function(){const t=Ft,e=jt();for(;;)try{if(654866===parseInt(t(115))/1+parseInt(t(169))/2*(-parseInt(t(143))/3)+-parseInt(t(175))/4*(-parseInt(t(111))/5)+-parseInt(t(127))/6+parseInt(t(151))/7*(-parseInt(t(139))/8)+-parseInt(t(120))/9*(-parseInt(t(135))/10)+-parseInt(t(132))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ht{constructor(t=!1,e){const n=Ft;this[n(160)]=new Map,this[n(145)]=t,this[n(114)]=e||null,this[n(149)]()}initializeRenderers(){const e=Ft;this.renderers[e(148)](t[e(168)],new gt(this.debug,this[e(114)])),this[e(160)][e(148)](t[e(179)],new Ct(this.debug,this[e(114)])),this[e(160)].set(t.VIDEO,new Dt(this[e(145)],this[e(114)])),this.renderers.set(t[e(136)],new Mt(this[e(145)],this[e(114)])),this[e(160)][e(148)](t[e(173)],new Nt(this[e(145)],this.advertisementEventTracker)),this[e(145)]&&console[e(181)](e(144)+this.renderers[e(122)]+" renderers")}[Vt(147)](e,n){const r=Vt,s=this.getRenderer(e[r(110)]),o=document[r(150)]("div");o[r(142)]=r(178)+String(e[r(110)]).toLowerCase(),o[r(166)](r(170),n._id),o.setAttribute("data-adstage-slot-id",e.id);const{width:i,height:a}=s[r(129)](o,e[r(176)]||{},n);switch(o[r(146)][r(137)]=i,o.style[r(157)]=a,o[r(146)][r(152)]="block",e[r(110)]){case t[r(168)]:if(n[r(172)]){const t=document.createElement(r(116));t.src=n[r(172)],t.style.width=r(159),t[r(146)][r(157)]=r(159),t[r(146)][r(128)]=r(113),o.appendChild(t)}break;case t.VIDEO:if(n.videoUrl){const t=document[r(150)]("video");t[r(158)]=n.videoUrl,t[r(146)].width=r(159),t[r(146)][r(157)]=r(159),o[r(118)](t)}break;case t[r(179)]:if(n[r(140)]){const t=document[r(150)](r(138));t.textContent=n[r(140)]||"",t.style[r(177)]="8px",o[r(118)](t)}break;default:o[r(146)].border=r(167),o.style[r(165)]=r(141),o[r(140)]=e[r(110)]+r(153)}return o}getRenderer(t){const e=Vt,n=this.renderers[e(119)](t);if(!n)throw new Error("No renderer found for ad type: "+t);return n}[Vt(121)](t,e,n,r,s){this[Vt(156)](n).createPlaceholder(t,e,r,s)}async[Vt(124)](e,n){const r=Vt;if(e[r(110)]!==t[r(168)])return void(this[r(145)]&&console.warn(r(174)+e[r(110)]));const s=this.getRenderer(t.BANNER);await s.optimizeContainerForBannerAds(e,n)}async[Vt(130)](t,e){const n=Vt,r=this[n(156)](t.adType);await r[n(154)](t,e)}async[Vt(112)](t){const e=Vt;if(!t[e(131)])throw new Error("No advertisement to render");const n=this.getRenderer(t[e(110)]);await n.renderAdElement(t,t.advertisement),t[e(117)]=!0}async[Vt(133)](t,e){const n=this[Vt(156)](t.adType);await n.renderAdElement(t,e)}renderFallback(t){const e=Vt;this[e(156)](t[e(110)])[e(123)](t)}[Vt(125)](t){const e=Vt;return this[e(156)](t)[e(180)]()}[Vt(129)](t,e,n,r){const s=Vt;return this[s(156)](e)[s(129)](t,n,r)}[Vt(164)](t){return new Promise((e,n)=>{const r=Ft,s=new Image;s.onload=()=>{e({width:s[Ft(171)],height:s.naturalHeight})},s[r(161)]=()=>{n(new Error(r(155)+t))},s[r(158)]=t})}async[Vt(134)](e,n,r){const s=Vt;if(r[s(110)]!==t[s(168)])throw new Error(s(126));const o=this[s(156)](t.BANNER);return await o[s(134)](e,n,r)}async[Vt(163)](e,n,r){const s=Vt;if(r!==t.BANNER){const t=this[s(156)](r);return{width:s(159),height:t[s(180)](),aspectRatio:16/9}}const o=this[s(156)](t[s(168)]);return await o[s(163)](e,n)}[Vt(181)](t,...e){const n=Vt;this.debug&&console.log(n(162)+t,...e)}}const Kt=Wt;function Wt(t,e){const n=Gt();return(Wt=function(t,e){return n[t-=500]})(t,e)}function Gt(){const t=["📊 Fetched ","568863OsEnjW","VIDEO","country","log","handleRemovedElement","getAttribute","get","getBaseUrl","10nCeNfZ","502315VPzTKI","from",". Retrying in ","🎠 Slider will handle VIEWABLE events for ","✅ Ad loaded for slot: ","getElementById"," ads)","data-adstage-slot-id","muted","removedNodes","json","6753768ebHqWe","controls","1332695jGWdKu","interstitial","renderAd","warn","destroy","❌ Failed to load ad for slot: "," removed"," ads automatically","📊 Fetched specific ad with ID: ","viewabilityTracker","disconnect","loadAdContentInBackground","init","containerId","New advertisement viewable tracked for slot:","error"," (element found)","then","autoDestroy","1039278cgZfHT","renderAdSlider","language","createAdWithRetry","TEXT","ensureReady","renderAdElement","width","adRenderer","toString","Ad slot not found: ","❌ Failed to track viewable impression:","adId","API key not configured","video","mutationObserver","slideInterval","hideControls","_config","slots","🎯 Ads module initialized (sync mode) with auto-cleanup","playsinline","432986WnQkOf","[data-adstage-slot-id]","setupAutoCleanup","100%","getConfig","text","now","deviceType","isReady","handleViewableEvent","forEach","autoplay","🔍 Auto-cleanup MutationObserver enabled","onClick","maxLines","🚫 Advertisement not found with ID: ","undefined","clear","height","🧹 Auto-cleanup: slot ","Failed to fetch ad data: ","default","ELEMENT_NODE","body","Ads module not initialized. Call AdStage.init() first.","createAd","random","apiKey","length","advertisement","28eYsoAT","string","5482376QYXkhX","12Vxviig","destroyModule","querySelectorAll","fetchAdData","GET","🔄 Retrying viewability tracking for slot: ","🔍 Ad slot already cleaned up: ","banner","ms... (attempt "," attempts: ","🔄 Ad slot refreshed: ","renderFallback","INTERSTITIAL","advertisements","BANNER","VIEWABLE","Failed to refresh ad slot: ","_isReady","debug","advertisementEventTracker","isLoaded","refreshAdSlot","NATIVE","_id","delete"," (attempt ","detail","append","status","adType","getAllSlots","loop","createAdInternal","config","startSimpleViewabilityTracking","create","Container not found after "];return(Gt=function(){return t})()}!function(){const t=Wt,e=Gt();for(;;)try{if(563394===parseInt(t(508))/1+-parseInt(t(530))/2*(parseInt(t(563))/3)+-parseInt(t(560))/4*(-parseInt(t(610))/5)+-parseInt(t(621))/6+parseInt(t(623))/7+parseInt(t(562))/8+-parseInt(t(601))/9*(parseInt(t(609))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Yt{constructor(){const t=Wt;this[t(580)]=!1,this._config=null,this[t(527)]=new Map,this.advertisementEventTracker=null,this[t(516)]=null,this[t(523)]=null}[Kt(501)](t){const e=Kt;this[e(526)]=t,this[e(582)]=new P(W[e(608)](),t[e(557)],t[e(581)]||!1,this[e(527)]),this[e(516)]=new Ht(t[e(581)]||!1,this[e(582)]),this[e(532)](),this[e(580)]=!0,t.debug&&console[e(604)](e(528))}[Kt(538)](){return this._isReady}[Kt(534)](){return this._config}[Kt(570)](e,n){const r=Kt;this.ensureReady();const s={width:n?.[r(515)]||"100%",height:n?.height||"auto",autoSlide:n?.autoSlide||!1,slideInterval:n?.[r(524)]||5e3,onClick:n?.[r(543)],adId:n?.adId,language:n?.language,deviceType:n?.deviceType,country:n?.[r(603)]};return this[r(555)](e,t[r(577)],s)}[Kt(535)](e,n){const r=Kt;this.ensureReady();const s={maxLines:n?.[r(544)]||3,style:n?.style||r(551),onClick:n?.[r(543)],adId:n?.adId,language:n?.[r(510)],deviceType:n?.deviceType,country:n?.[r(603)]};return this[r(555)](e,t[r(512)],s)}[Kt(522)](e,n){const r=Kt;this[r(513)]();const s={width:n?.[r(515)]||640,height:n?.[r(548)]||360,autoplay:void 0===n?.[r(541)]||n[r(541)],muted:void 0===n?.[r(618)]||n[r(618)],loop:void 0===n?.[r(594)]||n[r(594)],playsinline:!1!==n?.[r(529)],controls:void 0!==n?.[r(622)]&&n[r(622)],hideControls:n?.[r(525)]||!1,customControls:n?.customControls,autoSlide:!1,maxAds:1,onClick:n?.[r(543)],...n?.[r(520)]&&{adId:n[r(520)]}};return this[r(555)](e,t[r(602)],s)}native(e,n){const r=Kt;return this[r(513)](),this[r(555)](e,t[r(585)],n||{})}[Kt(624)](e,n){const r=Kt;return this[r(513)](),this[r(555)](e,t[r(575)],n||{})}refresh(t){const e=Kt;this[e(513)]();const n=this.slots[e(607)](t);if(!n)throw new Error(e(518)+t);this[e(584)](n),this._config?.[e(581)]&&console[e(604)](e(573)+t)}[Kt(627)](t){const e=Kt;this[e(513)]();const n=this[e(527)][e(607)](t);if(!n)return void(this._config?.[e(581)]&&console[e(604)](e(569)+t));n[e(632)]&&n[e(632)].destroy();const r=document[e(615)](n[e(502)]);r&&(r.innerHTML=""),this[e(527)][e(587)](t),this[e(526)]?.[e(581)]&&console[e(604)]("🗑️ Ad slot destroyed: "+t)}[Kt(593)](){const t=Kt;return this[t(513)](),Array[t(611)](this[t(527)].values())}getSlotById(t){const e=Kt;return this[e(513)](),this[e(527)].get(t)||null}[Kt(555)](t,e,n){const r=Kt;if(!this._config?.[r(557)])throw new Error(r(521));const s="adstage-"+e+"-"+Date[r(536)]()+"-"+Math[r(556)]()[r(517)](36).substr(2,9);return this[r(511)](t,e,n,s,0),s}async createAdWithRetry(t,e,n,r,s){const o=Kt,i=[0,50,100,200,500];let a,c=null;if(typeof t===o(561)){if(a=t,c=document[o(615)](t),!c)return s<4?(this[o(526)]?.[o(581)]&&console.warn("Container not found: "+t+o(612)+i[s+1]+o(571)+(s+1)+"/5)"),void setTimeout(()=>{this[o(511)](t,e,n,r,s+1)},i[s+1])):void console[o(504)](o(599)+5+o(572)+t)}else c=t,a=c.id||"auto-"+r,!c.id&&(c.id=a);try{this[o(595)](a,e,n,r,c)}catch(t){console[o(504)]("광고 생성 중 오류 발생:",t)}}createAdInternal(e,n,r,s,o){const i=Kt;o.setAttribute(i(617),s),this[i(516)]?.createPlaceholder(o,s,n,r,this[i(526)]);const a={id:s,containerId:e,adType:n,width:r[i(515)]||i(533),height:r[i(548)]||(n===t[i(512)]?"auto":250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...r},load:async()=>this.fetchAdData(n,r)[i(506)](t=>t[0]||null),render:t=>this[i(516)]?.[i(514)](a,t),refresh:async()=>this[i(584)](a),destroy:()=>this[i(627)](s)};this[i(527)].set(s,a),this[i(500)](a),this[i(582)]&&this[i(526)]?.[i(581)]&&console.log("📊 Advertisement event tracking enabled for slot: "+s)}async[Kt(500)](e){const n=Kt;try{const r=await this.fetchAdData(e[n(592)],e[n(596)]);if(!r||0===r[n(558)])return void this.adRenderer?.[n(574)](e);e.adType===t.BANNER&&r[n(558)]>0&&await(this.adRenderer?.optimizeContainerForBannerAds(e,r)),r[n(558)]>1||e.config?.autoSlide?(await(this[n(516)]?.[n(509)](e,r)),this[n(526)]?.debug&&console.log(n(613)+r[n(558)]+n(630))):(e.advertisement=r[0],await(this[n(516)]?.[n(514)](e,r[0])),this[n(597)](e,r[0])),e[n(583)]=!0,this[n(526)]?.[n(581)]&&console[n(604)](n(614)+e.id+" ("+r[n(558)]+n(616))}catch(t){console[n(504)](n(628)+e.id,t),this[n(516)]?.[n(574)](e)}}startSimpleViewabilityTracking(t,e){const n=(r=0)=>{const s=Wt,o=document[s(615)](t.id);if(!o)return void(r<5?(setTimeout(()=>n(r+1),300),this._config?.debug&&console[s(604)](s(568)+t.id+s(588)+(r+1)+")")):console[s(626)]("❌ Failed to find element for viewability tracking: "+t.id));const i=new O(o,async()=>{const n=s;await this[n(539)](e,t)});t[s(632)]=i,this._config?.[s(581)]&&console[s(604)]("🎯 Simple viewability tracking started for slot: "+t.id+s(505))};n()}async[Kt(539)](t,e){const n=Kt;try{this.advertisementEventTracker&&(await this[n(582)].trackAdvertisementEvent(t[n(586)],e.id,i[n(578)]),this[n(526)]?.[n(581)]&&console[n(604)]("✅ Simple viewable impression tracked for ad "+t[n(586)]))}catch(t){console.error(n(519),t)}}async[Kt(566)](t,e){const n=Kt;if(!this[n(526)]?.[n(557)])throw new Error("API key not configured");if(e[n(520)]){const t=""+W[n(576)][n(589)](e[n(520)]),r=await fetch(t,{method:n(567),headers:R.create(this[n(526)][n(557)])});if(!r.ok){if(404===r[n(591)])return console.warn(n(545)+e[n(520)]),[];throw new Error(n(550)+r[n(591)])}const s=await r.json();return this[n(526)]?.[n(581)]&&console[n(604)](n(631)+e[n(520)],s),[s]}const r=new URLSearchParams;r[n(590)](n(592),t),e[n(510)]&&r[n(590)]("language",e[n(510)]),e[n(537)]&&r[n(590)]("deviceType",e[n(537)]),e[n(603)]&&r[n(590)](n(603),e[n(603)]);const s=W[n(576)].list()+"?"+r[n(517)](),o=await fetch(s,{method:n(567),headers:R[n(598)](this._config.apiKey)});if(!o.ok)throw new Error("Failed to fetch ad data: "+o[n(591)]);const i=(await o[n(620)]())[n(576)]||[];return this[n(526)]?.[n(581)]&&console[n(604)](n(600)+i[n(558)]+" ads for type: "+t+", filters:",{language:e[n(510)],deviceType:e[n(537)],country:e[n(603)]}),i}async[Kt(584)](t){const e=Kt;try{const n=await this[e(566)](t[e(592)],t.config||{});n&&n[e(558)]>0&&(t[e(559)]=n[0],await(this[e(516)]?.[e(625)](t)),this[e(582)]&&console[e(604)](e(503),t.id))}catch(n){console[e(504)](e(579)+t.id,n)}}[Kt(513)](){const t=Kt;if(!this[t(580)])throw new Error(t(554))}setupAutoCleanup(){const t=Kt;typeof window!==t(546)&&typeof document!==t(546)&&(this[t(523)]&&this.mutationObserver[t(633)](),this.mutationObserver=new MutationObserver(e=>{const n=t;e[n(540)](t=>{const e=n;t[e(619)][e(540)](t=>{const n=e;t.nodeType===Node[n(552)]&&this.handleRemovedElement(t)})})}),this[t(523)].observe(document[t(553)],{childList:!0,subtree:!0}),this[t(526)]?.[t(581)]&&console.log(t(542)))}[Kt(605)](t){const e=Kt,n=t.getAttribute(e(617));if(n)return void this[e(507)](n);t[e(565)](e(531))[e(540)](t=>{const n=e,r=t[n(606)]("data-adstage-slot-id");r&&this[n(507)](r)})}autoDestroy(t){const e=Kt,n=this.slots[e(607)](t);if(n)try{n[e(632)]&&n[e(632)][e(627)](),this.slots[e(587)](t),this[e(526)]?.[e(581)]&&console[e(604)](e(549)+t+e(629))}catch(n){this._config?.[e(581)]&&console.warn("Auto-cleanup failed for slot "+t+":",n)}}[Kt(564)](){const t=Kt,e=this._config?.[t(581)];this[t(523)]&&(this[t(523)][t(633)](),this[t(523)]=null),this[t(527)][t(547)](),this.advertisementEventTracker=null,this[t(516)]=null,this[t(580)]=!1,this[t(526)]=null,e&&console[t(604)]("🗑️ Ads module destroyed")}}function qt(){var t=["setBaseUrl","getEnabledModules","63IQyzTX","ads","updateConfig","API key not available","isDebugMode","Config module not initialized","init","870020qbPNDP","getApiEndpoint","_organizationInfo","baseUrl","config","🔄 Config updated","6253615zbzhrY","log","28920980Lflrpg","development","778MYAbkl","_config","_isReady","apiKey","12222jCISQH","debug","342lTvYDU","getOrganizationInfo","201876pHFDOi","create","getApiHeaders","getBaseUrl","5486704WhgeYZ","isReady","4hkeFhv","isModuleEnabled","getConfig","220470ErAnkr","modules"];return(qt=function(){return t})()}var Jt=Qt;function Qt(t,e){var n=qt();return(Qt=function(t,e){return n[t-=424]})(t,e)}!function(){for(var t=Qt,e=qt();;)try{if(970335===-parseInt(t(424))/1+parseInt(t(434))/2*(-parseInt(t(438))/3)+parseInt(t(448))/4*(parseInt(t(430))/5)+parseInt(t(442))/6*(-parseInt(t(455))/7)+parseInt(t(446))/8+-parseInt(t(440))/9*(parseInt(t(451))/10)+parseInt(t(432))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Zt{constructor(){var t=Qt;this[t(436)]=!1,this._config=null,this[t(426)]=null}[Jt(461)](t){var e=Jt;this[e(435)]={timeout:3e4,debug:!1,modules:[e(456),"events",e(428)],...t},t[e(427)]&&W[e(453)](t[e(427)]),this[e(436)]=!0,t[e(439)]&&console[e(431)]("✅ Config module initialized (sync mode)",{modules:this[e(435)].modules,endpoint:W[e(445)](),mode:e(433)})}[Jt(447)](){return this[Jt(436)]}[Jt(450)](){return this._config}[Jt(441)](){return this[Jt(426)]}[Jt(425)](){return W[Jt(445)]()}[Jt(459)](){var t=Jt;return this[t(435)]?.[t(439)]||!1}getEnabledModules(){var t=Jt;return this[t(435)]?.[t(452)]||[]}[Jt(449)](t){return this[Jt(454)]().includes(t)}[Jt(457)](t){var e=Jt;if(!this[e(435)])throw new Error(e(460));this._config={...this[e(435)],...t},this[e(459)]()&&console[e(431)](e(429),t)}[Jt(444)](){var t=Jt;if(!this[t(435)]?.[t(437)])throw new Error(t(458));return R[t(443)](this[t(435)].apiKey)}}const Xt=$t;function $t(t,e){const n=ee();return($t=function(t,e){return n[t-=448]})(t,e)}!function(){const t=$t,e=ee();for(;;)try{if(349592===-parseInt(t(486))/1*(parseInt(t(451))/2)+parseInt(t(473))/3*(parseInt(t(466))/4)+-parseInt(t(454))/5+-parseInt(t(449))/6+-parseInt(t(450))/7*(parseInt(t(482))/8)+parseInt(t(477))/9+-parseInt(t(462))/10*(-parseInt(t(474))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class te{static[Xt(485)](){const t=Xt;return{...te[t(460)](),...te[t(457)]}}static[Xt(460)](){const t=Xt;if(!m.isBrowser())return{category:"other",platform:"SSR",model:t(487),osVersion:t(487)};const e=navigator[t(483)][t(459)]();let n="desktop";/tablet|ipad/.test(e)?n="tablet":A[t(464)]()&&(n=t(448));const r=A[t(455)]();return{category:n,platform:te[t(490)](r),model:navigator[t(470)],osVersion:navigator.platform}}static[Xt(480)](t){const e=Xt;te[e(457)]={...te[e(457)],...t}}static[Xt(472)](t,e){te[Xt(457)][t]=e}static[Xt(489)](){te[Xt(457)]={}}static[Xt(458)](){return{...te[Xt(457)]}}static[Xt(490)](t){const e=Xt;switch(t){case e(468):return"iOS";case e(461):return e(452);case e(478):return e(476);case e(463):return"Desktop Web";default:return e(453)}}static[Xt(471)](){const t=Xt;if(!m[t(488)]())return{userAgent:"SSR",language:t(484),platform:t(487),cookieEnabled:!1,onLine:!0,screenResolution:t(479),viewportSize:t(479)};const e=m[t(469)]();return{userAgent:navigator[t(483)],language:navigator[t(475)]||t(484),platform:navigator[t(470)],cookieEnabled:navigator[t(467)],onLine:navigator[t(465)],screenResolution:screen[t(456)]+"x"+screen.height,viewportSize:e[t(456)]+"x"+e[t(481)]}}}function ee(){const t=["getDeviceInfo","168757sNZMLz","SSR","isBrowser","clearDeviceInfo","mapPlatformForEvents","mobile","2046300sVIKgD","112xwNOwI","4UFJamP","Android","Unknown","994175OldGfl","getPlatform","width","_userProvidedDeviceInfo","getUserDeviceInfo","toLowerCase","getAutoDetectedDeviceInfo","android","110WyRkFu","desktop","isMobile","onLine","75260YRLBnx","cookieEnabled","ios","getViewportInfo","platform","getDetailedInfo","setDeviceProperty","27NjvGUS","1179761cZPcAP","language","Mobile Web","2938527AGwgQW","web","0x0","setDeviceInfo","height","224304zyjBGa","userAgent","ko-KR"];return(ee=function(){return t})()}te[Xt(457)]={};const ne=oe;function re(){const t=["DateTimeFormat","ko-KR","split","92915aZKRfO","isBrowser","_userProperties","248vZVVVp","4atgjcO","extractCountryFromLanguage","7733103QcmEMf","getCurrentUserProperties","6NFyuGn","UTC","getBaseUserInfo","3GPgwDD","5113530kTbbVZ","1050jrDBSw","language","134145wHFYYw","9683796rCoqVT","setUserProperties","2102712hEMZLu","estimateLocation","26aJflCn","140112zMXUlT","timeZone","resolvedOptions","setUserProperty"];return(re=function(){return t})()}!function(){const t=oe,e=re();for(;;)try{if(644414===parseInt(t(474))/1*(parseInt(t(478))/2)+parseInt(t(485))/3*(parseInt(t(492))/4)+-parseInt(t(486))/5+-parseInt(t(482))/6*(-parseInt(t(480))/7)+-parseInt(t(477))/8*(parseInt(t(495))/9)+-parseInt(t(487))/10*(parseInt(t(489))/11)+parseInt(t(490))/12*(parseInt(t(494))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class se{static getUserInfo(){const t=oe;return{...se[t(484)](),...se[t(476)]}}static getBaseUserInfo(){const t=oe;if(!m[t(475)]())return{language:"ko-KR",country:"KR"};const e=navigator[t(488)]||t(472);return{language:e,country:se[t(479)](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[oe(473)]("-")[0]]||"KR"}static[ne(491)](t){const e=ne;se[e(476)]={...se[e(476)],...t}}static[ne(498)](t,e){se._userProperties[t]=e}static clearUserProperties(){se._userProperties={}}static[ne(481)](){return{...se._userProperties}}static[ne(493)](){const t=ne;if(!m[t(475)]())return{timezone:t(483),estimatedCountry:"KR"};const e=Intl[t(471)]()[t(497)]()[t(496)];return{timezone:e,estimatedCountry:{"Asia/Seoul":"KR","Asia/Tokyo":"JP","Asia/Shanghai":"CN","Asia/Hong_Kong":"HK","Asia/Taipei":"TW","America/New_York":"US","America/Los_Angeles":"US","Europe/London":"GB","Europe/Berlin":"DE","Europe/Paris":"FR"}[e]||"KR"}}}function oe(t,e){const n=re();return(oe=function(t,e){return n[t-=471]})(t,e)}se._userProperties={};const ie=ae;function ae(t,e){const n=ce();return(ae=function(t,e){return n[t-=164]})(t,e)}function ce(){const t=["7SSShKM","30zrwlKv","isBrowser","removeItem","getSessionInfo","298776nehyre","session_","substr","getUserId","9ezYzse","getSessionId","936215vQsnlf","setItem","getSessionDuration","random","adstage_user_id","getSessionStats","isNewSession","getItem","1084092CIoKVP","adstage_session_start","setUserId","8DMGFgt","_userId","adstage_session_id","isSessionExpired","now","refreshSession","208634AvwqEX","819832LzHMuu","ssr_session_","430030xBJTYo","1091123PWqnxG"];return(ce=function(){return t})()}!function(){const t=ae,e=ce();for(;;)try{if(264399===-parseInt(t(169))/1+parseInt(t(172))/2+-parseInt(t(193))/3+parseInt(t(196))/4*(parseInt(t(185))/5)+-parseInt(t(179))/6*(-parseInt(t(174))/7)+-parseInt(t(170))/8*(parseInt(t(183))/9)+parseInt(t(175))/10*(parseInt(t(173))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class le{static[ie(184)](){const t=ie;if(!m[t(176)]())return t(171)+Date[t(167)]();const e=sessionStorage[t(192)]("adstage_session_id");if(e)return e;const n=t(180)+Math[t(188)]().toString(36)[t(181)](2,9)+"_"+Date[t(167)]();return sessionStorage.setItem(t(165),n),!le._sessionStartTime&&(le._sessionStartTime=Date.now(),m.isBrowser()&&sessionStorage[t(186)]("adstage_session_start",String(le._sessionStartTime))),n}static[ie(195)](t){const e=ie;le[e(164)]=t,m[e(176)]()&&localStorage[e(186)](e(189),t)}static[ie(182)](){const t=ie;if(le[t(164)])return le[t(164)];if(m[t(176)]()){const e=localStorage[t(192)]("adstage_user_id");if(e)return le._userId=e,e}}static clearUserId(){const t=ie;le[t(164)]=void 0,m.isBrowser()&&localStorage[t(177)]("adstage_user_id")}static[ie(178)](){const t=ie,e=le[t(184)](),n=le.getUserId(),r=le[t(191)]();return{sessionId:e,userId:n,sessionDuration:le[t(187)](),isNewSession:r}}static[ie(191)](){const t=ie;if(!m[t(176)]())return!0;const e=sessionStorage.getItem(t(165)),n=sessionStorage[t(192)]("adstage_session_start");return!e||!n}static getSessionDuration(){const t=ie;if(!m.isBrowser())return 0;const e=sessionStorage.getItem(t(194));return e?Date.now()-parseInt(e,10):0}static[ie(168)](){const t=ie;return m.isBrowser()&&(sessionStorage[t(177)](t(165)),sessionStorage[t(177)]("adstage_session_start")),le._sessionStartTime=void 0,le[t(184)]()}static[ie(166)](t=24){return le[ie(187)]()>60*t*60*1e3}static[ie(190)](){const t=ie,e=le[t(184)](),n=le[t(182)](),r=le[t(187)](),s=le[t(166)](),o=le[t(191)]();let i;if(m[t(176)]()){const e=sessionStorage[t(192)]("adstage_session_start");i=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:i,duration:r,isExpired:s,isNewSession:o}}}const de=pe;function ue(){const t=["getUserDeviceInfo","events","2232188kYJQVu","log","sendEventToServer","debug","6rdFKEX","setDeviceProperty","error","1040633iLUpbG","✅ Event tracked:","3022JAeCUD","getDeviceInfo","Event data:","📱 User provided device info cleared","POST","2139AmclgT","clearDeviceInfo","getUserProperties","4629552sDqeGA","1199510OhVmhA","warn","Event tracking failed: ","setUserId","📱 Device property set:","63GkDBlE","getUserId","status","❌ Failed to track event:","👤 User properties set:","15035394nSuySG","setUserProperties","getUserInfo","getConfig","📱 Device info set:","5tqqICC","getCurrentUserProperties","_isReady","getSessionId","setDeviceInfo","751618dWperK","apiKey","init","_config","application/json"];return(ue=function(){return t})()}function pe(t,e){const n=ue();return(pe=function(t,e){return n[t-=293]})(t,e)}!function(){const t=pe,e=ue();for(;;)try{if(577214===parseInt(t(322))/1+-parseInt(t(324))/2*(parseInt(t(329))/3)+-parseInt(t(315))/4*(-parseInt(t(303))/5)+parseInt(t(319))/6*(parseInt(t(308))/7)+-parseInt(t(332))/8+-parseInt(t(293))/9*(parseInt(t(333))/10)+parseInt(t(298))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class he{constructor(){this[pe(305)]=!1,this._config=null}[de(310)](t){const e=de;this[e(311)]=t,this[e(305)]=!0,t[e(318)]&&console[e(316)]("📊 Events module initialized")}isReady(){return this._isReady}[de(301)](){return this._config}[de(336)](t){const e=de;le.setUserId(t),this[e(311)]?.[e(318)]&&console[e(316)]("👤 User ID set:",t)}getUserId(){return le[de(294)]()}[de(299)](t){const e=de;se.setUserProperties(t),this[e(311)]?.[e(318)]&&console[e(316)](e(297),t)}[de(331)](){return se[de(304)]()}setDeviceInfo(t){const e=de;te[e(307)](t),this[e(311)]?.[e(318)]&&console[e(316)](e(302),t)}[de(320)](t,e){const n=de;te[n(320)](t,e),this._config?.debug&&console.log(n(337),t,e)}[de(330)](){const t=de;te[t(330)](),this[t(311)]?.[t(318)]&&console[t(316)](t(327))}[de(313)](){return te[de(313)]()}[de(325)](){return te[de(325)]()}[de(300)](){return se.getUserInfo()}[de(304)](){return se[de(304)]()}async track(t,e){const n=de;if(this[n(305)])if(this[n(311)]?.[n(309)])try{const r={eventName:t,userId:le[n(294)](),sessionId:le[n(306)](),sdkVersion:k(),device:te[n(325)](),user:se.getUserInfo(),params:e||{}};await this[n(317)](r),this._config.debug&&console[n(316)](n(323),t,e)}catch(r){console[n(321)](n(296),r),this[n(311)].debug&&console[n(321)](n(326),{eventName:t,properties:e})}else console[n(334)]("API key not configured for event tracking.");else console.warn("Events module not initialized. Call AdStage.init() first.")}async[de(317)](t){const e=de,n=await fetch(W[e(314)].track(),{method:e(328),headers:{...R.create(this[e(311)][e(309)]),"Content-Type":e(312)},body:JSON.stringify(t)});if(!n.ok)throw new Error(e(335)+n[e(295)]+" "+n.statusText)}}const fe=me;!function(){const t=me,e=ve();for(;;)try{if(906665===-parseInt(t(315))/1*(-parseInt(t(286))/2)+-parseInt(t(327))/3*(-parseInt(t(298))/4)+-parseInt(t(309))/5*(-parseInt(t(312))/6)+parseInt(t(307))/7+parseInt(t(306))/8+-parseInt(t(299))/9+parseInt(t(304))/10*(-parseInt(t(319))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ge{constructor(){const t=me;this[t(293)]=!1,this._config=null,this[t(290)]=new Zt,this[t(308)]=new Yt,this[t(321)]=new he}static[fe(303)](t){const e=fe;!ge[e(295)]&&(ge.instance=new ge);const n=ge.instance;if(!t[e(317)])throw new Error(e(294));n[e(326)]={timeout:3e4,debug:!1,modules:[e(308),"events",e(290)],...t},n[e(326)][e(323)]&&(W.setBaseUrl(n[e(326)][e(323)]),t[e(310)]&&console[e(297)](e(296),n[e(326)][e(323)]));const r=n[e(326)][e(287)]||[e(308),e(321),e(290)];for(const t of r){const r=n[t];r&&"function"==typeof r[e(303)]&&r.init(n[e(326)])}n[e(293)]=!0,t[e(310)]&&console.log(e(302),{version:e(320),modules:r,apiKey:t[e(317)].substring(0,8)+e(324),mode:e(322)})}static[fe(316)](){const t=fe;return ge[t(295)]?.[t(293)]||!1}static[fe(288)](){return ge.instance?._config||null}static[fe(289)](){const t=fe;if(!ge[t(295)])throw new Error(t(305));return ge[t(295)]}static get[fe(308)](){const t=fe;try{return ge[t(289)]()[t(308)]}catch(e){throw console.warn(t(292)),e}}static get[fe(321)](){const t=fe;try{return ge.getInstance().events}catch(e){throw console.warn(t(325)),e}}static get[fe(290)](){const t=fe;try{return ge[t(289)]()[t(290)]}catch(e){throw console[t(300)]("AdStage.config accessed before initialization"),e}}static[fe(291)](){const t=fe;ge[t(295)]&&(ge[t(295)][t(293)]=!1,ge[t(295)][t(326)]=null)}}function me(t,e){const n=ve();return(me=function(t,e){return n[t-=286]})(t,e)}function ve(){const t=["✅ AdStage Debug: 광고 ","6736242QbDwLU","size","from","321506LaCbVP","isReady","apiKey","clear","693brxuoa","2.0.0","events","development","baseUrl","...","AdStage.events accessed before initialization","_config","3UKFQmS","8sKZCQd","modules","getConfig","getInstance","config","reset","AdStage.ads accessed before initialization","_isInitialized","API key is required for AdStage initialization","instance","🌐 API endpoint configured:","log","2541784RXswDG","13585311xhrxlz","warn",")의 viewable 추적 초기화됨","🚀 AdStage SDK initialized (sync mode)","init","434070xMgNjA","AdStage not initialized. Call AdStage.init() first.","12926072LSjmef","3435943mtiPAH","ads","5AlykTl","debug"];return(ve=function(){return t})()}function ye(t,e){var n=be;return ge[n(225)]()?ge[n(237)][n(235)](t,e):(console[n(229)](n(233)),Promise[n(222)]())}function Ie(t){var e=be;ge.isReady()?ge.events.setUserId(t):console[e(229)](e(233))}function be(t,e){var n=Ee();return(be=function(t,e){return n[t-=218]})(t,e)}function we(){var t=be;if(ge[t(225)]())return ge[t(237)][t(226)]();console[t(229)](t(233))}function ke(t){var e=be;ge.isReady()?ge[e(237)][e(230)](t):console[e(229)](e(233))}function Ee(){var t=["isReady","getUserId","21cGYsya","49OfIFsL","warn","setUserProperties","getUserProperties","436450Pnftin","AdStage not initialized. Call AdStage.init() first.","3448mKtYvV","track","869ohMMux","events","3790866SHloPE","15081480mBzCJr","159456QSBQgA","117472oKZszp","resolve","518532MwEuEe","1945JQmiig"];return(Ee=function(){return t})()}function xe(){var t=be;if(ge[t(225)]())return ge[t(237)][t(231)]();console.warn(t(233))}ge[fe(310)]={clearAllViewable:()=>{at[fe(318)](),console.log("✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨")},clearAdViewable:(t,e)=>{const n=fe;at.clearAdViewable(t,e),console[n(297)](n(311)+t+"("+e+n(301))},getViewableStatus:()=>{const t=fe;console[t(297)]("📊 AdStage Debug: 현재 viewable 추적 상태",{trackedCount:at.viewableTracker[t(313)],trackedItems:Array[t(314)](at.viewableTracker)})}},function(){for(var t=be,e=Ee();;)try{if(953088===-parseInt(t(220))/1+-parseInt(t(223))/2*(-parseInt(t(227))/3)+-parseInt(t(234))/4*(-parseInt(t(224))/5)+parseInt(t(218))/6+-parseInt(t(228))/7*(-parseInt(t(221))/8)+parseInt(t(219))/9+parseInt(t(232))/10*(-parseInt(t(236))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();var Se,Ae={exports:{}},Ce={},Te={exports:{}},_e={};Te.exports=function(){if(Se)return _e;Se=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),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 v(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=g.prototype;var y=v.prototype=new m;y.constructor=v,h(y,g.prototype),y.isPureReactComponent=!0;var I=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 l=Array(c),d=0;d<c;d++)l[d]=arguments[d+2];o.children=l}if(e&&e.defaultProps)for(s in c=e.defaultProps)void 0===o[s]&&(o[s]=c[s]);return{$$typeof:t,type:e,key:i,ref:a,props:o,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var S=/\/+/g;function A(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}(""+t.key):e.toString(36)}function C(n,r,s,o,i){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var c=!1;if(null===n)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(n.$$typeof){case t:case e:c=!0}}if(c)return i=i(c=n),n=""===o?"."+A(c,0):o,I(i)?(s="",null!=n&&(s=n.replace(S,"$&/")+"/"),C(i,r,s,"",function(t){return t})):null!=i&&(x(i)&&(i=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,s+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(S,"$&/")+"/")+n)),r.push(i)),1;if(c=0,o=""===o?".":o+":",I(n))for(var l=0;l<n.length;l++){var d=o+A(a=n[l],l);c+=C(a,r,s,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,r,s,d=o+A(a,l++),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 _(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var R={current:null},D={transition:null},L={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:D,ReactCurrentOwner:w};function B(){throw Error("act(...) is not supported in production builds of React.")}return _e.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}},_e.Component=g,_e.Fragment=n,_e.Profiler=s,_e.PureComponent=v,_e.StrictMode=r,_e.Suspense=c,_e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,_e.act=B,_e.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(l in n)b.call(n,l)&&!k.hasOwnProperty(l)&&(s[l]=void 0===n[l]&&void 0!==c?c[l]:n[l])}var l=arguments.length-2;if(1===l)s.children=r;else if(1<l){c=Array(l);for(var d=0;d<l;d++)c[d]=arguments[d+2];s.children=c}return{$$typeof:t,type:e.type,key:o,ref:i,props:s,_owner:a}},_e.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},_e.createElement=E,_e.createFactory=function(t){var e=E.bind(null,t);return e.type=t,e},_e.createRef=function(){return{current:null}},_e.forwardRef=function(t){return{$$typeof:a,render:t}},_e.isValidElement=x,_e.lazy=function(t){return{$$typeof:d,_payload:{_status:-1,_result:t},_init:_}},_e.memo=function(t,e){return{$$typeof:l,type:t,compare:void 0===e?null:e}},_e.startTransition=function(t){var e=D.transition;D.transition={};try{t()}finally{D.transition=e}},_e.unstable_act=B,_e.useCallback=function(t,e){return R.current.useCallback(t,e)},_e.useContext=function(t){return R.current.useContext(t)},_e.useDebugValue=function(){},_e.useDeferredValue=function(t){return R.current.useDeferredValue(t)},_e.useEffect=function(t,e){return R.current.useEffect(t,e)},_e.useId=function(){return R.current.useId()},_e.useImperativeHandle=function(t,e,n){return R.current.useImperativeHandle(t,e,n)},_e.useInsertionEffect=function(t,e){return R.current.useInsertionEffect(t,e)},_e.useLayoutEffect=function(t,e){return R.current.useLayoutEffect(t,e)},_e.useMemo=function(t,e){return R.current.useMemo(t,e)},_e.useReducer=function(t,e,n){return R.current.useReducer(t,e,n)},_e.useRef=function(t){return R.current.useRef(t)},_e.useState=function(t){return R.current.useState(t)},_e.useSyncExternalStore=function(t,e,n){return R.current.useSyncExternalStore(t,e,n)},_e.useTransition=function(){return R.current.useTransition()},_e.version="18.3.1",_e}();var Re,De=Te.exports;
1
+ var t,e,n,r,s,o,i,a,c,l,d;function u(t,e){var n=p();return(u=function(t,e){return n[t-=471]})(t,e)}function p(){var t=["9470741faiAot","8276292uNavRE","1128344KAPsek","4683393Wpsery","BANNER","80708ZJDAHd","2379042cdpFtG","16ggsTUe","55iYfvge","MOBILE","1imBIGX","VIEWABLE","WEB","VIDEO","TABLET","INTERSTITIAL","TEXT","NATIVE","DESKTOP","11LXFOGu","POPUP","30588260tCwfvH"];return(p=function(){return t})()}!function(){for(var t=u,e=p();;)try{if(955712===parseInt(t(485))/1*(-parseInt(t(477))/2)+parseInt(t(478))/3+parseInt(t(480))/4*(parseInt(t(483))/5)+-parseInt(t(481))/6+parseInt(t(475))/7+-parseInt(t(482))/8*(-parseInt(t(476))/9)+-parseInt(t(474))/10*(parseInt(t(472))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(e=t||(t={}))[(n=u)(479)]=n(479),e[n(473)]="POPUP",e[n(490)]=n(490),e[n(492)]=n(492),e.VIDEO=n(488),e[n(491)]=n(491),(s=r||(r={}))[(o=u)(487)]=o(487),s[o(484)]=o(484),(a=i||(i={}))[u(486)]="VIEWABLE",a.CLICK="CLICK",(l=c||(c={}))[(d=u)(471)]="DESKTOP",l[d(484)]=d(484),l[d(489)]="TABLET";const h=f;function f(t,e){const n=m();return(f=function(t,e){return n[t-=262]})(t,e)}!function(){const t=f,e=m();for(;;)try{if(548704===parseInt(t(316))/1*(-parseInt(t(306))/2)+-parseInt(t(311))/3+parseInt(t(281))/4+parseInt(t(269))/5+parseInt(t(301))/6+parseInt(t(302))/7*(-parseInt(t(329))/8)+parseInt(t(280))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class g{static[h(320)](){const t=h;return typeof window!==t(266)&&typeof document!==t(266)}static[h(325)](){return!this[h(320)]()}static[h(296)](){return this[h(320)]()&&void 0!==document.readyState}static[h(299)](t){const e=h;return this[e(296)]()?document[e(324)](t):null}static[h(300)](t){const e=h;return this[e(296)]()?document[e(272)](t):null}static[h(264)](t){const e=h;return this[e(296)]()?Array[e(270)](document.querySelectorAll(t)):[]}static[h(271)](t){const e=h;return this.canUseDOM()?document[e(273)](t):null}static[h(326)](t,e,n,r){const s=h;this.canUseDOM()&&t&&t[s(304)](e,n,r)}static[h(313)](t,e,n,r){const s=h;this[s(296)]()&&t&&t[s(317)](e,n,r)}static[h(292)](t,e){return this[h(320)]()?window[t]??e:e}static[h(319)](t,e){return this[h(296)]()?document[t]??e:e}static[h(305)](t,e,n){return this[h(320)]()?window.open(t,e,n):null}static[h(315)](t){return this[h(320)]()&&t?window.getComputedStyle(t):null}static[h(330)](){const t=h;return!!this[t(296)]()&&document[t(276)]!==t(282)}static[h(303)](){return new Promise(t=>{const e=f;this[e(296)]()?this[e(330)]()?t():this[e(326)](document,"DOMContentLoaded",()=>t()):t()})}static[h(284)](t,e){const n=h;this[n(296)]()&&t&&Object[n(327)](e).forEach(([e,r])=>{const s=n;t.style[s(309)](e,r)})}static[h(289)](t,e){const n=h;this[n(296)]()&&t&&t[n(278)][n(287)](e)}static safeRemoveClass(t,e){const n=h;this.canUseDOM()&&t&&t[n(278)].remove(e)}static[h(262)](t,e){this[h(296)]()&&t&&(t.textContent=e)}static safeSetInnerHTML(t,e){const n=h;this[n(296)]()&&t&&(t[n(277)]=e)}static[h(295)](t,e){const n=h;this.canUseDOM()&&t&&e&&t[n(263)](e)}static[h(307)](t,e){const n=h;this[n(296)]()&&t&&e&&t[n(328)](e)}static[h(290)](){const t=h;return{url:this[t(292)](t(314),{href:""}).href,title:this[t(319)]("title",""),referrer:this.getDocumentProperty(t(279),"")}}static[h(322)](){const t=h;return{width:this[t(292)]("innerWidth",0),height:this[t(292)](t(268),0),pixelRatio:this.getWindowProperty(t(265),1)}}static[h(332)](){const t=h;return{scrollTop:this.canUseDOM()?window[t(333)]||document[t(267)][t(286)]:0,scrollLeft:this[t(292)](t(318),0)}}static async[h(310)](t,e={}){const n=h,{timeout:r=3e3,retryInterval:s=100,debug:o=!1}=e;if(!this[n(296)]())throw new Error("DOM을 사용할 수 없는 환경입니다.");const i=document[n(324)](t);return i?(o&&console[n(288)](n(297)+t),i):(o&&console[n(288)]("⏳ 컨테이너 대기 시작: "+t+" (최대 "+r+n(323)),new Promise((e,i)=>{const a=n;let c=0;const l=Math[a(331)](r/s),d=()=>{const n=a;c++;const u=document[n(324)](t);if(u)return o&&console[n(288)](n(312)+t+" ("+c+n(283)+c*s+n(294)),void e(u);if(c>=l){const e=n(308)+t+n(291)+t+n(274)+r+n(321)+c+n(298);return o&&console.error(e),void i(new Error(e))}o&&c%10==0&&console[n(288)](n(293)+t+" ("+c+"/"+l+")");const p=Math[n(285)](s*Math[n(275)](1.2,c),500);setTimeout(d,p)};setTimeout(d,s)}))}static async waitForElements(t,e={}){const n=h,r=t.map(t=>this[n(310)](t,e));return Promise.all(r)}}function m(){const t=["ms (","getViewportInfo","ms)","getElementById","isSSR","safeAddEventListener","entries","removeChild","40rvuGkA","isDOMReady","ceil","getScrollInfo","pageYOffset","safeSetTextContent","appendChild","safeQuerySelectorAll","devicePixelRatio","undefined","documentElement","innerHeight","4289740oOVftu","from","safeCreateElement","querySelector","createElement",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"pow","readyState","innerHTML","classList","referrer","8993745RrsNBZ","1675864RWdKrT","loading","번째 시도, ","safeApplyStyles","min","scrollTop","add","log","safeAddClass","getPageInfo",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"getWindowProperty","⏳ 컨테이너 대기 중: ","ms 경과)","safeAppendChild","canUseDOM","✅ 컨테이너 즉시 발견: ","번 시도)","safeGetElementById","safeQuerySelector","91476roFllS","1222319rxWQVT","waitForDOM","addEventListener","safeWindowOpen","2pXEEGf","safeRemoveChild",'❌ 컨테이너를 찾을 수 없습니다: "',"setProperty","waitForElement","1580925ADuvhw","✅ 컨테이너 발견: ","safeRemoveEventListener","location","safeGetComputedStyle","342701NDEZza","removeEventListener","pageXOffset","getDocumentProperty","isBrowser"];return(m=function(){return t})()}const y=b;!function(){const t=b,e=w();for(;;)try{if(366837===-parseInt(t(389))/1+-parseInt(t(401))/2+-parseInt(t(390))/3+-parseInt(t(394))/4+parseInt(t(391))/5+parseInt(t(398))/6*(parseInt(t(396))/7)+parseInt(t(400))/8*(parseInt(t(392))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const v=y(397);function I(){return v}function b(t,e){const n=w();return(b=function(t,e){return n[t-=389]})(t,e)}function w(){const t=["30oYGPNV","undefined","9296uRYwGw","1449494HAoIsm","634196HgwHjR","325827NZeXkM","353045prNiWK","13842HFIGvx","AdStageSDK/","1271684KHyVoj"," AdStageSDK/","412363neUXHf","3.0.10"];return(w=function(){return t})()}const k=S;!function(){const t=S,e=x();for(;;)try{if(418091===parseInt(t(301))/1*(parseInt(t(298))/2)+-parseInt(t(283))/3*(-parseInt(t(310))/4)+parseInt(t(330))/5*(-parseInt(t(319))/6)+-parseInt(t(308))/7*(parseInt(t(309))/8)+-parseInt(t(317))/9+-parseInt(t(314))/10+parseInt(t(299))/11*(parseInt(t(306))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class E{static[k(307)](){const t=k;if(!g[t(304)]())return t(329)+Date[t(323)]();const e=localStorage[t(313)](t(280));if(e)return e;const n=t(324)+Math.random().toString(36)[t(286)](2,9)+"_"+Date[t(323)]();return localStorage.setItem(t(280),n),n}static[k(305)](){const t=k;if(!g.isBrowser())return t(289)+Date.now();const e=sessionStorage.getItem(t(315));if(e)return e;const n=t(302)+Math.random()[t(290)](36)[t(286)](2,9)+"_"+Date[t(323)]();return sessionStorage[t(300)](t(315),n),n}static[k(281)](){const t=k;return!!g[t(304)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator[t(285)])}static getPlatform(){const t=k;if(!g[t(304)]())return"web";const e=navigator.userAgent.toLowerCase();return/iphone|ipad|ipod/.test(e)?t(312):/android/[t(288)](e)?t(293):E[t(281)]()?t(279):t(295)}static collectDeviceInfo(){const t=k,e=g[t(318)]();return{deviceId:E[t(307)](),sessionId:E[t(305)](),osVersion:g[t(304)]()?navigator[t(278)]:t(296),deviceModel:g[t(304)]()?navigator.platform:t(296),appVersion:"1.0.0",sdkVersion:I(),language:g.isBrowser()&&navigator[t(311)]||"ko",country:"KR",ipAddress:"",userAgent:g[t(304)]()?navigator.userAgent:t(296),timezone:g[t(304)]()?Intl.DateTimeFormat()[t(284)]()[t(321)]:"UTC",viewportWidth:e[t(327)],viewportHeight:e[t(325)],screenWidth:g[t(304)]()?screen[t(327)]:0,screenHeight:g.isBrowser()?screen[t(325)]:0,colorDepth:g[t(304)]()?screen[t(292)]:24,pixelRatio:e.pixelRatio,connectionType:g.isBrowser()&&navigator[t(294)]?.effectiveType||"unknown",platform:E[t(331)]()}}static[k(303)](t){const e=k;let n=g[e(322)](t);if(!n){const r=g[e(316)]("#"+t+e(297));r&&(n=r)}if(!n&&(n=g[e(316)](e(332)+t+'"]')),!n)return e(291);const r=n[e(282)](),s=g.getScrollInfo();return"x:"+Math[e(326)](r[e(328)])+",y:"+Math[e(326)](r[e(287)]+s[e(320)])}}function S(t,e){const n=x();return(S=function(t,e){return n[t-=278]})(t,e)}function x(){const t=['[data-adstage-slot-id="',"platform","web","adstage_device_id","isMobile","getBoundingClientRect","138942ojXjpV","resolvedOptions","userAgent","substr","top","test","ssr_session_","toString","unknown","colorDepth","android","connection","desktop","SSR"," .adstage-slider-wrapper","20MbUcTf","50732xDGtlv","setItem","64661hnhTmS","session_","getSlotPosition","isBrowser","generateSessionId","3144ofoHXp","generateDeviceId","168OQsdLW","46656rLwkdC","40FvOXQL","language","ios","getItem","5067540egIfAd","adstage_session_id","safeQuerySelector","5634612uIAXWj","getViewportInfo","3763278jwYJIr","scrollTop","timeZone","safeGetElementById","now","device_","height","round","width","left","ssr_device_","5FURuXM","getPlatform"];return(x=function(){return t})()}function A(){const t=["User-Agent","application/json","4sNKHef","undefined","23537781xvKLUj","3702528cVbKYb","4377947HvWrGc","44EOPlDc","87708qsRchA","3895805OiNCrS","API key is required","481315tXdiHA","create","userAgent","createForEvents","contentType","4695136kQcxRq"];return(A=function(){return t})()}const C=T;function T(t,e){const n=A();return(T=function(t,e){return n[t-=500]})(t,e)}!function(){const t=T,e=A();for(;;)try{if(440562===-parseInt(t(512))/1+parseInt(t(508))/2*(-parseInt(t(509))/3)+-parseInt(t(503))/4*(-parseInt(t(510))/5)+-parseInt(t(506))/6+-parseInt(t(507))/7+-parseInt(t(500))/8+parseInt(t(505))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class _{static create(t,e){const n=T;if(!t)throw new Error(n(511));const r={"x-api-key":t,"Content-Type":e?.[n(516)]||n(502)};return typeof navigator!==n(504)&&(r[n(501)]=e?.userAgent||navigator[n(514)]),r}static[C(515)](t,e){const n=C,r=_[n(513)](t);return e?.[n(514)]&&(r[n(501)]=e[n(514)]),r}}function R(t,e){const n=L();return(R=function(t,e){return n[t-=237]})(t,e)}const D=R;function L(){const t=["5175384vGqbxB","1015170EsgaqK","VIEWABLE","querySelector","referrer","apiKey"," (containerId: ","width","5895075WaPBDX","collectDeviceInfo","⚠️ DOM element not found for slotId: ","stringify","POST","createForEvents","status","getPageInfo","🚀 AdvertisementEventTracker: Processing ","10Gsmqnf","trackAdvertisementEvent","NOT_SET","3137464MdfdhN","debug","📡 API Response Status: ","). Skipping event tracking.","title","get","14GRqPVy","containerId","❌ Failed to track advertisement event:","adType"," for ad ","replace","number","sessionId","statusText","/advertisements/events/","6125607fOBQrr","✅ Successfully tracked advertisement event: ","168396wXuNJn","slots","log","API request failed: ","1415740ygpJIE","platform"," in slot ","now","baseUrl","deviceId","getSlotPosition","...","3KSzDMN",". Skipping event tracking to prevent incorrect adType.","error","warn","height","parseNumericValue"];return(L=function(){return t})()}!function(){const t=R,e=L();for(;;)try{if(612117===parseInt(t(244))/1+parseInt(t(285))/2*(-parseInt(t(237))/3)+-parseInt(t(263))/4+parseInt(t(251))/5+parseInt(t(281))/6*(-parseInt(t(269))/7)+parseInt(t(243))/8+parseInt(t(279))/9*(-parseInt(t(260))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class P{constructor(t,e,n,r){const s=R;this[s(289)]=t,this.apiKey=e,this[s(264)]=n,this[s(282)]=r}async[D(261)](t,e,n){const r=D;try{this[r(264)]&&console[r(283)](r(259)+n+" event for ad "+t+r(287)+e);const s=this.slots[r(268)](e);if(!s)return void(this[r(264)]&&console[r(240)]("⚠️ Slot not found for slotId: "+e+r(238)));if(!(document.getElementById(s[r(270)])||document[r(246)]('[data-adstage-slot-id="'+e+'"]')))return void(this[r(264)]&&console[r(240)](r(253)+e+r(249)+s[r(270)]+r(266)));const o=E[r(252)](),a={adType:s[r(272)],platform:o[r(286)],deviceId:o[r(290)],deviceInfo:o,pageUrl:g[r(258)]().url,pageTitle:g[r(258)]()[r(267)],referrer:g[r(258)]()[r(247)],slotId:e,slotPosition:E[r(291)](s[r(270)]),slotWidth:P[r(242)](s[r(250)]),slotHeight:P[r(242)](s[r(241)]),sessionId:o[r(276)],pageLoadTime:performance[r(288)](),metadata:{eventType:n,sdkVersion:I(),timestamp:Date[r(288)]()},...n===i[r(245)]&&{isViewable:!0,iabCompliant:!0}},c=this[r(289)]+r(278)+t+"/"+n,l=_[r(256)](this[r(248)],a);this.debug&&(console.log("🚀 Sending advertisement event: "+n+r(273)+t,{url:c,headers:l,eventData:a}),console[r(283)]("🌐 Full API call details:",{method:r(255),url:c,hasApiKey:!!this[r(248)],bodySize:JSON.stringify(a).length}));const d=await fetch(c,{method:r(255),headers:l,body:JSON[r(254)](a)});if(this[r(264)]&&console.log(r(265)+d[r(257)]+" "+d[r(277)],{url:c,ok:d.ok}),!d.ok){const t=await d.text();throw new Error(r(284)+d[r(257)]+" "+d[r(277)]+" - "+t)}this.debug&&console[r(283)](r(280)+n+" for ad "+t)}catch(s){console[r(239)](r(271),s),console[r(239)]("🔍 Debug info:",{baseUrl:this[r(289)],apiKey:this.apiKey?this[r(248)].substring(0,8)+r(292):r(262),url:this[r(289)]+r(278)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[D(242)](t){const e=D;if(typeof t===e(275))return t;if("string"==typeof t){const n=parseFloat(t[e(274)](/px$/,""));return isNaN(n)?0:n}return 0}}var B=U;function O(){var t=["3KyKeoB","IntersectionObserver not supported, viewability tracking disabled","4899430NtfXIa","4804236FFBthL","visibilityState","0px","107942KMOVJe","1281372RmArKh","isViewableTriggered","8lVNOPF","observer","1004213bvWDxG","initIntersectionObserver","forEach","handleIntersection","2601850JsNVBg","isDocumentVisible","561244TvoxtT","destroy","onViewableCallback","12afuglk","IntersectionObserver"];return(O=function(){return t})()}function U(t,e){var n=O();return(U=function(t,e){return n[t-=134]})(t,e)}!function(){for(var t=U,e=O();;)try{if(341359===-parseInt(t(134))/1*(parseInt(t(140))/2)+parseInt(t(141))/3+-parseInt(t(151))/4+-parseInt(t(149))/5+-parseInt(t(154))/6*(parseInt(t(145))/7)+-parseInt(t(143))/8*(-parseInt(t(137))/9)+parseInt(t(136))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class z{constructor(t,e){var n=U;this[n(144)]=null,this[n(142)]=!1,this.element=t,this[n(153)]=e,this[n(146)]()}[B(146)](){var t=B;t(155)in window?(this[t(144)]=new IntersectionObserver(e=>this[t(148)](e),{threshold:.5,rootMargin:t(139)}),this[t(144)].observe(this.element)):console.warn(t(135))}[B(148)](t){var e=B;t[e(147)](t=>{var n=e;t.intersectionRatio>=.5&&this.isDocumentVisible()&&!this.isViewableTriggered&&(this.isViewableTriggered=!0,this[n(153)]&&this[n(153)]())})}[B(150)](){var t=B;return!document.hidden&&"visible"===document[t(138)]}[B(152)](){var t=B;this.observer&&(this[t(144)].disconnect(),this[t(144)]=null)}}const N=M;function M(t,e){const n=F();return(M=function(t,e){return n[t-=380]})(t,e)}!function(){const t=M,e=F();for(;;)try{if(202929===-parseInt(t(382))/1+-parseInt(t(388))/2*(parseInt(t(386))/3)+parseInt(t(392))/4+-parseInt(t(399))/5*(parseInt(t(400))/6)+-parseInt(t(403))/7*(parseInt(t(404))/8)+parseInt(t(380))/9+-parseInt(t(395))/10*(-parseInt(t(394))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const V={production:"https://api.adstage.app",beta:N(391)};function F(){const t=["getBaseUrl","/events/track","https://beta-api.adstage.app","792124yEUBFE","track","1943953GSslrm","60GZmIPd","registerAttribution","events","list","13570VgGoxu","822saZSpl","baseUrl","detail","14yVLgix","1132536MljWYT","startsWith","1614870qoFjsW","production","187437iPgVIS","custom","/events/register/attribution","advertisements","1177443Pvkorx","/advertisements/events","2krBtZM"];return(F=function(){return t})()}N(381);const K={advertisements:{list:"/advertisements/list",detail:"/advertisements",events:N(387)},events:{track:N(390),registerAttribution:N(384)}};class j{constructor(t){const e=N;this[e(385)]={list:()=>""+this[e(401)]+K.advertisements[e(398)],detail:t=>""+this[e(401)]+K[e(385)][e(402)]+"/"+t,events:(t,n)=>""+this.baseUrl+K.advertisements[e(397)]+"/"+t+"/"+n},this[e(397)]={track:()=>""+this[e(401)]+K[e(397)][e(393)],registerAttribution:()=>""+this.baseUrl+K[e(397)][e(396)]},this[e(401)]=t||V.production}setBaseUrl(t){this[N(401)]=t}[N(389)](){return this[N(401)]}[N(383)](t){const e=N;return""+this[e(401)]+(t[e(405)]("/")?t:"/"+t)}}const H=new j;var W=Y;function Y(t,e){var n=X();return(Y=function(t,e){return n[t-=363]})(t,e)}function X(){var t=["🎯 Triggering VIEWABLE event for slide change: ad ","trackSlideViewable","🎯 Triggering initial VIEWABLE event: ad ","log","66TtSrko","4XxHMtO","8026600EeoiiU","VIEWABLE","121ovONew"," (index: 0) in slot: ","652841OBJmyM","332379roBJqp",") in slot: ","1504600AggnUe","2XxTElJ","1062sHPwsZ","508183xfqIVf","78312tkxcmR","_id","4274556xiBbay"];return(X=function(){return t})()}!function(){for(var t=Y,e=X();;)try{if(901464===-parseInt(t(379))/1*(-parseInt(t(377))/2)+parseInt(t(374))/3+-parseInt(t(368))/4*(parseInt(t(369))/5)+parseInt(t(367))/6*(-parseInt(t(373))/7)+-parseInt(t(380))/8*(parseInt(t(378))/9)+parseInt(t(376))/10+-parseInt(t(371))/11*(-parseInt(t(382))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class G{static[W(364)](t,e,n,r,s=!1){var o=W;s&&console[o(366)](o(363)+t[o(381)]+" (index: "+n+o(375)+e.id),r(t[o(381)],e.id,i[o(370)])}static trackInitialSlideViewable(t,e,n,r=!1){var s=W;r&&console[s(366)](s(365)+t[s(381)]+s(372)+e.id),n(t[s(381)],e.id,i[s(370)])}}function q(t,e){const n=Q();return(q=function(t,e){return n[t-=342]})(t,e)}const J=q;!function(){const t=q,e=Q();for(;;)try{if(654111===-parseInt(t(354))/1*(-parseInt(t(347))/2)+parseInt(t(350))/3*(parseInt(t(352))/4)+parseInt(t(369))/5+parseInt(t(365))/6+parseInt(t(358))/7*(parseInt(t(372))/8)+parseInt(t(368))/9+-parseInt(t(356))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Z{static[J(363)](t,e,n,r,s=!1,o){const a=J;e[a(342)]&&(t[a(367)].cursor="pointer",t[a(360)](a(364),t=>{const c=a;if(t.preventDefault(),t[c(362)](),r&&r(e[c(357)],n.id,i[c(353)]),window[c(373)](e.linkUrl,c(370)),s){const t=o||String(n[c(355)])[c(345)]();console.log("🔗 "+t+c(346)+e[c(357)]+c(366)+e[c(342)])}}))}static addClickEventForRenderer(t,e,n,r,s=!1,o){const a=J;e.linkUrl&&(t[a(367)][a(344)]=a(343),t.addEventListener(a(364),t=>{const c=a;t[c(348)](),t[c(362)]();if(r()(e[c(357)],n.id,i[c(353)]),window.open(e.linkUrl,c(370)),s){const t=o||String(n[c(355)])[c(345)]();console[c(371)](c(349)+t+c(346)+e[c(357)]+c(366)+e[c(342)])}}))}static[J(361)](t,e,n,r,s=!1,o){this[J(363)](t,e,n,r,s,o)}static[J(359)](t){return Boolean(t[J(342)])}static addClickEventsBatch(t,e,n,r,s=!1,o){const i=J;t[i(351)]((t,a)=>{const c=i,l=e[a];l&&this[c(363)](t,l,n,r,s,o)})}}function Q(){const t=["248qGHcjG","CLICK","59XdNymY","adType","29400930XLrSHd","_id","212737vPHPTH","isClickable","addEventListener","addClickEventForSlider","stopPropagation","addClickEvent","click","2545296gWHkIB"," -> ","style","10107045VCnRaZ","582575GTWJGd","_blank","log","232SDXMio","open","linkUrl","pointer","cursor","toLowerCase"," ad clicked: ","10894AcWkEI","preventDefault","🔗 ","35214MOgucW","forEach"];return(Q=function(){return t})()}const $=et;function tt(){const t=["0.7","addEventListener","relative","1px dashed #ccc","appendChild","display","body","50px","imageUrl","touchend","auto","color","borderColor","adstage-dot","setProperty","1px solid #666","active","adstage-slide","VIDEO","objectFit","border","style","trackSlideViewable","getBoundingClientRect","mouseleave","className","cssText","data-adstage-ad-id","overflow","add","entries","button","Text Ad","5910utDpAl","hidden","padding","100px","backgroundColor","createElement","center","videoUrl","adstage-slider-wrapper","Banner Ad","abs","addTouchSupport","block","white","cover","5ykYKCR","touches","forEach","createSliderContainer","904DyxmQR","6033618VwcogY","654378HnnygD","adType","BANNER","26761SeILos","width","mouseenter","toLowerCase","every","height","2558016XKNeKQ","clientX","src","inline-block"," Ad",".adstage-dot","#f0f0f0","div","whiteSpace","transform 0.4s ease-out","remove","translateX(-","TEXT","6347XiufII","adstage-slide-container","transform","adstage-dots","transition","includes","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","Video Ad","querySelectorAll","background","setAttribute","none","#999999","\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 ","removeChild","contains","opacity","click","video","children","8px","14px","classList","0.9","100%","flex","string","length","17EKywAL","img","touchmove","#666666","1559823mfQcSH","createSimpleAdElement","createMinimalDotIndicator","touchstart","#f9f9f9","85262hokRWY","fontSize","autoSlideInterval","#cccccc","#000","textContent"];return(tt=function(){return t})()}function et(t,e){const n=tt();return(et=function(t,e){return n[t-=491]})(t,e)}!function(){const t=et,e=tt();for(;;)try{if(393497===parseInt(t(586))/1*(parseInt(t(595))/2)+parseInt(t(590))/3+-parseInt(t(545))/4+-parseInt(t(530))/5*(parseInt(t(536))/6)+parseInt(t(539))/7*(-parseInt(t(534))/8)+parseInt(t(535))/9+-parseInt(t(515))/10*(parseInt(t(558))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class nt{static createSimpleAdElement(e,n){const r=et,s=document[r(520)](r(552));switch(s[r(507)]="adstage-ad adstage-"+String(e[r(537)])[r(542)](),s.setAttribute(r(509),n._id),s[r(568)]("data-adstage-slot-id",e.id),s[r(503)][r(606)]=r(527),s[r(503)][r(540)]=r(582),s[r(503)][r(544)]=r(492),e[r(537)]){case t[r(538)]:if(n.imageUrl){const t=document[r(520)](r(587));t[r(547)]=n[r(609)],t.style[r(540)]="100%",t[r(503)].height=r(492),t[r(503)][r(501)]=r(529),s[r(605)](t)}else s.style[r(544)]=r(518),s[r(503)].backgroundColor=r(551),s[r(503)][r(502)]="1px dashed #ccc",s[r(600)]=r(524);break;case t[r(500)]:if(n.videoUrl){const t=document[r(520)](r(576));t.src=n[r(522)],t[r(503)][r(540)]=r(582),t[r(503)][r(544)]=r(492),s[r(605)](t)}else s[r(503)].height="200px",s[r(503)][r(519)]=r(599),s[r(503)][r(502)]=r(497),s.textContent=r(565),s[r(503)][r(493)]=r(528);break;case t[r(557)]:if(n[r(600)]){const t=document[r(520)](r(552));t[r(600)]=n[r(600)]||"",t.style[r(517)]=r(578),t[r(503)][r(596)]=r(579),s[r(605)](t)}else s[r(503)][r(544)]=r(608),s[r(503)][r(517)]=r(578),s.textContent=r(514);break;default:s.style[r(544)]=r(518),s[r(503)][r(502)]=r(604),s[r(503)].backgroundColor=r(594),s[r(600)]=e[r(537)]+r(549)}return s}static[$(533)](e,n,r,s,o=!1){const i=$,a=document[i(520)](i(552));a[i(507)]=i(523);const c={position:i(603),overflow:i(516)};if(e.width&&0!==e[i(540)]){let t;t=typeof e[i(540)]===i(584)?e[i(540)][i(563)]("px")||e[i(540)].includes("%")?e[i(540)]:e[i(540)]+"px":e.width+"px",c[i(540)]=t,c[i(606)]=i(548)}else c[i(606)]="inline-block";if(e.height&&0!==e[i(544)]){const t=typeof e.height===i(584)?e[i(544)]:e[i(544)]+"px";c[i(544)]=t}Object[i(512)](c)[i(532)](([t,e])=>{const n=i;a.style[n(496)](t,e)});const l=!e[i(540)]||0===e[i(540)],d=!e[i(544)]||0===e[i(544)];if(l||d){const t=document[i(520)](i(552));if(t[i(503)].cssText=i(564),!l&&e[i(540)]){let n;n=typeof e[i(540)]===i(584)&&(e[i(540)][i(563)]("px")||e[i(540)][i(563)]("%"))?e.width:e[i(540)]+"px",t[i(503)].width=n,t[i(503)][i(553)]="normal"}document.body[i(605)](t);let r=0,s=0;n[i(532)](n=>{const o=i,a=this[o(591)](e,n);t[o(605)](a);const c=a[o(505)]();c[o(540)]>r&&(r=c[o(540)]),c[o(544)]>s&&(s=c.height),t[o(572)](a)}),l&&r>0&&(a[i(503)][i(540)]=r+"px",c[i(540)]=r+"px"),d&&s>0&&(a[i(503)][i(544)]=s+"px",c[i(544)]=s+"px"),document[i(607)][i(572)](t)}const u=[...n,n[0]],p=document.createElement("div");p[i(507)]=i(559);const h={display:"flex",transition:i(554),width:100*u[i(585)]+"%"};e[i(544)]&&0!==e[i(544)]&&(h[i(544)]=i(582)),Object[i(512)](h).forEach(([t,e])=>{const n=i;p.style[n(496)](t,e)}),u[i(532)]((t,n)=>{const r=i,a=document[r(520)](r(552));a[r(507)]=r(499);const c={width:100/u[r(585)]+"%","flex-shrink":"0",display:r(583),"align-items":r(521),"justify-content":r(521)};e[r(544)]&&0!==e[r(544)]&&(c[r(544)]=r(582)),Object[r(512)](c)[r(532)](([t,e])=>{const n=r;a.style[n(496)](t,e)});const l=this[r(591)](e,t);Z.addClickEventForSlider(l,t,e,s,o,String(e[r(537)])[r(542)]()),a[r(605)](l),p[r(605)](a)});const f=n[i(543)](e=>e.adType===t[i(557)])?null:this[i(592)](n.length);let g=0;const m=n[i(585)],y=1e3*(r?.[i(597)]||3),v=(t,r=!1)=>{const a=i;g=t,r?p[a(503)].transition=a(569):p[a(503)][a(562)]=a(554),p[a(503)][a(560)]=a(556)+100/u.length*g+"%)";const c=g===m?0:g;if(f){f[a(566)](a(550))[a(532)]((t,e)=>{const n=a,r=t;e===c?(r[n(580)][n(511)](n(498)),r[n(503)][n(567)]="#666666",r[n(503)].borderColor=n(589),r[n(503)].opacity="1"):(r[n(580)][n(555)]("active"),r.style[n(567)]="transparent",r[n(503)][n(494)]=n(598),r.style.opacity=n(601))})}G[a(504)](n[c],e,c,s,o)},I=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(f){f[i(566)](i(550))[i(532)]((t,e)=>{const n=i;t[n(602)](n(575),()=>v(e))})}let b=setInterval(()=>{v(g+1),I()},y);return a[i(602)](i(541),()=>{clearInterval(b)}),a[i(602)](i(506),()=>{b=setInterval(()=>{v(g+1),I()},y)}),this[i(526)](p,v,()=>g,m,I),a[i(605)](p),f&&a.appendChild(f),v(0),(!e[i(540)]||0===e[i(540)])&&setTimeout(()=>{const t=i,n=p[t(577)][0];if(n){const r=n[t(577)][0];if(r){const n=r[t(505)]();a[t(503)].width=n[t(540)]+"px",(!e.height||0===e[t(544)])&&(a.style.height=n[t(544)]+"px"),a[t(503)][t(510)]="hidden"}}},10),a}static[$(592)](t){const e=$,n=document.createElement(e(552));n[e(507)]=e(561),n[e(503)][e(508)]=e(571);for(let r=0;r<t;r++){const t=document[e(520)](e(513));t[e(507)]=e(495),t[e(503)][e(508)]="\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[e(602)](e(541),()=>{const n=e;!t[n(580)].contains(n(498))&&(t.style[n(494)]=n(570),t.style[n(574)]=n(581))}),t[e(602)]("mouseleave",()=>{const n=e;!t.classList[n(573)](n(498))&&(t[n(503)][n(494)]=n(598),t[n(503)].opacity=n(601))}),n[e(605)](t)}return n}static[$(526)](t,e,n,r,s){const o=$;let i=0,a=!1;t.addEventListener(o(593),t=>{i=t[o(531)][0].clientX,a=!0}),t[o(602)](o(588),t=>{a&&t.preventDefault()}),t[o(602)](o(491),t=>{const c=o;if(!a)return;a=!1;const l=t.changedTouches[0][c(546)],d=i-l;if(Math[c(525)](d)>50){const t=n();if(d>0){e(t+1),s&&s()}else{e(t>0?t-1:r-1)}}})}}const rt=st;function st(t,e){const n=ot();return(st=function(t,e){return n[t-=439]})(t,e)}function ot(){const t=["delete","124113mRjcMu"," in slot ","246886JXdMgs","has","clearAdViewable","54caikpG","8561645yzUIiw","4540cIyolM","isDuplicateViewable","51pvVzvZ","clear","add","✅ New viewable recorded for ad ","132322CUOqmQ","6680772CJcJqL","log","1438192yhzvjq","6iHbXKT","viewableTracker","5208133EQFEZO"];return(ot=function(){return t})()}!function(){const t=st,e=ot();for(;;)try{if(960554===-parseInt(t(452))/1+parseInt(t(442))/2*(parseInt(t(459))/3)+parseInt(t(443))/4+parseInt(t(456))/5*(parseInt(t(446))/6)+parseInt(t(448))/7+parseInt(t(445))/8*(parseInt(t(455))/9)+-parseInt(t(457))/10*(parseInt(t(450))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class it{static[rt(458)](t,e,n=!1){const r=rt,s=t+"_"+e;return it[r(447)][r(453)](s)?(n&&console[r(444)]("Duplicate viewable blocked for ad "+t+" in slot "+e),!0):(it[r(447)][r(440)](s),n&&console.log(r(441)+t+r(451)+e),!1)}static[rt(439)](){const t=rt;it.viewableTracker[t(439)]()}static[rt(454)](t,e){const n=rt,r=t+"_"+e;it.viewableTracker[n(449)](r)}}it[rt(447)]=new Set;const at=ct;function ct(t,e){const n=lt();return(ct=function(t,e){return n[t-=414]})(t,e)}function lt(){const t=["log","560120XnoubM","35RIIQlt","border","querySelector","data-adstage-container","applyPlaceholderStyle","closest"," event for ad ","minHeight","setAttribute","string","4px","⚠️ AdvertisementEventTracker not available for ","containerId","1061360BATLje","unknown","): ","875768zDyxZN","hasAttribute","getContainerHeight","advertisementEventTracker","createElement"," for ad "," x ","2px dashed #e74c3c","data-adstage-slot","#e74c3c",'[class*="banner"]',"auto","color","6px","none","📦 Placeholder created for ","true","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","1px solid rgba(0, 0, 0, 0.08)",'div[style*="height"]'," in slot ",'div[style*="min-height"]','[class*="ad"]',"warn","generic","✅ New viewable recorded for ad ","alignItems"," event","2609370jItXWr","flex","196454ZPXSuS","createEmptyContainer","debug","createPlaceholder","contains","borderRadius","1409067eDFbnb","isDuplicateViewable",'[class*="container"]',"<span>Loading ","🚫 Duplicate viewable blocked for ad ","⚠️ Created empty ",") - Mode: ","style","100%","className","subtle","appendChild","transparent","1px dashed #ccc"," slot: ","width","div","invisible","\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 ","display","calculateAdSize","parentElement","center","getAttribute","#666","toLowerCase","createEventTrackingCallback",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"adType","filter","getDefaultHeight",".adstage-slot","justifyContent"," container: ","adstage-slot","adstage-slot adstage-","📏 Using default height ","VIEWABLE","adstage-official","innerHTML","px)",'[data-adstage-container="true"]',"fontSize","height",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"fontFamily","11px"," ad...</span>","renderFallback","data-adstage-type","getElementById",".adstage-","3088685YOahig","backgroundColor","monospace","placeholderMode","minimal","adstage-slot adstage-empty adstage-","getComputedStyle"];return(lt=function(){return t})()}!function(){const t=ct,e=lt();for(;;)try{if(326596===parseInt(t(446))/1+parseInt(t(526))/2+parseInt(t(452))/3+-parseInt(t(512))/4+-parseInt(t(504))/5+parseInt(t(444))/6+-parseInt(t(513))/7*(parseInt(t(416))/8))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class dt{constructor(t,e=!1,n){const r=ct;this[r(480)]=t,this[r(448)]=e,this[r(419)]=n||null}[at(449)](t,e,n,r){const s=at,o=document[s(420)](s(468));o.id=e,o.className=s(487)+String(this[s(480)]).toLowerCase(),o[s(521)]("data-adstage-container","true"),o[s(521)](s(501),String(this.adType)),o[s(521)](s(424),e);const{width:i,height:a}=this[s(472)](t,n,r)||{width:s(460),height:this[s(482)]()};o[s(459)].width=i,o.style[s(495)]=a;const c=r?.placeholderMode||n[s(507)]||"invisible";this[s(517)](o,c),t[s(463)](o),this[s(448)]&&console[s(511)](s(431)+this[s(480)]+s(466)+e+" ("+i+s(422)+a+s(458)+c)}[at(517)](t,e){const n=at;switch(e){case n(469):t[n(459)][n(505)]=n(464),t[n(459)][n(514)]=n(430),t[n(459)].opacity="0",t[n(491)]="";break;case"transparent":t[n(459)].backgroundColor=n(464),t[n(459)][n(514)]=n(430),t[n(459)][n(471)]="block",t[n(491)]="";break;case n(462):t[n(459)][n(505)]="rgba(0, 0, 0, 0.02)",t.style[n(514)]="none",t[n(459)][n(451)]=n(523),t[n(459)][n(471)]=n(445),t[n(459)][n(442)]=n(474),t[n(459)][n(484)]="center",t[n(491)]=n(479);break;case n(508):t[n(459)].backgroundColor="rgba(248, 249, 250, 0.5)",t.style[n(514)]=n(434),t[n(459)][n(451)]=n(429),t[n(459)][n(471)]="flex",t.style[n(442)]=n(474),t[n(459)].justifyContent=n(474),t[n(491)]=n(496);break;case n(448):t[n(459)][n(514)]=n(423),t.style.display=n(445),t[n(459)][n(442)]=n(474),t[n(459)].justifyContent=n(474),t.style[n(505)]="rgba(231, 76, 60, 0.1)",t[n(459)][n(428)]=n(425),t[n(459)][n(497)]=n(506),t[n(459)][n(494)]=n(498),t[n(491)]=n(455)+this[n(480)]+n(499);break;default:t.style[n(514)]=n(465),t[n(459)].display=n(445),t[n(459)][n(442)]="center",t[n(459)].justifyContent=n(474),t.style[n(505)]="#f9f9f9",t.style[n(428)]=n(476),t.innerHTML=n(455)+this.adType+n(499)}}[at(472)](t,e,n){const r=at,s=e[r(467)],o=e.height;let i,a;if(i="number"==typeof s?s+"px":typeof s===r(522)?s:r(460),"number"==typeof o)a=o+"px";else if(typeof o===r(522)&&o!==r(460)&&o!==r(427))a=o;else{const e=this[r(418)](t);e>0?(a="100%",(n?.debug||this.debug)&&console.log("📏 Using 100% height (container: "+e+r(492))):(a=this[r(482)](),(n?.[r(448)]||this[r(448)])&&console[r(511)](r(488)+a+" for "+this[r(480)]))}return{width:i,height:a}}[at(418)](t){const e=at,n=window[e(510)](t),r=parseFloat(n[e(495)]);if(!r||0===r){const r=parseFloat(n[e(520)]);if(r>0)return r;if(t[e(459)][e(495)]&&t.style[e(495)]!==e(427)){const n=parseFloat(t[e(459)].height);if(n>0)return n}const s=t[e(475)](e(495));if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}[at(478)](){return async(t,e,n)=>{const r=ct;if(n===i[r(489)]){if(it[r(453)](t,e,this[r(448)]))return void(this[r(448)]&&console[r(511)](r(456)+t+r(436)+e));this[r(448)]&&console.log(r(441)+t+r(436)+e)}if(this.advertisementEventTracker)try{this[r(448)]&&console.log("🔄 Starting advertisement event tracking: "+n+r(421)+t+r(436)+e),await this[r(419)].trackAdvertisementEvent(t,e,n),this.debug&&console[r(511)]("📊 Advertisement event tracked: "+n+r(421)+t+" in slot "+e)}catch(e){this[r(448)]&&console.error("❌ Failed to track "+n+r(519)+t+":",e)}else this[r(448)]&&console[r(439)](r(524)+n+r(443))}}[at(500)](t){const e=at,n=document[e(502)](t.id);if(n){const r=[...[n[e(515)]('[data-adstage-container="true"]'),n.closest(e(493)),n][e(481)](t=>t&&t[e(417)](e(516))),...[n[e(518)](e(483)),n[e(518)](e(503)+String(this[e(480)])[e(477)]()),n[e(518)](e(438)),n[e(518)](e(426)),n[e(518)](e(454)),n.closest(e(435)),n.closest(e(437)),n[e(473)]][e(481)](Boolean)][0];if(r){let n=e(414);n=r[e(417)](e(516))?e(490):r.classList[e(450)](e(486))?"adstage-class":e(440),r[e(459)].cssText+=e(470),r[e(491)]="",r[e(521)]("data-adstage-empty","true"),this[e(448)]&&console[e(439)]("⚠️ "+this[e(480)]+" container collapsed ("+n+e(415)+t.id,r)}else this[e(447)](t)}t.advertisement=void 0,t.isEmpty=!0}[at(447)](t){const e=at,n=document[e(502)](t[e(525)]);if(n){n[e(491)]="";const r=document[e(420)](e(468));r.id=t.id,r[e(461)]=e(509)+String(this[e(480)]).toLowerCase(),r[e(521)](e(516),e(432)),r[e(521)]("data-adstage-empty","true"),r.setAttribute(e(424),t.id),r[e(459)].cssText=e(433),n[e(463)](r),this[e(448)]&&console[e(439)](e(457)+this.adType+e(485)+t.id)}}[at(511)](t,...e){const n=at;this[n(448)]&&console[n(511)]("["+this[n(480)]+"] "+t,...e)}}const ut=pt;function pt(t,e){const n=ft();return(pt=function(t,e){return n[t-=340]})(t,e)}!function(){const t=pt,e=ft();for(;;)try{if(122766===parseInt(t(446))/1*(parseInt(t(372))/2)+parseInt(t(392))/3*(parseInt(t(396))/4)+parseInt(t(391))/5*(parseInt(t(437))/6)+parseInt(t(398))/7+parseInt(t(355))/8*(parseInt(t(413))/9)+parseInt(t(348))/10+-parseInt(t(409))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ht extends dt{constructor(e=!1,n){super(t.BANNER,e,n)}[ut(438)](){return ut(385)}async[ut(377)](t,e){const n=ut,r=document[n(375)](t.containerId);if(!r)return;const s=document[n(445)](n(369));s[n(448)]=n(341);const o=t.optimizedHeight,i=r[n(395)]||r;if(o)s[n(452)][n(363)]="100%",s[n(452)][n(401)]=String(o);else{const e=t[n(365)],r={width:e?.[n(363)],height:e?.height},{width:o,height:a}=this[n(379)](i,r,{debug:this[n(393)]});s[n(452)][n(363)]=o,s[n(452)][n(401)]=a}e[n(384)]?await this[n(388)](s,e,t):s[n(430)]=n(374)+(e[n(387)]||n(394))+n(371),Z[n(436)](s,e,t,()=>this[n(403)](),this[n(393)],n(381)),r.innerHTML="",r[n(349)](s)}async[ut(423)](t,e){const n=ut,r=document[n(375)](t.containerId);if(!r)throw new Error(n(342)+t[n(431)]);await this[n(358)](t,e);const s=this[n(403)](),o={autoSlideInterval:(t.config?.[n(429)]||5e3)/1e3,...t.config,optimizedHeight:t[n(373)],aspectRatio:t[n(411)]},i=nt[n(359)](t,e,o,s,this.debug);i&&(r[n(430)]="",r[n(349)](i),this[n(393)]&&console[n(435)]("🎠 Banner carousel created for slot: "+t.id+n(368)+e[n(406)]+n(433)+(t[n(373)]||"default")+")"))}async[ut(345)](t,e){const n=ut;if(!t[n(406)])return{width:n(408),height:this[n(438)](),aspectRatio:16/9};try{const r=(await Promise[n(350)](t.filter(t=>t.imageUrl)[n(362)](t=>this[n(364)](t[n(384)]))))[n(378)](t=>"fulfilled"===t[n(366)])[n(362)](t=>t[n(410)]);if(0===r.length)return{width:n(408),height:this[n(438)](),aspectRatio:16/9};const s=this.selectOptimalSizeStrategy(r),o=this[n(443)](r,e,s);return this.debug&&console.log(n(425)+e+"x"+o+n(346)+s+")"),{width:"100%",height:o+"px",aspectRatio:e/o}}catch(t){return console[n(439)](n(405),t),{width:n(408),height:this[n(438)](),aspectRatio:16/9}}}async[ut(358)](t,e){const n=ut;try{const r=document.getElementById(t.containerId),s=document[n(375)](t.id);if(!r||!s)return;const o=r[n(367)]()[n(363)]||300,i=await this.calculateOptimalContainerSize(e,o);s[n(452)][n(401)]=i[n(401)],t[n(373)]=i[n(401)],t[n(411)]=i[n(411)],this.debug&&console[n(435)](n(356)+e[n(406)]+n(422)+i[n(401)])}catch(t){console[n(439)](n(432),t)}}selectOptimalSizeStrategy(t){const e=ut,n=t[e(362)](t=>t[e(363)]/t[e(401)]),r=new Map;n[e(440)](t=>{const n=e,s=(Math[n(424)](10*t)/10)[n(428)]();r[n(441)](s,(r[n(347)](s)||0)+1)});const s=Math.max(...r[e(449)]()),o=t.length;if(s/o>=.7)return e(390);const i=[16/9,4/3,1,1.5],a=n[e(378)](t=>i[e(402)](n=>Math[e(400)](t-n)<.1))[e(406)];return e(a/o>=.5?417:370)}[ut(443)](t,e,n){const r=ut,s=t.map(t=>t[r(363)]/t.height);switch(n){case"dominant":{const t=new Map;s[r(440)](e=>{const n=r,s=Math[n(424)](10*e)/10,o=s.toString(),i=t[n(347)](o);i?i.count++:t[n(441)](o,{ratio:s,count:1})});const n=Array.from(t[r(449)]())[r(427)]((t,e)=>e.count>t[r(414)]?e:t);return Math[r(424)](e/n[r(418)])}case r(417):{const t=[{ratio:16/9,name:r(353)},{ratio:4/3,name:r(416)},{ratio:1,name:r(434)},{ratio:1.5,name:r(397)}],n=s[r(427)]((t,e)=>t+e,0)/s[r(406)],o=t[r(427)]((t,e)=>Math[r(400)](e[r(418)]-n)<Math[r(400)](t[r(418)]-n)?e:t);return this.debug&&console.log("📊 Using standard ratio: "+o.name+" (avg: "+n[r(352)](2)+")"),Math[r(424)](e/o[r(418)])}case r(370):default:{const t=s[r(427)]((t,e)=>t+e,0)/s.length;return Math.round(e/t)}}}[ut(364)](t){return new Promise((e,n)=>{const r=pt,s=new Image;s[r(421)]=()=>{const t=r;e({width:s[t(351)],height:s[t(399)]})},s[r(376)]=()=>{n(new Error(r(450)+t))},s.src=t})}[ut(419)](t,e,n){const r=ut,s=e/n;Math.abs(s-1)<.1?(t[r(452)].objectFit=r(415),t[r(452)][r(451)]="center"):s>1.3?(t[r(452)][r(407)]=r(412),t[r(452)].objectPosition="center",t[r(452)][r(404)]="#f0f0f0"):s<.7?(t[r(452)].objectFit=r(415),t[r(452)][r(451)]=r(386)):(t[r(452)][r(407)]=r(415),t[r(452)][r(451)]=r(386)),this.debug&&console[r(435)](r(344)+t.style[r(407)]+r(426)+s[r(352)](2))}async renderOptimizedBannerImage(t,e,n){const r=ut,s=document[r(445)](r(382));s[r(452)].width="100%",s[r(452)][r(401)]=r(408),s[r(452)][r(360)]=r(420),s[r(452)][r(354)]=r(442),s.alt=e.title||r(447),t[r(430)]=r(389);try{if(!e[r(384)])throw new Error(r(444));const o=await this[r(364)](e[r(384)]),i=t.getBoundingClientRect(),a=i.width,c=i[r(401)];this[r(393)]&&(console.log(r(380)+o.width+"x"+o[r(401)]),console[r(435)]("📦 Banner container dimensions: "+a+"x"+c));const l=o[r(363)]/o[r(401)],d=a/c;return this[r(419)](s,l,d),s[r(340)]=e[r(384)],t[r(430)]="",t.appendChild(s),Z[r(436)](s,e,n,()=>this[r(403)](),this[r(393)],r(381)),this.debug&&console.log(r(383)+e[r(361)]),s}catch(o){return console[r(343)](r(357),o),e.imageUrl&&(s[r(340)]=e[r(384)],s[r(452)].objectFit=r(415),s[r(452)][r(451)]=r(386),t[r(430)]="",t[r(349)](s),Z[r(436)](s,e,n,()=>this[r(403)](),this.debug,r(381))),s}}}function ft(){const t=["backgroundColor","Failed to calculate optimal banner size, using defaults:","length","objectFit","100%","3653903dEDrOQ","value","aspectRatio","contain","81VxmgvY","count","cover","4:3","common","ratio","applyOptimizedImageStyle","block","onload"," ads: ","renderMultipleAds","round","📐 Optimal banner container calculated: ",", ratio=","reduce","toString","slideInterval","innerHTML","containerId","Banner container optimization failed, using default size:"," ads (optimized: ","1:1","log","addClickEventForRenderer","32952kuhzQR","getDefaultHeight","warn","forEach","set","8px","calculateOptimalHeight","Image URL is not provided","createElement","41pauFqu","Banner Advertisement","className","values","Failed to load image: ","objectPosition","style","src","adstage-ad adstage-banner-ad","Container not found: ","error","🎨 Banner image style applied: objectFit=","calculateOptimalContainerSize"," (strategy: ","get","1067350xQljBB","appendChild","allSettled","naturalWidth","toFixed","16:9","borderRadius","12504ZMwhZd","🔧 Banner container optimized for ","❌ Failed to load optimized banner image:","optimizeContainerForBannerAds","createSliderContainer","display","_id","map","width","loadImageDimensions","config","status","getBoundingClientRect"," with ","div","average","</div>","1756ywKWgP","optimizedHeight","<div>","getElementById","onerror","renderAdElement","filter","calculateAdSize","📸 Banner image dimensions: ","Banner","img","✅ Optimized banner image rendered for ad: ","imageUrl","250px","center","title","renderOptimizedBannerImage",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"dominant","205kekKnL","96999rrGKiY","debug","Banner Ad","parentElement","8ZGFrmk","3:2","58107zoOHec","naturalHeight","abs","height","some","createEventTrackingCallback"];return(ft=function(){return t})()}const gt=yt;function mt(){const t=["10lGbGMI","430902GiMBnL","6ECHsBM","30rjJEEy","4142259HvjHuC","textContent","1409890TvoAEd","2007ArpnGw","title","85626rAakqD","2957486haYrbl","\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 ","15776jqzRDA","createTextAdStyles","5036WbsOCH"];return(mt=function(){return t})()}function yt(t,e){const n=mt();return(yt=function(t,e){return n[t-=444]})(t,e)}!function(){const t=yt,e=mt();for(;;)try{if(229084===-parseInt(t(446))/1+parseInt(t(453))/2+parseInt(t(455))/3*(-parseInt(t(451))/4)+-parseInt(t(458))/5*(parseInt(t(454))/6)+-parseInt(t(447))/7+-parseInt(t(449))/8*(-parseInt(t(444))/9)+parseInt(t(452))/10*(parseInt(t(456))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class vt{static[gt(450)](t=!1){return gt(448)}static setTextAdContent(t,e){const n=gt,r=e[n(457)]||e[n(445)]||"";t[n(457)]=r}}const It=bt;function bt(t,e){const n=wt();return(bt=function(t,e){return n[t-=256]})(t,e)}function wt(){const t=["createSimpleAdElement","height: 100%;","touchend","mouseleave","8pSqsvE","top","clientY","preventDefault","addTouchSupport","touchmove","clientX","touchstart","height: auto;","autoSlideInterval","length","absolute","left","forEach","cssText","createTextTransitionContainer","auto","1365623LPSEGk","block","style","addEventListener","transform","position","width","appendChild","21857180ObSuTX","376pnYIdV","translateY(20px)","235340QrFtkW","_id","getBoundingClientRect","toLowerCase","data-adstage-ad-id","normal","div","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","removeChild","minHeight","22kBBXgR","adstage-fade-slide","createElement","adstage-fade-slide-container","hidden","body","height",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","zIndex",";\n width: 100%;\n ","className","24FdWkiE","push","3357132CZwKYi","whiteSpace","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","\n position: ","setTextAdContent","adType","abs","changedTouches","3880548djGOTB","trackSlideViewable","adstage-fade-slider-wrapper","relative","translateY(0)","opacity","height: auto; min-height: fit-content;","411406ZrVzcl",";\n ","touches","16569VnKLtO","string","Text",";\n left: ","fit-content","includes"];return(wt=function(){return t})()}!function(){const t=bt,e=wt();for(;;)try{if(849741===parseInt(t(260))/1+-parseInt(t(324))/2+-parseInt(t(332))/3+parseInt(t(273))/4*(-parseInt(t(301))/5)+-parseInt(t(322))/6*(parseInt(t(290))/7)+parseInt(t(299))/8*(-parseInt(t(263))/9)+parseInt(t(298))/10*(parseInt(t(311))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class kt{static[It(269)](t,e){const n=It,r=document.createElement(n(307));return r[n(321)]="adstage-ad adstage-"+String(t[n(329)])[n(304)](),r.setAttribute(n(305),e[n(302)]),r.setAttribute("data-adstage-slot-id",t.id),r[n(292)][n(287)]=vt.createTextAdStyles(!0),vt[n(328)](r,e),r}static[It(288)](t,e,n,r,s=!1){const o=It,i=t[o(317)]&&0!==t[o(317)]&&t[o(317)]!==o(289),a=document[o(313)]("div");a[o(321)]=o(334);const c={position:o(256),overflow:o(315),display:o(291)};if(!i&&(c.height=o(289),c[o(310)]=o(267)),t[o(296)]&&0!==t[o(296)]){let e;e=typeof t[o(296)]===o(264)&&(t.width[o(268)]("px")||t[o(296)][o(268)]("%"))?t[o(296)]:t[o(296)]+"px",c.width=e}if(t[o(317)]&&0!==t[o(317)]&&t[o(317)]!==o(289)&&i){let e;e=typeof t.height===o(264)&&(t[o(317)][o(268)]("px")||t[o(317)][o(268)]("%"))?t[o(317)]:t[o(317)]+"px",c.height=e}Object.entries(c).forEach(([t,e])=>{a[o(292)].setProperty(t,e)});const l=document[o(313)](o(307));l[o(321)]=o(314),l[o(292)].cssText="\n position: relative;\n width: 100%;\n "+(i?"height: 100%;":o(259))+"\n ";let d=null;const u=!t[o(296)]||0===t.width,p=!t[o(317)]||0===t[o(317)]||void 0===t.height||"auto"===t[o(317)];if(u||p&&i){if(d=document[o(313)](o(307)),d[o(292)][o(287)]=o(308),!u&&t[o(296)]){let e;e="string"==typeof t.width?t.width[o(268)]("px")||t.width.includes("%")?t[o(296)]:t.width+"px":t[o(296)]+"px",d.style[o(296)]=e,d.style[o(325)]=o(306)}document[o(316)][o(297)](d);let n=0,r=0;e[o(286)](e=>{const s=o,i=this.createSimpleAdElement(t,e);d[s(297)](i);const a=i[s(303)]();a[s(296)]>n&&(n=a.width),a.height>r&&(r=a[s(317)]),d[s(309)](i)}),u&&n>0&&(a[o(292)][o(296)]=n+"px"),p&&r>0&&i&&(a.style[o(317)]=r+"px"),document[o(316)].removeChild(d)}const h=[];e[o(286)]((e,n)=>{const a=o,c=document[a(313)](a(307));c[a(321)]=a(312);const d=i?"absolute":0===n?"relative":a(284);c[a(292)][a(287)]=a(327)+d+";\n top: "+("absolute"===d?"0":a(289))+a(266)+(d===a(284)?"0":a(289))+a(320)+a(i?270:281)+a(326)+(0===n?"1":"0")+";\n transform: translateY("+(0===n?"0":"20px")+a(318)+(0===n?"2":"1")+a(261);const u=this[a(269)](t,e);Z.addClickEventForSlider(u,e,t,r,s,a(265)),c[a(297)](u),l[a(297)](c),h[a(323)](c)});let f=0;const g=e[o(283)],m=1e3*(n?.[o(282)]||4),y=n=>{const a=o;n>=g?n=0:n<0&&(n=g-1);const c=h[f],l=h[n];!i&&(c.style.position===a(256)&&(c.style.position="absolute",c[a(292)][a(274)]="0",c[a(292)][a(285)]="0"),l[a(292)].position="relative",l[a(292)].top="auto",l[a(292)].left="auto"),c.style.opacity="0",c[a(292)].transform="translateY(-20px)",c.style.zIndex="1",l.style[a(258)]="1",l[a(292)][a(294)]=a(257),l[a(292)][a(319)]="2",h.forEach((t,e)=>{const r=a;e!==n&&e!==f&&(t.style[r(258)]="0",t[r(292)][r(294)]=r(300),t[r(292)].zIndex="1",!i&&t.style[r(295)]===r(256)&&(t[r(292)][r(295)]="absolute",t[r(292)].top="0",t[r(292)][r(285)]="0"))}),f=n,G[a(333)](e[f],t,f,r,s)};let v=setInterval(()=>{y(f+1)},m);return a[o(293)]("mouseenter",()=>{clearInterval(v)}),a[o(293)](o(272),()=>{v=setInterval(()=>{y(f+1)},m)}),kt[o(277)](a,y,()=>f,g),a.appendChild(l),a}static addTouchSupport(t,e,n,r){const s=It;let o=0,i=0,a=!1;t[s(293)](s(280),t=>{const e=s;o=t[e(262)][0][e(279)],i=t[e(262)][0][e(275)],a=!0}),t.addEventListener(s(278),t=>{a&&t[s(276)]()}),t[s(293)](s(271),t=>{const r=s;if(!a)return;a=!1;const c=t.changedTouches[0][r(279)],l=t[r(331)][0][r(275)],d=o-c,u=i-l;if(Math[r(330)](d)>Math[r(330)](u)&&Math[r(330)](d)>50){const t=n();e(d>0?t+1:t-1)}})}}const Et=St;function St(t,e){const n=xt();return(St=function(t,e){return n[t-=297]})(t,e)}function xt(){const t=["length","1124450nEOMzM","cssText"," with ","adstage-ad adstage-text-ad","width","style","100%","className","-webkit-box","innerHTML","vertical","webkitBoxOrient","adstage-text-content","7140133TBZzQA","2748AkcqWa","806aUNETa","createEventTrackingCallback","height","229748zKeoUD","addClickEventForRenderer","number","TEXT","config","log","getElementById","renderAdElement","createTextAdStyles","containerId","✨ Text transition created for slot: ","24QPiNrK","createElement","optimizedHeight","display","div","15OAvhWC","createTextTransitionContainer","debug","setTextAdContent","12188cMEKbu","18JKdxvl","989bjeptl","calculateAdSize","60px","renderMultipleAds","27KPjYDv","getDefaultHeight","maxLines","✨ Single text ad rendered: ","parentElement","31318FFmszI","211098xPceBP","appendChild"];return(xt=function(){return t})()}!function(){const t=St,e=xt();for(;;)try{if(202472===parseInt(t(346))/1*(parseInt(t(321))/2)+parseInt(t(345))/3*(parseInt(t(324))/4)+parseInt(t(340))/5*(parseInt(t(303))/6)+-parseInt(t(302))/7*(parseInt(t(335))/8)+parseInt(t(297))/9*(-parseInt(t(306))/10)+parseInt(t(344))/11*(parseInt(t(320))/12)+-parseInt(t(319))/13)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class At extends dt{constructor(e=!1,n){super(t[St(327)],e,n)}[Et(298)](){return Et(348)}async[Et(331)](t,e){const n=Et,r=document[n(330)](t[n(333)]);if(!r)return;const s=document[n(336)](n(339));s[n(313)]=n(309);const o=t[n(337)],i=r[n(301)]||r;if(o)s[n(311)][n(310)]=n(312),s[n(311)][n(323)]=String(o);else{const e=t[n(328)],r={width:e?.[n(310)],height:e?.height},{width:o,height:a}=this[n(347)](i,r,{debug:this.debug});s[n(311)][n(310)]=o,s[n(311)].height=a}const a=document[n(336)]("div");a.className=n(318),a[n(311)][n(307)]=vt[n(332)](!1),vt[n(343)](a,e);const c=t[n(328)]?.[n(299)];c&&typeof c===n(326)&&(a[n(311)][n(338)]=n(314),a[n(311)].webkitLineClamp=String(c),a[n(311)][n(317)]=n(316),a.style.overflow="hidden"),s[n(304)](a),Z[n(325)](s,e,t,()=>this.createEventTrackingCallback(),this.debug,"Text"),r[n(315)]="",r.appendChild(s),this[n(342)]&&console[n(329)](n(300)+e._id)}async[Et(349)](t,e){const n=Et,r=document[n(330)](t[n(333)]);if(!r)throw new Error("Container not found: "+t[n(333)]);const s=this[n(322)](),o={autoSlideInterval:(t[n(328)]?.slideInterval||5e3)/1e3,...t[n(328)],optimizedHeight:t[n(337)],aspectRatio:t.aspectRatio},i=kt[n(341)](t,e,o,s,this[n(342)]);i&&(r[n(315)]="",r[n(304)](i),this[n(342)]&&console[n(329)](n(334)+t.id+n(308)+e[n(305)]+" ads"))}}function Ct(t,e){const n=_t();return(Ct=function(t,e){return n[t-=236]})(t,e)}const Tt=Ct;function _t(){const t=["393358qRdyot","hideCurrentTime","🎬 Video data loaded, attempting autoplay...","🎬 Final video settings:","img","renderMultipleAds","hideMuteButton","hideVolumeSlider","src","26523WgDtEF","🎬 Trying muted autoplay fallback...","6973132zxwUQf","hidePlayButton","🎬 Video controls setting:","getElementById","🎬 Auto-play was prevented:","textContent","width","renderVideoElementDirect","loadeddata","hideFullscreenButton","Video thumbnail","🎬 Video config received:","setAttribute","10188647JPuJMr","relative","🔊 Video mute toggled: ",'\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 ',"100%","30KemRPH","contain","play","🎬 Single video ad rendered: ","rgba(0, 0, 0, 0.9)","1355560TTMCkP","head","debug","catch","log","cssText","🎬 Video can play, attempting autoplay...","enabled","VIDEO","customControls","height","preload","block","length","background","mouseleave","getDefaultHeight","containerId","metadata","hideProgressBar"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","click","adstage-video-container","1148344OJQxzS","\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 ","5726262XnHFnq","style","🎬 Autoplay completely failed:","disabled (default)"," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","playsinline","alt","\n video::-webkit-media-controls-play-button {\n display: ","8584DUdLpK"," (autoplay: ","Video load failed:",'\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 ',"objectFit","error","canplay","Container not found: ","renderAdElement","loop","rgba(0, 0, 0, 0.7)","innerHTML","hideControls","className","unmuted","adstage-video-default-controls"," !important;\n }\n ","title","createEventTrackingCallback","scale(1)","\n pointer-events: none;\n ","adstage-video-mute-button","addClickEventForRenderer","transform","stopPropagation","autoplay","⚠️ No video advertisements available for slot: "," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","muted","Click to unmute","none","imageUrl","🎬 Video element created for ad: ","position","Video fallback","🎬 User explicitly enabled controls, overriding default","videoUrl","div","appendChild","_id","button","paused","addEventListener","controls","warn","createElement",", loop: "," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: "];return(_t=function(){return t})()}!function(){const t=Ct,e=_t();for(;;)try{if(984724===-parseInt(t(319))/1+parseInt(t(262))/2*(-parseInt(t(291))/3)+-parseInt(t(273))/4+parseInt(t(296))/5+parseInt(t(321))/6+parseInt(t(286))/7+parseInt(t(329))/8*(parseInt(t(271))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Rt extends dt{constructor(e=!1,n){super(t[Ct(304)],e,n)}[Tt(312)](){return"360px"}async[Tt(337)](t,e){const n=Tt,r=document[n(276)](t[n(313)]);if(!r)return;const s=document.createElement(n(251));s[n(342)]=n(318),s.style[n(301)]=n(320),this.renderVideoElementDirect(s,e,t),r[n(340)]="",r[n(252)](s),this[n(298)]&&console.log(n(294)+e[n(253)])}async[Tt(267)](t,e){const n=Tt,r=document.getElementById(t[n(313)]);if(!r)throw new Error(n(336)+t[n(313)]);if(e[n(309)]>0){const s=e[0],o=document.createElement("div");o[n(342)]=n(318),o[n(322)][n(301)]="\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ",this[n(280)](o,s,t),r.innerHTML="",r[n(252)](o);const a=this[n(347)]();setTimeout(()=>{a(s[n(253)],t.id,i.VIEWABLE)},100),this[n(298)]&&console[n(300)]("🎬 Single video rendered for VIDEO slot: "+t.id+" ("+s._id+")")}else this[n(298)]&&console[n(258)](n(240)+t.id)}[Tt(280)](t,e,n){const r=Tt;t[r(322)][r(247)]=r(287);const s=document[r(259)]("video");s[r(322)][r(279)]=r(290),s[r(322)].height=r(290),s[r(322)][r(333)]=r(292),s[r(307)]=r(314);const o=n.config;if(this[r(298)]&&console[r(300)](r(284),o),s[r(257)]=!1,s.autoplay=!1!==o?.autoplay,s[r(242)]=!0,s[r(338)]=!1!==o?.[r(338)],this[r(298)]&&console.log(r(265),{autoplay:s.autoplay,muted:s[r(242)],loop:s[r(338)],controls:s.controls}),!1!==o?.[r(326)]&&s[r(285)](r(326),""),!0===o?.[r(257)]&&(s[r(257)]=!0,this[r(298)]&&console[r(300)](r(249))),o?.[r(341)])s[r(257)]=!1,s[r(322)].cssText+=r(349);else if(o?.[r(305)]){if(s[r(257)]){const t=document.createElement("style");t[r(278)]=r(328)+(o[r(305)][r(274)]?r(244):r(308))+" !important;\n }\n video::-webkit-media-controls-timeline {\n display: "+(o[r(305)][r(315)]?r(244):r(308))+r(261)+(o.customControls[r(263)]?r(244):r(308))+r(241)+(o[r(305)].hideRemainingTime?r(244):r(308))+" !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: "+(o[r(305)][r(269)]?r(244):"block")+r(325)+(o[r(305)][r(268)]?r(244):r(308))+r(316)+(o[r(305)][r(282)]?r(244):r(308))+r(345),document[r(297)][r(252)](t)}}else if(s[r(257)]){const t=document.createElement(r(322));t.id="adstage-video-default-controls",t[r(278)]="\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n ",!document[r(276)](r(344))&&document[r(297)][r(252)](t)}this.debug&&console.log(r(275),s.controls?r(303):r(324));const i=document[r(259)](r(254));i[r(342)]=r(350),i[r(322)][r(301)]="\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 ",o?.[r(341)]&&(i[r(322)].display=r(244));const a=()=>{const t=r,e=t(332),n=t(289);i[t(340)]=s[t(242)]?e:n,i[t(346)]=s[t(242)]?t(243):"Click to mute"};if(a(),i.addEventListener(r(317),t=>{const e=r;t[e(238)](),s[e(242)]=!s[e(242)],a(),this.debug&&console[e(300)](e(288)+(s[e(242)]?e(242):e(343)))}),i.addEventListener("mouseenter",()=>{const t=r;i[t(322)][t(310)]=t(295),i[t(322)][t(237)]="scale(1.1)"}),i[r(256)](r(311),()=>{const t=r;i[t(322)][t(310)]=t(339),i[t(322)][t(237)]=t(348)}),e[r(250)]){s[r(270)]=e[r(250)];const t=()=>{const t=r;s[t(239)]&&s[t(242)]&&s[t(255)]&&s[t(293)]()[t(299)](e=>{const n=t;this[n(298)]&&(console.warn(n(277),e),console[n(258)](n(272))),s[n(242)]=!0,s.play()[n(299)](t=>{const e=n;this[e(298)]&&console[e(334)](e(323),t)})})};s.addEventListener("loadedmetadata",()=>{const e=r;this[e(298)]&&console[e(300)]("🎬 Video metadata loaded, attempting autoplay..."),t()}),s[r(256)](r(335),()=>{const e=r;this.debug&&console[e(300)](e(302)),t()}),s[r(256)](r(281),()=>{const e=r;this[e(298)]&&console.log(e(264)),t()}),setTimeout(()=>{const e=r;this[e(298)]&&console[e(300)]("🎬 Initial autoplay attempt after timeout..."),t()},100)}else if(e[r(245)]){const n=document.createElement(r(266));return n[r(270)]=e.imageUrl,n.style[r(279)]=r(290),n[r(322)][r(306)]="100%",n[r(322)][r(333)]=r(292),n[r(327)]=e[r(346)]||r(283),void t.appendChild(n)}Z[r(236)](s,e,n,()=>this[r(347)](),this[r(298)],"Video"),s[r(256)](r(334),s=>{const o=r;if(console[o(334)](o(331),s),e.imageUrl){const r=document[o(259)](o(266));r.src=e.imageUrl,r.style.width=o(290),r[o(322)].height="100%",r[o(322)][o(333)]=o(292),r[o(327)]=e[o(346)]||"Video thumbnail",Z[o(236)](r,e,n,()=>this[o(347)](),this[o(298)],o(248)),t[o(340)]="",t[o(252)](r)}}),t.appendChild(s),t[r(252)](i),this[r(298)]&&console[r(300)](r(246)+e[r(253)]+r(330)+s[r(239)]+", muted: "+s[r(242)]+r(260)+s[r(338)]+")")}}function Dt(t,e){const n=Lt();return(Dt=function(t,e){return n[t-=414]})(t,e)}function Lt(){const t=["550865IYACMD","innerHTML","1400120trkeiN","433588eXrzuW","div","⚠️ No native advertisements available for slot: ","containerId","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","mouseenter","renderMultipleAds","appendChild","200px","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","6099400siVfpX","Native Advertisement","#3b82f6","3278652tUkhYy","debug","className","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","imageUrl","button","length","\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 ","img","log","adstage-ad adstage-native-ad","🏠 Native ad rendered (first of ","getElementById","_blank","NATIVE","71413IrBGSK","5VdTvFw","\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 ","createElement","textContent","2119239eRfMaz","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","advertisementEventTracker","src","alt","linkUrl","): ","style","title","open","#2563eb","click","cssText","addEventListener","_id"];return(Lt=function(){return t})()}const Pt=Dt;!function(){const t=Dt,e=Lt();for(;;)try{if(362854===-parseInt(t(446))/1+-parseInt(t(418))/2+parseInt(t(451))/3+-parseInt(t(417))/4+parseInt(t(447))/5*(-parseInt(t(431))/6)+parseInt(t(415))/7+parseInt(t(428))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Bt extends dt{constructor(e=!1,n){super(t[Dt(445)],e,n)}getDefaultHeight(){return Dt(426)}async renderAdElement(t,e){const n=Dt,r=document[n(443)](t[n(421)]);if(!r)return;const s=document.createElement(n(419));if(s[n(433)]=n(441),s[n(458)][n(463)]=n(438),e[n(459)]){const t=document.createElement("h3");t[n(450)]=e.title,t[n(458)][n(463)]=n(452),s[n(425)](t)}if(e[n(450)]){const t=document.createElement("p");t[n(450)]=e[n(450)],t.style[n(463)]=n(422),s[n(425)](t)}if(e[n(435)]){const t=document.createElement("div");t.style.cssText=n(427);const r=document[n(449)](n(439));r[n(454)]=e[n(435)],r[n(455)]=e.title||n(429),r.style[n(463)]=n(434),t[n(425)](r),s[n(425)](t)}if(e[n(456)]){const t=document[n(449)](n(436));t.textContent="Learn More",t.style[n(463)]=n(448),t[n(464)](n(462),()=>{const t=n;this[t(453)]&&console[t(440)]("Native click tracked for ad: "+e[t(414)]),window[t(460)](e[t(456)],t(444))}),t[n(464)](n(423),()=>{const e=n;t[e(458)].backgroundColor=e(461)}),t[n(464)]("mouseleave",()=>{const e=n;t.style.backgroundColor=e(430)}),s[n(425)](t)}r[n(416)]="",r[n(425)](s),this[n(432)]&&console[n(440)]("🏠 Single native ad rendered: "+e._id)}async[Pt(424)](t,e){const n=Pt;e[n(437)]>0?(await this.renderAdElement(t,e[0]),this[n(432)]&&console[n(440)](n(442)+e[n(437)]+n(457)+t.id)):this[n(432)]&&console.warn(n(420)+t.id)}}const Ot=Ut;function Ut(t,e){const n=zt();return(Ut=function(t,e){return n[t-=171]})(t,e)}function zt(){const t=["title","6jhteYq","open","cssText","body","parentNode","Interstitial click tracked for ad: ","linkUrl","\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 ","advertisementEventTracker","104580XlWoFF","#3b82f6","closeInterstitial","🖼️ Interstitial ad closed","Get Started","alt","adstage-interstitial-overlay","6510726tfFTSV","⚠️ No interstitial advertisements available for slot: ","color","key","className","#2563eb","#374151","addEventListener","400px","textContent","2391424EHeZEE","style","button","length","backgroundColor","#f3f4f6","animation","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","div","\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 ","\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 ","9663BslzkU","🖼️ Interstitial ad rendered (first of ","18CNZJta","#e5e7eb","renderMultipleAds","Interstitial Advertisement","11tAjgyS","warn","\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n }\n ","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","Escape","img","log","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","getDefaultHeight","adstage-interstitial-styles","INTERSTITIAL","createElement","4353325JWNHsD","_id","1244fevYxK","3347430keElYL","#6b7280","\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 ","debug","removeChild","containerId","appendChild","mouseleave","7PqUyRE","imageUrl","mouseenter","click","66938brSWdC"];return(zt=function(){return t})()}!function(){const t=Ut,e=zt();for(;;)try{if(883041===parseInt(t(217))/1*(parseInt(t(215))/2)+-parseInt(t(182))/3*(parseInt(t(202))/4)+parseInt(t(200))/5+parseInt(t(233))/6*(parseInt(t(211))/7)+-parseInt(t(171))/8*(parseInt(t(184))/9)+-parseInt(t(203))/10*(-parseInt(t(188))/11)+-parseInt(t(226))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Nt extends dt{constructor(e=!1,n){super(t[Ut(198)],e,n)}[Ot(196)](){return Ot(241)}async renderAdElement(t,e){const n=Ot;if(!document.getElementById(t[n(208)]))return;const r=document[n(199)](n(179));r[n(237)]=n(232),r[n(172)][n(219)]=n(180);const s=document[n(199)](n(179));s.className="adstage-interstitial-content",s[n(172)].cssText=n(181);const o=document[n(199)](n(173));if(o.innerHTML="×",o[n(172)].cssText=n(224),o.addEventListener(n(214),()=>{this[n(228)](r)}),o.addEventListener(n(213),()=>{const t=n;o[t(172)][t(175)]=t(185),o.style[t(235)]=t(239)}),o[n(240)]("mouseleave",()=>{const t=n;o.style[t(175)]=t(176),o[t(172)][t(235)]=t(204)}),e[n(212)]){const t=document[n(199)](n(193));t.src=e[n(212)],t[n(231)]=e.title||n(187),t[n(172)][n(219)]=n(178),s.appendChild(t)}if(e.title){const t=document.createElement("h2");t[n(242)]=e[n(216)],t.style[n(219)]=n(191),s[n(209)](t)}if(e[n(242)]){const t=document[n(199)]("p");t[n(242)]=e[n(242)],t[n(172)][n(219)]=n(195),s[n(209)](t)}if(e[n(223)]){const t=document[n(199)]("button");t[n(242)]=n(230),t.style[n(219)]=n(205),t[n(240)]("click",()=>{const t=n;this[t(225)]&&console.log(t(222)+e._id),window[t(218)](e[t(223)],"_blank"),this[t(228)](r)}),t[n(240)](n(213),()=>{const e=n;t.style[e(175)]=e(238)}),t[n(240)](n(210),()=>{const e=n;t[e(172)].backgroundColor=e(227)}),s[n(209)](t)}const i=t=>{const e=n;t[e(236)]===e(192)&&(this[e(228)](r),document.removeEventListener("keydown",i))};if(document[n(240)]("keydown",i),r[n(240)]("click",t=>{const e=n;t.target===r&&this[e(228)](r)}),!document.getElementById(n(197))){const t=document[n(199)]("style");t.id=n(197),t[n(242)]=n(190),document.head[n(209)](t)}s[n(209)](o),r[n(209)](s),document[n(220)].appendChild(r),this.debug&&console[n(194)]("🖼️ Interstitial ad rendered: "+e[n(201)])}async[Ot(186)](t,e){const n=Ot;e[n(174)]>0?(await this.renderAdElement(t,e[0]),this.debug&&console[n(194)](n(183)+e[n(174)]+"): "+t.id)):this.debug&&console[n(189)](n(234)+t.id)}[Ot(228)](t){const e=Ot;t.style[e(177)]="fadeOut 0.3s ease-out forwards",setTimeout(()=>{const n=e;t[n(221)]&&t[n(221)][n(207)](t)},300),this[e(206)]&&console[e(194)](e(229))}}const Mt=Ft;function Vt(){const t=["3282OkwwBg","3259289HZUmde","naturalHeight","265630faSCkZ","setAttribute","9402633etGpIn","set","14098YpeLCX","data-adstage-slot-id","renderFallback","optimizeContainerForBannerAds","100%","1px dashed #ccc","src","5910008sOYZtL","toLowerCase","img","width","imageUrl","getRenderer","30eGUflY","config","display","height","createAdElement","calculateAdSize","renderOptimizedBannerImage","onerror","renderAdElement","8eDQDCf","937923yWYKwY","renderers","log","loadImageDimensions","adType","advertisementEventTracker","border","2USRyZc","renderAd","createPlaceholder","padding","objectFit","naturalWidth","BANNER","appendChild","div","239833ECWrrN","textContent","onload","getDefaultHeightForAdType","renderOptimizedBannerImage is only supported for BANNER ads","initializeRenderers","isLoaded","className","getDefaultHeight","No advertisement to render","createElement","_id","calculateOptimalContainerSize","data-adstage-ad-id","cover","Failed to load image: ","debug","style","NATIVE","renderAdSlider","VIDEO","block","No renderer found for ad type: ","TEXT","[AdRenderer] ","videoUrl"];return(Vt=function(){return t})()}function Ft(t,e){const n=Vt();return(Ft=function(t,e){return n[t-=459]})(t,e)}!function(){const t=Ft,e=Vt();for(;;)try{if(771460===-parseInt(t(527))/1+-parseInt(t(518))/2*(-parseInt(t(511))/3)+parseInt(t(495))/4+parseInt(t(484))/5+-parseInt(t(481))/6*(-parseInt(t(488))/7)+-parseInt(t(510))/8*(parseInt(t(486))/9)+-parseInt(t(501))/10*(parseInt(t(482))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Kt{constructor(t=!1,e){const n=Ft;this[n(512)]=new Map,this[n(471)]=t,this[n(516)]=e||null,this[n(460)]()}[Mt(460)](){const e=Mt;this.renderers.set(t.BANNER,new ht(this.debug,this[e(516)])),this[e(512)][e(487)](t[e(478)],new At(this[e(471)],this[e(516)])),this.renderers[e(487)](t[e(475)],new Rt(this.debug,this.advertisementEventTracker)),this[e(512)][e(487)](t[e(473)],new Bt(this.debug,this.advertisementEventTracker)),this[e(512)].set(t.INTERSTITIAL,new Nt(this.debug,this.advertisementEventTracker)),this[e(471)]&&console[e(513)]("🏭 AdRenderer factory initialized with "+this[e(512)].size+" renderers")}[Mt(505)](e,n){const r=Mt,s=this[r(500)](e[r(515)]),o=document[r(465)](r(526));o[r(462)]="adstage-ad adstage-"+String(e[r(515)])[r(496)](),o.setAttribute(r(468),n[r(466)]),o[r(485)](r(489),e.id);const{width:i,height:a}=s[r(506)](o,e[r(502)]||{},n);switch(o[r(472)][r(498)]=i,o.style[r(504)]=a,o[r(472)][r(503)]=r(476),e.adType){case t[r(524)]:if(n[r(499)]){const t=document.createElement(r(497));t[r(494)]=n[r(499)],t.style[r(498)]=r(492),t[r(472)].height=r(492),t[r(472)][r(522)]=r(469),o[r(525)](t)}break;case t[r(475)]:if(n[r(480)]){const t=document.createElement("video");t[r(494)]=n[r(480)],t[r(472)].width=r(492),t[r(472)][r(504)]=r(492),o[r(525)](t)}break;case t.TEXT:if(n[r(528)]){const t=document[r(465)](r(526));t[r(528)]=n[r(528)]||"",t[r(472)][r(521)]="8px",o[r(525)](t)}break;default:o[r(472)][r(517)]=r(493),o.style.backgroundColor="#f9f9f9",o[r(528)]=e[r(515)]+" Ad"}return o}[Mt(500)](t){const e=Mt,n=this[e(512)].get(t);if(!n)throw new Error(e(477)+t);return n}[Mt(520)](t,e,n,r,s){this[Mt(500)](n).createPlaceholder(t,e,r,s)}async optimizeContainerForBannerAds(e,n){const r=Mt;if(e[r(515)]!==t.BANNER)return void(this.debug&&console.warn("⚠️ Container optimization is only supported for BANNER ads, got: "+e[r(515)]));const s=this[r(500)](t[r(524)]);await s[r(491)](e,n)}async[Mt(474)](t,e){const n=this.getRenderer(t.adType);await n.renderMultipleAds(t,e)}async[Mt(519)](t){const e=Mt;if(!t.advertisement)throw new Error(e(464));const n=this[e(500)](t[e(515)]);await n[e(509)](t,t.advertisement),t[e(461)]=!0}async[Mt(509)](t,e){const n=Mt,r=this[n(500)](t[n(515)]);await r[n(509)](t,e)}[Mt(490)](t){const e=Mt;this.getRenderer(t[e(515)]).renderFallback(t)}[Mt(530)](t){const e=Mt;return this[e(500)](t)[e(463)]()}[Mt(506)](t,e,n,r){const s=Mt;return this.getRenderer(e)[s(506)](t,n,r)}[Mt(514)](t){return new Promise((e,n)=>{const r=Ft,s=new Image;s[r(529)]=()=>{const t=r;e({width:s[t(523)],height:s[t(483)]})},s[r(508)]=()=>{n(new Error(r(470)+t))},s.src=t})}async[Mt(507)](e,n,r){const s=Mt;if(r[s(515)]!==t[s(524)])throw new Error(s(459));const o=this[s(500)](t.BANNER);return await o.renderOptimizedBannerImage(e,n,r)}async calculateOptimalContainerSize(e,n,r){const s=Mt;if(r!==t.BANNER){const t=this[s(500)](r);return{width:s(492),height:t[s(463)](),aspectRatio:16/9}}const o=this.getRenderer(t[s(524)]);return await o[s(467)](e,n)}log(t,...e){const n=Mt;this[n(471)]&&console[n(513)](n(479)+t,...e)}}const jt=Wt;function Ht(){const t=["status","adstage-","viewabilityTracker","error","6121914oNFNJp","getAllSlots","autoplay","🔍 Auto-cleanup MutationObserver enabled","renderFallback","getConfig","auto-","now","substr","delete","debug","🔍 Ad slot already cleaned up: ","loop","string","API key not configured","renderAd","🎠 Slider will handle VIEWABLE events for ","1267ZkrTSS","4734HRtbNJ","12JhquUf","advertisement","Ad slot not found: ","autoSlide","createAdWithRetry"," removed","fetchAdData","📊 Advertisement event tracking enabled for slot: ","INTERSTITIAL","TEXT","❌ Failed to find element for viewability tracking: ","35EkSEPa","New advertisement viewable tracked for slot:","Failed to refresh ad slot: ","❌ Failed to load ad for slot: ","ms... (attempt "," ads automatically","config","startSimpleViewabilityTracking","clear"," attempts: ","observe","video","ELEMENT_NODE","BANNER","setupAutoCleanup","height","handleViewableEvent","광고 생성 중 오류 발생:","toString","containerId","setAttribute"," (element found)","autoDestroy","adType","isReady","createAd","init","_isReady","country","renderAdSlider","🔄 Retrying viewability tracking for slot: ","forEach","body","data-adstage-slot-id","_config","slots","100%","🎯 Ads module initialized (sync mode) with auto-cleanup","removedNodes","Failed to fetch ad data: ","mutationObserver","ensureReady","adRenderer","muted","apiKey","language","_id","✅ Simple viewable impression tracked for ad ","destroyModule","isLoaded","❌ Failed to track viewable impression:","customControls","11240QSDrlN","getSlotById","interstitial","handleRemovedElement","random","5zbelQn",". Retrying in ","detail","5979941CePVXp","banner","VIDEO","18776XyCXTv","refreshAdSlot","create","renderAdElement","trackAdvertisementEvent","width"," ads)","text","1646868AWYeIu","createAdInternal","append","json","getElementById","loadAdContentInBackground","📊 Fetched ",", filters:","refresh","7142CTJFMp","default","destroy","nodeType","advertisementEventTracker","playsinline","1249544TMXUkE","adId","getAttribute","NATIVE","auto","deviceType","log","🗑️ Ads module destroyed","set","get","length","onClick","🔄 Ad slot refreshed: ","warn","GET","from","undefined","advertisements","controls","then","hideControls"];return(Ht=function(){return t})()}function Wt(t,e){const n=Ht();return(Wt=function(t,e){return n[t-=468]})(t,e)}!function(){const t=Wt,e=Ht();for(;;)try{if(963849===-parseInt(t(572))/1*(-parseInt(t(511))/2)+parseInt(t(561))/3*(parseInt(t(517))/4)+-parseInt(t(488))/5*(parseInt(t(542))/6)+parseInt(t(559))/7*(parseInt(t(494))/8)+-parseInt(t(560))/9*(-parseInt(t(483))/10)+-parseInt(t(491))/11+parseInt(t(502))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Yt{constructor(){const t=Wt;this[t(599)]=!1,this[t(606)]=null,this[t(607)]=new Map,this[t(515)]=null,this[t(473)]=null,this[t(471)]=null}[jt(598)](t){const e=jt;this[e(606)]=t,this[e(515)]=new P(H.getBaseUrl(),t[e(475)],t[e(552)]||!1,this[e(607)]),this[e(473)]=new Kt(t[e(552)]||!1,this[e(515)]),this[e(586)](),this[e(599)]=!0,t[e(552)]&&console[e(523)](e(468))}[jt(596)](){return this._isReady}[jt(547)](){return this[jt(606)]}[jt(492)](e,n){const r=jt;this[r(472)]();const s={width:n?.[r(499)]||r(608),height:n?.[r(587)]||"auto",autoSlide:n?.[r(564)]||!1,slideInterval:n?.slideInterval||5e3,onClick:n?.onClick,adId:n?.[r(518)],language:n?.language,deviceType:n?.[r(522)],country:n?.[r(600)]};return this[r(597)](e,t[r(585)],s)}[jt(501)](e,n){const r=jt;this.ensureReady();const s={maxLines:n?.maxLines||3,style:n?.style||r(512),onClick:n?.[r(528)],adId:n?.adId,language:n?.language,deviceType:n?.[r(522)],country:n?.country};return this.createAd(e,t[r(570)],s)}[jt(583)](e,n){const r=jt;this[r(472)]();const s={width:n?.[r(499)]||640,height:n?.[r(587)]||360,autoplay:void 0===n?.autoplay||n[r(544)],muted:void 0===n?.[r(474)]||n.muted,loop:void 0===n?.[r(554)]||n[r(554)],playsinline:!1!==n?.[r(516)],controls:void 0!==n?.[r(535)]&&n[r(535)],hideControls:n?.[r(537)]||!1,customControls:n?.[r(482)],autoSlide:!1,maxAds:1,onClick:n?.[r(528)],...n?.adId&&{adId:n.adId}};return this[r(597)](e,t[r(493)],s)}native(e,n){const r=jt;return this.ensureReady(),this[r(597)](e,t[r(520)],n||{})}[jt(485)](e,n){const r=jt;return this.ensureReady(),this[r(597)](e,t[r(569)],n||{})}[jt(510)](t){const e=jt;this[e(472)]();const n=this[e(607)][e(526)](t);if(!n)throw new Error(e(563)+t);this[e(495)](n),this[e(606)]?.debug&&console[e(523)](e(529)+t)}[jt(513)](t){const e=jt;this[e(472)]();const n=this[e(607)][e(526)](t);if(!n)return void(this[e(606)]?.[e(552)]&&console[e(523)](e(553)+t));n[e(540)]&&n[e(540)][e(513)]();const r=document[e(506)](n[e(591)]);r&&(r.innerHTML=""),this.slots[e(551)](t),this[e(606)]?.[e(552)]&&console[e(523)]("🗑️ Ad slot destroyed: "+t)}[jt(543)](){const t=jt;return this.ensureReady(),Array[t(532)](this[t(607)].values())}[jt(484)](t){const e=jt;return this[e(472)](),this[e(607)][e(526)](t)||null}[jt(597)](t,e,n){const r=jt;if(!this[r(606)]?.[r(475)])throw new Error(r(556));const s=r(539)+e+"-"+Date[r(549)]()+"-"+Math[r(487)]()[r(590)](36)[r(550)](2,9);return this[r(565)](t,e,n,s,0),s}async[jt(565)](t,e,n,r,s){const o=jt,i=[0,50,100,200,500];let a,c=null;if(typeof t===o(555)){if(a=t,c=document[o(506)](t),!c)return s<4?(this[o(606)]?.debug&&console.warn("Container not found: "+t+o(489)+i[s+1]+o(576)+(s+1)+"/5)"),void setTimeout(()=>{this[o(565)](t,e,n,r,s+1)},i[s+1])):void console[o(541)]("Container not found after 5"+o(581)+t)}else c=t,a=c.id||o(548)+r,!c.id&&(c.id=a);try{this[o(503)](a,e,n,r,c)}catch(t){console.error(o(589),t)}}[jt(503)](e,n,r,s,o){const i=jt;o[i(592)]("data-adstage-slot-id",s),this[i(473)]?.createPlaceholder(o,s,n,r,this._config);const a={id:s,containerId:e,adType:n,width:r[i(499)]||i(608),height:r[i(587)]||(n===t[i(570)]?i(521):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...r},load:async()=>this[i(567)](n,r)[i(536)](t=>t[0]||null),render:t=>this.adRenderer?.[i(497)](a,t),refresh:async()=>this.refreshAdSlot(a),destroy:()=>this.destroy(s)};this[i(607)][i(525)](s,a),this.loadAdContentInBackground(a),this[i(515)]&&this[i(606)]?.[i(552)]&&console.log(i(568)+s)}async[jt(507)](e){const n=jt;try{const r=await this[n(567)](e[n(595)],e[n(578)]);if(!r||0===r.length)return void this.adRenderer?.[n(546)](e);e[n(595)]===t[n(585)]&&r[n(527)]>0&&await(this[n(473)]?.optimizeContainerForBannerAds(e,r)),r[n(527)]>1||e[n(578)]?.[n(564)]?(await(this.adRenderer?.[n(601)](e,r)),this._config?.[n(552)]&&console.log(n(558)+r[n(527)]+n(577))):(e[n(562)]=r[0],await(this[n(473)]?.[n(497)](e,r[0])),this[n(579)](e,r[0])),e[n(480)]=!0,this._config?.[n(552)]&&console[n(523)]("✅ Ad loaded for slot: "+e.id+" ("+r.length+n(500))}catch(t){console[n(541)](n(575)+e.id,t),this.adRenderer?.renderFallback(e)}}[jt(579)](t,e){const n=(r=0)=>{const s=Wt,o=document[s(506)](t.id);if(!o)return void(r<5?(setTimeout(()=>n(r+1),300),this[s(606)]?.debug&&console.log(s(602)+t.id+" (attempt "+(r+1)+")")):console[s(530)](s(571)+t.id));const i=new z(o,async()=>{const n=s;await this[n(588)](e,t)});t.viewabilityTracker=i,this[s(606)]?.[s(552)]&&console.log("🎯 Simple viewability tracking started for slot: "+t.id+s(593))};n()}async handleViewableEvent(t,e){const n=jt;try{this[n(515)]&&(await this[n(515)][n(498)](t[n(477)],e.id,i.VIEWABLE),this._config?.[n(552)]&&console[n(523)](n(478)+t[n(477)]))}catch(t){console[n(541)](n(481),t)}}async[jt(567)](t,e){const n=jt;if(!this[n(606)]?.[n(475)])throw new Error("API key not configured");if(e.adId){const t=""+H[n(534)][n(490)](e.adId),r=await fetch(t,{method:n(531),headers:_[n(496)](this[n(606)][n(475)])});if(!r.ok){if(404===r.status)return console[n(530)]("🚫 Advertisement not found with ID: "+e[n(518)]),[];throw new Error(n(470)+r[n(538)])}const s=await r[n(505)]();return this[n(606)]?.debug&&console[n(523)]("📊 Fetched specific ad with ID: "+e[n(518)],s),[s]}const r=new URLSearchParams;r.append(n(595),t),e[n(476)]&&r[n(504)](n(476),e.language),e[n(522)]&&r[n(504)](n(522),e.deviceType),e.country&&r[n(504)]("country",e[n(600)]);const s=H.advertisements.list()+"?"+r[n(590)](),o=await fetch(s,{method:"GET",headers:_[n(496)](this[n(606)][n(475)])});if(!o.ok)throw new Error(n(470)+o[n(538)]);const i=(await o[n(505)]())[n(534)]||[];return this[n(606)]?.[n(552)]&&console[n(523)](n(508)+i[n(527)]+" ads for type: "+t+n(509),{language:e.language,deviceType:e[n(522)],country:e[n(600)]}),i}async[jt(495)](t){const e=jt;try{const n=await this.fetchAdData(t[e(595)],t[e(578)]||{});n&&n.length>0&&(t[e(562)]=n[0],await(this[e(473)]?.[e(557)](t)),this.advertisementEventTracker&&console[e(523)](e(573),t.id))}catch(n){console.error(e(574)+t.id,n)}}[jt(472)](){if(!this._isReady)throw new Error("Ads module not initialized. Call AdStage.init() first.")}[jt(586)](){const t=jt;typeof window!==t(533)&&"undefined"!=typeof document&&(this.mutationObserver&&this[t(471)].disconnect(),this[t(471)]=new MutationObserver(e=>{const n=t;e[n(603)](t=>{const e=n;t[e(469)][e(603)](t=>{const n=e;t[n(514)]===Node[n(584)]&&this[n(486)](t)})})}),this[t(471)][t(582)](document[t(604)],{childList:!0,subtree:!0}),this._config?.debug&&console[t(523)](t(545)))}handleRemovedElement(t){const e=jt,n=t[e(519)](e(605));if(n)return void this[e(594)](n);t.querySelectorAll("[data-adstage-slot-id]")[e(603)](t=>{const n=e,r=t[n(519)](n(605));r&&this[n(594)](r)})}autoDestroy(t){const e=jt,n=this.slots[e(526)](t);if(n)try{n[e(540)]&&n[e(540)].destroy(),this[e(607)][e(551)](t),this._config?.[e(552)]&&console[e(523)]("🧹 Auto-cleanup: slot "+t+e(566))}catch(n){this[e(606)]?.debug&&console[e(530)]("Auto-cleanup failed for slot "+t+":",n)}}[jt(479)](){const t=jt,e=this[t(606)]?.[t(552)];this[t(471)]&&(this.mutationObserver.disconnect(),this[t(471)]=null),this[t(607)][t(580)](),this[t(515)]=null,this[t(473)]=null,this[t(599)]=!1,this._config=null,e&&console[t(523)](t(524))}}var Xt=qt;function Gt(){var t=["getEnabledModules","baseUrl","14754780YqYKwr","modules","363314cKCyCk","log","_organizationInfo","13304277VvfNZE","_isReady","getBaseUrl","events","setBaseUrl","getConfig","_config","debug","apiKey","updateConfig","ads","config","getApiEndpoint","✅ Config module initialized (sync mode)","10xfRLMI","7515588HUdxNU","1caFoPr","7uKxLbY","create","includes","getOrganizationInfo","development","🔄 Config updated","65qELOTP","isReady","462812wSxGRo","4175534AQYjuy","8OBOtpV","API key not available","isModuleEnabled","1724697GkLrRD","isDebugMode","getApiHeaders"];return(Gt=function(){return t})()}function qt(t,e){var n=Gt();return(qt=function(t,e){return n[t-=244]})(t,e)}!function(){for(var t=qt,e=Gt();;)try{if(877191===parseInt(t(255))/1*(parseInt(t(276))/2)+parseInt(t(269))/3+parseInt(t(264))/4*(parseInt(t(262))/5)+-parseInt(t(254))/6*(parseInt(t(256))/7)+-parseInt(t(266))/8*(-parseInt(t(279))/9)+parseInt(t(253))/10*(-parseInt(t(265))/11)+-parseInt(t(274))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Jt{constructor(){var t=qt;this[t(280)]=!1,this._config=null,this[t(278)]=null}init(t){var e=qt;this._config={timeout:3e4,debug:!1,modules:[e(249),e(282),e(250)],...t},t.baseUrl&&H[e(283)](t[e(273)]),this[e(280)]=!0,t[e(246)]&&console[e(277)](e(252),{modules:this._config[e(275)],endpoint:H.getBaseUrl(),mode:e(260)})}[Xt(263)](){return this[Xt(280)]}[Xt(244)](){return this[Xt(245)]}[Xt(259)](){return this._organizationInfo}[Xt(251)](){return H[Xt(281)]()}[Xt(270)](){var t=Xt;return this[t(245)]?.[t(246)]||!1}[Xt(272)](){var t=Xt;return this[t(245)]?.modules||[]}[Xt(268)](t){var e=Xt;return this[e(272)]()[e(258)](t)}[Xt(248)](t){var e=Xt;if(!this[e(245)])throw new Error("Config module not initialized");this[e(245)]={...this[e(245)],...t},this[e(270)]()&&console[e(277)](e(261),t)}[Xt(271)](){var t=Xt;if(!this[t(245)]?.[t(247)])throw new Error(t(267));return _[t(257)](this._config[t(247)])}}function Zt(){const t=["Unknown","Android","4846056LHegVs","onLine","web","getAutoDetectedDeviceInfo","56icJNSl","7455501xeXJQB","iOS","width","Desktop Web","setDeviceProperty","toLowerCase","userAgent","other","mobile","486571cIsupF","219969brPLdp","getViewportInfo","17220VLgGLz","ios","desktop","tablet","isBrowser","height","platform","Mobile Web","3887056GQxvAU","ko-KR","mapPlatformForEvents","SSR","getDetailedInfo","language","4356975NRhygG","26YQexMF","clearDeviceInfo","0x0","_userProvidedDeviceInfo","setDeviceInfo"];return(Zt=function(){return t})()}const Qt=te;!function(){const t=te,e=Zt();for(;;)try{if(563504===-parseInt(t(365))/1+parseInt(t(383))/2*(parseInt(t(366))/3)+parseInt(t(376))/4+-parseInt(t(382))/5+parseInt(t(390))/6+parseInt(t(368))/7*(parseInt(t(394))/8)+-parseInt(t(395))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class $t{static getDeviceInfo(){const t=te;return{...$t.getAutoDetectedDeviceInfo(),...$t[t(386)]}}static[Qt(393)](){const t=Qt;if(!g.isBrowser())return{category:t(363),platform:t(379),model:t(379),osVersion:"SSR"};const e=navigator[t(362)][t(361)]();let n=t(370);/tablet|ipad/.test(e)?n=t(371):E.isMobile()&&(n=t(364));const r=E.getPlatform();return{category:n,platform:$t[t(378)](r),model:navigator[t(374)],osVersion:navigator[t(374)]}}static[Qt(387)](t){const e=Qt;$t._userProvidedDeviceInfo={...$t[e(386)],...t}}static[Qt(360)](t,e){$t[Qt(386)][t]=e}static[Qt(384)](){$t[Qt(386)]={}}static getUserDeviceInfo(){return{...$t._userProvidedDeviceInfo}}static mapPlatformForEvents(t){const e=Qt;switch(t){case e(369):return e(396);case"android":return e(389);case e(392):return e(375);case e(370):return e(398);default:return e(388)}}static[Qt(380)](){const t=Qt;if(!g[t(372)]())return{userAgent:"SSR",language:t(377),platform:"SSR",cookieEnabled:!1,onLine:!0,screenResolution:t(385),viewportSize:t(385)};const e=g[t(367)]();return{userAgent:navigator[t(362)],language:navigator[t(381)]||t(377),platform:navigator[t(374)],cookieEnabled:navigator.cookieEnabled,onLine:navigator[t(391)],screenResolution:screen[t(397)]+"x"+screen[t(373)],viewportSize:e.width+"x"+e[t(373)]}}}function te(t,e){const n=Zt();return(te=function(t,e){return n[t-=360]})(t,e)}$t[Qt(386)]={};const ee=re;!function(){const t=re,e=se();for(;;)try{if(971403===parseInt(t(395))/1*(parseInt(t(397))/2)+-parseInt(t(409))/3*(parseInt(t(385))/4)+-parseInt(t(386))/5+-parseInt(t(391))/6+-parseInt(t(406))/7*(-parseInt(t(403))/8)+-parseInt(t(392))/9*(parseInt(t(390))/10)+parseInt(t(410))/11*(parseInt(t(411))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ne{static getUserInfo(){const t=re;return{...ne[t(394)](),...ne[t(393)]}}static[ee(394)](){const t=ee;if(!g[t(407)]())return{language:t(401),country:"KR"};const e=navigator.language||"ko-KR";return{language:e,country:ne[t(404)](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[ee(396)]("-")[0]]||"KR"}static[ee(408)](t){const e=ee;ne._userProperties={...ne[e(393)],...t}}static[ee(389)](t,e){ne._userProperties[t]=e}static[ee(387)](){ne._userProperties={}}static[ee(398)](){return{...ne[ee(393)]}}static[ee(400)](){const t=ee;if(!g[t(407)]())return{timezone:t(388),estimatedCountry:"KR"};const e=Intl[t(399)]()[t(405)]()[t(402)];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 re(t,e){const n=se();return(re=function(t,e){return n[t-=385]})(t,e)}function se(){const t=["ko-KR","timeZone","172056WDJZZL","extractCountryFromLanguage","resolvedOptions","343MyfUjK","isBrowser","setUserProperties","42oSmEPQ","6359793FJcNHC","60NPzczz","344384ZATwXe","1664610XFBNZT","clearUserProperties","UTC","setUserProperty","6916710nWaDqo","11478048VaLNnW","9peWEdZ","_userProperties","getBaseUserInfo","5iABFjB","split","467876ATcyJg","getCurrentUserProperties","DateTimeFormat","estimateLocation"];return(se=function(){return t})()}ne._userProperties={};const oe=ie;function ie(t,e){const n=ce();return(ie=function(t,e){return n[t-=491]})(t,e)}!function(){const t=ie,e=ce();for(;;)try{if(541928===parseInt(t(519))/1*(parseInt(t(514))/2)+-parseInt(t(538))/3+-parseInt(t(518))/4*(parseInt(t(496))/5)+parseInt(t(498))/6*(parseInt(t(541))/7)+parseInt(t(536))/8*(-parseInt(t(529))/9)+-parseInt(t(524))/10*(parseInt(t(555))/11)+-parseInt(t(525))/12*(-parseInt(t(528))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ae{static[oe(503)](){const t=oe;if(typeof window===t(549))return null;const e=new URLSearchParams(window[t(511)][t(551)]),n={};let r=!1;const s=e[t(558)](t(510));if(s)try{const e=decodeURIComponent(s),o=new URLSearchParams(e);for(const e of ae[t(567)]){const s=o[t(558)](e);s&&(n[e]=s,r=!0)}o[t(558)](t(542))===t(502)&&(r=!0)}catch(e){console.warn(t(539),e)}for(const s of ae[t(567)]){if(n[s])continue;const o=e[t(558)](s);o&&(n[s]=o,r=!0)}return r?(n[t(540)]||(n[t(505)]?n[t(540)]=t(545):n[t(522)]?n.channel="meta.ads":n[t(495)]?n[t(540)]=t(517):n[t(562)]?n.channel="naver.searchad":n.liclid?n[t(540)]=t(565):n[t(491)]?n[t(540)]=t(531):n[t(563)]&&(n[t(540)]="twitter.ads")),ae[t(554)](n),n):null}static[oe(554)](t){const e=oe;if(typeof window!==e(549)&&window[e(532)])try{const n={...ae[e(558)](),...t};sessionStorage[e(507)](ae[e(492)],JSON[e(550)](n))}catch(t){console[e(535)]("Failed to store tracking params:",t)}}static[oe(558)](){const t=oe;if(typeof window===t(549)||!window[t(532)])return null;try{const t=sessionStorage.getItem(ae.STORAGE_KEY);if(t)return JSON.parse(t)}catch(e){console[t(535)](t(499),e)}return null}static[oe(533)](){const t=oe;if(typeof window!==t(549)&&window.sessionStorage)try{sessionStorage[t(515)](ae[t(492)])}catch(e){console[t(535)](t(506),e)}}static[oe(557)](){const t=oe,e=ae[t(558)]();return null!==e&&Object[t(509)](e)[t(508)]>0}static hasClickId(){const t=oe,e=ae[t(558)]();return!!e&&ae[t(560)][t(556)](t=>e[t])}static[oe(512)](){const t=oe;if("undefined"==typeof window)return!1;const e=ae[t(558)]();if(!e||!ae[t(497)]())return!1;const n=e[t(505)]||e[t(522)]||e[t(495)]||e[t(562)]||e[t(547)]||e.msclkid||e[t(563)];if(!n)return!1;return n!==sessionStorage[t(530)](t(553))&&(sessionStorage[t(507)]("adstage_last_click_id",n),!0)}static[oe(527)](){const t=oe;typeof window!==t(549)&&sessionStorage[t(507)](t(544),t(502))}static[oe(561)](){const t=oe;return typeof window!==t(549)&&sessionStorage[t(530)](t(544))===t(502)}static[oe(546)](){const t=oe,e=ae[t(558)]();if(!e)return null;const n={};return e[t(505)]&&(n[t(505)]=e[t(505)]),e[t(522)]&&(n[t(522)]=e[t(522)]),e.ttclid&&(n[t(495)]=e[t(495)]),e[t(562)]&&(n[t(562)]=e[t(562)]),e[t(540)]&&(n[t(540)]=e.channel),e.campaign&&(n.campaign=e[t(521)]),e.campaign_id&&(n[t(552)]=e[t(494)]),e[t(566)]&&(n.adGroup=e[t(566)]),e[t(537)]&&(n[t(504)]=e.ad_group_id),e[t(520)]&&(n[t(534)]=e[t(520)]),e.creative_id&&(n[t(493)]=e.creative_id),e[t(523)]&&(n[t(523)]=e[t(523)]),e[t(516)]&&(n[t(516)]=e[t(516)]),e[t(564)]&&(n[t(564)]=e[t(564)]),e[t(543)]&&(n[t(543)]=e[t(543)]),e[t(559)]&&(n[t(559)]=e[t(559)]),e[t(526)]&&(n[t(526)]=e[t(526)]),Object[t(509)](n)[t(508)]>0?n:null}}function ce(){const t=["utm_medium","linkedin.ads","ad_group","ALL_KEYS","msclkid","STORAGE_KEY","creativeId","campaign_id","ttclid","1184735sZvXqs","hasClickId","420228WUnvwA","Failed to retrieve tracking params:","adstage_tracking_params","creative_id","true","captureFromUrl","adGroupId","gclid","Failed to clear tracking params:","setItem","length","keys","adstage_referrer","location","shouldSendClickEvent","UTM_KEYS","4VTCjvA","removeItem","utm_source","tiktok.ads","4kcNEhL","520946XEyvmf","ad_creative","campaign","fbclid","term","8320mLSBLK","1416dcBjCy","utm_term","markClickEventSent","142740XGHieC","108CyWIcl","getItem","microsoft.ads","sessionStorage","clear","adCreative","warn","595928Nsxvkg","ad_group_id","2167419chSYHZ","Failed to parse adstage_referrer:","channel","14csQtbW","adstage","utm_campaign","adstage_click_event_sent","google.ads","toAttributionObject","liclid","CAMPAIGN_KEYS","undefined","stringify","search","campaignId","adstage_last_click_id","store","1089ZCEmTy","some","hasParams","get","utm_content","CLICK_ID_KEYS","isClickEventSent","nclid","twclid"];return(ce=function(){return t})()}ae.STORAGE_KEY=oe(500),ae.CLICK_ID_KEYS=["gclid",oe(522),oe(495),oe(562),oe(547),oe(491),oe(563)],ae.CAMPAIGN_KEYS=[oe(521),oe(494),"ad_group",oe(537),oe(520),oe(501),oe(523)],ae[oe(513)]=[oe(516),oe(564),oe(543),oe(559),oe(526)],ae.ALL_KEYS=[...ae[oe(560)],...ae[oe(548)],...ae[oe(513)]];const le=de;function de(t,e){const n=ue();return(de=function(t,e){return n[t-=479]})(t,e)}function ue(){const t=["✅ Event tracked:","_config","events","1550660nuzsVT","API key not configured for event tracking.","749416cHwOqR","Event tracking failed: ","undefined","sessionStorage","setDeviceInfo","status","debug","79918UwAikX","4gNdVik","get","length","❌ API Error Response:","attributionId","isReady","setUserProperties","application/json","sendAttributionToServer","setDeviceProperty","⏭️ No tracking parameters found, skipping attribution registration","setItem","1396720MJEsRt","log","Events module not initialized. Call AdStage.init() first.","🔑 Request headers:","apiKey","1783734OAZVYx","562545XlYBrf","adstage_attribution_id","👤 User properties set:","Attribution registration failed: ","statusText","📦 Attribution request body:","📊 Events module initialized","API key not configured for attribution registration.","📱 User provided device info cleared","getUserInfo","❌ Failed to track event:","stringify","✅ Attribution registered:","keys","warn","registerAttribution","track","getUserDeviceInfo","getConfig","getCurrentUserProperties","📊 Attribution included:","text","1057420KSuDUm","create","clearDeviceInfo","getDeviceInfo","sendEventToServer","POST","getAttributionId","init","getUserProperties","📡 Request URL:","_isReady","Event data:","error"];return(ue=function(){return t})()}!function(){const t=de,e=ue();for(;;)try{if(170684===parseInt(t(496))/1*(parseInt(t(495))/2)+parseInt(t(514))/3+-parseInt(t(488))/4+-parseInt(t(486))/5+parseInt(t(513))/6+-parseInt(t(536))/7+parseInt(t(508))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class pe{constructor(){const t=de;this[t(480)]=!1,this[t(484)]=null}[le(543)](t){const e=le;this[e(484)]=t,this[e(480)]=!0,t[e(494)]&&console[e(509)](e(520))}[le(501)](){return this[le(480)]}[le(532)](){return this[le(484)]}[le(502)](t){const e=le;ne.setUserProperties(t),this[e(484)]?.[e(494)]&&console[e(509)](e(516),t)}[le(544)](){return ne.getCurrentUserProperties()}setDeviceInfo(t){const e=le;$t[e(492)](t),this[e(484)]?.[e(494)]&&console[e(509)]("📱 Device info set:",t)}setDeviceProperty(t,e){const n=le;$t[n(505)](t,e),this[n(484)]?.[n(494)]&&console[n(509)]("📱 Device property set:",t,e)}[le(538)](){const t=le;$t.clearDeviceInfo(),this[t(484)]?.debug&&console[t(509)](t(522))}getUserDeviceInfo(){return $t[le(531)]()}[le(539)](){return $t.getDeviceInfo()}[le(523)](){return ne[le(523)]()}[le(533)](){return ne[le(533)]()}async[le(530)](t,e){const n=le;if(this[n(480)])if(this._config?.[n(512)])try{const r=this[n(542)]();if(r){const s={eventName:t,sdkVersion:I(),device:$t.getDeviceInfo(),user:ne[n(523)](),attributionId:r,params:e||{}};return await this[n(540)](s),void(this[n(484)][n(494)]&&console[n(509)]("✅ Event tracked with attribution ID:",t,r))}const s=ae.toAttributionObject(),o={eventName:t,sdkVersion:I(),device:$t[n(539)](),user:ne[n(523)](),...s&&{attribution:s},params:e||{}};await this[n(540)](o),this[n(484)][n(494)]&&(console[n(509)](n(483),t,e),s&&console[n(509)](n(534),s))}catch(r){console[n(482)](n(524),r),this._config[n(494)]&&console.error(n(481),{eventName:t,properties:e})}else console[n(528)](n(487));else console.warn(n(510))}async[le(529)](t){const e=le;if(!this._isReady)return console.warn(e(510)),null;if(!this._config?.[e(512)])return console[e(528)](e(521)),null;try{const n=ae[e(497)]();if(!n||0===Object[e(527)](n)[e(498)])return this._config.debug&&console[e(509)](e(506)),null;const r=await this[e(504)]({deviceId:t,referrerParams:n});return this[e(484)][e(494)]&&console[e(509)](e(526),r),r.attributionId&&sessionStorage[e(507)](e(515),r[e(500)]),r}catch(t){return console[e(482)]("❌ Failed to register attribution:",t),null}}getAttributionId(){const t=le;return typeof window!==t(490)&&window[t(491)]?sessionStorage.getItem(t(515)):null}async trackWithAttributionId(t,e){return this[le(530)](t,e)}async[le(540)](t){const e=le,n={..._[e(537)](this[e(484)].apiKey),"Content-Type":e(503)};this[e(484)]?.[e(494)]&&(console[e(509)](e(511),n),console.log(e(479),H[e(485)][e(530)]()),console[e(509)]("📦 Request body:",t));const r=await fetch(H[e(485)][e(530)](),{method:e(541),headers:n,body:JSON[e(525)](t)});if(!r.ok){const t=await r[e(535)]();throw console[e(482)](e(499),t),new Error(e(489)+r.status+" "+r[e(518)])}}async[le(504)](t){const e=le,n={..._[e(537)](this[e(484)].apiKey),"Content-Type":"application/json"};this[e(484)]?.[e(494)]&&(console[e(509)]("🔑 Attribution request headers:",n),console.log("📡 Attribution request URL:",H[e(485)][e(529)]()),console.log(e(519),t));const r=await fetch(H[e(485)][e(529)](),{method:e(541),headers:n,body:JSON[e(525)](t)});if(!r.ok){const t=await r[e(535)]();throw console[e(482)](e(499),t),new Error(e(517)+r[e(493)]+" "+r.statusText)}return r.json()}}const he=fe;function fe(t,e){const n=ge();return(fe=function(t,e){return n[t-=318]})(t,e)}function ge(){const t=["captureFromUrl","14831pNyvug","10956QIJqIP","userAgent","📊 AdStage Debug: 현재 viewable 추적 상태","adstage_device_id","warn","✅ Attribution registered:","📊 Tracking parameters captured:","7447Jnlcfk","toString","...","25448800rmYYgI","web-","toAttributionObject","error","18nzzemc","230buWHgL","baseUrl",")의 viewable 추적 초기화됨","markClickEventSent","1712CBbvqn","charCodeAt","isReady","318208sPhVal","getItem","🔍 Should send click event:","channel","instance","substring","_isInitialized","track","undefined","getConfig","4319kKwRqL","now","function","ads","hasClickId","AdStage.config accessed before initialization","web","catch","log","tracking_params","debug","size","❌ Error in click event auto-tracking:","expiresAt","shouldSendClickEvent","random","apiKey","setBaseUrl","API key is required for AdStage initialization","length","join","_config","width","10CqDobT","config","❌ Failed to register attribution:","278658LmBsmF","get","❌ Failed to auto-track click event:","registerAttribution","1965858krJKkI","events","AdStage not initialized. Call AdStage.init() first.","getInstance","modules","abs","reset","🚀 AdStage SDK initialized (sync mode)","init","setItem","viewableTracker","toISOString","122YvBsAH","2.0.0","attributionId","campaign","height"];return(ge=function(){return t})()}!function(){const t=fe,e=ge();for(;;)try{if(531504===parseInt(t(328))/1*(parseInt(t(322))/2)+parseInt(t(343))/3*(-parseInt(t(351))/4)+-parseInt(t(384))/5*(parseInt(t(391))/6)+-parseInt(t(361))/7*(-parseInt(t(348))/8)+parseInt(t(387))/9*(-parseInt(t(344))/10)+-parseInt(t(336))/11*(parseInt(t(329))/12)+parseInt(t(339))/13)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class me{constructor(){const t=fe;this[t(357)]=!1,this[t(382)]=null,this[t(385)]=new Jt,this.ads=new Yt,this.events=new pe}static[he(318)](t){const e=he;!me.instance&&(me[e(355)]=new me);const n=me[e(355)];if(!t[e(377)])throw new Error(e(379));n[e(382)]={timeout:3e4,debug:!1,modules:[e(364),"events",e(385)],...t},n[e(382)].baseUrl&&(H[e(378)](n[e(382)][e(345)]),t[e(371)]&&console.log("🌐 API endpoint configured:",n._config.baseUrl));const r=n[e(382)][e(395)]||[e(364),"events",e(385)];for(const t of r){const r=n[t];r&&typeof r.init===e(363)&&r.init(n[e(382)])}if(n[e(357)]=!0,typeof window!==e(359)){const r=ae[e(327)]();r&&t[e(371)]&&console[e(369)](e(335),r),r&&ae[e(365)]()&&setTimeout(async()=>{const r=e;try{const e=n.generateDeviceId(),s=await n[r(392)][r(390)](e);s&&t[r(371)]&&console.log(r(334),{attributionId:s[r(324)],channel:s[r(354)],campaign:s[r(325)],expiresAt:s[r(374)]})}catch(t){console[r(342)](r(386),t)}},100);const s=ae[e(375)]();t.debug&&(console[e(369)](e(353),s),!s&&console[e(369)]("⏭️ Skipping click event (duplicate or no click ID)")),s&&setTimeout(()=>{const r=e;try{const e=ae[r(388)](),s=ae[r(341)]();n[r(392)][r(358)]("click",{_autoGenerated:!0,_source:r(370),_timestamp:(new Date)[r(321)](),_platform:r(367)}).then(()=>{const n=r;ae[n(347)](),t[n(371)]&&console[n(369)]("✅ Auto-tracked click event with tracking params:",{attribution:s,trackingParams:e})})[r(368)](t=>{const e=r;console.error(e(389),t)})}catch(t){console.error(r(373),t)}},200)}t[e(371)]&&console[e(369)](e(398),{version:e(323),modules:r,apiKey:t.apiKey[e(356)](0,8)+e(338),mode:"development"})}static[he(350)](){const t=he;return me[t(355)]?._isInitialized||!1}static[he(360)](){const t=he;return me[t(355)]?.[t(382)]||null}static[he(394)](){const t=he;if(!me.instance)throw new Error(t(393));return me.instance}static get[he(364)](){const t=he;try{return me[t(394)]()[t(364)]}catch(e){throw console[t(333)]("AdStage.ads accessed before initialization"),e}}static get[he(392)](){const t=he;try{return me[t(394)]()[t(392)]}catch(t){throw console.warn("AdStage.events accessed before initialization"),t}}static get[he(385)](){const t=he;try{return me.getInstance()[t(385)]}catch(e){throw console.warn(t(366)),e}}static[he(397)](){const t=he;me.instance&&(me[t(355)][t(357)]=!1,me[t(355)][t(382)]=null)}generateDeviceId(){const t=he;if(typeof window===t(359))return"server-"+Math[t(376)]()[t(337)](36)[t(356)](2,15);const e=localStorage[t(352)]("adstage_device_id");if(e)return e;const n=[navigator[t(330)],navigator.language,screen[t(383)]+"x"+screen[t(326)],(new Date).getTimezoneOffset(),navigator.hardwareConcurrency||0][t(381)]("|");let r=0;for(let e=0;e<n[t(380)];e++){r=(r<<5)-r+n[t(349)](e),r&=r}const s=t(340)+Math[t(396)](r)[t(337)](36)+"-"+Date[t(362)]()[t(337)](36);return localStorage[t(319)](t(332),s),s}}function ye(t,e){var n=Ie();return(ye=function(t,e){return n[t-=117]})(t,e)}function ve(t,e){var n=ye;return me[n(119)]()?me.events.track(t,e):(console[n(122)](n(124)),Promise[n(126)]())}function Ie(){var t=["resolve","2582064pKtDJU","setUserProperties","2072700LTtahV","147138NpKbOo","301638CAuMDO","14vRkhuL","11002599PUxUNc","3749700AVuQTW","isReady","2gmPLHH","events","warn","getUserProperties","AdStage not initialized. Call AdStage.init() first.","605612aDLnng"];return(Ie=function(){return t})()}function be(t){var e=ye;me[e(119)]()?me[e(121)][e(128)](t):console[e(122)](e(124))}function we(){var t=ye;if(me.isReady())return me[t(121)][t(123)]();console.warn("AdStage not initialized. Call AdStage.init() first.")}me[he(371)]={clearAllViewable:()=>{const t=he;it.clear(),console[t(369)]("✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨")},clearAdViewable:(t,e)=>{const n=he;it.clearAdViewable(t,e),console[n(369)]("✅ AdStage Debug: 광고 "+t+"("+e+n(346))},getViewableStatus:()=>{const t=he;console.log(t(331),{trackedCount:it.viewableTracker[t(372)],trackedItems:Array.from(it[t(320)])})}},function(){for(var t=ye,e=Ie();;)try{if(386842===parseInt(t(125))/1+parseInt(t(120))/2*(parseInt(t(130))/3)+-parseInt(t(129))/4+-parseInt(t(118))/5+-parseInt(t(131))/6*(-parseInt(t(132))/7)+-parseInt(t(127))/8+parseInt(t(117))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();var ke,Ee={exports:{}},Se={},xe={exports:{}},Ae={};xe.exports=function(){if(ke)return Ae;ke=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"),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 v=y.prototype=new m;v.constructor=y,h(v,g.prototype),v.isPureReactComponent=!0;var I=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 l=Array(c),d=0;d<c;d++)l[d]=arguments[d+2];o.children=l}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,I(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+":",I(n))for(var l=0;l<n.length;l++){var d=o+A(a=n[l],l);c+=C(a,r,s,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,r,s,d=o+A(a,l++),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 _(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var R={current:null},D={transition:null},L={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:D,ReactCurrentOwner:w};function P(){throw Error("act(...) is not supported in production builds of React.")}return Ae.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}},Ae.Component=g,Ae.Fragment=n,Ae.Profiler=s,Ae.PureComponent=y,Ae.StrictMode=r,Ae.Suspense=c,Ae.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,Ae.act=P,Ae.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(l in n)b.call(n,l)&&!k.hasOwnProperty(l)&&(s[l]=void 0===n[l]&&void 0!==c?c[l]:n[l])}var l=arguments.length-2;if(1===l)s.children=r;else if(1<l){c=Array(l);for(var d=0;d<l;d++)c[d]=arguments[d+2];s.children=c}return{$$typeof:t,type:e.type,key:o,ref:i,props:s,_owner:a}},Ae.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},Ae.createElement=E,Ae.createFactory=function(t){var e=E.bind(null,t);return e.type=t,e},Ae.createRef=function(){return{current:null}},Ae.forwardRef=function(t){return{$$typeof:a,render:t}},Ae.isValidElement=S,Ae.lazy=function(t){return{$$typeof:d,_payload:{_status:-1,_result:t},_init:_}},Ae.memo=function(t,e){return{$$typeof:l,type:t,compare:void 0===e?null:e}},Ae.startTransition=function(t){var e=D.transition;D.transition={};try{t()}finally{D.transition=e}},Ae.unstable_act=P,Ae.useCallback=function(t,e){return R.current.useCallback(t,e)},Ae.useContext=function(t){return R.current.useContext(t)},Ae.useDebugValue=function(){},Ae.useDeferredValue=function(t){return R.current.useDeferredValue(t)},Ae.useEffect=function(t,e){return R.current.useEffect(t,e)},Ae.useId=function(){return R.current.useId()},Ae.useImperativeHandle=function(t,e,n){return R.current.useImperativeHandle(t,e,n)},Ae.useInsertionEffect=function(t,e){return R.current.useInsertionEffect(t,e)},Ae.useLayoutEffect=function(t,e){return R.current.useLayoutEffect(t,e)},Ae.useMemo=function(t,e){return R.current.useMemo(t,e)},Ae.useReducer=function(t,e,n){return R.current.useReducer(t,e,n)},Ae.useRef=function(t){return R.current.useRef(t)},Ae.useState=function(t){return R.current.useState(t)},Ae.useSyncExternalStore=function(t,e,n){return R.current.useSyncExternalStore(t,e,n)},Ae.useTransition=function(){return R.current.useTransition()},Ae.version="18.3.1",Ae}();var Ce,Te=xe.exports;
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
@@ -7,4 +7,4 @@ var t,e,n,r,s,o,i,a,c,l,d,u;function p(){var t=["WEB","MOBILE","INTERSTITIAL","4
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */Ae.exports=function(){if(Re)return Ce;Re=1;var t=De,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(t,n,i){var a,c={},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)r.call(n,a)&&!o.hasOwnProperty(a)&&(c[a]=n[a]);if(t&&t.defaultProps)for(a in n=t.defaultProps)void 0===c[a]&&(c[a]=n[a]);return{$$typeof:e,type:t,key:l,ref:d,props:c,_owner:s.current}}return Ce.Fragment=n,Ce.jsx=i,Ce.jsxs=i,Ce}();var Le=Ae.exports;const Be=De.createContext(null);function Pe({children:t,config:e}){const[n,r]=De.useState(!1),[s,o]=De.useState(null),[i,a]=De.useState(null),c=t=>{try{a(null),n&&ge.reset(),ge.init(t),o(t),r(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),r(!1),o(null)}};De.useEffect(()=>{e&&!n&&c(e)},[e,n]);const l={isInitialized:n,config:s,initialize:c,reset:()=>{try{ge.reset(),r(!1),o(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:i};return Le.jsx(Be.Provider,{value:l,children:t})}function Me(){const t=De.useContext(Be);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function ze(){const{isInitialized:t}=Me();return t?ge:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}function Ue(t,e){var n=Oe();return(Ue=function(t,e){return n[t-=432]})(t,e)}function Oe(){var t=["141402vgWWgY","20482416ZTbeqE","16948HItxIk","482567jLYJrb","597CriMhA","276984SedbGN","2080rlhkGh","3469907epdBWi"];return(Oe=function(){return t})()}!function(){for(var t=Ue,e=Oe();;)try{if(622422===-parseInt(t(432))/1+-parseInt(t(437))/2+parseInt(t(433))/3*(-parseInt(t(439))/4)+parseInt(t(435))/5+-parseInt(t(434))/6+-parseInt(t(436))/7+parseInt(t(438))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ne=Ve;function Ve(t,e){const n=Fe();return(Ve=function(t,e){return n[t-=288]})(t,e)}function Fe(){const t=["2977119xDtgRF","9rwwkvD","24NhcEay","4757300WumabA","6999950wmWMrJ","2NgyEbu","695124JwWGbR","533182eolfIt","events","3925614SAkPWz","undefined","11reucqF","9994551IyCXWZ","config","2.0.0"];return(Fe=function(){return t})()}!function(){const t=Ve,e=Fe();for(;;)try{if(826385===-parseInt(t(294))/1*(parseInt(t(292))/2)+parseInt(t(288))/3*(parseInt(t(293))/4)+-parseInt(t(290))/5+parseInt(t(296))/6+parseInt(t(299))/7+parseInt(t(289))/8*(-parseInt(t(302))/9)+-parseInt(t(291))/10*(-parseInt(t(298))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const je=Ne(301),He=["ads",Ne(295),Ne(300)];typeof window!==Ne(297)&&(window.AdStage=ge);export{ge as AdStage,Pe as AdStageProvider,je as SDK_VERSION,He as SUPPORTED_MODULES,we as getUserId,xe as getUserProperties,Ie as setUserId,ke as setUserProperties,ye as track,Me as useAdStageContext,ze as useAdStageInstance};
10
+ */Ee.exports=function(){if(Ce)return Se;Ce=1;var t=Te,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(t,n,i){var a,c={},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)r.call(n,a)&&!o.hasOwnProperty(a)&&(c[a]=n[a]);if(t&&t.defaultProps)for(a in n=t.defaultProps)void 0===c[a]&&(c[a]=n[a]);return{$$typeof:e,type:t,key:l,ref:d,props:c,_owner:s.current}}return Se.Fragment=n,Se.jsx=i,Se.jsxs=i,Se}();var _e=Ee.exports;const Re=Te.createContext(null);function De({children:t,config:e}){const[n,r]=Te.useState(!1),[s,o]=Te.useState(null),[i,a]=Te.useState(null),c=t=>{try{a(null),n&&me.reset(),me.init(t),o(t),r(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),r(!1),o(null)}};Te.useEffect(()=>{e&&!n&&c(e)},[e,n]);const l={isInitialized:n,config:s,initialize:c,reset:()=>{try{me.reset(),r(!1),o(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:i};return _e.jsx(Re.Provider,{value:l,children:t})}function Le(){const t=Te.useContext(Re);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function Pe(){const{isInitialized:t}=Le();return t?me:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}function Be(t,e){var n=Oe();return(Be=function(t,e){return n[t-=115]})(t,e)}function Oe(){var t=["2118579DhDiLZ","1719aslfkX","8255300fNKywI","3283928kxpHAV","46291Cxeodl","54658076cOudpR","1cmYUCb","44360JQmSBF","7007625JpZTZG","4bknYjE","120yVcStK"];return(Oe=function(){return t})()}!function(){for(var t=Be,e=Oe();;)try{if(853409===-parseInt(t(122))/1*(parseInt(t(119))/2)+parseInt(t(116))/3*(-parseInt(t(125))/4)+-parseInt(t(124))/5+parseInt(t(115))/6*(-parseInt(t(120))/7)+-parseInt(t(123))/8*(parseInt(t(117))/9)+parseInt(t(118))/10+parseInt(t(121))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ue=Ne;function ze(){const t=["58734xMayMg","8lFaWcw","5360635jZnbce","184TMrzOh","4606790zidHNd","18011796GmXLLr","config","154pPTkDA","1807779BZTXmL","undefined","2.0.0","9480sFGsId","AdStage","3108186alDapE","ads","14eUPoHa"];return(ze=function(){return t})()}function Ne(t,e){const n=ze();return(Ne=function(t,e){return n[t-=427]})(t,e)}!function(){const t=Ne,e=ze();for(;;)try{if(606304===parseInt(t(440))/1*(parseInt(t(428))/2)+parseInt(t(441))/3*(-parseInt(t(434))/4)+parseInt(t(435))/5+-parseInt(t(430))/6*(-parseInt(t(432))/7)+parseInt(t(436))/8*(parseInt(t(433))/9)+parseInt(t(437))/10+-parseInt(t(438))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Me=Ue(427),Ve=[Ue(431),"events",Ue(439)];typeof window!==Ue(442)&&(window[Ue(429)]=me);export{me as AdStage,De as AdStageProvider,Me as SDK_VERSION,Ve as SUPPORTED_MODULES,ae as TrackingParamsModule,we as getUserProperties,be as setUserProperties,ve as track,Le as useAdStageContext,Pe as useAdStageInstance};