@adstage/web-sdk 3.0.10 → 3.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.standalone.js +2 -2
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
- package/src/core/adstage.ts +83 -18
- package/src/modules/events/events-module.ts +15 -4
- package/src/modules/tracking/tracking-params.ts +19 -18
package/dist/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as t}from"react/jsx-runtime";import{createContext as e,useState as n,useEffect as s,useContext as i}from"react";var r,o,a,c,d,l,u,p,h,f,g,m;function I(){var t=["MOBILE","456308qilFnt","INTERSTITIAL","22071LZRHgG","1989792JcYzjY","1482918OesZvN","VIEWABLE","7114HMuRNC","862135zUcNMs","NATIVE","TABLET","DESKTOP","534cxBGno","CLICK","TEXT","WEB","3165903IRhlNj","BANNER","VIDEO","102UcIzHM"];return(I=function(){return t})()}function v(t,e){var n=I();return(v=function(t,e){return n[t-=500]})(t,e)}!function(){for(var t=v,e=I();;)try{if(250716===-parseInt(t(510))/1*(parseInt(t(502))/2)+parseInt(t(508))/3+parseInt(t(504))/4+-parseInt(t(511))/5+parseInt(t(515))/6*(parseInt(t(506))/7)+parseInt(t(507))/8+-parseInt(t(519))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),o=r||(r={}),a=v,o.BANNER=a(500),o.POPUP="POPUP",o[a(505)]=a(505),o[a(512)]=a(512),o[a(501)]="VIDEO",o[a(517)]=a(517),(d=c||(c={}))[(l=v)(518)]=l(518),d[l(503)]=l(503),(p=u||(u={}))[(h=v)(509)]=h(509),p[h(516)]=h(516),(g=f||(f={}))[(m=v)(514)]=m(514),g[m(503)]="MOBILE",g[m(513)]="TABLET";const y=w;function b(){const t=["ms)","✅ 컨테이너 발견: ","open","documentElement","add","safeWindowOpen","forEach","752vWrDWj","isDOMReady","isSSR","safeQuerySelectorAll","referrer","createElement","readyState","25480LRqGIl","safeCreateElement","3220300dwkJuh","safeQuerySelector","⏳ 컨테이너 대기 시작: ","removeChild","removeEventListener","번째 시도, ","getDocumentProperty","remove",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"title","safeRemoveChild","번 시도)","addEventListener","log","202scFokR","innerWidth","149643pJCLWK","all","href","getComputedStyle","14877792NzoUld","⏳ 컨테이너 대기 중: ","classList","getElementById","safeSetTextContent","pageYOffset","getWindowProperty","pageXOffset","safeGetElementById","undefined","getPageInfo","map",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"1622760eTXWml","querySelectorAll","entries","safeSetInnerHTML","ms 경과)","textContent","safeAddEventListener","waitForElement","6mLYdNn","DOMContentLoaded","safeRemoveClass","appendChild","getViewportInfo","querySelector","waitForDOM","DOM을 사용할 수 없는 환경입니다.","safeApplyStyles","282AxNwQC","22ierZOC","safeAddClass","setProperty","isBrowser","safeAppendChild","from","9814483ZxwGiA","ms (","waitForElements","style","canUseDOM","87VZchhy","safeGetComputedStyle","safeRemoveEventListener"];return(b=function(){return t})()}function w(t,e){const n=b();return(w=function(t,e){return n[t-=378]})(t,e)}!function(){const t=w,e=b();for(;;)try{if(810911===-parseInt(t(408))/1*(-parseInt(t(444))/2)+parseInt(t(456))/3*(-parseInt(t(392))/4)+-parseInt(t(394))/5*(-parseInt(t(435))/6)+parseInt(t(451))/7+-parseInt(t(385))/8*(-parseInt(t(410))/9)+-parseInt(t(427))/10+parseInt(t(445))/11*(-parseInt(t(414))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class k{static[y(448)](){return typeof window!==y(423)&&"undefined"!=typeof document}static[y(387)](){return!this.isBrowser()}static[y(455)](){const t=y;return this.isBrowser()&&void 0!==document[t(391)]}static[y(422)](t){const e=y;return this[e(455)]()?document[e(417)](t):null}static[y(395)](t){const e=y;return this[e(455)]()?document[e(440)](t):null}static[y(388)](t){const e=y;return this[e(455)]()?Array[e(450)](document[e(428)](t)):[]}static[y(393)](t){const e=y;return this[e(455)]()?document[e(390)](t):null}static safeAddEventListener(t,e,n,s){const i=y;this.canUseDOM()&&t&&t[i(406)](e,n,s)}static[y(458)](t,e,n,s){const i=y;this[i(455)]()&&t&&t[i(398)](e,n,s)}static[y(420)](t,e){return this[y(448)]()?window[t]??e:e}static[y(400)](t,e){return this[y(455)]()?document[t]??e:e}static[y(383)](t,e,n){const s=y;return this[s(448)]()?window[s(380)](t,e,n):null}static[y(457)](t){const e=y;return this[e(448)]()&&t?window[e(413)](t):null}static[y(386)](){const t=y;return!!this.canUseDOM()&&"loading"!==document[t(391)]}static[y(441)](){return new Promise(t=>{const e=w;this[e(455)]()?this[e(386)]()?t():this[e(433)](document,e(436),()=>t()):t()})}static[y(443)](t,e){const n=y;this[n(455)]()&&t&&Object[n(429)](e)[n(384)](([e,s])=>{const i=n;t[i(454)][i(447)](e,s)})}static[y(446)](t,e){const n=y;this.canUseDOM()&&t&&t[n(416)][n(382)](e)}static[y(437)](t,e){const n=y;this.canUseDOM()&&t&&t[n(416)][n(401)](e)}static[y(418)](t,e){const n=y;this[n(455)]()&&t&&(t[n(432)]=e)}static[y(430)](t,e){this.canUseDOM()&&t&&(t.innerHTML=e)}static[y(449)](t,e){const n=y;this[n(455)]()&&t&&e&&t[n(438)](e)}static[y(404)](t,e){const n=y;this[n(455)]()&&t&&e&&t[n(397)](e)}static[y(424)](){const t=y;return{url:this[t(420)]("location",{href:""})[t(412)],title:this[t(400)](t(403),""),referrer:this[t(400)](t(389),"")}}static[y(439)](){const t=y;return{width:this.getWindowProperty(t(409),0),height:this[t(420)]("innerHeight",0),pixelRatio:this.getWindowProperty("devicePixelRatio",1)}}static getScrollInfo(){const t=y;return{scrollTop:this[t(455)]()?window[t(419)]||document[t(381)].scrollTop:0,scrollLeft:this[t(420)](t(421),0)}}static async waitForElement(t,e={}){const n=y,{timeout:s=3e3,retryInterval:i=100,debug:r=!1}=e;if(!this.canUseDOM())throw new Error(n(442));const o=document[n(417)](t);return o?(r&&console[n(407)]("✅ 컨테이너 즉시 발견: "+t),o):(r&&console[n(407)](n(396)+t+" (최대 "+s+n(378)),new Promise((e,n)=>{let o=0;const a=Math.ceil(s/i),c=()=>{const d=w;o++;const l=document[d(417)](t);if(l)return r&&console[d(407)](d(379)+t+" ("+o+d(399)+o*i+d(431)),void e(l);if(o>=a){const e='❌ 컨테이너를 찾을 수 없습니다: "'+t+d(426)+t+d(402)+s+d(452)+o+d(405);return r&&console.error(e),void n(new Error(e))}r&&o%10==0&&console[d(407)](d(415)+t+" ("+o+"/"+a+")");const u=Math.min(i*Math.pow(1.2,o),500);setTimeout(c,u)};setTimeout(c,i)}))}static async[y(453)](t,e={}){const n=y,s=t[n(425)](t=>this[n(434)](t,e));return Promise[n(411)](s)}}const E=A;function A(t,e){const n=x();return(A=function(t,e){return n[t-=350]})(t,e)}function x(){const t=["3077050zIHgYe","4153047eELCqh"," AdStageSDK/","userAgent","4swGqhx","7lLsfLd","3.0.10","3058368kCWByA","760ZKNqwH","11856757GkLdDN","2zfTTVE","12qHuNkN","145467PLnhZE","6798728kGOlOm","1478097ZbznIf","undefined"];return(x=function(){return t})()}!function(){const t=A,e=x();for(;;)try{if(800912===parseInt(t(359))/1*(-parseInt(t(355))/2)+parseInt(t(362))/3*(parseInt(t(365))/4)+-parseInt(t(361))/5+parseInt(t(352))/6+-parseInt(t(350))/7*(-parseInt(t(358))/8)+-parseInt(t(357))/9*(-parseInt(t(353))/10)+-parseInt(t(354))/11*(parseInt(t(356))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const S=E(351);function C(){return S}function T(t,e){const n=z();return(T=function(t,e){return n[t-=435]})(t,e)}const R=T;!function(){const t=T,e=z();for(;;)try{if(257803===-parseInt(t(475))/1+-parseInt(t(472))/2*(-parseInt(t(485))/3)+parseInt(t(462))/4*(-parseInt(t(473))/5)+-parseInt(t(450))/6+-parseInt(t(458))/7*(-parseInt(t(463))/8)+-parseInt(t(488))/9*(-parseInt(t(480))/10)+-parseInt(t(453))/11*(-parseInt(t(471))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class L{static[R(490)](){const t=R;if(!k[t(469)]())return t(470)+Date[t(459)]();const e=localStorage[t(437)](t(436));if(e)return e;const n="device_"+Math[t(447)]()[t(476)](36)[t(443)](2,9)+"_"+Date[t(459)]();return localStorage[t(489)](t(436),n),n}static[R(456)](){const t=R;if(!k[t(469)]())return t(439)+Date.now();const e=sessionStorage[t(437)](t(451));if(e)return e;const n=t(478)+Math.random()[t(476)](36)[t(443)](2,9)+"_"+Date[t(459)]();return sessionStorage[t(489)]("adstage_session_id",n),n}static[R(465)](){const t=R;return!!k[t(469)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(474)](navigator.userAgent)}static[R(440)](){const t=R;if(!k[t(469)]())return t(484);const e=navigator[t(435)][t(454)]();return/iphone|ipad|ipod/[t(474)](e)?t(467):/android/[t(474)](e)?t(479):L[t(465)]()?t(484):"desktop"}static collectDeviceInfo(){const t=R,e=k[t(449)]();return{deviceId:L[t(490)](),sessionId:L[t(456)](),osVersion:k[t(469)]()?navigator[t(461)]:"SSR",deviceModel:k[t(469)]()?navigator.platform:t(482),appVersion:"1.0.0",sdkVersion:C(),language:k.isBrowser()&&navigator[t(457)]||"ko",country:"KR",ipAddress:"",userAgent:k.isBrowser()?navigator[t(435)]:t(482),timezone:k.isBrowser()?Intl[t(448)]()[t(460)]().timeZone:t(487),viewportWidth:e[t(468)],viewportHeight:e[t(441)],screenWidth:k[t(469)]()?screen[t(468)]:0,screenHeight:k[t(469)]()?screen[t(441)]:0,colorDepth:k[t(469)]()?screen.colorDepth:24,pixelRatio:e.pixelRatio,connectionType:k[t(469)]()?navigator.connection?.[t(446)]||t(483):"unknown",platform:L[t(440)]()}}static[R(481)](t){const e=R;let n=k[e(455)](t);if(!n){const s=k[e(438)]("#"+t+e(477));s&&(n=s)}if(!n&&(n=k.safeQuerySelector(e(466)+t+'"]')),!n)return"unknown";const s=n[e(442)](),i=k[e(445)]();return"x:"+Math.round(s.left)+e(464)+Math[e(444)](s[e(486)]+i[e(452)])}}function z(){const t=["web","855Uuvljx","top","UTC","81pRoWlm","setItem","generateDeviceId","userAgent","adstage_device_id","getItem","safeQuerySelector","ssr_session_","getPlatform","height","getBoundingClientRect","substr","round","getScrollInfo","effectiveType","random","DateTimeFormat","getViewportInfo","1571922fJWJSK","adstage_session_id","scrollTop","80146BUzlii","toLowerCase","safeGetElementById","generateSessionId","language","576562OeFNXb","now","resolvedOptions","platform","4KhAIbt","8OURxwH",",y:","isMobile",'[data-adstage-slot-id="',"ios","width","isBrowser","ssr_device_","804APiFrE","2104xtiVUh","2336455BewAms","test","27195ATpbzj","toString"," .adstage-slider-wrapper","session_","android","159920NYYbPS","getSlotPosition","SSR","unknown"];return(z=function(){return t})()}const D=B;function B(t,e){const n=P();return(B=function(t,e){return n[t-=310]})(t,e)}!function(){const t=B,e=P();for(;;)try{if(253316===parseInt(t(310))/1*(parseInt(t(323))/2)+parseInt(t(329))/3*(parseInt(t(327))/4)+parseInt(t(311))/5*(-parseInt(t(328))/6)+parseInt(t(318))/7*(parseInt(t(320))/8)+parseInt(t(312))/9+-parseInt(t(322))/10+-parseInt(t(313))/11*(parseInt(t(324))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class U{static[D(314)](t,e){const n=D;if(!t)throw new Error(n(317));const s={"x-api-key":t,"Content-Type":e?.[n(321)]||n(316)};return typeof navigator!==n(325)&&(s[n(326)]=e?.[n(315)]||navigator.userAgent),s}static[D(319)](t,e){const n=D,s=U[n(314)](t);return e?.[n(315)]&&(s[n(326)]=e[n(315)]),s}}function P(){const t=["11NMUXTm","create","userAgent","application/json","API key is required","161YqvYsz","createForEvents","133808axEzIo","contentType","1768100GmvpGf","2644aiybFx","6446928sRKOoZ","undefined","User-Agent","520eOqDRa","2645058ljbOHP","1419opWBWZ","366CyLJJd","5YUdnaJ","4303557MihYbI"];return(P=function(){return t})()}const N=O;function O(t,e){const n=M();return(O=function(t,e){return n[t-=292]})(t,e)}function M(){const t=["🚀 AdvertisementEventTracker: Processing ","NOT_SET","📡 API Response Status: ","get","parseNumericValue","statusText","apiKey","getPageInfo","width","). Skipping event tracking."," in slot ","status"," for ad ","532734JayskM","height","3837414qyKkFI","...","❌ Failed to track advertisement event:","url","baseUrl","error","🌐 Full API call details:","277465uugkWP","log","sessionId","debug","referrer","platform","length",". Skipping event tracking to prevent incorrect adType.","trackAdvertisementEvent","stringify","title","containerId","createForEvents","getSlotPosition","API request failed: ","VIEWABLE","number","getElementById","✅ Successfully tracked advertisement event: ","querySelector","462595DOqEbn","string","now","⚠️ DOM element not found for slotId: ","text"," event for ad ","4073604pklHpC","/advertisements/events/","warn","1572516jqxEzB","515181aIXqfh","slots"];return(M=function(){return t})()}!function(){const t=O,e=M();for(;;)try{if(410559===-parseInt(t(304))/1+parseInt(t(329))/2+-parseInt(t(314))/3+-parseInt(t(313))/4+-parseInt(t(338))/5+parseInt(t(310))/6+parseInt(t(331))/7)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class _{constructor(t,e,n,s){const i=O;this[i(335)]=t,this[i(322)]=e,this[i(341)]=n,this[i(315)]=s}async[N(292)](t,e,n){const s=N;try{this[s(341)]&&console[s(339)](s(316)+n+s(309)+t+s(326)+e);const i=this.slots[s(319)](e);if(!i)return void(this[s(341)]&&console[s(312)]("⚠️ Slot not found for slotId: "+e+s(345)));if(!(document[s(301)](i[s(295)])||document[s(303)]('[data-adstage-slot-id="'+e+'"]')))return void(this[s(341)]&&console.warn(s(307)+e+" (containerId: "+i[s(295)]+s(325)));const r=L.collectDeviceInfo(),o={adType:i.adType,platform:r[s(343)],deviceId:r.deviceId,deviceInfo:r,pageUrl:k[s(323)]()[s(334)],pageTitle:k[s(323)]()[s(294)],referrer:k[s(323)]()[s(342)],slotId:e,slotPosition:L[s(297)](i[s(295)]),slotWidth:_[s(320)](i[s(324)]),slotHeight:_[s(320)](i[s(330)]),sessionId:r[s(340)],pageLoadTime:performance[s(306)](),metadata:{eventType:n,sdkVersion:C(),timestamp:Date.now()},...n===u[s(299)]&&{isViewable:!0,iabCompliant:!0}},a=this[s(335)]+s(311)+t+"/"+n,c=U[s(296)](this[s(322)],o);this[s(341)]&&(console[s(339)]("🚀 Sending advertisement event: "+n+" for ad "+t,{url:a,headers:c,eventData:o}),console[s(339)](s(337),{method:"POST",url:a,hasApiKey:!!this[s(322)],bodySize:JSON.stringify(o)[s(344)]}));const d=await fetch(a,{method:"POST",headers:c,body:JSON[s(293)](o)});if(this[s(341)]&&console.log(s(318)+d.status+" "+d[s(321)],{url:a,ok:d.ok}),!d.ok){const t=await d[s(308)]();throw new Error(s(298)+d[s(327)]+" "+d[s(321)]+" - "+t)}this[s(341)]&&console.log(s(302)+n+s(328)+t)}catch(i){console[s(336)](s(333),i),console[s(336)]("🔍 Debug info:",{baseUrl:this[s(335)],apiKey:this[s(322)]?this[s(322)].substring(0,8)+s(332):s(317),url:this[s(335)]+s(311)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[N(320)](t){const e=N;if(typeof t===e(300))return t;if(typeof t===e(305)){const e=parseFloat(t.replace(/px$/,""));return isNaN(e)?0:e}return 0}}function F(){var t=["68212eneAva","intersectionRatio","forEach","visible","13751536EDKwTO","1314808YtxMSZ","disconnect","117ZALkav","0px","visibilityState","6902280JsvchF","element","354885sceNEL","onViewableCallback","7317468Jfgycg","hidden","isDocumentVisible","initIntersectionObserver","IntersectionObserver","observer","isViewableTriggered","2261020plqpTY","warn"];return(F=function(){return t})()}var V=K;function K(t,e){var n=F();return(K=function(t,e){return n[t-=408]})(t,e)}!function(){for(var t=K,e=F();;)try{if(727328===-parseInt(t(426))/1+-parseInt(t(419))/2+parseInt(t(421))/3*(-parseInt(t(414))/4)+parseInt(t(412))/5+parseInt(t(428))/6+-parseInt(t(424))/7+parseInt(t(418))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class H{constructor(t,e){var n=K;this[n(410)]=null,this[n(411)]=!1,this[n(425)]=t,this.onViewableCallback=e,this.initIntersectionObserver()}[V(408)](){var t=V;t(409)in window?(this[t(410)]=new IntersectionObserver(t=>this.handleIntersection(t),{threshold:.5,rootMargin:t(422)}),this.observer.observe(this[t(425)])):console[t(413)]("IntersectionObserver not supported, viewability tracking disabled")}handleIntersection(t){var e=V;t[e(416)](t=>{var n=e;t[n(415)]>=.5&&this[n(430)]()&&!this[n(411)]&&(this[n(411)]=!0,this[n(427)]&&this.onViewableCallback())})}[V(430)](){var t=V;return!document[t(429)]&&document[t(423)]===t(417)}destroy(){var t=V;this.observer&&(this.observer[t(420)](),this[t(410)]=null)}}const j=J;!function(){const t=J,e=q();for(;;)try{if(335560===parseInt(t(174))/1*(-parseInt(t(182))/2)+-parseInt(t(183))/3+parseInt(t(178))/4*(parseInt(t(184))/5)+-parseInt(t(187))/6*(parseInt(t(171))/7)+parseInt(t(175))/8*(-parseInt(t(177))/9)+parseInt(t(181))/10*(parseInt(t(172))/11)+parseInt(t(166))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const W={production:j(168),beta:j(169)};function q(){const t=["248544jajPHE","/events/track","36eCVbvv","2101172oYgDkO","/advertisements/list","advertisements","190RpHFgo","918830uEcBAH","1920651azeJoU","5jMGGEH","setBaseUrl","custom","654jsIhnC","getBaseUrl","detail","events","/events/register/attribution","registerAttribution","baseUrl","15846840XqAvPf","production","https://api.adstage.app","https://beta-api.adstage.app","track","33978XWDYVD","140503quaapb","/advertisements/events","1EwgPQz"];return(q=function(){return t})()}j(167);const Y={advertisements:{list:j(179),detail:"/advertisements",events:j(173)},events:{track:j(176),registerAttribution:j(163)}};function J(t,e){const n=q();return(J=function(t,e){return n[t-=163]})(t,e)}class G{constructor(t){const e=j;this[e(180)]={list:()=>""+this[e(165)]+Y.advertisements.list,detail:t=>""+this.baseUrl+Y[e(180)][e(189)]+"/"+t,events:(t,n)=>""+this[e(165)]+Y[e(180)][e(190)]+"/"+t+"/"+n},this.events={track:()=>""+this[e(165)]+Y[e(190)][e(170)],registerAttribution:()=>""+this[e(165)]+Y[e(190)][e(164)]},this[e(165)]=t||W.production}[j(185)](t){this[j(165)]=t}[j(188)](){return this[j(165)]}[j(186)](t){return""+this[j(165)]+(t.startsWith("/")?t:"/"+t)}}const X=new G;function Z(){var t=["3007325vLVLeU","20NNIKUE","trackSlideViewable","🎯 Triggering VIEWABLE event for slide change: ad ","🎯 Triggering initial VIEWABLE event: ad ","12398520qxxNln","VIEWABLE","8FPJkrl","232611yjCuJX","log","22dLCAYP","trackInitialSlideViewable","7IWuYec","1077582ZEgQGP","3058641hGgpUp","1736256UmpAHU","515427rZOFqK"];return(Z=function(){return t})()}var Q=$;function $(t,e){var n=Z();return($=function(t,e){return n[t-=287]})(t,e)}!function(){for(var t=$,e=Z();;)try{if(860665===parseInt(t(302))/1+parseInt(t(299))/2*(parseInt(t(297))/3)+-parseInt(t(296))/4*(-parseInt(t(289))/5)+-parseInt(t(287))/6*(parseInt(t(301))/7)+-parseInt(t(294))/8+-parseInt(t(303))/9+-parseInt(t(290))/10*(parseInt(t(288))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class tt{static[Q(291)](t,e,n,s,i=!1){var r=Q;i&&console[r(298)](r(292)+t._id+" (index: "+n+") in slot: "+e.id),s(t._id,e.id,u.VIEWABLE)}static[Q(300)](t,e,n,s=!1){var i=Q;s&&console[i(298)](i(293)+t._id+" (index: 0) in slot: "+e.id),n(t._id,e.id,u[i(295)])}}const et=nt;function nt(t,e){const n=st();return(nt=function(t,e){return n[t-=417]})(t,e)}function st(){const t=["12pcjGkC","_id","click","addClickEvent"," ad clicked: ","adType","style","77HHKEOU","18nKVSAi","cursor","isClickable"," -> ","813869YCltMQ","834610SHeBun","64hUQjlk","112890VSePmU","addClickEventsBatch","linkUrl","preventDefault","addEventListener","pointer","open","5260930HANcfm","_blank","log","addClickEventForRenderer","547920tzRXlx","forEach","stopPropagation","toLowerCase","4063668sLwAQG","🔗 ","513066Offtgk"];return(st=function(){return t})()}!function(){const t=nt,e=st();for(;;)try{if(697005===parseInt(t(419))/1+parseInt(t(435))/2*(-parseInt(t(420))/3)+parseInt(t(417))/4+-parseInt(t(442))/5+-parseInt(t(428))/6*(-parseInt(t(432))/7)+-parseInt(t(434))/8*(parseInt(t(446))/9)+parseInt(t(433))/10*(parseInt(t(427))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class it{static[et(423)](t,e,n,s,i=!1,r){const o=et;e[o(437)]&&(t[o(426)].cursor=o(440),t[o(439)](o(422),t=>{const a=o;if(t[a(438)](),t[a(448)](),s&&s(e[a(421)],n.id,u.CLICK),window[a(441)](e[a(437)],a(443)),i){const t=r||String(n[a(425)]).toLowerCase();console[a(444)](a(418)+t+a(424)+e[a(421)]+" -> "+e[a(437)])}}))}static[et(445)](t,e,n,s,i=!1,r){const o=et;e[o(437)]&&(t[o(426)][o(429)]=o(440),t[o(439)]("click",t=>{const a=o;t[a(438)](),t[a(448)]();if(s()(e[a(421)],n.id,u.CLICK),window[a(441)](e[a(437)],"_blank"),i){const t=r||String(n.adType)[a(449)]();console[a(444)](a(418)+t+a(424)+e._id+a(431)+e.linkUrl)}}))}static addClickEventForSlider(t,e,n,s,i=!1,r){this.addClickEvent(t,e,n,s,i,r)}static[et(430)](t){return Boolean(t[et(437)])}static[et(436)](t,e,n,s,i=!1,r){t[et(447)]((t,o)=>{const a=e[o];a&&this.addClickEvent(t,a,n,s,i,r)})}}const rt=ot;function ot(t,e){const n=ct();return(ot=function(t,e){return n[t-=380]})(t,e)}!function(){const t=ot,e=ct();for(;;)try{if(121467===parseInt(t(490))/1*(parseInt(t(409))/2)+parseInt(t(415))/3*(-parseInt(t(456))/4)+parseInt(t(397))/5*(-parseInt(t(434))/6)+-parseInt(t(396))/7+parseInt(t(464))/8*(-parseInt(t(419))/9)+parseInt(t(426))/10*(parseInt(t(401))/11)+parseInt(t(383))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class at{static createSimpleAdElement(t,e){const n=ot,s=document[n(442)](n(468));switch(s[n(436)]=n(451)+String(t.adType).toLowerCase(),s[n(446)](n(394),e[n(388)]),s[n(446)]("data-adstage-slot-id",t.id),s[n(389)].display=n(488),s[n(389)].width=n(408),s[n(389)][n(462)]=n(437),t[n(429)]){case r.BANNER:if(e[n(484)]){const t=document.createElement(n(443));t[n(406)]=e[n(484)],t.style[n(382)]=n(408),t[n(389)][n(462)]="auto",t[n(389)][n(444)]=n(393),s.appendChild(t)}else s[n(389)][n(462)]="100px",s[n(389)][n(482)]=n(428),s[n(389)][n(416)]=n(385),s[n(430)]=n(435);break;case r[n(445)]:if(e[n(391)]){const t=document[n(442)]("video");t.src=e[n(391)],t[n(389)][n(382)]="100%",t[n(389)].height=n(437),s[n(407)](t)}else s[n(389)][n(462)]=n(381),s[n(389)][n(482)]="#000",s[n(389)][n(416)]=n(481),s[n(430)]=n(403),s[n(389)][n(486)]=n(478);break;case r.TEXT:if(e[n(430)]){const t=document[n(442)](n(468));t[n(430)]=e.textContent||"",t[n(389)][n(485)]=n(483),t[n(389)][n(494)]="14px",s[n(407)](t)}else s[n(389)][n(462)]=n(425),s[n(389)][n(485)]=n(483),s.textContent=n(455);break;default:s[n(389)][n(462)]=n(466),s[n(389)].border=n(385),s.style.backgroundColor="#f9f9f9",s[n(430)]=t[n(429)]+n(450)}return s}static[rt(431)](t,e,n,s,i=!1){const o=rt,a=document[o(442)](o(468));a[o(436)]="adstage-slider-wrapper";const c={position:o(387),overflow:o(411)};if(t[o(382)]&&0!==t[o(382)]){let e;e=typeof t[o(382)]===o(495)&&(t[o(382)].includes("px")||t[o(382)][o(421)]("%"))?t[o(382)]:t[o(382)]+"px",c[o(382)]=e,c[o(423)]=o(448)}else c[o(423)]=o(448);if(t[o(462)]&&0!==t[o(462)]){const e=typeof t[o(462)]===o(495)?t[o(462)]:t[o(462)]+"px";c[o(462)]=e}Object[o(410)](c)[o(432)](([t,e])=>{a[o(389)].setProperty(t,e)});const d=!t.width||0===t[o(382)],l=!t[o(462)]||0===t.height;if(d||l){const n=document[o(442)](o(468));if(n[o(389)][o(420)]="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!d&&t[o(382)]){let e;e=typeof t[o(382)]===o(495)&&(t[o(382)].includes("px")||t.width[o(421)]("%"))?t[o(382)]:t[o(382)]+"px",n[o(389)][o(382)]=e,n[o(389)][o(487)]=o(418)}document[o(398)][o(407)](n);let s=0,i=0;e.forEach(e=>{const r=o,a=this[r(438)](t,e);n.appendChild(a);const c=a[r(405)]();c[r(382)]>s&&(s=c[r(382)]),c[r(462)]>i&&(i=c[r(462)]),n[r(469)](a)}),d&&s>0&&(a[o(389)][o(382)]=s+"px",c.width=s+"px"),l&&i>0&&(a[o(389)][o(462)]=i+"px",c[o(462)]=i+"px"),document.body[o(469)](n)}const u=[...e,e[0]],p=document.createElement("div");p[o(436)]=o(399);const h={display:"flex",transition:"transform 0.4s ease-out",width:100*u[o(467)]+"%"};t[o(462)]&&0!==t[o(462)]&&(h.height=o(408)),Object[o(410)](h)[o(432)](([t,e])=>{p[o(389)].setProperty(t,e)}),u.forEach((e,n)=>{const r=o,a=document[r(442)](r(468));a[r(436)]=r(449);const c={width:100/u[r(467)]+"%","flex-shrink":"0",display:r(422),"align-items":r(465),"justify-content":"center"};t[r(462)]&&0!==t.height&&(c[r(462)]="100%"),Object[r(410)](c)[r(432)](([t,e])=>{const n=r;a[n(389)][n(491)](t,e)});const d=this.createSimpleAdElement(t,e);it[r(439)](d,e,t,s,i,String(t[r(429)]).toLowerCase()),a.appendChild(d),p[r(407)](a)});const f=e[o(460)](t=>t.adType===r[o(457)])?null:this.createMinimalDotIndicator(e[o(467)]);let g=0;const m=e[o(467)],I=1e3*(n?.[o(390)]||3),v=(n,r=!1)=>{const a=o;g=n,r?p.style[a(440)]=a(453):p[a(389)].transition=a(414),p.style[a(474)]=a(493)+100/u[a(467)]*g+"%)";const c=g===m?0:g;if(f){f.querySelectorAll(a(447))[a(432)]((t,e)=>{const n=a,s=t;e===c?(s[n(454)][n(475)](n(470)),s.style.background=n(452),s.style.borderColor="#666666",s[n(389)][n(477)]="1"):(s[n(454)][n(386)](n(470)),s[n(389)].background="transparent",s[n(389)][n(433)]=n(458),s[n(389)].opacity=n(472))})}tt[a(480)](e[c],t,c,s,i)},y=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(f){f[o(459)](o(447))[o(432)]((t,e)=>{const n=o;t[n(463)](n(492),()=>v(e))})}let b=setInterval(()=>{v(g+1),y()},I);return a.addEventListener("mouseenter",()=>{clearInterval(b)}),a.addEventListener(o(471),()=>{b=setInterval(()=>{v(g+1),y()},I)}),this[o(461)](p,v,()=>g,m,y),a[o(407)](p),f&&a[o(407)](f),v(0),(!t.width||0===t[o(382)])&&setTimeout(()=>{const e=o,n=p.children[0];if(n){const s=n[e(489)][0];if(s){const n=s[e(405)]();a[e(389)][e(382)]=n[e(382)]+"px",(!t[e(462)]||0===t[e(462)])&&(a.style[e(462)]=n.height+"px"),a[e(389)].overflow=e(411)}}},10),a}static[rt(424)](t){const e=rt,n=document[e(442)](e(468));n[e(436)]=e(402),n.style[e(420)]=e(412);for(let s=0;s<t;s++){const t=document[e(442)]("button");t[e(436)]=e(473),t[e(389)][e(420)]=e(476),t[e(463)](e(427),()=>{const n=e;!t[n(454)][n(380)](n(470))&&(t[n(389)][n(433)]=n(479),t[n(389)][n(477)]=n(417))}),t.addEventListener(e(471),()=>{const n=e;!t[n(454)][n(380)]("active")&&(t.style[n(433)]=n(458),t.style[n(477)]=n(472))}),n[e(407)](t)}return n}static addTouchSupport(t,e,n,s,i){const r=rt;let o=0,a=!1;t.addEventListener(r(404),t=>{const e=r;o=t[e(400)][0][e(413)],a=!0}),t.addEventListener(r(395),t=>{a&&t[r(441)]()}),t[r(463)]("touchend",t=>{const c=r;if(!a)return;a=!1;const d=t[c(384)][0][c(413)],l=o-d;if(Math[c(392)](l)>50){const t=n();if(l>0){e(t+1),i&&i()}else{e(t>0?t-1:s-1)}}})}}function ct(){const t=["textContent","createSliderContainer","forEach","borderColor","27594CWCAhU","Banner Ad","className","auto","createSimpleAdElement","addClickEventForSlider","transition","preventDefault","createElement","img","objectFit","VIDEO","setAttribute",".adstage-dot","inline-block","adstage-slide"," Ad","adstage-ad adstage-","#666666","none","classList","Text Ad","12TBXcZX","TEXT","#cccccc","querySelectorAll","every","addTouchSupport","height","addEventListener","2504sKNqWt","center","100px","length","div","removeChild","active","mouseleave","0.7","adstage-dot","transform","add","\n width: 8px;\n height: 8px;\n border-radius: 50%;\n border: 1px solid #cccccc;\n background: transparent;\n cursor: pointer;\n transition: all 0.3s ease;\n outline: none;\n opacity: 0.7;\n padding: 0;\n margin: 0;\n flex-shrink: 0;\n ","opacity","white","#999999","trackSlideViewable","1px solid #666","backgroundColor","8px","imageUrl","padding","color","whiteSpace","block","children","13XjuFJr","setProperty","click","translateX(-","fontSize","string","contains","200px","width","3240768BSaKne","changedTouches","1px dashed #ccc","remove","relative","_id","style","autoSlideInterval","videoUrl","abs","cover","data-adstage-ad-id","touchmove","415044ZyjptA","150hhTtJM","body","adstage-slide-container","touches","134717QXjPfP","adstage-dots","Video Ad","touchstart","getBoundingClientRect","src","appendChild","100%","13994KilRWt","entries","hidden","\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 ","clientX","transform 0.4s ease-out","47238iyYSiz","border","0.9","normal","4788pXpCVB","cssText","includes","flex","display","createMinimalDotIndicator","50px","140qCNVlu","mouseenter","#f0f0f0","adType"];return(ct=function(){return t})()}const dt=lt;function lt(t,e){const n=ut();return(lt=function(t,e){return n[t-=192]})(t,e)}function ut(){const t=["Duplicate viewable blocked for ad ","294WKAXrR","1927597yaGFet","11772470rDGuYq","6093pWoidC","27XtdImr","log","delete","has","6494464HdqYaF","✅ New viewable recorded for ad ","4555848decrYV","486VEbnuf","clear","140095UOtzmK","viewableTracker"," in slot ","5068014KGZxQx"];return(ut=function(){return t})()}!function(){const t=lt,e=ut();for(;;)try{if(964448===-parseInt(t(201))/1+-parseInt(t(193))/2*(parseInt(t(203))/3)+parseInt(t(192))/4+-parseInt(t(195))/5*(parseInt(t(200))/6)+-parseInt(t(198))/7+parseInt(t(208))/8+parseInt(t(204))/9*(parseInt(t(202))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class pt{static isDuplicateViewable(t,e,n=!1){const s=lt,i=t+"_"+e;return pt.viewableTracker[s(207)](i)?(n&&console.log(s(199)+t+s(197)+e),!0):(pt[s(196)].add(i),n&&console[s(205)](s(209)+t+s(197)+e),!1)}static[dt(194)](){const t=dt;pt.viewableTracker[t(194)]()}static clearAdViewable(t,e){const n=dt,s=t+"_"+e;pt.viewableTracker[n(206)](s)}}function ht(t,e){const n=gt();return(ht=function(t,e){return n[t-=433]})(t,e)}pt[dt(196)]=new Set;const ft=ht;function gt(){const t=["1844382cJYozR","display","closest","data-adstage-container","📏 Using default height ","adstage-slot","color","data-adstage-slot","advertisementEventTracker","7695045tdlxkA","<span>Loading ","\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 ","generic","calculateAdSize","rgba(231, 76, 60, 0.1)","getContainerHeight","center","adType",") - Mode: ","adstage-slot adstage-empty adstage-"," event for ad ","🚫 Duplicate viewable blocked for ad ","minHeight","createPlaceholder",'[class*="banner"]',"#666",'div[style*="min-height"]',"📦 Placeholder created for ","px)","div","1px dashed #ccc","⚠️ AdvertisementEventTracker not available for ","\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 ","className","borderRadius","unknown",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"VIEWABLE","querySelector","width","createEventTrackingCallback","adstage-class","justifyContent"," in slot ","1320305AbBXfL"," container: ","createElement","6px","adstage-slot adstage-","getElementById","auto","data-adstage-empty","trackAdvertisementEvent","log","56bgYBVX","alignItems","style","⚠️ ","containerId"," slot: ","cssText","rgba(0, 0, 0, 0.02)","getDefaultHeight","toLowerCase","none","fontSize"," for ad ","flex","height","opacity","1180288UAhWgf","📊 Advertisement event tracked: ","contains","minimal"," container collapsed (","parentElement",'[class*="container"]',"string","fontFamily","invisible","setAttribute","isEmpty","rgba(248, 249, 250, 0.5)","warn","filter","✅ New viewable recorded for ad ","classList","appendChild","block","hasAttribute","#e74c3c","🔄 Starting advertisement event tracking: ","border","applyPlaceholderStyle",'[class*="ad"]',"1px solid rgba(0, 0, 0, 0.08)","7283SqEjiG","monospace","100%","debug","placeholderMode","advertisement","number","transparent","true","⚠️ Created empty ","adstage-official","❌ Failed to track ","11px","2px dashed #e74c3c","innerHTML","45ipQRkl","getComputedStyle","70436DqiJqx","190010dbJsgX","5UJRRvJ",'[data-adstage-container="true"]',"backgroundColor","data-adstage-type","77nlPZmg"," for ","📏 Using 100% height (container: ","renderFallback"];return(gt=function(){return t})()}!function(){const t=ht,e=gt();for(;;)try{if(579325===-parseInt(t(516))/1*(-parseInt(t(474))/2)+parseInt(t(531))/3*(-parseInt(t(533))/4)+-parseInt(t(535))/5*(parseInt(t(543))/6)+-parseInt(t(464))/7+parseInt(t(490))/8+parseInt(t(552))/9+parseInt(t(534))/10*(parseInt(t(539))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class mt{constructor(t,e=!1,n){const s=ht;this.adType=t,this.debug=e,this[s(551)]=n||null}[ft(443)](t,e,n,s){const i=ft,r=document.createElement(i(449));r.id=e,r.className=i(468)+String(this.adType)[i(483)](),r.setAttribute(i(546),i(524)),r.setAttribute(i(538),String(this[i(437)])),r[i(500)]("data-adstage-slot",e);const{width:o,height:a}=this[i(433)](t,n,s)||{width:i(518),height:this[i(482)]()};r[i(476)][i(459)]=o,r[i(476)][i(488)]=a;const c=s?.placeholderMode||n[i(520)]||i(499);this[i(513)](r,c),t[i(507)](r),this[i(519)]&&console.log(i(447)+this.adType+i(479)+e+" ("+o+" x "+a+i(438)+c)}[ft(513)](t,e){const n=ft;switch(e){case n(499):t[n(476)][n(537)]=n(523),t[n(476)][n(512)]=n(484),t[n(476)][n(489)]="0",t[n(530)]="";break;case n(523):t[n(476)][n(537)]=n(523),t[n(476)][n(512)]=n(484),t[n(476)][n(544)]=n(508),t[n(530)]="";break;case"subtle":t[n(476)][n(537)]=n(481),t[n(476)][n(512)]="none",t[n(476)][n(454)]="4px",t[n(476)][n(544)]=n(487),t[n(476)][n(475)]="center",t[n(476)][n(462)]=n(436),t[n(530)]='<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>';break;case n(493):t.style[n(537)]=n(502),t[n(476)].border=n(515),t[n(476)][n(454)]=n(467),t[n(476)][n(544)]=n(487),t.style[n(475)]=n(436),t.style[n(462)]=n(436),t[n(530)]=n(456);break;case n(519):t[n(476)][n(512)]=n(529),t[n(476)][n(544)]=n(487),t.style[n(475)]=n(436),t[n(476)].justifyContent=n(436),t[n(476)].backgroundColor=n(434),t[n(476)][n(549)]=n(510),t.style[n(498)]=n(517),t[n(476)][n(485)]=n(528),t.innerHTML=n(553)+this[n(437)]+" ad...</span>";break;default:t[n(476)][n(512)]=n(450),t[n(476)][n(544)]=n(487),t[n(476)].alignItems=n(436),t[n(476)][n(462)]=n(436),t[n(476)][n(537)]="#f9f9f9",t[n(476)][n(549)]=n(445),t[n(530)]="<span>Loading "+this[n(437)]+" ad...</span>"}}calculateAdSize(t,e,n){const s=ft,i=e[s(459)],r=e[s(488)];let o,a;if(o=typeof i===s(522)?i+"px":typeof i===s(497)?i:"100%",typeof r===s(522))a=r+"px";else if(typeof r===s(497)&&r!==s(518)&&"auto"!==r)a=r;else{const e=this.getContainerHeight(t);e>0?(a=s(518),(n?.[s(519)]||this[s(519)])&&console[s(473)](s(541)+e+s(448))):(a=this.getDefaultHeight(),(n?.[s(519)]||this[s(519)])&&console[s(473)](s(547)+a+s(540)+this[s(437)]))}return{width:o,height:a}}[ft(435)](t){const e=ft,n=window[e(532)](t),s=parseFloat(n[e(488)]);if(!s||0===s){const s=parseFloat(n[e(442)]);if(s>0)return s;if(t.style[e(488)]&&t[e(476)][e(488)]!==e(470)){const n=parseFloat(t.style[e(488)]);if(n>0)return n}const i=t.getAttribute("height");if(i){const t=parseFloat(i);if(t>0)return t}}return s||0}[ft(460)](){return async(t,e,n)=>{const s=ht;if(n===u[s(457)]){if(pt.isDuplicateViewable(t,e,this[s(519)]))return void(this[s(519)]&&console.log(s(441)+t+s(463)+e));this[s(519)]&&console[s(473)](s(505)+t+" in slot "+e)}if(this[s(551)])try{this.debug&&console.log(s(511)+n+s(486)+t+" in slot "+e),await this[s(551)][s(472)](t,e,n),this[s(519)]&&console.log(s(491)+n+s(486)+t+" in slot "+e)}catch(e){this[s(519)]&&console.error(s(527)+n+s(440)+t+":",e)}else this.debug&&console.warn(s(451)+n+" event")}}[ft(542)](t){const e=ft,n=document[e(469)](t.id);if(n){const s=[...[n[e(458)](e(536)),n.closest('[data-adstage-container="true"]'),n][e(504)](t=>t&&t[e(509)](e(546))),...[n[e(545)](".adstage-slot"),n[e(545)](".adstage-"+String(this[e(437)])[e(483)]()),n[e(545)](e(514)),n.closest(e(444)),n[e(545)](e(496)),n.closest('div[style*="height"]'),n[e(545)](e(446)),n[e(495)]][e(504)](Boolean)][0];if(s){let n=e(455);n=s[e(509)](e(546))?e(526):s[e(506)][e(492)](e(548))?e(461):e(555),s[e(476)].cssText+=e(554),s[e(530)]="",s[e(500)](e(471),e(524)),this[e(519)]&&console[e(503)](e(477)+this[e(437)]+e(494)+n+"): "+t.id,s)}else this.createEmptyContainer(t)}t[e(521)]=void 0,t[e(501)]=!0}createEmptyContainer(t){const e=ft,n=document[e(469)](t[e(478)]);if(n){n[e(530)]="";const s=document[e(466)](e(449));s.id=t.id,s[e(453)]=e(439)+String(this[e(437)])[e(483)](),s[e(500)](e(546),e(524)),s[e(500)](e(471),e(524)),s[e(500)](e(550),t.id),s[e(476)][e(480)]=e(452),n[e(507)](s),this.debug&&console.warn(e(525)+this.adType+e(465)+t.id)}}log(t,...e){const n=ft;this[n(519)]&&console[n(473)]("["+this[n(437)]+"] "+t,...e)}}const It=vt;function vt(t,e){const n=bt();return(vt=function(t,e){return n[t-=230]})(t,e)}!function(){const t=vt,e=bt();for(;;)try{if(998970===parseInt(t(339))/1+-parseInt(t(336))/2+-parseInt(t(230))/3+parseInt(t(290))/4*(-parseInt(t(268))/5)+parseInt(t(277))/6+parseInt(t(239))/7*(-parseInt(t(232))/8)+parseInt(t(297))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class yt extends mt{constructor(t=!1,e){super(r[vt(241)],t,e)}getDefaultHeight(){return vt(265)}async[It(289)](t,e){const n=It,s=document[n(315)](t[n(231)]);if(!s)return;const i=document[n(294)](n(301));i[n(316)]=n(292);const r=t[n(237)],o=s[n(275)]||s;if(r)i.style.width="100%",i.style[n(330)]=String(r);else{const e=t[n(318)],s={width:e?.[n(273)],height:e?.height},{width:r,height:a}=this[n(258)](o,s,{debug:this[n(248)]});i[n(319)][n(273)]=r,i.style[n(330)]=a}e.imageUrl?await this[n(283)](i,e,t):i[n(235)]=n(247)+(e[n(254)]||"Banner Ad")+n(314),it[n(266)](i,e,t,()=>this[n(267)](),this[n(248)],n(313)),s[n(235)]="",s[n(242)](i)}async[It(262)](t,e){const n=It,s=document.getElementById(t[n(231)]);if(!s)throw new Error(n(245)+t[n(231)]);await this[n(324)](t,e);const i=this[n(267)](),r={autoSlideInterval:(t[n(318)]?.[n(286)]||5e3)/1e3,...t[n(318)],optimizedHeight:t[n(237)],aspectRatio:t[n(302)]},o=at[n(244)](t,e,r,i,this[n(248)]);o&&(s.innerHTML="",s[n(242)](o),this[n(248)]&&console.log(n(307)+t.id+n(311)+e[n(338)]+n(250)+(t[n(237)]||"default")+")"))}async[It(305)](t,e){const n=It;if(!t[n(338)])return{width:n(332),height:this.getDefaultHeight(),aspectRatio:16/9};try{const s=(await Promise[n(260)](t[n(285)](t=>t[n(284)]).map(t=>this[n(246)](t[n(284)]))))[n(285)](t=>t[n(263)]===n(234))[n(321)](t=>t.value);if(0===s.length)return{width:n(332),height:this.getDefaultHeight(),aspectRatio:16/9};const i=this.selectOptimalSizeStrategy(s),r=this[n(252)](s,e,i);return this.debug&&console[n(282)](n(303)+e+"x"+r+n(320)+i+")"),{width:n(332),height:r+"px",aspectRatio:e/r}}catch(t){return console[n(298)](n(326),t),{width:"100%",height:this[n(255)](),aspectRatio:16/9}}}async optimizeContainerForBannerAds(t,e){const n=It;try{const s=document[n(315)](t.containerId),i=document[n(315)](t.id);if(!s||!i)return;const r=s[n(310)]()[n(273)]||300,o=await this[n(305)](e,r);i.style.height=o[n(330)],t[n(237)]=o[n(330)],t.aspectRatio=o[n(302)],this[n(248)]&&console.log(n(238)+e.length+n(274)+o[n(330)])}catch(t){console[n(298)]("Banner container optimization failed, using default size:",t)}}[It(323)](t){const e=It,n=t.map(t=>t[e(273)]/t[e(330)]),s=new Map;n[e(272)](t=>{const n=e,i=(Math[n(271)](10*t)/10).toString();s[n(304)](i,(s.get(i)||0)+1)});const i=Math[e(306)](...s[e(331)]()),r=t.length;if(i/r>=.7)return e(243);const o=[16/9,4/3,1,1.5],a=n.filter(t=>o[e(312)](n=>Math[e(278)](t-n)<.1))[e(338)];return e(a/r>=.5?256:328)}[It(252)](t,e,n){const s=It,i=t[s(321)](t=>t[s(273)]/t[s(330)]);switch(n){case"dominant":{const t=new Map;i[s(272)](e=>{const n=s,i=Math[n(271)](10*e)/10,r=i[n(295)](),o=t[n(309)](r);o?o[n(299)]++:t[n(304)](r,{ratio:i,count:1})});const n=Array[s(270)](t[s(331)]())[s(281)]((t,e)=>e[s(299)]>t[s(299)]?e:t);return Math[s(271)](e/n[s(257)])}case s(256):{const t=[{ratio:16/9,name:"16:9"},{ratio:4/3,name:s(264)},{ratio:1,name:"1:1"},{ratio:1.5,name:s(233)}],n=i[s(281)]((t,e)=>t+e,0)/i[s(338)],r=t[s(281)]((t,e)=>Math[s(278)](e[s(257)]-n)<Math[s(278)](t[s(257)]-n)?e:t);return this[s(248)]&&console[s(282)](s(253)+r[s(329)]+s(300)+n[s(293)](2)+")"),Math[s(271)](e/r.ratio)}case s(328):default:{const t=i[s(281)]((t,e)=>t+e,0)/i[s(338)];return Math[s(271)](e/t)}}}[It(246)](t){return new Promise((e,n)=>{const s=vt,i=new Image;i[s(269)]=()=>{e({width:i[s(288)],height:i.naturalHeight})},i[s(280)]=()=>{n(new Error(s(236)+t))},i[s(327)]=t})}[It(308)](t,e,n){const s=It,i=e/n;Math[s(278)](i-1)<.1?(t[s(319)].objectFit="cover",t[s(319)][s(322)]="center"):i>1.3?(t[s(319)][s(291)]=s(337),t.style[s(322)]=s(249),t.style[s(333)]="#f0f0f0"):i<.7?(t[s(319)][s(291)]="cover",t[s(319)][s(322)]=s(249)):(t.style[s(291)]="cover",t[s(319)][s(322)]=s(249)),this[s(248)]&&console[s(282)](s(325)+t.style[s(291)]+", ratio="+i[s(293)](2))}async[It(283)](t,e,n){const s=It,i=document[s(294)](s(317));i[s(319)][s(273)]=s(332),i[s(319)][s(330)]=s(332),i[s(319)][s(240)]=s(296),i.style[s(251)]="8px",i[s(279)]=e[s(254)]||s(259),t[s(235)]=s(335);try{if(!e.imageUrl)throw new Error(s(276));const r=await this[s(246)](e[s(284)]),o=t[s(310)](),a=o.width,c=o[s(330)];this.debug&&(console[s(282)]("📸 Banner image dimensions: "+r[s(273)]+"x"+r[s(330)]),console.log(s(287)+a+"x"+c));const d=r[s(273)]/r[s(330)],l=a/c;return this[s(308)](i,d,l),i.src=e[s(284)],t.innerHTML="",t[s(242)](i),it[s(266)](i,e,n,()=>this.createEventTrackingCallback(),this[s(248)],s(313)),this.debug&&console[s(282)](s(261)+e._id),i}catch(r){return console.error(s(334),r),e.imageUrl&&(i[s(327)]=e[s(284)],i[s(319)][s(291)]="cover",i.style.objectPosition="center",t[s(235)]="",t[s(242)](i),it[s(266)](i,e,n,()=>this.createEventTrackingCallback(),this[s(248)],s(313))),i}}}function bt(){const t=["Failed to calculate optimal banner size, using defaults:","src","average","name","height","values","100%","backgroundColor","❌ Failed to load optimized banner image:",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"160098phcwCg","contain","length","535404bBBPCy","5169735uTtEXA","containerId","1611904jndHFp","3:2","fulfilled","innerHTML","Failed to load image: ","optimizedHeight","🔧 Banner container optimized for ","28oVZfVi","display","BANNER","appendChild","dominant","createSliderContainer","Container not found: ","loadImageDimensions","<div>","debug","center"," ads (optimized: ","borderRadius","calculateOptimalHeight","📊 Using standard ratio: ","title","getDefaultHeight","common","ratio","calculateAdSize","Banner Advertisement","allSettled","✅ Optimized banner image rendered for ad: ","renderMultipleAds","status","4:3","250px","addClickEventForRenderer","createEventTrackingCallback","80370mtUTeF","onload","from","round","forEach","width"," ads: ","parentElement","Image URL is not provided","7063260xGjWMB","abs","alt","onerror","reduce","log","renderOptimizedBannerImage","imageUrl","filter","slideInterval","📦 Banner container dimensions: ","naturalWidth","renderAdElement","32xTiUpN","objectFit","adstage-ad adstage-banner-ad","toFixed","createElement","toString","block","18217746lBqoOs","warn","count"," (avg: ","div","aspectRatio","📐 Optimal banner container calculated: ","set","calculateOptimalContainerSize","max","🎠 Banner carousel created for slot: ","applyOptimizedImageStyle","get","getBoundingClientRect"," with ","some","Banner","</div>","getElementById","className","img","config","style"," (strategy: ","map","objectPosition","selectOptimalSizeStrategy","optimizeContainerForBannerAds","🎨 Banner image style applied: objectFit="];return(bt=function(){return t})()}const wt=Et;function kt(){const t=["126599JKCDLF","textContent","679052hAHynT","1647338rONcPg","createTextAdStyles","4295zWPyFs","16rrGKTY","setTextAdContent","4dzkJqs","3624TGuYEu","839529JONHPz","790WaZAjT","134586MagiiL","612uYSqsd"];return(kt=function(){return t})()}function Et(t,e){const n=kt();return(Et=function(t,e){return n[t-=337]})(t,e)}!function(){const t=Et,e=kt();for(;;)try{if(272420===parseInt(t(341))/1+parseInt(t(337))/2*(-parseInt(t(342))/3)+parseInt(t(345))/4+parseInt(t(348))/5*(-parseInt(t(338))/6)+-parseInt(t(346))/7+-parseInt(t(349))/8*(parseInt(t(339))/9)+-parseInt(t(340))/10*(-parseInt(t(343))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class At{static[wt(347)](t=!1){return"\n font-family: 'Arial', sans-serif;\n text-decoration: none;\n display: block;\n text-align: left;\n transition: color 0.3s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: visible;\n padding-right: 2px;\n padding-left: 2px;\n white-space: nowrap;\n "}static[wt(350)](t,e){const n=wt,s=e[n(344)]||e.title||"";t[n(344)]=s}}const xt=St;function St(t,e){const n=Tt();return(St=function(t,e){return n[t-=441]})(t,e)}!function(){const t=St,e=Tt();for(;;)try{if(104852===parseInt(t(450))/1*(parseInt(t(495))/2)+-parseInt(t(464))/3+parseInt(t(514))/4*(-parseInt(t(494))/5)+-parseInt(t(478))/6*(-parseInt(t(507))/7)+-parseInt(t(457))/8+-parseInt(t(469))/9+parseInt(t(515))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ct{static[xt(499)](t,e){const n=xt,s=document[n(442)](n(504));return s[n(443)]=n(465)+String(t[n(490)])[n(441)](),s[n(456)]("data-adstage-ad-id",e[n(459)]),s[n(456)](n(486),t.id),s[n(484)][n(517)]=At.createTextAdStyles(!0),At[n(488)](s,e),s}static[xt(492)](t,e,n,s,i=!1){const r=xt,o=t[r(518)]&&0!==t.height&&"auto"!==t[r(518)],a=document[r(442)]("div");a[r(443)]="adstage-fade-slider-wrapper";const c={position:r(473),overflow:"hidden",display:"block"};if(!o&&(c[r(518)]=r(487),c[r(498)]=r(467)),t[r(505)]&&0!==t[r(505)]){let e;e="string"==typeof t[r(505)]?t[r(505)].includes("px")||t[r(505)].includes("%")?t[r(505)]:t[r(505)]+"px":t.width+"px",c.width=e}if(t[r(518)]&&0!==t[r(518)]&&t.height!==r(487)&&o){let e;e=typeof t.height===r(454)&&(t[r(518)][r(460)]("px")||t.height[r(460)]("%"))?t[r(518)]:t[r(518)]+"px",c[r(518)]=e}Object[r(468)](c)[r(508)](([t,e])=>{a[r(484)].setProperty(t,e)});const d=document[r(442)](r(504));d[r(443)]=r(477),d[r(484)][r(517)]=r(461)+r(o?493:449)+r(453);let l=null;const u=!t[r(505)]||0===t[r(505)],p=!t[r(518)]||0===t[r(518)]||void 0===t[r(518)]||t.height===r(487);if(u||p&&o){if(l=document.createElement(r(504)),l[r(484)][r(517)]=r(476),!u&&t[r(505)]){let e;e=typeof t.width===r(454)&&(t[r(505)].includes("px")||t.width[r(460)]("%"))?t[r(505)]:t[r(505)]+"px",l[r(484)][r(505)]=e,l[r(484)].whiteSpace="normal"}document[r(509)][r(502)](l);let n=0,s=0;e.forEach(e=>{const i=r,o=this[i(499)](t,e);l[i(502)](o);const a=o[i(510)]();a.width>n&&(n=a.width),a.height>s&&(s=a[i(518)]),l[i(452)](o)}),u&&n>0&&(a[r(484)].width=n+"px"),p&&s>0&&o&&(a.style[r(518)]=s+"px"),document[r(509)][r(452)](l)}const h=[];e.forEach((e,n)=>{const a=r,c=document[a(442)]("div");c.className=a(444);const l=a(o?466:0===n?473:466);c[a(484)][a(517)]=a(485)+l+";\n top: "+("absolute"===l?"0":a(487))+a(503)+(l===a(466)?"0":a(487))+a(483)+a(o?493:448)+a(445)+(0===n?"1":"0")+a(501)+(0===n?"0":a(489))+a(491)+(0===n?"2":"1")+a(475);const u=this[a(499)](t,e);it[a(458)](u,e,t,s,i,"Text"),c[a(502)](u),d.appendChild(c),h[a(519)](c)});let f=0;const g=e[r(463)],m=1e3*(n?.[r(482)]||4),I=n=>{const a=r;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!o&&(c[a(484)][a(500)]===a(473)&&(c[a(484)].position=a(466),c[a(484)][a(447)]="0",c[a(484)][a(506)]="0"),d[a(484)][a(500)]=a(473),d.style[a(447)]=a(487),d[a(484)].left=a(487)),c[a(484)][a(462)]="0",c[a(484)][a(474)]=a(497),c[a(484)][a(496)]="1",d.style.opacity="1",d.style.transform=a(472),d.style[a(496)]="2",h[a(508)]((t,e)=>{const s=a;e!==n&&e!==f&&(t[s(484)][s(462)]="0",t.style[s(474)]="translateY(20px)",t[s(484)][s(496)]="1",!o&&t[s(484)][s(500)]===s(473)&&(t[s(484)].position="absolute",t.style[s(447)]="0",t[s(484)].left="0"))}),f=n,tt[a(470)](e[f],t,f,s,i)};let v=setInterval(()=>{I(f+1)},m);return a.addEventListener(r(480),()=>{clearInterval(v)}),a[r(446)](r(516),()=>{v=setInterval(()=>{I(f+1)},m)}),Ct.addTouchSupport(a,I,()=>f,g),a[r(502)](d),a}static addTouchSupport(t,e,n,s){const i=xt;let r=0,o=0,a=!1;t[i(446)](i(451),t=>{const e=i;r=t[e(512)][0][e(481)],o=t[e(512)][0][e(479)],a=!0}),t[i(446)]("touchmove",t=>{a&&t[i(513)]()}),t[i(446)](i(471),t=>{const s=i;if(!a)return;a=!1;const c=t[s(455)][0][s(481)],d=t[s(455)][0].clientY,l=r-c,u=o-d;if(Math[s(511)](l)>Math[s(511)](u)&&Math[s(511)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}function Tt(){const t=["398586AWuiXd","adstage-ad adstage-","absolute","fit-content","entries","291357tZnssm","trackSlideViewable","touchend","translateY(0)","relative","transform",";\n ","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","adstage-fade-slide-container","4746UXnzxo","clientY","mouseenter","clientX","autoSlideInterval",";\n width: 100%;\n ","style","\n position: ","data-adstage-slot-id","auto","setTextAdContent","20px","adType",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","createTextTransitionContainer","height: 100%;","289505ZgIZos","12ENJDgL","zIndex","translateY(-20px)","minHeight","createSimpleAdElement","position",";\n transform: translateY(","appendChild",";\n left: ","div","width","left","392dfgKdl","forEach","body","getBoundingClientRect","abs","touches","preventDefault","4bRcRJW","2558150vRgslq","mouseleave","cssText","height","push","toLowerCase","createElement","className","adstage-fade-slide","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","addEventListener","top","height: auto;","height: auto; min-height: fit-content;","13399CQvrRp","touchstart","removeChild","\n ","string","changedTouches","setAttribute","420136aGsYKn","addClickEventForSlider","_id","includes","\n position: relative;\n width: 100%;\n ","opacity","length"];return(Tt=function(){return t})()}const Rt=Lt;function Lt(t,e){const n=zt();return(Lt=function(t,e){return n[t-=350]})(t,e)}function zt(){const t=["10TNOGla","createElement","className","height","_id","getElementById","appendChild","createEventTrackingCallback","slideInterval","overflow","containerId","innerHTML","webkitBoxOrient","TEXT","number","getDefaultHeight","144328iWSfDx","parentElement","hidden","4354240JUqdYG","setTextAdContent","webkitLineClamp"," ads","17084166uWfZgT","cssText","287ijBoiQ","60px","addClickEventForRenderer","286UulNVZ","139zqOsuO","debug","optimizedHeight","maxLines"," with ","12AMvMKc","100%","1170966hfAnPQ","2043515HQcLpF","log","width","style","createTextAdStyles","7006347xOqgud","config","vertical","✨ Text transition created for slot: ","adstage-ad adstage-text-ad","div","aspectRatio"];return(zt=function(){return t})()}!function(){const t=Lt,e=zt();for(;;)try{if(801861===-parseInt(t(350))/1*(-parseInt(t(398))/2)+parseInt(t(357))/3+parseInt(t(389))/4+parseInt(t(358))/5*(parseInt(t(355))/6)+parseInt(t(395))/7*(-parseInt(t(386))/8)+-parseInt(t(363))/9*(-parseInt(t(370))/10)+-parseInt(t(393))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Dt extends mt{constructor(t=!1,e){super(r[Lt(383)],t,e)}[Rt(385)](){return Rt(396)}async renderAdElement(t,e){const n=Rt,s=document[n(375)](t[n(380)]);if(!s)return;const i=document[n(371)](n(368));i[n(372)]=n(367);const r=t[n(352)],o=s[n(387)]||s;if(r)i[n(361)][n(360)]=n(356),i[n(361)][n(373)]=String(r);else{const e=t[n(364)],s={width:e?.width,height:e?.[n(373)]},{width:r,height:a}=this.calculateAdSize(o,s,{debug:this[n(351)]});i[n(361)][n(360)]=r,i[n(361)].height=a}const a=document[n(371)](n(368));a.className="adstage-text-content",a[n(361)][n(394)]=At[n(362)](!1),At[n(390)](a,e);const c=t[n(364)]?.[n(353)];c&&typeof c===n(384)&&(a[n(361)].display="-webkit-box",a[n(361)][n(391)]=String(c),a[n(361)][n(382)]=n(365),a[n(361)][n(379)]=n(388)),i[n(376)](a),it[n(397)](i,e,t,()=>this.createEventTrackingCallback(),this[n(351)],"Text"),s.innerHTML="",s[n(376)](i),this[n(351)]&&console[n(359)]("✨ Single text ad rendered: "+e[n(374)])}async renderMultipleAds(t,e){const n=Rt,s=document[n(375)](t.containerId);if(!s)throw new Error("Container not found: "+t.containerId);const i=this[n(377)](),r={autoSlideInterval:(t[n(364)]?.[n(378)]||5e3)/1e3,...t.config,optimizedHeight:t[n(352)],aspectRatio:t[n(369)]},o=Ct.createTextTransitionContainer(t,e,r,i,this[n(351)]);o&&(s[n(381)]="",s[n(376)](o),this[n(351)]&&console[n(359)](n(366)+t.id+n(354)+e.length+n(392)))}}const Bt=Ut;function Ut(t,e){const n=Pt();return(Ut=function(t,e){return n[t-=280]})(t,e)}function Pt(){const t=["warn"," !important;\n }\n ","controls","Video","4836916etFBdh",", loop: ","rgba(0, 0, 0, 0.9)","cssText","unmuted","🎬 Initial autoplay attempt after timeout...","8938644dZlzYL","🎬 Video data loaded, attempting autoplay...","_id","loop","\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 ","button","catch","409756ywDEUC","title","loadedmetadata","src","hideControls","block","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","hideFullscreenButton","hideMuteButton"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","adstage-video-container","video","13542368hVYDUx","containerId","renderVideoElementDirect","Click to mute","20QbnRck","display","65YNKNJY","customControls","adstage-video-mute-button","Container not found: ","className","autoplay","1237913uDWEwP","\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 ","canplay","100%"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","transform","height","width","debug","style","54GImzwI","🎬 User explicitly enabled controls, overriding default","scale(1)","imageUrl","360px","relative","🎬 Single video ad rendered: "," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","background"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","addClickEventForRenderer","error","🎬 Final video settings:","none","🎬 Video can play, attempting autoplay...","renderAdElement","🎬 Video element created for ad: ","length","click","🎬 Single video rendered for VIDEO slot: ","getDefaultHeight","textContent","getElementById","stopPropagation","rgba(0, 0, 0, 0.7)","metadata","🎬 Video metadata loaded, attempting autoplay...","createEventTrackingCallback","setAttribute","videoUrl","appendChild",'\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 ',"log","\n pointer-events: none;\n ","VIDEO","muted","12102wwiFZq","div","objectFit"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","contain","hideVolumeSlider","disabled (default)","head","🎬 Autoplay completely failed:","position","Video load failed:","adstage-video-default-controls","innerHTML","play","img"," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ",", muted: ","hidePlayButton","⚠️ No video advertisements available for slot: ","paused","addEventListener","createElement","32327469bOUOiB","hideRemainingTime","VIEWABLE","alt","🎬 Video config received:"];return(Pt=function(){return t})()}!function(){const t=Ut,e=Pt();for(;;)try{if(849622===-parseInt(t(366))/1+-parseInt(t(298))/2*(-parseInt(t(376))/3)+parseInt(t(342))/4*(-parseInt(t(360))/5)+-parseInt(t(335))/6+-parseInt(t(329))/7+-parseInt(t(354))/8+parseInt(t(320))/9*(parseInt(t(358))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Nt extends mt{constructor(t=!1,e){super(r[Ut(296)],t,e)}[Bt(282)](){return Bt(380)}async[Bt(391)](t,e){const n=Bt,s=document[n(284)](t[n(355)]);if(!s)return;const i=document.createElement(n(299));i[n(364)]="adstage-video-container",i[n(375)][n(332)]=n(367),this.renderVideoElementDirect(i,e,t),s[n(310)]="",s[n(292)](i),this[n(374)]&&console[n(294)](n(382)+e[n(337)])}async renderMultipleAds(t,e){const n=Bt,s=document[n(284)](t[n(355)]);if(!s)throw new Error(n(363)+t[n(355)]);if(e[n(393)]>0){const i=e[0],r=document[n(319)](n(299));r[n(364)]=n(352),r.style[n(332)]=n(348),this[n(356)](r,i,t),s.innerHTML="",s[n(292)](r);const o=this.createEventTrackingCallback();setTimeout(()=>{const e=n;o(i[e(337)],t.id,u[e(322)])},100),this[n(374)]&&console.log(n(281)+t.id+" ("+i[n(337)]+")")}else this[n(374)]&&console[n(325)](n(316)+t.id)}renderVideoElementDirect(t,e,n){const s=Bt;t[s(375)][s(307)]=s(381);const i=document[s(319)](s(353));i.style[s(373)]=s(369),i[s(375)][s(372)]="100%",i.style[s(300)]=s(302),i.preload=s(287);const r=n.config;if(this.debug&&console[s(294)](s(324),r),i[s(327)]=!1,i[s(365)]=!1!==r?.autoplay,i.muted=!0,i.loop=!1!==r?.[s(338)],this.debug&&console.log(s(388),{autoplay:i[s(365)],muted:i[s(297)],loop:i[s(338)],controls:i[s(327)]}),!1!==r?.playsinline&&i[s(290)]("playsinline",""),!0===r?.[s(327)]&&(i[s(327)]=!0,this[s(374)]&&console[s(294)](s(377))),r?.[s(346)])i[s(327)]=!1,i[s(375)][s(332)]+=s(295);else if(r?.customControls){if(i.controls){const t=document[s(319)]("style");t.textContent="\n video::-webkit-media-controls-play-button {\n display: "+(r[s(361)][s(315)]?s(389):s(347))+s(385)+(r.customControls.hideProgressBar?s(389):s(347))+s(301)+(r[s(361)].hideCurrentTime?s(389):s(347))+s(383)+(r[s(361)][s(321)]?s(389):s(347))+s(351)+(r[s(361)][s(303)]?"none":s(347))+s(313)+(r[s(361)][s(350)]?"none":s(347))+s(370)+(r[s(361)][s(349)]?s(389):"block")+s(326),document[s(305)].appendChild(t)}}else if(i[s(327)]){const t=document[s(319)](s(375));t.id="adstage-video-default-controls",t[s(283)]="\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.getElementById(s(309))&&document.head[s(292)](t)}this.debug&&console[s(294)]("🎬 Video controls setting:",i[s(327)]?"enabled":s(304));const o=document[s(319)](s(340));o[s(364)]=s(362),o[s(375)][s(332)]=s(339),r?.[s(346)]&&(o[s(375)][s(359)]=s(389));const a=()=>{const t=s,e=t(293);o.innerHTML=i[t(297)]?'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/>\n </svg>\n ':e,o.title=i[t(297)]?"Click to unmute":t(357)};if(a(),o[s(318)](s(280),t=>{const e=s;t[e(285)](),i[e(297)]=!i[e(297)],a(),this.debug&&console.log("🔊 Video mute toggled: "+(i[e(297)]?e(297):e(333)))}),o[s(318)]("mouseenter",()=>{const t=s;o[t(375)][t(384)]=t(331),o.style[t(371)]="scale(1.1)"}),o.addEventListener("mouseleave",()=>{const t=s;o[t(375)][t(384)]=t(286),o[t(375)].transform=t(378)}),e[s(291)]){i[s(345)]=e[s(291)];const t=()=>{const t=s;i.autoplay&&i[t(297)]&&i[t(317)]&&i[t(311)]().catch(e=>{const n=t;this.debug&&(console[n(325)]("🎬 Auto-play was prevented:",e),console.warn("🎬 Trying muted autoplay fallback...")),i.muted=!0,i[n(311)]()[n(341)](t=>{const e=n;this[e(374)]&&console[e(387)](e(306),t)})})};i[s(318)](s(344),()=>{const e=s;this[e(374)]&&console[e(294)](e(288)),t()}),i[s(318)](s(368),()=>{const e=s;this[e(374)]&&console[e(294)](e(390)),t()}),i[s(318)]("loadeddata",()=>{const e=s;this[e(374)]&&console[e(294)](e(336)),t()}),setTimeout(()=>{const e=s;this[e(374)]&&console.log(e(334)),t()},100)}else if(e[s(379)]){const n=document[s(319)](s(312));return n[s(345)]=e.imageUrl,n[s(375)].width=s(369),n.style[s(372)]=s(369),n[s(375)][s(300)]=s(302),n[s(323)]=e.title||"Video thumbnail",void t[s(292)](n)}it[s(386)](i,e,n,()=>this[s(289)](),this[s(374)],s(328)),i[s(318)](s(387),i=>{const r=s;if(console[r(387)](r(308),i),e.imageUrl){const s=document[r(319)](r(312));s[r(345)]=e[r(379)],s[r(375)][r(373)]=r(369),s.style[r(372)]=r(369),s.style[r(300)]=r(302),s[r(323)]=e[r(343)]||"Video thumbnail",it[r(386)](s,e,n,()=>this[r(289)](),this[r(374)],"Video fallback"),t[r(310)]="",t.appendChild(s)}}),t.appendChild(i),t[s(292)](o),this.debug&&console.log(s(392)+e._id+" (autoplay: "+i.autoplay+s(314)+i[s(297)]+s(330)+i[s(338)]+")")}}function Ot(t,e){const n=_t();return(Ot=function(t,e){return n[t-=227]})(t,e)}const Mt=Ot;function _t(){const t=["warn","#2563eb","div","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","25jCmNAs","Learn More","textContent","createElement","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","open","mouseleave","675KOegQT","142364zqglKb","getElementById","1366zYqoUx","_id","alt","200px","Native click tracked for ad: ","title","addEventListener","click","NATIVE","2601731OyFLlk","length","1572syEBwd","38835aRJimU","src","⚠️ No native advertisements available for slot: ","5348MTTwGZ","mouseenter","cssText","107820yBhUZV","className","linkUrl","Native Advertisement","1292320nJzIgc","🏠 Native ad rendered (first of ","appendChild","debug","\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 ","style","renderAdElement","backgroundColor","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","imageUrl","152pIHtKp","#3b82f6","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","innerHTML","containerId","): ","button","adstage-ad adstage-native-ad"];return(_t=function(){return t})()}!function(){const t=Ot,e=_t();for(;;)try{if(208456===-parseInt(t(256))/1+-parseInt(t(238))/2*(parseInt(t(235))/3)+-parseInt(t(236))/4*(parseInt(t(228))/5)+-parseInt(t(249))/6*(-parseInt(t(253))/7)+-parseInt(t(270))/8*(-parseInt(t(250))/9)+parseInt(t(260))/10+parseInt(t(247))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ft extends mt{constructor(t=!1,e){super(r[Ot(246)],t,e)}getDefaultHeight(){return Ot(241)}async[Mt(266)](t,e){const n=Mt,s=document[n(237)](t[n(274)]);if(!s)return;const i=document[n(231)](n(280));if(i[n(257)]=n(277),i[n(265)][n(255)]="\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n padding: 16px;\n background: #fff;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n ",e[n(243)]){const t=document[n(231)]("h3");t.textContent=e[n(243)],t.style[n(255)]=n(272),i.appendChild(t)}if(e[n(230)]){const t=document[n(231)]("p");t.textContent=e[n(230)],t[n(265)][n(255)]=n(227),i[n(262)](t)}if(e[n(269)]){const t=document[n(231)](n(280));t.style[n(255)]=n(268);const s=document[n(231)]("img");s[n(251)]=e[n(269)],s[n(240)]=e.title||n(259),s[n(265)][n(255)]=n(232),t[n(262)](s),i[n(262)](t)}if(e[n(258)]){const t=document.createElement(n(276));t[n(230)]=n(229),t[n(265)].cssText=n(264),t[n(244)](n(245),()=>{const t=n;this.advertisementEventTracker&&console.log(t(242)+e._id),window[t(233)](e.linkUrl,"_blank")}),t[n(244)](n(254),()=>{const e=n;t[e(265)][e(267)]=e(279)}),t[n(244)](n(234),()=>{const e=n;t[e(265)][e(267)]=e(271)}),i[n(262)](t)}s[n(273)]="",s[n(262)](i),this[n(263)]&&console.log("🏠 Single native ad rendered: "+e[n(239)])}async renderMultipleAds(t,e){const n=Mt;e[n(248)]>0?(await this[n(266)](t,e[0]),this.debug&&console.log(n(261)+e[n(248)]+n(275)+t.id)):this[n(263)]&&console[n(278)](n(252)+t.id)}}const Vt=Ht;function Kt(){const t=["\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","div","1162508vrwZtS","⚠️ No interstitial advertisements available for slot: ","32936FZhkfp","adstage-interstitial-overlay","Escape","\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 ","#374151","cssText","mouseenter","1253RPJazJ","#6b7280","INTERSTITIAL","removeChild","\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 ","mouseleave","head","style","3888720zAeMzs","open","#f3f4f6","img","#e5e7eb","\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 ","linkUrl","484cLbevG","renderMultipleAds","debug","_blank","removeEventListener","#3b82f6","animation","target","click","\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 ","6001785LKavZY","#2563eb","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","backgroundColor","log","getElementById","keydown","key","\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 ","title","Interstitial click tracked for ad: ","body","button","5255980yQiXnY","): ","adstage-interstitial-styles","addEventListener","advertisementEventTracker","🖼️ Interstitial ad rendered (first of ","textContent","innerHTML","imageUrl","renderAdElement","400px","🖼️ Interstitial ad closed","alt","_id","src","length","2RGUOtz","adstage-interstitial-content","appendChild","7938qUJoWh","parentNode","closeInterstitial","fadeOut 0.3s ease-out forwards","warn","17282110mCfnEX","createElement"];return(Kt=function(){return t})()}function Ht(t,e){const n=Kt();return(Ht=function(t,e){return n[t-=343]})(t,e)}!function(){const t=Ht,e=Kt();for(;;)try{if(718691===-parseInt(t(407))/1*(parseInt(t(344))/2)+parseInt(t(410))/3*(-parseInt(t(368))/4)+parseInt(t(391))/5+-parseInt(t(361))/6+parseInt(t(353))/7*(parseInt(t(346))/8)+-parseInt(t(378))/9+parseInt(t(415))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class jt extends mt{constructor(t=!1,e){super(r[Ht(355)],t,e)}getDefaultHeight(){return Ht(401)}async[Vt(400)](t,e){const n=Vt;if(!document[n(383)](t.containerId))return;const s=document[n(416)](n(343));s.className=n(347),s[n(360)][n(351)]=n(357);const i=document[n(416)](n(343));i.className=n(408),i[n(360)][n(351)]=n(386);const r=document[n(416)](n(390));if(r[n(398)]="×",r.style.cssText=n(366),r[n(394)](n(376),()=>{this[n(412)](s)}),r.addEventListener(n(352),()=>{const t=n;r[t(360)][t(381)]=t(365),r.style.color=t(350)}),r[n(394)](n(358),()=>{const t=n;r[t(360)][t(381)]=t(363),r[t(360)].color=t(354)}),e[n(399)]){const t=document[n(416)](n(364));t[n(405)]=e[n(399)],t[n(403)]=e[n(387)]||"Interstitial Advertisement",t[n(360)][n(351)]="\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ",i[n(409)](t)}if(e.title){const t=document[n(416)]("h2");t.textContent=e[n(387)],t[n(360)][n(351)]=n(417),i.appendChild(t)}if(e[n(397)]){const t=document[n(416)]("p");t.textContent=e[n(397)],t[n(360)][n(351)]=n(380),i.appendChild(t)}if(e[n(367)]){const t=document[n(416)](n(390));t[n(397)]="Get Started",t.style.cssText=n(377),t[n(394)](n(376),()=>{const t=n;this[t(395)]&&console[t(382)](t(388)+e[t(404)]),window[t(362)](e[t(367)],t(371)),this[t(412)](s)}),t.addEventListener(n(352),()=>{const e=n;t[e(360)][e(381)]=e(379)}),t[n(394)](n(358),()=>{const e=n;t[e(360)].backgroundColor=e(373)}),i.appendChild(t)}const o=t=>{const e=n;t[e(385)]===e(348)&&(this.closeInterstitial(s),document[e(372)](e(384),o))};if(document[n(394)]("keydown",o),s.addEventListener("click",t=>{t[n(375)]===s&&this.closeInterstitial(s)}),!document[n(383)](n(393))){const t=document[n(416)](n(360));t.id="adstage-interstitial-styles",t.textContent=n(349),document[n(359)].appendChild(t)}i[n(409)](r),s.appendChild(i),document[n(389)][n(409)](s),this.debug&&console[n(382)]("🖼️ Interstitial ad rendered: "+e._id)}async[Vt(369)](t,e){const n=Vt;e[n(406)]>0?(await this[n(400)](t,e[0]),this.debug&&console[n(382)](n(396)+e[n(406)]+n(392)+t.id)):this.debug&&console[n(414)](n(345)+t.id)}[Vt(412)](t){const e=Vt;t[e(360)][e(374)]=e(413),setTimeout(()=>{const n=e;t[n(411)]&&t[n(411)][n(356)](t)},300),this[e(370)]&&console.log(e(402))}}const Wt=Yt;function qt(){const t=["createPlaceholder","src","No advertisement to render","[AdRenderer] ","textContent","height","renderers","initializeRenderers","renderAd","1001586unQjfV","8px","NATIVE","log","toLowerCase","cover","warn","51453100LHSzOT","calculateOptimalContainerSize","setAttribute","4949756BJBtzy","100%","calculateAdSize","style","naturalHeight","createAdElement","onerror","onload","renderAdSlider","adstage-ad adstage-","div"," Ad","getDefaultHeight","_id","⚠️ Container optimization is only supported for BANNER ads, got: ","TEXT","getDefaultHeightForAdType","videoUrl","9005248ACnlSy","isLoaded","renderOptimizedBannerImage","adType","advertisement","#f9f9f9","renderFallback","BANNER","491806bXiWNk","size","backgroundColor","VIDEO","img","optimizeContainerForBannerAds","3tKeYtA","4123413flNOzj","naturalWidth"," renderers","debug","INTERSTITIAL","createElement","set","video","renderAdElement","451789SraYEk","50BCcYHo","getRenderer","data-adstage-slot-id","appendChild","border","imageUrl","advertisementEventTracker","7RrOvzJ","loadImageDimensions","config"];return(qt=function(){return t})()}function Yt(t,e){const n=qt();return(Yt=function(t,e){return n[t-=456]})(t,e)}!function(){const t=Yt,e=qt();for(;;)try{if(873370===-parseInt(t(458))/1+-parseInt(t(514))/2+-parseInt(t(520))/3*(parseInt(t(488))/4)+parseInt(t(459))/5*(-parseInt(t(478))/6)+parseInt(t(466))/7*(-parseInt(t(506))/8)+parseInt(t(521))/9+parseInt(t(485))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Jt{constructor(t=!1,e){const n=Yt;this[n(475)]=new Map,this[n(524)]=t,this[n(465)]=e||null,this.initializeRenderers()}[Wt(476)](){const t=Wt;this[t(475)][t(527)](r.BANNER,new yt(this[t(524)],this[t(465)])),this[t(475)][t(527)](r[t(503)],new Dt(this.debug,this[t(465)])),this[t(475)].set(r[t(517)],new Nt(this[t(524)],this[t(465)])),this[t(475)].set(r[t(480)],new Ft(this[t(524)],this.advertisementEventTracker)),this[t(475)][t(527)](r[t(525)],new jt(this[t(524)],this[t(465)])),this[t(524)]&&console[t(481)]("🏭 AdRenderer factory initialized with "+this.renderers[t(515)]+t(523))}[Wt(493)](t,e){const n=Wt,s=this[n(460)](t[n(509)]),i=document[n(526)](n(498));i.className=n(497)+String(t[n(509)])[n(482)](),i[n(487)]("data-adstage-ad-id",e[n(501)]),i[n(487)](n(461),t.id);const{width:o,height:a}=s[n(490)](i,t[n(468)]||{},e);switch(i[n(491)].width=o,i.style[n(474)]=a,i.style.display="block",t.adType){case r.BANNER:if(e.imageUrl){const t=document[n(526)](n(518));t[n(470)]=e[n(464)],t[n(491)].width=n(489),t[n(491)][n(474)]=n(489),t.style.objectFit=n(483),i[n(462)](t)}break;case r[n(517)]:if(e[n(505)]){const t=document[n(526)](n(456));t[n(470)]=e[n(505)],t[n(491)].width=n(489),t[n(491)][n(474)]="100%",i[n(462)](t)}break;case r[n(503)]:if(e[n(473)]){const t=document[n(526)]("div");t[n(473)]=e[n(473)]||"",t.style.padding=n(479),i.appendChild(t)}break;default:i.style[n(463)]="1px dashed #ccc",i.style[n(516)]=n(511),i[n(473)]=t[n(509)]+n(499)}return i}getRenderer(t){const e=this[Wt(475)].get(t);if(!e)throw new Error("No renderer found for ad type: "+t);return e}[Wt(469)](t,e,n,s,i){const r=Wt;this[r(460)](n)[r(469)](t,e,s,i)}async[Wt(519)](t,e){const n=Wt;if(t[n(509)]!==r[n(513)])return void(this[n(524)]&&console[n(484)](n(502)+t[n(509)]));const s=this[n(460)](r[n(513)]);await s.optimizeContainerForBannerAds(t,e)}async[Wt(496)](t,e){const n=Wt,s=this[n(460)](t[n(509)]);await s.renderMultipleAds(t,e)}async[Wt(477)](t){const e=Wt;if(!t[e(510)])throw new Error(e(471));const n=this[e(460)](t[e(509)]);await n[e(457)](t,t[e(510)]),t[e(507)]=!0}async[Wt(457)](t,e){const n=Wt,s=this.getRenderer(t[n(509)]);await s[n(457)](t,e)}[Wt(512)](t){const e=Wt;this[e(460)](t.adType)[e(512)](t)}[Wt(504)](t){const e=Wt;return this[e(460)](t)[e(500)]()}[Wt(490)](t,e,n,s){const i=Wt;return this[i(460)](e)[i(490)](t,n,s)}[Wt(467)](t){return new Promise((e,n)=>{const s=Yt,i=new Image;i[s(495)]=()=>{const t=s;e({width:i[t(522)],height:i[t(492)]})},i[s(494)]=()=>{n(new Error("Failed to load image: "+t))},i[s(470)]=t})}async[Wt(508)](t,e,n){const s=Wt;if(n[s(509)]!==r[s(513)])throw new Error("renderOptimizedBannerImage is only supported for BANNER ads");const i=this[s(460)](r[s(513)]);return await i[s(508)](t,e,n)}async[Wt(486)](t,e,n){const s=Wt;if(n!==r.BANNER){const t=this.getRenderer(n);return{width:s(489),height:t[s(500)](),aspectRatio:16/9}}const i=this[s(460)](r.BANNER);return await i.calculateOptimalContainerSize(t,e)}[Wt(481)](t,...e){const n=Wt;this[n(524)]&&console[n(481)](n(472)+t,...e)}}const Gt=Xt;function Xt(t,e){const n=Qt();return(Xt=function(t,e){return n[t-=336]})(t,e)}!function(){const t=Xt,e=Qt();for(;;)try{if(760625===-parseInt(t(357))/1+-parseInt(t(382))/2+-parseInt(t(448))/3+parseInt(t(385))/4+parseInt(t(379))/5+-parseInt(t(432))/6*(-parseInt(t(341))/7)+parseInt(t(375))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Zt{constructor(){const t=Xt;this[t(436)]=!1,this[t(389)]=null,this[t(371)]=new Map,this[t(407)]=null,this[t(380)]=null,this[t(431)]=null}[Gt(417)](t){const e=Gt;this._config=t,this[e(407)]=new _(X.getBaseUrl(),t[e(444)],t[e(429)]||!1,this.slots),this[e(380)]=new Jt(t.debug||!1,this[e(407)]),this[e(365)](),this[e(436)]=!0,t[e(429)]&&console.log(e(423))}[Gt(378)](){return this[Gt(436)]}[Gt(426)](){return this[Gt(389)]}[Gt(470)](t,e){const n=Gt;this[n(425)]();const s={width:e?.[n(441)]||n(343),height:e?.[n(464)]||n(419),autoSlide:e?.[n(352)]||!1,slideInterval:e?.[n(471)]||5e3,onClick:e?.[n(366)],adId:e?.adId,language:e?.[n(392)],deviceType:e?.deviceType,country:e?.country};return this[n(402)](t,r.BANNER,s)}text(t,e){const n=Gt;this[n(425)]();const s={maxLines:e?.[n(368)]||3,style:e?.[n(362)]||"default",onClick:e?.[n(366)],adId:e?.[n(393)],language:e?.language,deviceType:e?.deviceType,country:e?.[n(451)]};return this[n(402)](t,r[n(377)],s)}[Gt(422)](t,e){const n=Gt;this[n(425)]();const s={width:e?.[n(441)]||640,height:e?.[n(464)]||360,autoplay:void 0===e?.autoplay||e.autoplay,muted:void 0===e?.[n(363)]||e.muted,loop:void 0===e?.[n(442)]||e.loop,playsinline:!1!==e?.playsinline,controls:void 0!==e?.[n(452)]&&e[n(452)],hideControls:e?.[n(469)]||!1,customControls:e?.[n(468)],autoSlide:!1,maxAds:1,onClick:e?.[n(366)],...e?.[n(393)]&&{adId:e[n(393)]}};return this[n(402)](t,r[n(458)],s)}[Gt(459)](t,e){const n=Gt;return this.ensureReady(),this.createAd(t,r[n(356)],e||{})}[Gt(394)](t,e){const n=Gt;return this[n(425)](),this[n(402)](t,r.INTERSTITIAL,e||{})}[Gt(401)](t){const e=Gt;this.ensureReady();const n=this.slots[e(427)](t);if(!n)throw new Error("Ad slot not found: "+t);this[e(412)](n),this[e(389)]?.[e(429)]&&console[e(386)]("🔄 Ad slot refreshed: "+t)}[Gt(387)](t){const e=Gt;this.ensureReady();const n=this[e(371)][e(427)](t);if(!n)return void(this[e(389)]?.debug&&console[e(386)]("🔍 Ad slot already cleaned up: "+t));n[e(395)]&&n[e(395)][e(387)]();const s=document[e(467)](n[e(424)]);s&&(s[e(418)]=""),this[e(371)][e(466)](t),this[e(389)]?.[e(429)]&&console[e(386)](e(457)+t)}[Gt(376)](){const t=Gt;return this.ensureReady(),Array[t(411)](this.slots[t(388)]())}[Gt(346)](t){const e=Gt;return this[e(425)](),this[e(371)][e(427)](t)||null}[Gt(402)](t,e,n){const s=Gt;if(!this[s(389)]?.[s(444)])throw new Error(s(416));const i="adstage-"+e+"-"+Date[s(358)]()+"-"+Math.random()[s(381)](36)[s(434)](2,9);return this.createAdWithRetry(t,e,n,i,0),i}async createAdWithRetry(t,e,n,s,i){const r=Gt,o=[0,50,100,200,500];let a,c=null;if(typeof t===r(369)){if(a=t,c=document[r(467)](t),!c)return i<4?(this[r(389)]?.[r(429)]&&console[r(403)](r(433)+t+r(430)+o[i+1]+r(414)+(i+1)+"/5)"),void setTimeout(()=>{this[r(447)](t,e,n,s,i+1)},o[i+1])):void console.error(r(342)+5+r(370)+t)}else c=t,a=c.id||r(372)+s,!c.id&&(c.id=a);try{this[r(472)](a,e,n,s,c)}catch(t){console[r(339)](r(460),t)}}[Gt(472)](t,e,n,s,i){const o=Gt;i[o(450)](o(463),s),this[o(380)]?.createPlaceholder(i,s,e,n,this[o(389)]);const a={id:s,containerId:t,adType:e,width:n[o(441)]||o(343),height:n[o(464)]||(e===r[o(377)]?"auto":250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:e,...n},load:async()=>this[o(454)](e,n).then(t=>t[0]||null),render:t=>this[o(380)]?.[o(364)](a,t),refresh:async()=>this[o(412)](a),destroy:()=>this[o(387)](s)};this.slots[o(398)](s,a),this.loadAdContentInBackground(a),this[o(407)]&&this[o(389)]?.[o(429)]&&console[o(386)](o(410)+s)}async loadAdContentInBackground(t){const e=Gt;try{const n=await this[e(454)](t[e(440)],t[e(421)]);if(!n||0===n.length)return void this[e(380)]?.renderFallback(t);t.adType===r.BANNER&&n[e(437)]>0&&await(this[e(380)]?.[e(400)](t,n)),n[e(437)]>1||t.config?.autoSlide?(await(this[e(380)]?.renderAdSlider(t,n)),this[e(389)]?.[e(429)]&&console[e(386)](e(344)+n.length+e(438))):(t[e(336)]=n[0],await(this.adRenderer?.[e(364)](t,n[0])),this[e(338)](t,n[0])),t[e(435)]=!0,this[e(389)]?.[e(429)]&&console[e(386)](e(367)+t.id+" ("+n[e(437)]+e(445))}catch(n){console[e(339)](e(391)+t.id,n),this[e(380)]?.[e(408)](t)}}[Gt(338)](t,e){const n=(s=0)=>{const i=Xt,r=document[i(467)](t.id);if(!r)return void(s<5?(setTimeout(()=>n(s+1),300),this[i(389)]?.debug&&console[i(386)](i(399)+t.id+i(443)+(s+1)+")")):console[i(403)]("❌ Failed to find element for viewability tracking: "+t.id));const o=new H(r,async()=>{const n=i;await this[n(373)](e,t)});t[i(395)]=o,this[i(389)]?.[i(429)]&&console[i(386)](i(409)+t.id+i(384))};n()}async[Gt(373)](t,e){const n=Gt;try{this.advertisementEventTracker&&(await this[n(407)][n(405)](t[n(461)],e.id,u[n(406)]),this[n(389)]?.[n(429)]&&console[n(386)](n(340)+t[n(461)]))}catch(t){console[n(339)]("❌ Failed to track viewable impression:",t)}}async fetchAdData(t,e){const n=Gt;if(!this[n(389)]?.[n(444)])throw new Error("API key not configured");if(e[n(393)]){const t=""+X[n(449)][n(456)](e[n(393)]),s=await fetch(t,{method:n(455),headers:U[n(361)](this._config.apiKey)});if(!s.ok){if(404===s[n(355)])return console[n(403)](n(354)+e[n(393)]),[];throw new Error(n(349)+s[n(355)])}const i=await s[n(359)]();return this._config?.[n(429)]&&console.log("📊 Fetched specific ad with ID: "+e[n(393)],i),[i]}const s=new URLSearchParams;s.append("adType",t),e[n(392)]&&s[n(351)]("language",e[n(392)]),e.deviceType&&s.append("deviceType",e[n(453)]),e.country&&s[n(351)](n(451),e.country);const i=X[n(449)][n(415)]()+"?"+s.toString(),r=await fetch(i,{method:n(455),headers:U[n(361)](this[n(389)][n(444)])});if(!r.ok)throw new Error(n(349)+r.status);const o=(await r[n(359)]())[n(449)]||[];return this[n(389)]?.[n(429)]&&console[n(386)]("📊 Fetched "+o[n(437)]+" ads for type: "+t+n(397),{language:e.language,deviceType:e.deviceType,country:e[n(451)]}),o}async refreshAdSlot(t){const e=Gt;try{const n=await this[e(454)](t[e(440)],t[e(421)]||{});n&&n[e(437)]>0&&(t[e(336)]=n[0],await(this[e(380)]?.[e(383)](t)),this.advertisementEventTracker&&console[e(386)](e(360),t.id))}catch(n){console[e(339)]("Failed to refresh ad slot: "+t.id,n)}}[Gt(425)](){const t=Gt;if(!this._isReady)throw new Error(t(347))}[Gt(365)](){const t=Gt;typeof window!==t(390)&&typeof document!==t(390)&&(this[t(431)]&&this[t(431)].disconnect(),this[t(431)]=new MutationObserver(e=>{e[t(337)](t=>{t.removedNodes.forEach(t=>{const e=Xt;t[e(420)]===Node[e(374)]&&this[e(465)](t)})})}),this[t(431)][t(404)](document[t(439)],{childList:!0,subtree:!0}),this[t(389)]?.[t(429)]&&console.log(t(350)))}[Gt(465)](t){const e=Gt,n=t.getAttribute(e(463));if(n)return void this[e(446)](n);t[e(353)](e(345))[e(337)](t=>{const n=e,s=t.getAttribute(n(463));s&&this[n(446)](s)})}[Gt(446)](t){const e=Gt,n=this[e(371)][e(427)](t);if(n)try{n[e(395)]&&n[e(395)][e(387)](),this[e(371)].delete(t),this._config?.[e(429)]&&console[e(386)]("🧹 Auto-cleanup: slot "+t+e(396))}catch(n){this[e(389)]?.[e(429)]&&console[e(403)](e(428)+t+":",n)}}destroyModule(){const t=Gt,e=this[t(389)]?.[t(429)];this[t(431)]&&(this[t(431)][t(462)](),this.mutationObserver=null),this.slots[t(413)](),this.advertisementEventTracker=null,this[t(380)]=null,this[t(436)]=!1,this[t(389)]=null,e&&console[t(386)](t(348))}}function Qt(){const t=["renderAd"," (element found)","1334996kqTWpz","log","destroy","values","_config","undefined","❌ Failed to load ad for slot: ","language","adId","interstitial","viewabilityTracker"," removed",", filters:","set","🔄 Retrying viewability tracking for slot: ","optimizeContainerForBannerAds","refresh","createAd","warn","observe","trackAdvertisementEvent","VIEWABLE","advertisementEventTracker","renderFallback","🎯 Simple viewability tracking started for slot: ","📊 Advertisement event tracking enabled for slot: ","from","refreshAdSlot","clear","ms... (attempt ","list","API key not configured","init","innerHTML","auto","nodeType","config","video","🎯 Ads module initialized (sync mode) with auto-cleanup","containerId","ensureReady","getConfig","get","Auto-cleanup failed for slot ","debug",". Retrying in ","mutationObserver","57846qCRiTh","Container not found: ","substr","isLoaded","_isReady","length"," ads automatically","body","adType","width","loop"," (attempt ","apiKey"," ads)","autoDestroy","createAdWithRetry","3772704DSSbOG","advertisements","setAttribute","country","controls","deviceType","fetchAdData","GET","detail","🗑️ Ad slot destroyed: ","VIDEO","native","광고 생성 중 오류 발생:","_id","disconnect","data-adstage-slot-id","height","handleRemovedElement","delete","getElementById","customControls","hideControls","banner","slideInterval","createAdInternal","advertisement","forEach","startSimpleViewabilityTracking","error","✅ Simple viewable impression tracked for ad ","917iIETgJ","Container not found after ","100%","🎠 Slider will handle VIEWABLE events for ","[data-adstage-slot-id]","getSlotById","Ads module not initialized. Call AdStage.init() first.","🗑️ Ads module destroyed","Failed to fetch ad data: ","🔍 Auto-cleanup MutationObserver enabled","append","autoSlide","querySelectorAll","🚫 Advertisement not found with ID: ","status","NATIVE","353455esMlcp","now","json","New advertisement viewable tracked for slot:","create","style","muted","renderAdElement","setupAutoCleanup","onClick","✅ Ad loaded for slot: ","maxLines","string"," attempts: ","slots","auto-","handleViewableEvent","ELEMENT_NODE","5620832xeMdhJ","getAllSlots","TEXT","isReady","6562010KLfpHe","adRenderer","toString","2480156gQZvqk"];return(Qt=function(){return t})()}var $t=te;function te(t,e){var n=ee();return(te=function(t,e){return n[t-=498]})(t,e)}function ee(){var t=["apiKey","isModuleEnabled","ads","_isReady","updateConfig","development","10779202dBdQMP","_organizationInfo","getEnabledModules","Config module not initialized","events","create","getApiEndpoint","973860pKxAmH","563724APqism","1657728BURelv","_config","baseUrl","includes","setBaseUrl","getConfig","🔄 Config updated","getBaseUrl","160944nFxlPx","3RDTgeM","isDebugMode","getApiHeaders","1509024NhuxNf","55OksNQz","✅ Config module initialized (sync mode)","debug","log","18090135zNwxMp","modules","getOrganizationInfo","init"];return(ee=function(){return t})()}!function(){for(var t=te,e=ee();;)try{if(824273===-parseInt(t(507))/1*(parseInt(t(532))/2)+parseInt(t(498))/3+parseInt(t(506))/4+parseInt(t(511))/5*(parseInt(t(533))/6)+-parseInt(t(525))/7+parseInt(t(510))/8+parseInt(t(515))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ne{constructor(){var t=te;this[t(522)]=!1,this[t(499)]=null,this[t(526)]=null}[$t(518)](t){var e=$t;this[e(499)]={timeout:3e4,debug:!1,modules:[e(521),e(529),"config"],...t},t[e(500)]&&X[e(502)](t[e(500)]),this[e(522)]=!0,t[e(513)]&&console[e(514)](e(512),{modules:this[e(499)][e(516)],endpoint:X[e(505)](),mode:e(524)})}isReady(){return this[$t(522)]}[$t(503)](){return this[$t(499)]}[$t(517)](){return this._organizationInfo}[$t(531)](){return X.getBaseUrl()}[$t(508)](){var t=$t;return this[t(499)]?.[t(513)]||!1}[$t(527)](){var t=$t;return this[t(499)]?.[t(516)]||[]}[$t(520)](t){var e=$t;return this[e(527)]()[e(501)](t)}[$t(523)](t){var e=$t;if(!this[e(499)])throw new Error(e(528));this[e(499)]={...this[e(499)],...t},this[e(508)]()&&console.log(e(504),t)}[$t(509)](){var t=$t;if(!this._config?.apiKey)throw new Error("API key not available");return U[t(530)](this[t(499)][t(519)])}}const se=ie;function ie(t,e){const n=oe();return(ie=function(t,e){return n[t-=473]})(t,e)}!function(){const t=ie,e=oe();for(;;)try{if(559382===parseInt(t(506))/1*(parseInt(t(512))/2)+-parseInt(t(511))/3*(-parseInt(t(510))/4)+parseInt(t(497))/5+parseInt(t(477))/6+-parseInt(t(493))/7*(parseInt(t(475))/8)+-parseInt(t(514))/9+parseInt(t(473))/10*(parseInt(t(503))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class re{static[se(515)](){const t=se;return{...re[t(486)](),...re[t(504)]}}static[se(486)](){const t=se;if(!k.isBrowser())return{category:t(502),platform:"SSR",model:t(491),osVersion:"SSR"};const e=navigator[t(488)].toLowerCase();let n="desktop";/tablet|ipad/[t(482)](e)?n=t(492):L[t(494)]()&&(n=t(498));const s=L[t(508)]();return{category:n,platform:re[t(501)](s),model:navigator[t(487)],osVersion:navigator[t(487)]}}static[se(509)](t){const e=se;re[e(504)]={...re[e(504)],...t}}static[se(500)](t,e){re[se(504)][t]=e}static clearDeviceInfo(){re[se(504)]={}}static[se(513)](){return{...re[se(504)]}}static[se(501)](t){const e=se;switch(t){case e(505):return e(516);case e(483):return"Android";case e(496):return e(478);case e(481):return e(499);default:return e(474)}}static[se(484)](){const t=se;if(!k[t(490)]())return{userAgent:t(491),language:t(480),platform:"SSR",cookieEnabled:!1,onLine:!0,screenResolution:t(489),viewportSize:t(489)};const e=k.getViewportInfo();return{userAgent:navigator[t(488)],language:navigator[t(479)]||t(480),platform:navigator[t(487)],cookieEnabled:navigator[t(485)],onLine:navigator[t(476)],screenResolution:screen[t(495)]+"x"+screen.height,viewportSize:e[t(495)]+"x"+e[t(507)]}}}function oe(){const t=["height","getPlatform","setDeviceInfo","854540WxCQTR","12aZegVm","36rzdIka","getUserDeviceInfo","8881542fOabtV","getDeviceInfo","iOS","4586810GXXEVH","Unknown","744HgWFwe","onLine","1889136fyyFad","Mobile Web","language","ko-KR","desktop","test","android","getDetailedInfo","cookieEnabled","getAutoDetectedDeviceInfo","platform","userAgent","0x0","isBrowser","SSR","tablet","66773kmPJRP","isMobile","width","web","3145520DpegUb","mobile","Desktop Web","setDeviceProperty","mapPlatformForEvents","other","11NhlojU","_userProvidedDeviceInfo","ios","9787qUJbeA"];return(oe=function(){return t})()}re._userProvidedDeviceInfo={};const ae=le;function ce(){const t=["split","1781591ISALxI","_userProperties","timeZone","5672810dYUboc","UTC","450UiaNPI","721287crftvf","8NFGqMQ","setUserProperties","resolvedOptions","clearUserProperties","ko-KR","53850MWEzNa","10RFwQeq","extractCountryFromLanguage","40UkRBwt","48fybBvN","estimateLocation","DateTimeFormat","language","getCurrentUserProperties","getBaseUserInfo","4CDOaTJ","2588nwDTbF","38028VCWEOQ","2934893wuGKpG"];return(ce=function(){return t})()}!function(){const t=le,e=ce();for(;;)try{if(308132===-parseInt(t(463))/1*(-parseInt(t(446))/2)+parseInt(t(456))/3*(parseInt(t(447))/4)+-parseInt(t(439))/5*(-parseInt(t(448))/6)+parseInt(t(451))/7*(-parseInt(t(458))/8)+-parseInt(t(457))/9*(parseInt(t(464))/10)+-parseInt(t(454))/11+parseInt(t(440))/12*(parseInt(t(449))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class de{static getUserInfo(){const t=le;return{...de[t(445)](),...de[t(452)]}}static[ae(445)](){const t=ae;if(!k.isBrowser())return{language:"ko-KR",country:"KR"};const e=navigator[t(443)]||t(462);return{language:e,country:de[t(438)](e)}}static[ae(438)](t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t[ae(450)]("-")[0]]||"KR"}static[ae(459)](t){const e=ae;de[e(452)]={...de[e(452)],...t}}static setUserProperty(t,e){de[ae(452)][t]=e}static[ae(461)](){de[ae(452)]={}}static[ae(444)](){return{...de[ae(452)]}}static[ae(441)](){const t=ae;if(!k.isBrowser())return{timezone:t(455),estimatedCountry:"KR"};const e=Intl[t(442)]()[t(460)]()[t(453)];return{timezone:e,estimatedCountry:{"Asia/Seoul":"KR","Asia/Tokyo":"JP","Asia/Shanghai":"CN","Asia/Hong_Kong":"HK","Asia/Taipei":"TW","America/New_York":"US","America/Los_Angeles":"US","Europe/London":"GB","Europe/Berlin":"DE","Europe/Paris":"FR"}[e]||"KR"}}}function le(t,e){const n=ce();return(le=function(t,e){return n[t-=438]})(t,e)}de[ae(452)]={};const ue=pe;function pe(t,e){const n=fe();return(pe=function(t,e){return n[t-=175]})(t,e)}!function(){const t=pe,e=fe();for(;;)try{if(356141===-parseInt(t(195))/1+parseInt(t(244))/2+parseInt(t(230))/3*(-parseInt(t(216))/4)+parseInt(t(231))/5*(-parseInt(t(235))/6)+parseInt(t(176))/7+-parseInt(t(221))/8+parseInt(t(233))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class he{static[ue(242)](){const t=ue;if("undefined"==typeof window)return null;const e=new URLSearchParams(window.location[t(246)]),n={};let s=!1;const i=e[t(227)](t(177));if(i)try{const e=decodeURIComponent(i),r=new URLSearchParams(e);for(const e of he[t(220)]){const i=r[t(227)](e);i&&(n[e]=i,s=!0)}"true"===r[t(227)](t(190))&&(s=!0)}catch(e){console[t(222)](t(232),e)}for(const i of he[t(220)]){if(n[i])continue;const r=e[t(227)](i);r&&(n[i]=r,s=!0)}return s?(n[t(187)]||(n.gclid?n[t(187)]=t(224):n[t(214)]?n[t(187)]="meta.ads":n[t(229)]?n[t(187)]="tiktok.ads":n[t(178)]?n[t(187)]=t(219):n[t(191)]?n[t(187)]=t(223):n[t(241)]?n[t(187)]=t(193):n[t(197)]&&(n[t(187)]="twitter.ads")),he[t(207)](n),n):null}static[ue(207)](t){const e=ue;if(typeof window!==e(215)&&window[e(185)])try{const n={...he.get(),...t};sessionStorage[e(234)](he.STORAGE_KEY,JSON[e(240)](n))}catch(t){console[e(222)](e(179),t)}}static[ue(227)](){const t=ue;if(typeof window===t(215)||!window[t(185)])return null;try{const e=sessionStorage[t(175)](he[t(236)]);if(e)return JSON[t(239)](e)}catch(e){console[t(222)](t(201),e)}return null}static[ue(206)](){const t=ue;if(typeof window!==t(215)&&window.sessionStorage)try{sessionStorage.removeItem(he[t(236)])}catch(e){console[t(222)](t(183),e)}}static[ue(225)](){const t=ue,e=he[t(227)]();return null!==e&&Object[t(228)](e)[t(188)]>0}static[ue(213)](){const t=ue,e=he[t(227)]();return!!e&&he[t(211)][t(205)](t=>e[t])}static[ue(210)](){const t=ue;if(typeof window===t(215))return!1;const e=he.get();if(!e||!he[t(213)]())return!1;const n=e.gclid||e.fbclid||e[t(229)]||e[t(178)]||e[t(191)]||e[t(241)]||e[t(197)];if(!n)return!1;return n!==sessionStorage[t(175)](t(192))&&(sessionStorage.setItem(t(192),n),!0)}static[ue(181)](){const t=ue;"undefined"!=typeof window&&sessionStorage[t(234)](t(184),t(203))}static isClickEventSent(){const t=ue;return"undefined"!=typeof window&&sessionStorage.getItem("adstage_click_event_sent")===t(203)}static[ue(238)](){const t=ue,e=he.get();if(!e)return null;const n={};return e[t(237)]&&(n.gclid=e[t(237)]),e[t(214)]&&(n[t(214)]=e[t(214)]),e[t(229)]&&(n[t(229)]=e[t(229)]),e[t(178)]&&(n[t(178)]=e.nclid),e[t(187)]&&(n[t(187)]=e[t(187)]),e[t(212)]&&(n[t(212)]=e.campaign),e[t(182)]&&(n[t(245)]=e.campaign_id),e[t(194)]&&(n.adGroup=e[t(194)]),e[t(202)]&&(n[t(196)]=e.ad_group_id),e.ad_creative&&(n[t(209)]=e[t(180)]),e.creative_id&&(n[t(186)]=e[t(243)]),e[t(226)]&&(n[t(226)]=e[t(226)]),e[t(208)]&&(n[t(208)]=e[t(208)]),e[t(200)]&&(n[t(200)]=e[t(200)]),e[t(189)]&&(n[t(189)]=e[t(189)]),e[t(199)]&&(n[t(199)]=e[t(199)]),e.utm_term&&(n.utm_term=e.utm_term),Object.keys(n)[t(188)]>0?n:null}}function fe(){const t=["adstage_last_click_id","microsoft.ads","ad_group","404795PhbYKY","adGroupId","twclid","utm_term","utm_content","utm_medium","Failed to retrieve tracking params:","ad_group_id","true","UTM_KEYS","some","clear","store","utm_source","adCreative","shouldSendClickEvent","CLICK_ID_KEYS","campaign","hasClickId","fbclid","undefined","452HXIOyV","adstage_tracking_params","CAMPAIGN_KEYS","naver.searchad","ALL_KEYS","3067968vuJEOd","warn","linkedin.ads","google.ads","hasParams","term","get","keys","ttclid","303FWAzNb","298515AqloXK","Failed to parse adstage_referrer:","14609799vUGFIn","setItem","54bCcRRv","STORAGE_KEY","gclid","toAttributionObject","parse","stringify","msclkid","captureFromUrl","creative_id","26140vNPyrO","campaignId","search","getItem","397537HaMIdO","adstage_referrer","nclid","Failed to store tracking params:","ad_creative","markClickEventSent","campaign_id","Failed to clear tracking params:","adstage_click_event_sent","sessionStorage","creativeId","channel","length","utm_campaign","adstage","liclid"];return(fe=function(){return t})()}he[ue(236)]=ue(217),he[ue(211)]=[ue(237),"fbclid",ue(229),ue(178),"liclid","msclkid",ue(197)],he[ue(218)]=[ue(212),"campaign_id",ue(194),ue(202),ue(180),ue(243),ue(226)],he[ue(204)]=["utm_source",ue(200),ue(189),ue(199),ue(198)],he[ue(220)]=[...he[ue(211)],...he[ue(218)],...he.UTM_KEYS];const ge=me;function me(t,e){const n=ve();return(me=function(t,e){return n[t-=351]})(t,e)}!function(){const t=me,e=ve();for(;;)try{if(203579===parseInt(t(371))/1*(-parseInt(t(372))/2)+parseInt(t(388))/3*(-parseInt(t(386))/4)+-parseInt(t(406))/5+-parseInt(t(373))/6+-parseInt(t(417))/7*(-parseInt(t(366))/8)+-parseInt(t(351))/9*(parseInt(t(376))/10)+-parseInt(t(412))/11*(-parseInt(t(384))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ie{constructor(){const t=me;this._isReady=!1,this[t(364)]=null}[ge(369)](t){const e=ge;this[e(364)]=t,this[e(410)]=!0,t[e(358)]&&console[e(391)](e(379))}[ge(408)](){return this[ge(410)]}[ge(404)](){return this[ge(364)]}[ge(411)](t){const e=ge;de.setUserProperties(t),this[e(364)]?.[e(358)]&&console[e(391)]("👤 User properties set:",t)}[ge(385)](){return de.getCurrentUserProperties()}[ge(390)](t){const e=ge;re[e(390)](t),this[e(364)]?.[e(358)]&&console[e(391)](e(359),t)}[ge(416)](t,e){const n=ge;re.setDeviceProperty(t,e),this[n(364)]?.debug&&console[n(391)]("📱 Device property set:",t,e)}clearDeviceInfo(){const t=ge;re[t(377)](),this[t(364)]?.debug&&console.log(t(360))}[ge(362)](){return re.getUserDeviceInfo()}[ge(352)](){return re[ge(352)]()}getUserInfo(){return de[ge(389)]()}[ge(419)](){return de[ge(419)]()}async[ge(402)](t,e){const n=ge;if(this[n(410)])if(this[n(364)]?.apiKey)try{const s=this[n(382)]();if(s){const i={eventName:t,sdkVersion:C(),device:re[n(352)](),user:de[n(389)](),attributionId:s,params:e||{}};return await this[n(393)](i),void(this._config[n(358)]&&console[n(391)]("✅ Event tracked with attribution ID:",t,s))}const i=he.toAttributionObject(),r={eventName:t,sdkVersion:C(),device:re[n(352)](),user:de[n(389)](),...i&&{attribution:i},params:e||{}};await this[n(393)](r),this[n(364)].debug&&(console[n(391)](n(387),t,e),i&&console[n(391)]("📊 Attribution included:",i))}catch(s){console[n(415)](n(399),s),this[n(364)][n(358)]&&console[n(415)]("Event data:",{eventName:t,properties:e})}else console[n(418)](n(355));else console.warn(n(375))}async[ge(394)](t){const e=ge;if(!this[e(410)])return console[e(418)](e(375)),null;if(!this._config?.[e(361)])return console.warn("API key not configured for attribution registration."),null;try{const n=he[e(380)]();if(!n||0===Object[e(395)](n)[e(367)])return this[e(364)].debug&&console[e(391)](e(383)),null;const s=await this.sendAttributionToServer({deviceId:t,referrerParams:n});return this._config[e(358)]&&console[e(391)](e(363),s),s.attributionId&&sessionStorage.setItem("adstage_attribution_id",s[e(392)]),s}catch(t){return console.error(e(414),t),null}}[ge(382)](){const t=ge;return typeof window!==t(381)&&window[t(396)]?sessionStorage[t(420)](t(407)):null}async trackWithAttributionId(t,e){return this[ge(402)](t,e)}async[ge(393)](t){const e=ge,n={...U.create(this[e(364)][e(361)]),"Content-Type":e(354)};this._config?.[e(358)]&&(console[e(391)](e(397),n),console[e(391)](e(374),X.events[e(402)]()),console.log(e(357),t));const s=await fetch(X[e(356)][e(402)](),{method:"POST",headers:n,body:JSON[e(400)](t)});if(!s.ok){const t=await s.text();throw console[e(415)]("❌ API Error Response:",t),new Error(e(413)+s[e(409)]+" "+s[e(403)])}}async[ge(365)](t){const e=ge,n={...U[e(353)](this[e(364)][e(361)]),"Content-Type":e(354)};this[e(364)]?.[e(358)]&&(console[e(391)]("🔑 Attribution request headers:",n),console[e(391)](e(378),X.events[e(394)]()),console[e(391)](e(368),t));const s=await fetch(X[e(356)][e(394)](),{method:e(401),headers:n,body:JSON.stringify(t)});if(!s.ok){const t=await s.text();throw console[e(415)](e(370),t),new Error(e(405)+s[e(409)]+" "+s[e(403)])}return s[e(398)]()}}function ve(){const t=["Attribution registration failed: ","69665nLimTD","adstage_attribution_id","isReady","status","_isReady","setUserProperties","6368989XDsngp","Event tracking failed: ","❌ Failed to register attribution:","error","setDeviceProperty","3647vXHlJb","warn","getCurrentUserProperties","getItem","48771gktuvx","getDeviceInfo","create","application/json","API key not configured for event tracking.","events","📦 Request body:","debug","📱 Device info set:","📱 User provided device info cleared","apiKey","getUserDeviceInfo","✅ Attribution registered:","_config","sendAttributionToServer","1336paAdLk","length","📦 Attribution request body:","init","❌ API Error Response:","2vPqcsa","161870tJZBNj","302820ZIPPqr","📡 Request URL:","Events module not initialized. Call AdStage.init() first.","390aBuPFm","clearDeviceInfo","📡 Attribution request URL:","📊 Events module initialized","get","undefined","getAttributionId","⏭️ No tracking parameters found, skipping attribution registration","12bgUyGA","getUserProperties","11028eLUxsE","✅ Event tracked:","27pHKaRq","getUserInfo","setDeviceInfo","log","attributionId","sendEventToServer","registerAttribution","keys","sessionStorage","🔑 Request headers:","json","❌ Failed to track event:","stringify","POST","track","statusText","getConfig"];return(ve=function(){return t})()}const ye=ke;function be(){const t=["🌐 API endpoint configured:","now","attributionId","expiresAt","web","getConfig","AdStage not initialized. Call AdStage.init() first.","🔍 Should send click event:","channel","captureFromUrl","error","✅ Attribution registered:","height","width","AdStage.events accessed before initialization","viewableTracker","events","abs","shouldSendClickEvent","web-","62858WCcNxL","toString","then","baseUrl","substring","1215984mZfGaX","getItem","apiKey","tracking_params","track","hasClickId","debug","instance","✅ AdStage Debug: 광고 ","init","2115708ukbklw","function","modules","language","from",")의 viewable 추적 초기화됨","1597563TbFHKb","🚀 AdStage SDK initialized (sync mode)","AdStage.config accessed before initialization","📊 Tracking parameters captured:","hardwareConcurrency","toAttributionObject","❌ Failed to register attribution:","getInstance","📊 AdStage Debug: 현재 viewable 추적 상태","charCodeAt","2184942KmKXlC","12SNiMbx","67345fhteiI","registerAttribution","getTimezoneOffset","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","size","length","API key is required for AdStage initialization","server-","652716pRTVnz","_config","_isInitialized","adstage_device_id","log","join","✅ Auto-tracked click event with tracking params:","setItem","get","config","12DMOFnA","ads","❌ Error in click event auto-tracking:","clearAdViewable","generateDeviceId","undefined","AdStage.ads accessed before initialization","toISOString"];return(be=function(){return t})()}!function(){const t=ke,e=be();for(;;)try{if(206591===parseInt(t(375))/1*(parseInt(t(403))/2)+-parseInt(t(444))/3+-parseInt(t(435))/4*(parseInt(t(436))/5)+parseInt(t(434))/6+-parseInt(t(418))/7+-parseInt(t(408))/8+parseInt(t(424))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class we{constructor(){const t=ke;this[t(446)]=!1,this[t(445)]=null,this.config=new ne,this[t(376)]=new Zt,this.events=new Ie}static[ye(417)](t){const e=ye;!we.instance&&(we[e(415)]=new we);const n=we.instance;if(!t.apiKey)throw new Error(e(442));n._config={timeout:3e4,debug:!1,modules:[e(376),"events",e(374)],...t},n._config.baseUrl&&(X.setBaseUrl(n[e(445)][e(406)]),t[e(414)]&&console.log(e(383),n[e(445)][e(406)]));const s=n._config[e(420)]||[e(376),e(399),e(374)];for(const t of s){const s=n[t];s&&typeof s.init===e(419)&&s[e(417)](n[e(445)])}if(n[e(446)]=!0,typeof window!==e(380)){const s=he[e(392)]();s&&t[e(414)]&&console.log(e(427),s),s&&he[e(413)]()&&setTimeout(async()=>{const s=e;try{const e=n[s(379)](),i=await n[s(399)][s(437)](e);i&&t[s(414)]&&console.log(s(394),{attributionId:i[s(385)],channel:i[s(391)],campaign:i.campaign,expiresAt:i[s(386)]})}catch(t){console[s(393)](s(430),t)}},100);const i=he[e(401)]();t[e(414)]&&(console[e(369)](e(390),i),!i&&console.log("⏭️ Skipping click event (duplicate or no click ID)")),i&&setTimeout(()=>{const s=e;try{const e=he[s(373)](),i=he[s(429)]();n[s(399)][s(412)]("click",{_autoGenerated:!0,_source:s(411),_timestamp:(new Date)[s(382)](),_platform:s(387)})[s(405)](()=>{const n=s;he.markClickEventSent(),t[n(414)]&&console[n(369)](n(371),{attribution:i,trackingParams:e})}).catch(t=>{console[s(393)]("❌ Failed to auto-track click event:",t)})}catch(t){console[s(393)](s(377),t)}},200)}t.debug&&console[e(369)](e(425),{version:"2.0.0",modules:s,apiKey:t[e(410)][e(407)](0,8)+"...",mode:"development"})}static isReady(){return we.instance?._isInitialized||!1}static[ye(388)](){const t=ye;return we.instance?.[t(445)]||null}static[ye(431)](){const t=ye;if(!we.instance)throw new Error(t(389));return we.instance}static get[ye(376)](){const t=ye;try{return we[t(431)]()[t(376)]}catch(e){throw console.warn(t(381)),e}}static get[ye(399)](){const t=ye;try{return we[t(431)]()[t(399)]}catch(e){throw console.warn(t(397)),e}}static get[ye(374)](){const t=ye;try{return we[t(431)]()[t(374)]}catch(e){throw console.warn(t(426)),e}}static reset(){const t=ye;we[t(415)]&&(we[t(415)][t(446)]=!1,we[t(415)][t(445)]=null)}generateDeviceId(){const t=ye;if(typeof window===t(380))return t(443)+Math.random().toString(36)[t(407)](2,15);const e=localStorage[t(409)]("adstage_device_id");if(e)return e;const n=[navigator.userAgent,navigator[t(421)],screen[t(396)]+"x"+screen[t(395)],(new Date)[t(438)](),navigator[t(428)]||0][t(370)]("|");let s=0;for(let e=0;e<n[t(441)];e++){s=(s<<5)-s+n[t(433)](e),s&=s}const i=t(402)+Math[t(400)](s)[t(404)](36)+"-"+Date[t(384)]()[t(404)](36);return localStorage[t(372)](t(368),i),i}}function ke(t,e){const n=be();return(ke=function(t,e){return n[t-=368]})(t,e)}function Ee(t,e){var n=xe();return(Ee=function(t,e){return n[t-=310]})(t,e)}function Ae(t,e){var n=Ee;return we[n(328)]()?we[n(322)][n(314)](t,e):(console[n(325)](n(318)),Promise.resolve())}function xe(){var t=["events","setUserProperties","12cimGap","warn","getUserProperties","8flwEGj","isReady","5KMmTMw","13352MxwnWL","24165746jZZAZq","9LjDXea","track","5067639SAhBCM","2503110SQYSIe","83ejNzhF","AdStage not initialized. Call AdStage.init() first.","2550135TXhXpa","1432872mbdKBW","236064SnKlil"];return(xe=function(){return t})()}function Se(t){var e=Ee;we.isReady()?we[e(322)][e(323)](t):console[e(325)](e(318))}function Ce(){var t=Ee;if(we[t(328)]())return we.events[t(326)]();console.warn("AdStage not initialized. Call AdStage.init() first.")}we.debug={clearAllViewable:()=>{const t=ye;pt.clear(),console[t(369)](t(439))},clearAdViewable:(t,e)=>{const n=ye;pt[n(378)](t,e),console[n(369)](n(416)+t+"("+e+n(423))},getViewableStatus:()=>{const t=ye;console.log(t(432),{trackedCount:pt[t(398)][t(440)],trackedItems:Array[t(422)](pt[t(398)])})}},function(){for(var t=Ee,e=xe();;)try{if(403327===-parseInt(t(317))/1*(parseInt(t(311))/2)+-parseInt(t(313))/3*(-parseInt(t(321))/4)+-parseInt(t(310))/5*(parseInt(t(320))/6)+-parseInt(t(319))/7+parseInt(t(327))/8*(-parseInt(t(315))/9)+-parseInt(t(316))/10+parseInt(t(312))/11*(parseInt(t(324))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Te=e(null);function Re({children:e,config:i}){const[r,o]=n(!1),[a,c]=n(null),[d,l]=n(null),u=t=>{try{l(null),r&&we.reset(),we.init(t),c(t),o(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";l(e),console.error("❌ AdStage SDK initialization failed:",t),o(!1),c(null)}};s(()=>{i&&!r&&u(i)},[i,r]);const p={isInitialized:r,config:a,initialize:u,reset:()=>{try{we.reset(),o(!1),c(null),l(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:d};return t(Te.Provider,{value:p,children:e})}function Le(){const t=i(Te);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function ze(){const{isInitialized:t}=Le();return t?we:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}function De(t,e){var n=Be();return(De=function(t,e){return n[t-=374]})(t,e)}function Be(){var t=["1426943zmeywd","9uBeJKJ","2365286wOWqTH","25224fdyToj","6RZOUTP","65752RPVwNx","2066620EBknDp","25860DtPVwB","120251WgZQpl","2argywQ","176CFJzky"];return(Be=function(){return t})()}!function(){for(var t=De,e=Be();;)try{if(135417===parseInt(t(381))/1*(parseInt(t(382))/2)+-parseInt(t(376))/3+-parseInt(t(383))/4*(-parseInt(t(380))/5)+-parseInt(t(377))/6*(parseInt(t(384))/7)+-parseInt(t(378))/8*(-parseInt(t(374))/9)+parseInt(t(379))/10+-parseInt(t(375))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ue=Oe;function Pe(){const t=["170858OEQAmj","ads","47179KUhneu","5933268LLAKLj","undefined","7bwBFOn","5136168iMVQlk","2KlwwBF","2510fEEbCM","5ZVdQaC","config","928002LMmaOe","2017773OBBleB","events","3718332DDqaCX","AdStage"];return(Pe=function(){return t})()}!function(){const t=Oe,e=Pe();for(;;)try{if(476791===parseInt(t(324))/1*(-parseInt(t(315))/2)+parseInt(t(320))/3+-parseInt(t(322))/4*(parseInt(t(317))/5)+-parseInt(t(319))/6*(parseInt(t(313))/7)+parseInt(t(314))/8+-parseInt(t(327))/9+-parseInt(t(316))/10*(-parseInt(t(326))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ne="2.0.0";function Oe(t,e){const n=Pe();return(Oe=function(t,e){return n[t-=312]})(t,e)}const Me=[Ue(325),Ue(321),Ue(318)];typeof window!==Ue(312)&&(window[Ue(323)]=we);export{we as AdStage,Re as AdStageProvider,Ne as SDK_VERSION,Me as SUPPORTED_MODULES,he as TrackingParamsModule,Ce as getUserProperties,Se as setUserProperties,Ae as track,Le as useAdStageContext,ze as useAdStageInstance};
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{createContext as e,useState as n,useEffect as s,useContext as i}from"react";function r(){var t=["INTERSTITIAL","NATIVE","3111249lHeHkb","500ulHaGm","CLICK","TABLET","MOBILE","BANNER","17429904qHSafK","DESKTOP","4764720ThtQMD","VIEWABLE","399710zwCTvd","TEXT","1489936kqNzdy","23105AOSZdc","WEB","POPUP","14NxFLXg","1292690ECOHka"];return(r=function(){return t})()}var o,a,c,d,l,u,p,h,f,g,m,I;function v(t,e){var n=r();return(v=function(t,e){return n[t-=354]})(t,e)}!function(){for(var t=v,e=r();;)try{if(598021===parseInt(t(373))/1+-parseInt(t(360))/2+parseInt(t(363))/3+-parseInt(t(364))/4*(-parseInt(t(356))/5)+parseInt(t(371))/6+-parseInt(t(359))/7*(-parseInt(t(355))/8)+-parseInt(t(369))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(a=o||(o={}))[(c=v)(368)]="BANNER",a[c(358)]=c(358),a[c(361)]=c(361),a[c(362)]=c(362),a.VIDEO="VIDEO",a[c(354)]=c(354),l=d||(d={}),u=v,l.WEB=u(357),l[u(367)]="MOBILE",(h=p||(p={}))[(f=v)(372)]=f(372),h.CLICK=f(365),(m=g||(g={}))[(I=v)(370)]=I(370),m.MOBILE=I(367),m[I(366)]=I(366);const y=b;function b(t,e){const n=w();return(b=function(t,e){return n[t-=118]})(t,e)}function w(){const t=["safeGetElementById","innerHeight","44BegnBL","71412UbzbDz","pageYOffset","safeGetComputedStyle","forEach","error","safeSetTextContent","ms)","isSSR","documentElement","616419qbSIRS","setProperty","canUseDOM","open","undefined","referrer","DOM을 사용할 수 없는 환경입니다.","52371ZWDIEQ","safeApplyStyles","safeRemoveChild","isDOMReady","getViewportInfo","pow","safeCreateElement","addEventListener","safeAddEventListener",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"ceil","번째 시도, "," (최대 ","href","querySelector","ms 경과)",'❌ 컨테이너를 찾을 수 없습니다: "',"safeAppendChild","safeQuerySelector","400RgZyfV","scrollTop","log","readyState","title","safeQuerySelectorAll","getPageInfo","isBrowser","1130142iGsXhw","getElementById","ms (","createElement","from","133928Evnxmv","style","removeEventListener","waitForElements","classList","min","textContent","DOMContentLoaded","15NBxXgA","location","705439bjUWqZ","1294980jwLJgJ","getWindowProperty","appendChild","all","getDocumentProperty","pageXOffset","loading",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"✅ 컨테이너 발견: ","add","safeWindowOpen"];return(w=function(){return t})()}!function(){const t=b,e=w();for(;;)try{if(314851===-parseInt(t(147))/1+-parseInt(t(137))/2*(-parseInt(t(138))/3)+parseInt(t(186))/4*(-parseInt(t(121))/5)+parseInt(t(181))/6+-parseInt(t(123))/7+parseInt(t(173))/8*(parseInt(t(154))/9)+parseInt(t(124))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class k{static[y(180)](){return typeof window!==y(151)&&"undefined"!=typeof document}static[y(145)](){return!this.isBrowser()}static[y(149)](){return this[y(180)]()&&void 0!==document.readyState}static[y(135)](t){return this[y(149)]()?document.getElementById(t):null}static[y(172)](t){const e=y;return this[e(149)]()?document[e(168)](t):null}static[y(178)](t){const e=y;return this[e(149)]()?Array[e(185)](document.querySelectorAll(t)):[]}static[y(160)](t){const e=y;return this.canUseDOM()?document[e(184)](t):null}static[y(162)](t,e,n,s){const i=y;this[i(149)]()&&t&&t[i(161)](e,n,s)}static safeRemoveEventListener(t,e,n,s){const i=y;this[i(149)]()&&t&&t[i(188)](e,n,s)}static[y(125)](t,e){return this[y(180)]()?window[t]??e:e}static[y(128)](t,e){return this[y(149)]()?document[t]??e:e}static[y(134)](t,e,n){const s=y;return this.isBrowser()?window[s(150)](t,e,n):null}static[y(140)](t){return this.isBrowser()&&t?window.getComputedStyle(t):null}static isDOMReady(){const t=y;return!!this.canUseDOM()&&document[t(176)]!==t(130)}static waitForDOM(){return new Promise(t=>{const e=b;this[e(149)]()?this[e(157)]()?t():this[e(162)](document,e(120),()=>t()):t()})}static[y(155)](t,e){const n=y;this.canUseDOM()&&t&&Object.entries(e)[n(141)](([e,s])=>{const i=n;t[i(187)][i(148)](e,s)})}static safeAddClass(t,e){const n=y;this[n(149)]()&&t&&t[n(190)][n(133)](e)}static safeRemoveClass(t,e){this[y(149)]()&&t&&t.classList.remove(e)}static[y(143)](t,e){const n=y;this.canUseDOM()&&t&&(t[n(119)]=e)}static safeSetInnerHTML(t,e){this.canUseDOM()&&t&&(t.innerHTML=e)}static[y(171)](t,e){const n=y;this[n(149)]()&&t&&e&&t[n(126)](e)}static[y(156)](t,e){this[y(149)]()&&t&&e&&t.removeChild(e)}static[y(179)](){const t=y;return{url:this.getWindowProperty(t(122),{href:""})[t(167)],title:this[t(128)](t(177),""),referrer:this[t(128)](t(152),"")}}static[y(158)](){const t=y;return{width:this[t(125)]("innerWidth",0),height:this.getWindowProperty(t(136),0),pixelRatio:this[t(125)]("devicePixelRatio",1)}}static getScrollInfo(){const t=y;return{scrollTop:this[t(149)]()?window[t(139)]||document[t(146)][t(174)]:0,scrollLeft:this[t(125)](t(129),0)}}static async waitForElement(t,e={}){const n=y,{timeout:s=3e3,retryInterval:i=100,debug:r=!1}=e;if(!this[n(149)]())throw new Error(n(153));const o=document[n(182)](t);return o?(r&&console.log("✅ 컨테이너 즉시 발견: "+t),o):(r&&console.log("⏳ 컨테이너 대기 시작: "+t+n(166)+s+n(144)),new Promise((e,o)=>{const a=n;let c=0;const d=Math[a(164)](s/i),l=()=>{const n=a;c++;const u=document[n(182)](t);if(u)return r&&console[n(175)](n(132)+t+" ("+c+n(165)+c*i+n(169)),void e(u);if(c>=d){const e=n(170)+t+n(163)+t+n(131)+s+n(183)+c+"번 시도)";return r&&console[n(142)](e),void o(new Error(e))}r&&c%10==0&&console.log("⏳ 컨테이너 대기 중: "+t+" ("+c+"/"+d+")");const p=Math[n(118)](i*Math[n(159)](1.2,c),500);setTimeout(l,p)};setTimeout(l,i)}))}static async[y(189)](t,e={}){const n=y,s=t.map(t=>this.waitForElement(t,e));return Promise[n(127)](s)}}!function(){const t=A,e=E();for(;;)try{if(964714===parseInt(t(128))/1+-parseInt(t(133))/2*(parseInt(t(123))/3)+parseInt(t(125))/4+-parseInt(t(126))/5+-parseInt(t(127))/6*(parseInt(t(122))/7)+-parseInt(t(130))/8*(parseInt(t(124))/9)+parseInt(t(135))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();function E(){const t=["6Ajfhsi","2550483ZdYgwg","3658668MXFBXV","9209330LBTUUS","1339446jhsNcv","483985FQpSEZ","userAgent","24GxncEh","AdStageSDK/","undefined","495642LVnIPR"," AdStageSDK/","43164180AbAzHF","49csQvId"];return(E=function(){return t})()}function A(t,e){const n=E();return(A=function(t,e){return n[t-=122]})(t,e)}function x(){const t=["1387647UCDlYh","width","scrollTop","DateTimeFormat","819170dyKBiC","getBoundingClientRect","userAgent","ssr_session_","generateSessionId","11920974cYwFJx","round","isBrowser","effectiveType","safeQuerySelector","72868GkqBQN","substr","height","device_","unknown","getPlatform","12JinKMX"," .adstage-slider-wrapper","adstage_device_id","30VXoiSA","42100rvrvbq","getScrollInfo","6234iYMtAj","SSR","pixelRatio","adstage_session_id","getSlotPosition","generateDeviceId","UTC","web","left","3jFRBzj","setItem","safeGetElementById","random","now","isMobile","getViewportInfo","connection","toLowerCase",",y:","getItem","toString","timeZone",'[data-adstage-slot-id="',"192QzLdGv","test","86205wKodXU","1782HwvUEE","8PIQcrO","platform","top"];return(x=function(){return t})()}const S=C;function C(t,e){const n=x();return(C=function(t,e){return n[t-=432]})(t,e)}!function(){const t=C,e=x();for(;;)try{if(652370===-parseInt(t(459))/1+-parseInt(t(481))/2*(-parseInt(t(434))/3)+-parseInt(t(469))/4*(-parseInt(t(478))/5)+parseInt(t(448))/6*(-parseInt(t(450))/7)+parseInt(t(452))/8*(parseInt(t(455))/9)+-parseInt(t(479))/10*(-parseInt(t(451))/11)+-parseInt(t(475))/12*(-parseInt(t(464))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class T{static[S(486)](){const t=S;if(!k[t(466)]())return"ssr_device_"+Date[t(438)]();const e=localStorage[t(444)](t(477));if(e)return e;const n=t(472)+Math.random()[t(445)](36)[t(470)](2,9)+"_"+Date[t(438)]();return localStorage.setItem(t(477),n),n}static[S(463)](){const t=S;if(!k.isBrowser())return t(462)+Date[t(438)]();const e=sessionStorage.getItem(t(484));if(e)return e;const n="session_"+Math[t(437)]().toString(36)[t(470)](2,9)+"_"+Date[t(438)]();return sessionStorage[t(435)](t(484),n),n}static[S(439)](){const t=S;return!!k[t(466)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(449)](navigator.userAgent)}static getPlatform(){const t=S;if(!k[t(466)]())return t(432);const e=navigator[t(461)][t(442)]();return/iphone|ipad|ipod/[t(449)](e)?"ios":/android/[t(449)](e)?"android":T[t(439)]()?t(432):"desktop"}static collectDeviceInfo(){const t=S,e=k[t(440)]();return{deviceId:T[t(486)](),sessionId:T[t(463)](),osVersion:k.isBrowser()?navigator[t(453)]:t(482),deviceModel:k.isBrowser()?navigator.platform:t(482),appVersion:"1.0.0",sdkVersion:"3.0.11",language:k[t(466)]()&&navigator.language||"ko",country:"KR",ipAddress:"",userAgent:k.isBrowser()?navigator[t(461)]:t(482),timezone:k[t(466)]()?Intl[t(458)]().resolvedOptions()[t(446)]:t(487),viewportWidth:e[t(456)],viewportHeight:e[t(471)],screenWidth:k[t(466)]()?screen[t(456)]:0,screenHeight:k[t(466)]()?screen[t(471)]:0,colorDepth:k.isBrowser()?screen.colorDepth:24,pixelRatio:e[t(483)],connectionType:k[t(466)]()&&navigator[t(441)]?.[t(467)]||t(473),platform:T[t(474)]()}}static[S(485)](t){const e=S;let n=k[e(436)](t);if(!n){const s=k[e(468)]("#"+t+e(476));s&&(n=s)}if(!n&&(n=k[e(468)](e(447)+t+'"]')),!n)return"unknown";const s=n[e(460)](),i=k[e(480)]();return"x:"+Math.round(s[e(433)])+e(443)+Math[e(465)](s[e(454)]+i[e(457)])}}const R=D;!function(){const t=D,e=L();for(;;)try{if(312621===parseInt(t(294))/1*(parseInt(t(292))/2)+-parseInt(t(285))/3+parseInt(t(287))/4*(parseInt(t(297))/5)+-parseInt(t(295))/6+parseInt(t(286))/7*(parseInt(t(298))/8)+-parseInt(t(291))/9+parseInt(t(296))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class z{static[R(293)](t,e){const n=R;if(!t)throw new Error(n(300));const s={"x-api-key":t,"Content-Type":e?.[n(299)]||n(289)};return typeof navigator!==n(290)&&(s["User-Agent"]=e?.[n(288)]||navigator[n(288)]),s}static createForEvents(t,e){const n=R,s=z[n(293)](t);return e?.[n(288)]&&(s["User-Agent"]=e[n(288)]),s}}function D(t,e){const n=L();return(D=function(t,e){return n[t-=285]})(t,e)}function L(){const t=["4NAFjhg","userAgent","application/json","undefined","4539015mdYTjB","2910lNmzDt","create","53BumKdQ","1439094oCWNnC","5512960BAhcto","1588355cHJEqs","1136GkfHxL","contentType","API key is required","830385AhlauA","19103HapYyM"];return(L=function(){return t})()}const P=B;function U(){const t=["parseNumericValue","platform","width"," for ad ","debug","replace","baseUrl","trackAdvertisementEvent","createForEvents","title","slots","249919xNEWDb"," (containerId: "," - ","adType","url","status","statusText",". Skipping event tracking to prevent incorrect adType.","API request failed: ","getPageInfo","text","30rYzyhI","get","980zaMivJ","📡 API Response Status: ","288351krkmzD","log","error","5993232LbZOQG","getElementById","NOT_SET","17268ddYREN","apiKey","stringify","6SMEURh","⚠️ DOM element not found for slotId: ","collectDeviceInfo","string","4588848usOaxz","warn","2493381UWkrsQ"," in slot ","length","...","673864kirsim","sessionId","/advertisements/events/","number","referrer"," event for ad ",'[data-adstage-slot-id="',"POST","✅ Successfully tracked advertisement event: ","🚀 AdvertisementEventTracker: Processing ","containerId","height","now","). Skipping event tracking.","VIEWABLE","🌐 Full API call details:"];return(U=function(){return t})()}function B(t,e){const n=U();return(B=function(t,e){return n[t-=123]})(t,e)}!function(){const t=B,e=U();for(;;)try{if(493044===-parseInt(t(162))/1*(-parseInt(t(125))/2)+-parseInt(t(131))/3+parseInt(t(183))/4*(parseInt(t(175))/5)+parseInt(t(129))/6+-parseInt(t(180))/7+-parseInt(t(135))/8+-parseInt(t(177))/9*(parseInt(t(173))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class _{constructor(t,e,n,s){const i=B;this[i(157)]=t,this[i(123)]=e,this.debug=n,this[i(161)]=s}async[P(158)](t,e,n){const s=P;try{this[s(155)]&&console[s(178)](s(144)+n+s(140)+t+s(132)+e);const i=this[s(161)][s(174)](e);if(!i)return void(this[s(155)]&&console[s(130)]("⚠️ Slot not found for slotId: "+e+s(169)));if(!(document[s(181)](i[s(145)])||document.querySelector(s(141)+e+'"]')))return void(this[s(155)]&&console.warn(s(126)+e+s(163)+i.containerId+s(148)));const r=T[s(127)](),o={adType:i[s(165)],platform:r[s(152)],deviceId:r.deviceId,deviceInfo:r,pageUrl:k[s(171)]()[s(166)],pageTitle:k[s(171)]()[s(160)],referrer:k.getPageInfo()[s(139)],slotId:e,slotPosition:T.getSlotPosition(i[s(145)]),slotWidth:_.parseNumericValue(i[s(153)]),slotHeight:_[s(151)](i[s(146)]),sessionId:r[s(136)],pageLoadTime:performance[s(147)](),metadata:{eventType:n,sdkVersion:"3.0.11",timestamp:Date[s(147)]()},...n===p[s(149)]&&{isViewable:!0,iabCompliant:!0}},a=this[s(157)]+s(137)+t+"/"+n,c=z[s(159)](this[s(123)],o);this[s(155)]&&(console.log("🚀 Sending advertisement event: "+n+s(154)+t,{url:a,headers:c,eventData:o}),console.log(s(150),{method:"POST",url:a,hasApiKey:!!this[s(123)],bodySize:JSON[s(124)](o)[s(133)]}));const d=await fetch(a,{method:s(142),headers:c,body:JSON[s(124)](o)});if(this.debug&&console[s(178)](s(176)+d.status+" "+d[s(168)],{url:a,ok:d.ok}),!d.ok){const t=await d[s(172)]();throw new Error(s(170)+d[s(167)]+" "+d[s(168)]+s(164)+t)}this[s(155)]&&console[s(178)](s(143)+n+" for ad "+t)}catch(i){console[s(179)]("❌ Failed to track advertisement event:",i),console[s(179)]("🔍 Debug info:",{baseUrl:this[s(157)],apiKey:this[s(123)]?this[s(123)].substring(0,8)+s(134):s(182),url:this[s(157)]+s(137)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[P(151)](t){const e=P;if(typeof t===e(138))return t;if(typeof t===e(128)){const n=parseFloat(t[e(156)](/px$/,""));return isNaN(n)?0:n}return 0}}var M=N;function N(t,e){var n=V();return(N=function(t,e){return n[t-=264]})(t,e)}!function(){for(var t=N,e=V();;)try{if(231893===-parseInt(t(270))/1+parseInt(t(266))/2*(parseInt(t(277))/3)+parseInt(t(284))/4+parseInt(t(267))/5+-parseInt(t(279))/6*(parseInt(t(276))/7)+parseInt(t(272))/8+parseInt(t(269))/9*(parseInt(t(274))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class O{constructor(t,e){var n=N;this.observer=null,this[n(264)]=!1,this[n(273)]=t,this[n(282)]=e,this[n(285)]()}[M(285)](){var t=M;"IntersectionObserver"in window?(this.observer=new IntersectionObserver(t=>this.handleIntersection(t),{threshold:.5,rootMargin:t(278)}),this[t(268)][t(280)](this[t(273)])):console.warn(t(286))}[M(281)](t){var e=M;t[e(265)](t=>{var n=e;t.intersectionRatio>=.5&&this[n(288)]()&&!this[n(264)]&&(this.isViewableTriggered=!0,this[n(282)]&&this.onViewableCallback())})}isDocumentVisible(){var t=M;return!document[t(271)]&&document[t(287)]===t(275)}destroy(){var t=M;this[t(268)]&&(this.observer[t(283)](),this[t(268)]=null)}}function V(){var t=["969993edZoGm","411486oMgfCk","hidden","1715392mLLCLG","element","10CplEBM","visible","162834zVBtNV","8913EIXGuW","0px","90eAIZnu","observe","handleIntersection","onViewableCallback","disconnect","1257088DiTpCi","initIntersectionObserver","IntersectionObserver not supported, viewability tracking disabled","visibilityState","isDocumentVisible","isViewableTriggered","forEach","10VZMCGG","1704905rEUWMw","observer"];return(V=function(){return t})()}const F=j;!function(){const t=j,e=G();for(;;)try{if(522810===parseInt(t(191))/1*(-parseInt(t(184))/2)+-parseInt(t(194))/3+parseInt(t(183))/4*(parseInt(t(176))/5)+-parseInt(t(187))/6*(parseInt(t(175))/7)+parseInt(t(190))/8*(-parseInt(t(196))/9)+parseInt(t(180))/10+parseInt(t(179))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const H={production:F(181),beta:F(188)};function j(t,e){const n=G();return(j=function(t,e){return n[t-=174]})(t,e)}const K={advertisements:{list:F(178),detail:"/advertisements",events:F(182)},events:{track:"/events/track",registerAttribution:F(193)}};class W{constructor(t){const e=F;this.advertisements={list:()=>""+this[e(197)]+K[e(185)][e(192)],detail:t=>""+this[e(197)]+K[e(185)].detail+"/"+t,events:(t,n)=>""+this.baseUrl+K[e(185)].events+"/"+t+"/"+n},this[e(177)]={track:()=>""+this[e(197)]+K[e(177)].track,registerAttribution:()=>""+this[e(197)]+K[e(177)][e(189)]},this.baseUrl=t||H[e(174)]}[F(198)](t){this.baseUrl=t}[F(199)](){return this[F(197)]}[F(195)](t){const e=F;return""+this[e(197)]+(t[e(186)]("/")?t:"/"+t)}}function G(){const t=["custom","201330vXAbLE","baseUrl","setBaseUrl","getBaseUrl","production","5445839vTTvzF","17190aHDmQw","events","/advertisements/list","18294012RlHrId","8448430NrEEHZ","https://api.adstage.app","/advertisements/events","852lmMTgY","24GdVFbk","advertisements","startsWith","6ZPICOT","https://beta-api.adstage.app","registerAttribution","296JKmXBA","55249eNUwpp","list","/events/register/attribution","1346292CfCKRU"];return(G=function(){return t})()}const X=new W;var q=Y;function Y(t,e){var n=Q();return(Y=function(t,e){return n[t-=383]})(t,e)}!function(){for(var t=Y,e=Q();;)try{if(754594===parseInt(t(384))/1+-parseInt(t(397))/2*(-parseInt(t(396))/3)+parseInt(t(389))/4+-parseInt(t(395))/5+parseInt(t(393))/6+parseInt(t(385))/7*(-parseInt(t(399))/8)+parseInt(t(398))/9*(parseInt(t(388))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class J{static trackSlideViewable(t,e,n,s,i=!1){var r=Y;i&&console[r(394)](r(391)+t[r(383)]+r(392)+n+r(400)+e.id),s(t[r(383)],e.id,p[r(387)])}static[q(390)](t,e,n,s=!1){var i=q;s&&console[i(394)](i(386)+t[i(383)]+" (index: 0) in slot: "+e.id),n(t[i(383)],e.id,p[i(387)])}}function Q(){var t=["6TyNQQD","255104BZRIID","2503863mXgLri","10019248tylwkb",") in slot: ","_id","1467934JaiYCO","7wAQUBA","🎯 Triggering initial VIEWABLE event: ad ","VIEWABLE","10atoXgT","1025772DcTZCa","trackInitialSlideViewable","🎯 Triggering VIEWABLE event for slide change: ad "," (index: ","3863736upqHjk","log","4473220UxauNp"];return(Q=function(){return t})()}const Z=$;function $(t,e){const n=et();return($=function(t,e){return n[t-=204]})(t,e)}!function(){const t=$,e=et();for(;;)try{if(166223===parseInt(t(226))/1+-parseInt(t(206))/2+-parseInt(t(237))/3+parseInt(t(211))/4*(parseInt(t(217))/5)+-parseInt(t(210))/6+-parseInt(t(233))/7*(parseInt(t(232))/8)+-parseInt(t(224))/9*(-parseInt(t(223))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class tt{static[Z(218)](t,e,n,s,i=!1,r){const o=Z;e[o(214)]&&(t[o(215)][o(207)]=o(209),t[o(231)](o(235),t=>{const a=o;if(t[a(216)](),t[a(228)](),s&&s(e[a(230)],n.id,p[a(236)]),window[a(221)](e[a(214)],a(213)),i){const t=r||String(n[a(205)])[a(234)]();console[a(227)](a(220)+t+a(229)+e[a(230)]+a(225)+e[a(214)])}}))}static[Z(204)](t,e,n,s,i=!1,r){const o=Z;e.linkUrl&&(t.style.cursor=o(209),t.addEventListener(o(235),t=>{const a=o;t[a(216)](),t[a(228)]();if(s()(e[a(230)],n.id,p[a(236)]),window[a(221)](e[a(214)],a(213)),i){const t=r||String(n.adType).toLowerCase();console[a(227)](a(220)+t+" ad clicked: "+e[a(230)]+a(225)+e.linkUrl)}}))}static[Z(219)](t,e,n,s,i=!1,r){this.addClickEvent(t,e,n,s,i,r)}static[Z(208)](t){return Boolean(t[Z(214)])}static[Z(212)](t,e,n,s,i=!1,r){t[Z(222)]((t,o)=>{const a=e[o];a&&this.addClickEvent(t,a,n,s,i,r)})}}function et(){const t=["open","forEach","2610NwrYKT","11538bHLJQT"," -> ","249114ewUkUv","log","stopPropagation"," ad clicked: ","_id","addEventListener","201704laIaLo","21mqMKgW","toLowerCase","click","CLICK","874104NZgGci","addClickEventForRenderer","adType","259356ibYtzh","cursor","isClickable","pointer","1362498WErzzY","20gSgJie","addClickEventsBatch","_blank","linkUrl","style","preventDefault","306275mjMgpN","addClickEvent","addClickEventForSlider","🔗 "];return(et=function(){return t})()}const nt=st;function st(t,e){const n=it();return(st=function(t,e){return n[t-=241]})(t,e)}function it(){const t=["border","createSimpleAdElement"," Ad","0.9","opacity","14px","55146tpsLad","_id","cssText","TEXT","trackSlideViewable","changedTouches","forEach","body","fontSize","7284920TPJnKp","overflow","\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 ","button","adstage-slider-wrapper","BANNER","cover","8px","adstage-slide","color","11806848RuFKnG","every","5902496kiMYrH","touches","data-adstage-slot-id","data-adstage-ad-id","setAttribute","textContent","transparent","#f9f9f9","translateX(-","addClickEventForSlider","backgroundColor","adType","contains","includes","100px","1px dashed #ccc","Banner Ad","touchstart","clientX","getBoundingClientRect","src","200px","#f0f0f0","0.7","adstage-ad adstage-","length","auto","querySelectorAll","createElement","width","background","display","removeChild","video","Text Ad","classList","Video Ad","children","createMinimalDotIndicator","9YXHYnT","white","26WKFyMj","className","addTouchSupport","mouseleave","119ztGtpl","center","autoSlideInterval","string","225282NMkZvE","height","#666666","#cccccc","VIDEO","50px","\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 ","addEventListener","padding",".adstage-dot","objectFit","div","touchmove","1px solid #666","active","transform 0.4s ease-out","adstage-dots","5289426yfkDJX","adstage-dot","entries","100%","setProperty","imageUrl","borderColor","42527530bfIbHu","touchend","style","appendChild","adstage-slide-container","inline-block","toLowerCase","transition","mouseenter","click","createSliderContainer"];return(it=function(){return t})()}!function(){const t=st,e=it();for(;;)try{if(953796===-parseInt(t(247))/1*(parseInt(t(309))/2)+-parseInt(t(334))/3+parseInt(t(268))/4+-parseInt(t(256))/5+parseInt(t(317))/6*(parseInt(t(313))/7)+-parseInt(t(266))/8+parseInt(t(307))/9*(parseInt(t(341))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class rt{static createSimpleAdElement(t,e){const n=st,s=document.createElement(n(328));switch(s[n(310)]=n(292)+String(t[n(279)])[n(347)](),s[n(272)](n(271),e[n(248)]),s.setAttribute(n(270),t.id),s[n(343)][n(299)]="block",s[n(343)][n(297)]=n(337),s[n(343)].height=n(294),t[n(279)]){case o[n(261)]:if(e.imageUrl){const t=document[n(296)]("img");t[n(288)]=e[n(339)],t[n(343)][n(297)]=n(337),t[n(343)].height="auto",t.style[n(327)]=n(262),s.appendChild(t)}else s[n(343)][n(318)]="100px",s[n(343)][n(278)]=n(290),s[n(343)][n(241)]=n(283),s[n(273)]=n(284);break;case o[n(321)]:if(e.videoUrl){const t=document[n(296)](n(301));t[n(288)]=e.videoUrl,t[n(343)][n(297)]=n(337),t[n(343)][n(318)]=n(294),s[n(344)](t)}else s[n(343)][n(318)]=n(289),s[n(343)][n(278)]="#000",s[n(343)].border=n(330),s.textContent=n(304),s[n(343)][n(265)]=n(308);break;case o[n(250)]:if(e[n(273)]){const t=document.createElement(n(328));t[n(273)]=e[n(273)]||"",t[n(343)][n(325)]=n(263),t[n(343)][n(255)]=n(246),s[n(344)](t)}else s[n(343)][n(318)]=n(322),s.style[n(325)]=n(263),s[n(273)]=n(302);break;default:s[n(343)][n(318)]=n(282),s.style[n(241)]=n(283),s[n(343)][n(278)]=n(275),s[n(273)]=t[n(279)]+n(243)}return s}static[nt(351)](t,e,n,s,i=!1){const r=nt,a=document[r(296)](r(328));a.className=r(260);const c={position:"relative",overflow:"hidden"};if(t[r(297)]&&0!==t.width){let e;e=typeof t[r(297)]===r(316)&&(t[r(297)][r(281)]("px")||t[r(297)][r(281)]("%"))?t[r(297)]:t[r(297)]+"px",c[r(297)]=e,c[r(299)]="inline-block"}else c.display=r(346);if(t[r(318)]&&0!==t[r(318)]){const e=typeof t[r(318)]===r(316)?t.height:t[r(318)]+"px";c[r(318)]=e}Object[r(336)](c).forEach(([t,e])=>{const n=r;a[n(343)][n(338)](t,e)});const d=!t[r(297)]||0===t[r(297)],l=!t[r(318)]||0===t[r(318)];if(d||l){const n=document.createElement(r(328));if(n[r(343)][r(249)]="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!d&&t[r(297)]){let e;e=typeof t[r(297)]===r(316)&&(t[r(297)][r(281)]("px")||t[r(297)][r(281)]("%"))?t[r(297)]:t[r(297)]+"px",n[r(343)][r(297)]=e,n[r(343)].whiteSpace="normal"}document[r(254)][r(344)](n);let s=0,i=0;e[r(253)](e=>{const o=r,a=this[o(242)](t,e);n.appendChild(a);const c=a[o(287)]();c.width>s&&(s=c[o(297)]),c[o(318)]>i&&(i=c[o(318)]),n[o(300)](a)}),d&&s>0&&(a[r(343)].width=s+"px",c[r(297)]=s+"px"),l&&i>0&&(a[r(343)][r(318)]=i+"px",c.height=i+"px"),document[r(254)][r(300)](n)}const u=[...e,e[0]],p=document[r(296)](r(328));p.className=r(345);const h={display:"flex",transition:r(332),width:100*u[r(293)]+"%"};t[r(318)]&&0!==t[r(318)]&&(h.height=r(337)),Object[r(336)](h).forEach(([t,e])=>{const n=r;p.style[n(338)](t,e)}),u[r(253)]((e,n)=>{const o=r,a=document[o(296)](o(328));a[o(310)]=o(264);const c={width:100/u[o(293)]+"%","flex-shrink":"0",display:"flex","align-items":"center","justify-content":o(314)};t.height&&0!==t[o(318)]&&(c[o(318)]=o(337)),Object[o(336)](c)[o(253)](([t,e])=>{const n=o;a[n(343)][n(338)](t,e)});const d=this[o(242)](t,e);tt[o(277)](d,e,t,s,i,String(t[o(279)])[o(347)]()),a[o(344)](d),p[o(344)](a)});const f=e[r(267)](t=>t.adType===o.TEXT)?null:this[r(306)](e[r(293)]);let g=0;const m=e[r(293)],I=1e3*(n?.[r(315)]||3),v=(n,o=!1)=>{const a=r;g=n,o?p.style[a(348)]="none":p[a(343)][a(348)]="transform 0.4s ease-out",p.style.transform=a(276)+100/u[a(293)]*g+"%)";const c=g===m?0:g;if(f){f[a(295)](".adstage-dot")[a(253)]((t,e)=>{const n=a,s=t;e===c?(s[n(303)].add(n(331)),s[n(343)].background=n(319),s[n(343)][n(340)]="#666666",s[n(343)][n(245)]="1"):(s[n(303)].remove("active"),s[n(343)][n(298)]=n(274),s[n(343)][n(340)]=n(320),s[n(343)][n(245)]=n(291))})}J[a(251)](e[c],t,c,s,i)},y=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(f){f[r(295)](r(326))[r(253)]((t,e)=>{const n=r;t[n(324)](n(350),()=>v(e))})}let b=setInterval(()=>{v(g+1),y()},I);return a[r(324)](r(349),()=>{clearInterval(b)}),a.addEventListener(r(312),()=>{b=setInterval(()=>{v(g+1),y()},I)}),this[r(311)](p,v,()=>g,m,y),a[r(344)](p),f&&a[r(344)](f),v(0),(!t[r(297)]||0===t[r(297)])&&setTimeout(()=>{const e=r,n=p[e(305)][0];if(n){const s=n.children[0];if(s){const n=s.getBoundingClientRect();a[e(343)][e(297)]=n[e(297)]+"px",(!t[e(318)]||0===t[e(318)])&&(a.style[e(318)]=n[e(318)]+"px"),a[e(343)][e(257)]="hidden"}}},10),a}static[nt(306)](t){const e=nt,n=document[e(296)](e(328));n.className=e(333),n[e(343)][e(249)]=e(258);for(let s=0;s<t;s++){const t=document[e(296)](e(259));t[e(310)]=e(335),t[e(343)][e(249)]=e(323),t.addEventListener(e(349),()=>{const n=e;!t[n(303)][n(280)](n(331))&&(t[n(343)][n(340)]="#999999",t[n(343)].opacity=n(244))}),t[e(324)](e(312),()=>{const n=e;!t[n(303)].contains(n(331))&&(t.style[n(340)]=n(320),t[n(343)][n(245)]=n(291))}),n[e(344)](t)}return n}static[nt(311)](t,e,n,s,i){const r=nt;let o=0,a=!1;t[r(324)](r(285),t=>{const e=r;o=t[e(269)][0][e(286)],a=!0}),t[r(324)](r(329),t=>{a&&t.preventDefault()}),t[r(324)](r(342),t=>{const c=r;if(!a)return;a=!1;const d=t[c(252)][0][c(286)],l=o-d;if(Math.abs(l)>50){const t=n();if(l>0){e(t+1),i&&i()}else{e(t>0?t-1:s-1)}}})}}const ot=dt;function at(){const t=["3572612iSLaHu","clear"," in slot ","24122WGzbbH","viewableTracker","delete","36187170gJcoeu","2681688LYFSxE","9PaakUi","log","add","has","isDuplicateViewable","Duplicate viewable blocked for ad ","578644tnpPQi","146871kCEipe","✅ New viewable recorded for ad ","4124285kBjVFz","2724NfFFKA","12wjCKAA"];return(at=function(){return t})()}!function(){const t=dt,e=at();for(;;)try{if(947234===parseInt(t(349))/1+parseInt(t(355))/2+parseInt(t(350))/3*(parseInt(t(354))/4)+parseInt(t(352))/5+parseInt(t(353))/6*(parseInt(t(358))/7)+-parseInt(t(342))/8*(parseInt(t(343))/9)+-parseInt(t(341))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ct{static[ot(347)](t,e,n=!1){const s=ot,i=t+"_"+e;return ct[s(359)][s(346)](i)?(n&&console[s(344)](s(348)+t+s(357)+e),!0):(ct[s(359)][s(345)](i),n&&console.log(s(351)+t+s(357)+e),!1)}static[ot(356)](){const t=ot;ct[t(359)][t(356)]()}static clearAdViewable(t,e){const n=ot,s=t+"_"+e;ct[n(359)][n(360)](s)}}function dt(t,e){const n=at();return(dt=function(t,e){return n[t-=341]})(t,e)}function lt(){const t=["calculateAdSize"," ad...</span>","data-adstage-empty","\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 ","fontFamily","toLowerCase","closest"," container: ","string","log","1px dashed #ccc","generic","opacity","6SjzGOl","subtle","height","backgroundColor","createEmptyContainer","none","133112mQRDya","transparent","🔄 Starting advertisement event tracking: "," x "," event",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"borderRadius","querySelector","⚠️ AdvertisementEventTracker not available for ","⚠️ ","border","auto","#f9f9f9","11701611VISrFW","728151PivFCP","advertisement",'div[style*="height"]',".adstage-","applyPlaceholderStyle","899766zEqXuO","trackAdvertisementEvent","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","unknown","38852xKFqnh","width"," slot: ",'[class*="container"]',"getContainerHeight","div","adType","debug","adstage-class","setAttribute","className"," for ad ","minimal","rgba(248, 249, 250, 0.5)","innerHTML","⚠️ Created empty ","📏 Using default height ","2px dashed #e74c3c","adstage-official","display","flex","rgba(0, 0, 0, 0.02)","monospace","100%"," container collapsed (","createElement","getElementById","VIEWABLE","11px","data-adstage-slot","4px","getAttribute","adstage-slot adstage-","fontSize","7SzGQqn","center","advertisementEventTracker","placeholderMode",".adstage-slot","1240HUmSZk","filter","alignItems","1160169sEFlmN","number"," in slot ","6px","): ","20lsarCw"," event for ad ","📊 Advertisement event tracked: ","hasAttribute","<span>Loading ","true","justifyContent","data-adstage-type","warn","data-adstage-container","error","639308xWhkan","px)","isDuplicateViewable","#e74c3c","#666","color","📦 Placeholder created for ","invisible","style","cssText","minHeight","getDefaultHeight"];return(lt=function(){return t})()}ct[ot(359)]=new Set;const ut=pt;function pt(t,e){const n=lt();return(pt=function(t,e){return n[t-=190]})(t,e)}!function(){const t=pt,e=lt();for(;;)try{if(655735===-parseInt(t(254))/1+parseInt(t(234))/2*(-parseInt(t(193))/3)+-parseInt(t(209))/4*(-parseInt(t(198))/5)+-parseInt(t(259))/6*(-parseInt(t(297))/7)+parseInt(t(240))/8+parseInt(t(253))/9+-parseInt(t(190))/10*(-parseInt(t(263))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ht{constructor(t,e=!1,n){const s=pt;this.adType=t,this[s(270)]=e,this.advertisementEventTracker=n||null}createPlaceholder(t,e,n,s){const i=pt,r=document[i(288)](i(268));r.id=e,r[i(273)]=i(295)+String(this[i(269)]).toLowerCase(),r[i(272)]("data-adstage-container",i(203)),r[i(272)](i(205),String(this.adType)),r[i(272)](i(292),e);const{width:o,height:a}=this[i(221)](t,n,s)||{width:i(286),height:this.getDefaultHeight()};r[i(217)][i(264)]=o,r[i(217)][i(236)]=a;const c=s?.[i(300)]||n.placeholderMode||"invisible";this.applyPlaceholderStyle(r,c),t.appendChild(r),this[i(270)]&&console[i(230)](i(215)+this[i(269)]+i(265)+e+" ("+o+i(243)+a+") - Mode: "+c)}[ut(258)](t,e){const n=ut;switch(e){case n(216):t[n(217)][n(237)]=n(241),t[n(217)][n(250)]=n(239),t[n(217)][n(233)]="0",t[n(277)]="";break;case n(241):t.style[n(237)]=n(241),t[n(217)][n(250)]=n(239),t[n(217)].display="block",t[n(277)]="";break;case n(235):t.style[n(237)]=n(284),t[n(217)][n(250)]=n(239),t.style[n(246)]=n(293),t[n(217)][n(282)]=n(283),t[n(217)].alignItems="center",t.style[n(204)]=n(298),t[n(277)]=n(245);break;case n(275):t[n(217)][n(237)]=n(276),t[n(217)][n(250)]="1px solid rgba(0, 0, 0, 0.08)",t[n(217)][n(246)]=n(196),t[n(217)].display="flex",t.style[n(192)]=n(298),t[n(217)][n(204)]="center",t[n(277)]='<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>';break;case n(270):t[n(217)][n(250)]=n(280),t[n(217)][n(282)]=n(283),t[n(217)][n(192)]="center",t[n(217)][n(204)]=n(298),t[n(217)][n(237)]="rgba(231, 76, 60, 0.1)",t[n(217)][n(214)]=n(212),t[n(217)][n(225)]=n(285),t[n(217)][n(296)]=n(291),t.innerHTML=n(202)+this.adType+n(222);break;default:t[n(217)].border=n(231),t[n(217)].display=n(283),t[n(217)][n(192)]=n(298),t[n(217)][n(204)]="center",t.style[n(237)]=n(252),t[n(217)][n(214)]=n(213),t.innerHTML="<span>Loading "+this[n(269)]+" ad...</span>"}}calculateAdSize(t,e,n){const s=ut,i=e[s(264)],r=e[s(236)];let o,a;if(o=typeof i===s(194)?i+"px":"string"==typeof i?i:s(286),typeof r===s(194))a=r+"px";else if(typeof r===s(229)&&"100%"!==r&&r!==s(251))a=r;else{const e=this[s(267)](t);e>0?(a=s(286),(n?.[s(270)]||this.debug)&&console[s(230)]("📏 Using 100% height (container: "+e+s(210))):(a=this[s(220)](),(n?.[s(270)]||this.debug)&&console[s(230)](s(279)+a+" for "+this[s(269)]))}return{width:o,height:a}}[ut(267)](t){const e=ut,n=window.getComputedStyle(t),s=parseFloat(n.height);if(!s||0===s){const s=parseFloat(n[e(219)]);if(s>0)return s;if(t[e(217)][e(236)]&&t[e(217)][e(236)]!==e(251)){const n=parseFloat(t[e(217)].height);if(n>0)return n}const i=t[e(294)](e(236));if(i){const t=parseFloat(i);if(t>0)return t}}return s||0}createEventTrackingCallback(){return async(t,e,n)=>{const s=pt;if(n===p[s(290)]){if(ct[s(211)](t,e,this[s(270)]))return void(this[s(270)]&&console[s(230)]("🚫 Duplicate viewable blocked for ad "+t+s(195)+e));this[s(270)]&&console[s(230)]("✅ New viewable recorded for ad "+t+s(195)+e)}if(this[s(299)])try{this[s(270)]&&console[s(230)](s(242)+n+" for ad "+t+" in slot "+e),await this[s(299)][s(260)](t,e,n),this[s(270)]&&console[s(230)](s(200)+n+s(274)+t+" in slot "+e)}catch(e){this.debug&&console[s(208)]("❌ Failed to track "+n+s(199)+t+":",e)}else this[s(270)]&&console[s(206)](s(248)+n+s(244))}}renderFallback(t){const e=ut,n=document[e(289)](t.id);if(n){const s=[...[n[e(247)]('[data-adstage-container="true"]'),n.closest('[data-adstage-container="true"]'),n][e(191)](t=>t&&t[e(201)]("data-adstage-container")),...[n.closest(e(301)),n[e(227)](e(257)+String(this.adType).toLowerCase()),n[e(227)]('[class*="ad"]'),n.closest('[class*="banner"]'),n[e(227)](e(266)),n[e(227)](e(256)),n[e(227)]('div[style*="min-height"]'),n.parentElement][e(191)](Boolean)][0];if(s){let n=e(262);n=s.hasAttribute("data-adstage-container")?e(281):s.classList.contains("adstage-slot")?e(271):e(232),s[e(217)][e(218)]+=e(261),s[e(277)]="",s[e(272)](e(223),e(203)),this[e(270)]&&console.warn(e(249)+this[e(269)]+e(287)+n+e(197)+t.id,s)}else this[e(238)](t)}t[e(255)]=void 0,t.isEmpty=!0}[ut(238)](t){const e=ut,n=document[e(289)](t.containerId);if(n){n[e(277)]="";const s=document[e(288)](e(268));s.id=t.id,s.className="adstage-slot adstage-empty adstage-"+String(this[e(269)])[e(226)](),s[e(272)](e(207),e(203)),s.setAttribute(e(223),e(203)),s[e(272)](e(292),t.id),s.style[e(218)]=e(224),n.appendChild(s),this[e(270)]&&console[e(206)](e(278)+this[e(269)]+e(228)+t.id)}}[ut(230)](t,...e){const n=ut;this[n(270)]&&console.log("["+this[n(269)]+"] "+t,...e)}}const ft=mt;function gt(){const t=["objectPosition","74490OmZlon","max","warn","dominant","5718lLxqbX","error","from","Failed to calculate optimal banner size, using defaults:","default","2497221OmpLCa","calculateAdSize","Container not found: ","naturalHeight"," (avg: ","height","length","createElement",", ratio=","875AvejyW","renderMultipleAds","naturalWidth","fulfilled","average","</div>","applyOptimizedImageStyle","adstage-ad adstage-banner-ad","map","getBoundingClientRect","100%","title","cover","_id","abs","24nrdXah","name","debug","parentElement","Image URL is not provided","📦 Banner container dimensions: ","BANNER","🎠 Banner carousel created for slot: ","some","16:9","optimizedHeight","572vlEszf","round","onload","status","div","set","aspectRatio","🎨 Banner image style applied: objectFit=","innerHTML","15DmHWVv","📸 Banner image dimensions: ","selectOptimalSizeStrategy","ratio","Banner Advertisement","src","onerror","getDefaultHeight","Banner","config","appendChild","contain","411000gHRzfQ"," (strategy: ","3856380yUkpMX","calculateOptimalHeight","display","📊 Using standard ratio: ","className","237214DxceBW","toFixed","slideInterval","containerId","common","values","calculateOptimalContainerSize","renderOptimizedBannerImage","forEach","toString","count","createSliderContainer","getElementById","addClickEventForRenderer","imageUrl","1:1","183968XIpzka"," ads (optimized: ","borderRadius","loadImageDimensions","reduce","3:2","log","filter","center","<div>","renderAdElement","optimizeContainerForBannerAds","✅ Optimized banner image rendered for ad: ","width","Banner Ad","createEventTrackingCallback"," ads: ",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"📐 Optimal banner container calculated: ","backgroundColor","#f0f0f0","get","style","objectFit","❌ Failed to load optimized banner image:","Failed to load image: "];return(gt=function(){return t})()}function mt(t,e){const n=gt();return(mt=function(t,e){return n[t-=429]})(t,e)}!function(){const t=mt,e=gt();for(;;)try{if(482423===parseInt(t(464))/1+parseInt(t(471))/2*(parseInt(t(452))/3)+parseInt(t(487))/4+parseInt(t(466))/5+-parseInt(t(518))/6*(parseInt(t(532))/7)+-parseInt(t(432))/8*(parseInt(t(523))/9)+-parseInt(t(514))/10*(parseInt(t(443))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class It extends ht{constructor(t=!1,e){super(o[mt(438)],t,e)}[ft(459)](){return"250px"}async[ft(497)](t,e){const n=ft,s=document[n(483)](t[n(474)]);if(!s)return;const i=document[n(530)](n(447));i[n(470)]=n(539);const r=t.optimizedHeight,o=s[n(435)]||s;if(r)i[n(509)].width=n(542),i.style[n(528)]=String(r);else{const e=t[n(461)],s={width:e?.width,height:e?.[n(528)]},{width:r,height:a}=this[n(524)](o,s,{debug:this.debug});i[n(509)].width=r,i[n(509)].height=a}e[n(485)]?await this[n(478)](i,e,t):i[n(451)]=n(496)+(e[n(543)]||n(501))+n(537),tt[n(484)](i,e,t,()=>this.createEventTrackingCallback(),this.debug,n(460)),s[n(451)]="",s[n(462)](i)}async[ft(533)](t,e){const n=ft,s=document.getElementById(t.containerId);if(!s)throw new Error(n(525)+t[n(474)]);await this[n(498)](t,e);const i=this.createEventTrackingCallback(),r={autoSlideInterval:(t[n(461)]?.[n(473)]||5e3)/1e3,...t.config,optimizedHeight:t.optimizedHeight,aspectRatio:t[n(449)]},o=rt[n(482)](t,e,r,i,this[n(434)]);o&&(s[n(451)]="",s[n(462)](o),this[n(434)]&&console[n(493)](n(439)+t.id+" with "+e.length+n(488)+(t[n(442)]||n(522))+")"))}async[ft(477)](t,e){const n=ft;if(!t.length)return{width:n(542),height:this[n(459)](),aspectRatio:16/9};try{const s=(await Promise.allSettled(t.filter(t=>t.imageUrl).map(t=>this[n(490)](t[n(485)]))))[n(494)](t=>t[n(446)]===n(535))[n(540)](t=>t.value);if(0===s.length)return{width:n(542),height:this.getDefaultHeight(),aspectRatio:16/9};const i=this[n(454)](s),r=this[n(467)](s,e,i);return this[n(434)]&&console.log(n(505)+e+"x"+r+n(465)+i+")"),{width:"100%",height:r+"px",aspectRatio:e/r}}catch(t){return console[n(516)](n(521),t),{width:n(542),height:this[n(459)](),aspectRatio:16/9}}}async[ft(498)](t,e){const n=ft;try{const s=document[n(483)](t[n(474)]),i=document.getElementById(t.id);if(!s||!i)return;const r=s.getBoundingClientRect()[n(500)]||300,o=await this.calculateOptimalContainerSize(e,r);i[n(509)][n(528)]=o[n(528)],t[n(442)]=o[n(528)],t.aspectRatio=o.aspectRatio,this.debug&&console[n(493)]("🔧 Banner container optimized for "+e[n(529)]+n(503)+o[n(528)])}catch(t){console[n(516)]("Banner container optimization failed, using default size:",t)}}[ft(454)](t){const e=ft,n=t.map(t=>t.width/t.height),s=new Map;n[e(479)](t=>{const n=e,i=(Math[n(444)](10*t)/10)[n(480)]();s[n(448)](i,(s.get(i)||0)+1)});const i=Math[e(515)](...s[e(476)]()),r=t[e(529)];if(i/r>=.7)return e(517);const o=[16/9,4/3,1,1.5];return n.filter(t=>o[e(440)](n=>Math[e(431)](t-n)<.1))[e(529)]/r>=.5?e(475):"average"}[ft(467)](t,e,n){const s=ft,i=t[s(540)](t=>t[s(500)]/t.height);switch(n){case s(517):{const t=new Map;i[s(479)](e=>{const n=s,i=Math[n(444)](10*e)/10,r=i[n(480)](),o=t[n(508)](r);o?o[n(481)]++:t[n(448)](r,{ratio:i,count:1})});const n=Array[s(520)](t[s(476)]())[s(491)]((t,e)=>e.count>t[s(481)]?e:t);return Math[s(444)](e/n[s(455)])}case s(475):{const t=[{ratio:16/9,name:s(441)},{ratio:4/3,name:"4:3"},{ratio:1,name:s(486)},{ratio:1.5,name:s(492)}],n=i[s(491)]((t,e)=>t+e,0)/i.length,r=t[s(491)]((t,e)=>Math[s(431)](e.ratio-n)<Math[s(431)](t.ratio-n)?e:t);return this.debug&&console[s(493)](s(469)+r[s(433)]+s(527)+n[s(472)](2)+")"),Math[s(444)](e/r[s(455)])}case s(536):default:{const t=i[s(491)]((t,e)=>t+e,0)/i.length;return Math[s(444)](e/t)}}}[ft(490)](t){return new Promise((e,n)=>{const s=mt,i=new Image;i[s(445)]=()=>{const t=s;e({width:i[t(534)],height:i[t(526)]})},i[s(458)]=()=>{n(new Error(s(512)+t))},i[s(457)]=t})}applyOptimizedImageStyle(t,e,n){const s=ft,i=e/n;Math[s(431)](i-1)<.1?(t[s(509)][s(510)]="cover",t[s(509)][s(513)]=s(495)):i>1.3?(t[s(509)][s(510)]=s(463),t.style[s(513)]="center",t[s(509)][s(506)]=s(507)):i<.7?(t[s(509)][s(510)]=s(429),t.style[s(513)]=s(495)):(t[s(509)].objectFit=s(429),t[s(509)].objectPosition=s(495)),this.debug&&console[s(493)](s(450)+t[s(509)].objectFit+s(531)+i[s(472)](2))}async[ft(478)](t,e,n){const s=ft,i=document.createElement("img");i[s(509)][s(500)]=s(542),i[s(509)][s(528)]=s(542),i.style[s(468)]="block",i[s(509)][s(489)]="8px",i.alt=e[s(543)]||s(456),t[s(451)]=s(504);try{if(!e.imageUrl)throw new Error(s(436));const r=await this[s(490)](e[s(485)]),o=t[s(541)](),a=o[s(500)],c=o.height;this.debug&&(console.log(s(453)+r[s(500)]+"x"+r[s(528)]),console[s(493)](s(437)+a+"x"+c));const d=r[s(500)]/r[s(528)],l=a/c;return this[s(538)](i,d,l),i[s(457)]=e[s(485)],t[s(451)]="",t[s(462)](i),tt[s(484)](i,e,n,()=>this[s(502)](),this[s(434)],s(460)),this[s(434)]&&console[s(493)](s(499)+e[s(430)]),i}catch(r){return console[s(519)](s(511),r),e[s(485)]&&(i[s(457)]=e[s(485)],i[s(509)][s(510)]=s(429),i[s(509)][s(513)]=s(495),t[s(451)]="",t.appendChild(i),tt[s(484)](i,e,n,()=>this[s(502)](),this[s(434)],s(460))),i}}}const vt=bt;function yt(){const t=["48KjAQDI","103495AWsirn","144441lXDnEn","setTextAdContent","\n font-family: 'Arial', sans-serif;\n text-decoration: none;\n display: block;\n text-align: left;\n transition: color 0.3s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: visible;\n padding-right: 2px;\n padding-left: 2px;\n white-space: nowrap;\n ","3870TyVbKP","180344GgPIVx","2168229RsIWVY","1478193iRJKPE","2308006ZQhPhS","textContent","40SywWIP","616nmqPsi","title","77823ZpccJN"];return(yt=function(){return t})()}function bt(t,e){const n=yt();return(bt=function(t,e){return n[t-=232]})(t,e)}!function(){const t=bt,e=yt();for(;;)try{if(818531===-parseInt(t(239))/1+-parseInt(t(240))/2+-parseInt(t(238))/3+parseInt(t(237))/4*(-parseInt(t(242))/5)+parseInt(t(246))/6*(parseInt(t(232))/7)+-parseInt(t(243))/8*(parseInt(t(245))/9)+parseInt(t(236))/10*(parseInt(t(233))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class wt{static createTextAdStyles(t=!1){return bt(235)}static[vt(234)](t,e){const n=vt,s=e[n(241)]||e[n(244)]||"";t[n(241)]=s}}const kt=Et;function Et(t,e){const n=At();return(Et=function(t,e){return n[t-=438]})(t,e)}function At(){const t=["8511597ddKgMq","normal","forEach","zIndex","887676FAodsh","adType","touches","createTextAdStyles","Text","height: 100%;","length","adstage-ad adstage-","createElement","minHeight","fit-content","auto","524176VLEJHs","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","addClickEventForSlider","autoSlideInterval","position","translateY(0)",";\n width: 100%;\n ","body","setProperty","4OptkGj","clientX","addEventListener","touchstart","11566pRwXxE","mouseleave","className","cssText","adstage-fade-slide","height","adstage-fade-slider-wrapper","transform","changedTouches","absolute","data-adstage-slot-id","38tvXEcw","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ",";\n top: ","17927XaeGXG","width",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","mouseenter","createSimpleAdElement","\n position: relative;\n width: 100%;\n ","toLowerCase","setAttribute","abs","preventDefault","push","left",";\n transform: translateY(","height: auto;",";\n ","clientY","style","top","removeChild","422436kvTcfK","_id","touchend","setTextAdContent",";\n left: ","1075515bHUMfJ","includes","appendChild","relative","div","whiteSpace","opacity","trackSlideViewable","string"];return(At=function(){return t})()}!function(){const t=Et,e=At();for(;;)try{if(159157===-parseInt(t(460))/1*(parseInt(t(471))/2)+-parseInt(t(493))/3+parseInt(t(456))/4*(-parseInt(t(498))/5)+-parseInt(t(511))/6+parseInt(t(474))/7+-parseInt(t(447))/8+parseInt(t(507))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class xt{static[kt(478)](t,e){const n=kt,s=document[n(443)](n(502));return s[n(462)]=n(442)+String(t[n(512)])[n(480)](),s[n(481)]("data-adstage-ad-id",e[n(494)]),s[n(481)](n(470),t.id),s[n(490)][n(463)]=wt[n(438)](!0),wt[n(496)](s,e),s}static createTextTransitionContainer(t,e,n,s,i=!1){const r=kt,o=t[r(465)]&&0!==t[r(465)]&&t[r(465)]!==r(446),a=document.createElement(r(502));a[r(462)]=r(466);const c={position:r(501),overflow:"hidden",display:"block"};if(!o&&(c[r(465)]=r(446),c[r(444)]=r(445)),t.width&&0!==t[r(475)]){let e;e=typeof t.width===r(506)?t.width[r(499)]("px")||t.width.includes("%")?t[r(475)]:t[r(475)]+"px":t.width+"px",c.width=e}if(t[r(465)]&&0!==t[r(465)]&&"auto"!==t[r(465)]&&o){let e;e=typeof t[r(465)]===r(506)&&(t[r(465)].includes("px")||t[r(465)][r(499)]("%"))?t[r(465)]:t[r(465)]+"px",c[r(465)]=e}Object.entries(c).forEach(([t,e])=>{const n=r;a.style[n(455)](t,e)});const d=document[r(443)](r(502));d[r(462)]="adstage-fade-slide-container",d[r(490)][r(463)]=r(479)+(o?r(440):"height: auto; min-height: fit-content;")+"\n ";let l=null;const u=!t.width||0===t.width,p=!t[r(465)]||0===t[r(465)]||void 0===t[r(465)]||"auto"===t.height;if(u||p&&o){if(l=document[r(443)](r(502)),l[r(490)][r(463)]=r(448),!u&&t.width){let e;e=typeof t.width===r(506)&&(t.width[r(499)]("px")||t[r(475)][r(499)]("%"))?t[r(475)]:t[r(475)]+"px",l[r(490)].width=e,l[r(490)][r(503)]=r(508)}document.body[r(500)](l);let n=0,s=0;e[r(509)](e=>{const i=r,o=this[i(478)](t,e);l.appendChild(o);const a=o.getBoundingClientRect();a[i(475)]>n&&(n=a[i(475)]),a.height>s&&(s=a.height),l[i(492)](o)}),u&&n>0&&(a.style[r(475)]=n+"px"),p&&s>0&&o&&(a[r(490)].height=s+"px"),document[r(454)][r(492)](l)}const h=[];e[r(509)]((e,n)=>{const a=r,c=document[a(443)]("div");c[a(462)]=a(464);const l=a(o?469:0===n?501:469);c[a(490)][a(463)]="\n position: "+l+a(473)+(l===a(469)?"0":a(446))+a(497)+("absolute"===l?"0":"auto")+a(453)+(o?"height: 100%;":a(487))+a(472)+(0===n?"1":"0")+a(486)+(0===n?"0":"20px")+a(476)+(0===n?"2":"1")+a(488);const u=this[a(478)](t,e);tt[a(449)](u,e,t,s,i,a(439)),c[a(500)](u),d[a(500)](c),h[a(484)](c)});let f=0;const g=e[r(441)],m=1e3*(n?.[r(450)]||4),I=n=>{const a=r;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!o&&(c[a(490)].position===a(501)&&(c[a(490)][a(451)]=a(469),c.style.top="0",c.style.left="0"),d[a(490)][a(451)]="relative",d[a(490)][a(491)]=a(446),d[a(490)][a(485)]=a(446)),c[a(490)][a(504)]="0",c[a(490)].transform="translateY(-20px)",c[a(490)].zIndex="1",d.style[a(504)]="1",d[a(490)].transform=a(452),d[a(490)][a(510)]="2",h[a(509)]((t,e)=>{const s=a;e!==n&&e!==f&&(t[s(490)][s(504)]="0",t.style[s(467)]="translateY(20px)",t[s(490)].zIndex="1",!o&&t[s(490)][s(451)]===s(501)&&(t.style[s(451)]=s(469),t[s(490)][s(491)]="0",t.style.left="0"))}),f=n,J[a(505)](e[f],t,f,s,i)};let v=setInterval(()=>{I(f+1)},m);return a[r(458)](r(477),()=>{clearInterval(v)}),a[r(458)](r(461),()=>{v=setInterval(()=>{I(f+1)},m)}),xt.addTouchSupport(a,I,()=>f,g),a[r(500)](d),a}static addTouchSupport(t,e,n,s){const i=kt;let r=0,o=0,a=!1;t[i(458)](i(459),t=>{const e=i;r=t[e(513)][0][e(457)],o=t[e(513)][0][e(489)],a=!0}),t[i(458)]("touchmove",t=>{a&&t[i(483)]()}),t[i(458)](i(495),t=>{const s=i;if(!a)return;a=!1;const c=t.changedTouches[0][s(457)],d=t[s(468)][0][s(489)],l=r-c,u=o-d;if(Math[s(482)](l)>Math[s(482)](u)&&Math[s(482)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}const St=Ct;function Ct(t,e){const n=Tt();return(Ct=function(t,e){return n[t-=447]})(t,e)}function Tt(){const t=["vertical","log","4052EgBUit","aspectRatio","60px","3044MeOObb","✨ Text transition created for slot: ","length","webkitBoxOrient","createElement","Text","parentElement","createEventTrackingCallback","4514503xPOCtb","setTextAdContent","13uSWkrH","createTextTransitionContainer","height","72yNcttC","hidden","11099952lgwCVg","maxLines","div","innerHTML","5322XkIrpN","1037280xcomlf","appendChild","style","1165kJHnfe","webkitLineClamp","✨ Single text ad rendered: ","TEXT","config","2877HNEJTA","118kUbquw","optimizedHeight","debug","Container not found: ","slideInterval","getDefaultHeight","renderMultipleAds","-webkit-box","className","getElementById","addClickEventForRenderer","calculateAdSize","166368qSyaXf","width","containerId","adstage-text-content","renderAdElement","_id","22ViyfVh"];return(Tt=function(){return t})()}!function(){const t=Ct,e=Tt();for(;;)try{if(377817===parseInt(t(490))/1*(-parseInt(t(469))/2)+parseInt(t(468))/3*(parseInt(t(493))/4)+parseInt(t(463))/5*(-parseInt(t(459))/6)+parseInt(t(448))/7+-parseInt(t(481))/8*(-parseInt(t(453))/9)+parseInt(t(460))/10*(parseInt(t(487))/11)+parseInt(t(455))/12*(-parseInt(t(450))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Rt extends ht{constructor(t=!1,e){super(o[Ct(466)],t,e)}[St(474)](){return St(492)}async[St(485)](t,e){const n=St,s=document[n(478)](t[n(483)]);if(!s)return;const i=document.createElement(n(457));i[n(477)]="adstage-ad adstage-text-ad";const r=t[n(470)],o=s[n(499)]||s;if(r)i[n(462)].width="100%",i[n(462)][n(452)]=String(r);else{const e=t[n(467)],s={width:e?.[n(482)],height:e?.[n(452)]},{width:r,height:a}=this[n(480)](o,s,{debug:this[n(471)]});i[n(462)].width=r,i.style[n(452)]=a}const a=document[n(497)](n(457));a[n(477)]=n(484),a[n(462)].cssText=wt.createTextAdStyles(!1),wt[n(449)](a,e);const c=t[n(467)]?.[n(456)];c&&"number"==typeof c&&(a[n(462)].display=n(476),a[n(462)][n(464)]=String(c),a[n(462)][n(496)]=n(488),a[n(462)].overflow=n(454)),i.appendChild(a),tt[n(479)](i,e,t,()=>this.createEventTrackingCallback(),this[n(471)],n(498)),s.innerHTML="",s[n(461)](i),this[n(471)]&&console[n(489)](n(465)+e[n(486)])}async[St(475)](t,e){const n=St,s=document[n(478)](t[n(483)]);if(!s)throw new Error(n(472)+t[n(483)]);const i=this[n(447)](),r={autoSlideInterval:(t[n(467)]?.[n(473)]||5e3)/1e3,...t[n(467)],optimizedHeight:t[n(470)],aspectRatio:t[n(491)]},o=xt[n(451)](t,e,r,i,this[n(471)]);o&&(s[n(458)]="",s[n(461)](o),this[n(471)]&&console[n(489)](n(494)+t.id+" with "+e[n(495)]+" ads"))}}function zt(){const t=["\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 ","preload","\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 ","2902GGwjyU","1215425KzSfJK","height","100%"," (autoplay: ","3zVRwyF","play","customControls","cssText","Click to mute","img","adstage-video-default-controls","background","🎬 Trying muted autoplay fallback...",'\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 ',"renderMultipleAds"," !important;\n }\n ","playsinline","\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n ","objectFit","🔊 Video mute toggled: ","scale(1)","_id","src","adstage-video-container","hideControls","display","getDefaultHeight","Video fallback","renderVideoElementDirect","Video thumbnail","debug"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","Container not found: ","style","title","alt","imageUrl","canplay"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","transform","textContent","Click to unmute","none","controls","metadata","Video","\n pointer-events: none;\n ","unmuted","2307599foCzzC","createEventTrackingCallback","360px","🎬 Auto-play was prevented:","11mWAiyW","rgba(0, 0, 0, 0.9)","mouseleave","2KCjamU","396964vZZgUw","addEventListener","🎬 Initial autoplay attempt after timeout...","🎬 Video metadata loaded, attempting autoplay...","muted","video","12562620pvypJe","63gtSAla","\n video::-webkit-media-controls-play-button {\n display: ","createElement","containerId","🎬 Single video rendered for VIDEO slot: ","contain","hideVolumeSlider","VIEWABLE","enabled","config","🎬 Video controls setting:","getElementById","hideProgressBar","🎬 Video data loaded, attempting autoplay...","hidePlayButton","disabled (default)","rgba(0, 0, 0, 0.7)","error","VIDEO","addClickEventForRenderer","position","🎬 Single video ad rendered: ","loop","loadedmetadata","🎬 Video element created for ad: ","width","hideFullscreenButton","🎬 Final video settings:"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","🎬 Video config received:","loadeddata","relative","414472xmirea","appendChild","hideRemainingTime","block","div","warn","head","adstage-video-mute-button","hideCurrentTime","486798jThfvB","autoplay","log","innerHTML","className","videoUrl"];return(zt=function(){return t})()}const Dt=Lt;function Lt(t,e){const n=zt();return(Lt=function(t,e){return n[t-=270]})(t,e)}!function(){const t=Lt,e=zt();for(;;)try{if(305651===-parseInt(t(276))/1*(-parseInt(t(334))/2)+-parseInt(t(339))/3*(parseInt(t(277))/4)+-parseInt(t(335))/5+parseInt(t(325))/6+-parseInt(t(383))/7+parseInt(t(316))/8*(-parseInt(t(284))/9)+parseInt(t(283))/10*(parseInt(t(273))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Pt extends ht{constructor(t=!1,e){super(o[Lt(302)],t,e)}[Dt(361)](){return Dt(271)}async renderAdElement(t,e){const n=Dt,s=document[n(295)](t[n(287)]);if(!s)return;const i=document.createElement(n(320));i[n(329)]=n(358),i[n(368)][n(342)]=n(331),this[n(363)](i,e,t),s.innerHTML="",s.appendChild(i),this[n(365)]&&console[n(327)](n(305)+e[n(356)])}async[Dt(349)](t,e){const n=Dt,s=document.getElementById(t[n(287)]);if(!s)throw new Error(n(367)+t[n(287)]);if(e.length>0){const i=e[0],r=document[n(286)]("div");r[n(329)]=n(358),r.style[n(342)]=n(333),this.renderVideoElementDirect(r,i,t),s[n(328)]="",s.appendChild(r);const o=this.createEventTrackingCallback();setTimeout(()=>{const e=n;o(i[e(356)],t.id,p[e(291)])},100),this[n(365)]&&console.log(n(288)+t.id+" ("+i[n(356)]+")")}else this[n(365)]&&console[n(321)]("⚠️ No video advertisements available for slot: "+t.id)}[Dt(363)](t,e,n){const s=Dt;t[s(368)][s(304)]=s(315);const i=document[s(286)](s(282));i[s(368)][s(309)]="100%",i[s(368)].height=s(337),i[s(368)].objectFit="contain",i[s(332)]=s(379);const r=n[s(293)];if(this.debug&&console[s(327)](s(313),r),i[s(378)]=!1,i.autoplay=!1!==r?.[s(326)],i[s(281)]=!0,i[s(306)]=!1!==r?.[s(306)],this[s(365)]&&console[s(327)](s(311),{autoplay:i.autoplay,muted:i.muted,loop:i[s(306)],controls:i[s(378)]}),!1!==r?.[s(351)]&&i.setAttribute(s(351),""),!0===r?.[s(378)]&&(i.controls=!0,this[s(365)]&&console[s(327)]("🎬 User explicitly enabled controls, overriding default")),r?.[s(359)])i.controls=!1,i.style[s(342)]+=s(381);else if(r?.[s(341)]){if(i[s(378)]){const t=document[s(286)](s(368));t[s(375)]=s(285)+(r.customControls[s(298)]?s(377):s(319))+s(312)+(r[s(341)][s(296)]?"none":s(319))+" !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: "+(r.customControls[s(324)]?"none":s(319))+" !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: "+(r[s(341)][s(318)]?s(377):s(319))+s(366)+(r.customControls[s(290)]?s(377):s(319))+" !important;\n }\n video::-webkit-media-controls-mute-button {\n display: "+(r[s(341)].hideMuteButton?s(377):"block")+s(373)+(r.customControls[s(310)]?s(377):s(319))+s(350),document[s(322)][s(317)](t)}}else if(i[s(378)]){const t=document.createElement("style");t.id=s(345),t[s(375)]=s(352),!document.getElementById("adstage-video-default-controls")&&document[s(322)].appendChild(t)}this[s(365)]&&console[s(327)](s(294),i[s(378)]?s(292):s(299));const o=document[s(286)]("button");o.className=s(323),o[s(368)].cssText="\n position: absolute;\n top: 12px;\n left: 12px;\n width: 40px;\n height: 40px;\n border: none;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.7);\n color: white;\n font-size: 16px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10;\n transition: all 0.3s ease;\n backdrop-filter: blur(4px);\n ",r?.[s(359)]&&(o[s(368)][s(360)]=s(377));const a=()=>{const t=s,e=t(348);o[t(328)]=i[t(281)]?e:'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/>\n </svg>\n ',o.title=i[t(281)]?t(376):t(343)};if(a(),o[s(278)]("click",t=>{const e=s;t.stopPropagation(),i[e(281)]=!i[e(281)],a(),this[e(365)]&&console[e(327)](e(354)+(i[e(281)]?e(281):e(382)))}),o[s(278)]("mouseenter",()=>{const t=s;o.style[t(346)]=t(274),o.style.transform="scale(1.1)"}),o.addEventListener(s(275),()=>{const t=s;o[t(368)][t(346)]=t(300),o[t(368)][t(374)]=t(355)}),e[s(330)]){i[s(357)]=e[s(330)];const t=()=>{const t=s;i[t(326)]&&i[t(281)]&&i.paused&&i[t(340)]().catch(e=>{const n=t;this[n(365)]&&(console.warn(n(272),e),console[n(321)](n(347))),i[n(281)]=!0,i.play().catch(t=>{const e=n;this[e(365)]&&console[e(301)]("🎬 Autoplay completely failed:",t)})})};i[s(278)](s(307),()=>{const e=s;this[e(365)]&&console[e(327)](e(280)),t()}),i[s(278)](s(372),()=>{const e=s;this[e(365)]&&console[e(327)]("🎬 Video can play, attempting autoplay..."),t()}),i.addEventListener(s(314),()=>{const e=s;this[e(365)]&&console[e(327)](e(297)),t()}),setTimeout(()=>{const e=s;this[e(365)]&&console.log(e(279)),t()},100)}else if(e[s(371)]){const n=document[s(286)](s(344));return n[s(357)]=e.imageUrl,n[s(368)][s(309)]=s(337),n[s(368)][s(336)]=s(337),n[s(368)][s(353)]=s(289),n[s(370)]=e.title||"Video thumbnail",void t[s(317)](n)}tt[s(303)](i,e,n,()=>this[s(270)](),this[s(365)],s(380)),i.addEventListener(s(301),i=>{const r=s;if(console[r(301)]("Video load failed:",i),e[r(371)]){const s=document[r(286)](r(344));s[r(357)]=e[r(371)],s[r(368)][r(309)]=r(337),s[r(368)][r(336)]="100%",s[r(368)][r(353)]=r(289),s.alt=e[r(369)]||r(364),tt[r(303)](s,e,n,()=>this[r(270)](),this[r(365)],r(362)),t.innerHTML="",t[r(317)](s)}}),t[s(317)](i),t.appendChild(o),this[s(365)]&&console[s(327)](s(308)+e[s(356)]+s(338)+i[s(326)]+", muted: "+i[s(281)]+", loop: "+i.loop+")")}}function Ut(){const t=["adstage-ad adstage-native-ad","textContent","getDefaultHeight","innerHTML","4547660AaWchP","): ","🏠 Native ad rendered (first of ","getElementById","open","addEventListener","className","⚠️ No native advertisements available for slot: ","Native Advertisement","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","warn","200px","385594XqLdQX","3546657cmkkTV","style","appendChild","🏠 Single native ad rendered: ","length","mouseleave","Native click tracked for ad: ","1120125GRtWEw","434783UiPxtx","button","50412OrjefT","title","_blank","mouseenter","click","#2563eb","Learn More","alt","21xdbIdy","renderMultipleAds","advertisementEventTracker","\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 ","linkUrl","1476811XDnMNB","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","backgroundColor","6hKUTvz","8mFfkoi","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","NATIVE","div","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","containerId","cssText","_id","renderAdElement","createElement"];return(Ut=function(){return t})()}function Bt(t,e){const n=Ut();return(Bt=function(t,e){return n[t-=349]})(t,e)}const _t=Bt;!function(){const t=Bt,e=Ut();for(;;)try{if(322532===-parseInt(t(352))/1+-parseInt(t(397))/2+parseInt(t(362))/3*(parseInt(t(354))/4)+parseInt(t(351))/5+parseInt(t(370))/6*(-parseInt(t(367))/7)+-parseInt(t(371))/8*(-parseInt(t(398))/9)+parseInt(t(385))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Mt extends ht{constructor(t=!1,e){super(o[Bt(373)],t,e)}[_t(383)](){return _t(396)}async[_t(379)](t,e){const n=_t,s=document[n(388)](t[n(376)]);if(!s)return;const i=document[n(380)](n(374));if(i[n(391)]=n(381),i[n(399)][n(377)]=n(365),e[n(355)]){const t=document[n(380)]("h3");t.textContent=e[n(355)],t.style.cssText=n(372),i.appendChild(t)}if(e[n(382)]){const t=document[n(380)]("p");t[n(382)]=e[n(382)],t[n(399)][n(377)]=n(394),i[n(400)](t)}if(e.imageUrl){const t=document[n(380)](n(374));t.style[n(377)]=n(375);const s=document[n(380)]("img");s.src=e.imageUrl,s[n(361)]=e[n(355)]||n(393),s[n(399)].cssText=n(368),t[n(400)](s),i[n(400)](t)}if(e[n(366)]){const t=document[n(380)](n(353));t[n(382)]=n(360),t[n(399)][n(377)]="\n padding: 8px 16px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 6px;\n font-size: 14px;\n font-weight: 500;\n cursor: pointer;\n align-self: flex-start;\n transition: background-color 0.2s;\n ",t.addEventListener(n(358),()=>{const t=n;this[t(364)]&&console.log(t(350)+e[t(378)]),window[t(389)](e[t(366)],t(356))}),t.addEventListener(n(357),()=>{const e=n;t[e(399)].backgroundColor=e(359)}),t[n(390)](n(349),()=>{const e=n;t.style[e(369)]="#3b82f6"}),i[n(400)](t)}s[n(384)]="",s[n(400)](i),this.debug&&console.log(n(401)+e[n(378)])}async[_t(363)](t,e){const n=_t;e.length>0?(await this.renderAdElement(t,e[0]),this.debug&&console.log(n(387)+e[n(402)]+n(386)+t.id)):this.debug&&console[n(395)](n(392)+t.id)}}const Nt=Ot;function Ot(t,e){const n=Ft();return(Ot=function(t,e){return n[t-=360]})(t,e)}!function(){const t=Ot,e=Ft();for(;;)try{if(678394===-parseInt(t(391))/1*(parseInt(t(400))/2)+-parseInt(t(371))/3*(-parseInt(t(365))/4)+parseInt(t(419))/5*(-parseInt(t(389))/6)+parseInt(t(413))/7+parseInt(t(396))/8+-parseInt(t(395))/9*(-parseInt(t(387))/10)+-parseInt(t(383))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Vt extends ht{constructor(t=!1,e){super(o[Ot(382)],t,e)}getDefaultHeight(){return Ot(417)}async[Nt(376)](t,e){const n=Nt;if(!document[n(415)](t.containerId))return;const s=document[n(370)]("div");s[n(360)]=n(384),s.style[n(361)]="\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 i=document[n(370)]("div");i[n(360)]="adstage-interstitial-content",i.style[n(361)]="\n position: relative;\n max-width: 90vw;\n max-height: 90vh;\n background: white;\n border-radius: 12px;\n padding: 24px;\n box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);\n animation: slideUp 0.3s ease-out;\n overflow: auto;\n ";const r=document.createElement("button");if(r[n(369)]="×",r[n(408)][n(361)]="\n position: absolute;\n top: 12px;\n right: 12px;\n width: 32px;\n height: 32px;\n border: none;\n background: #f3f4f6;\n color: #6b7280;\n font-size: 20px;\n font-weight: bold;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s;\n ",r.addEventListener(n(367),()=>{this[n(385)](s)}),r[n(414)](n(397),()=>{const t=n;r[t(408)].backgroundColor=t(412),r[t(408)][t(398)]="#374151"}),r.addEventListener("mouseleave",()=>{const t=n;r.style[t(390)]=t(388),r[t(408)][t(398)]=t(364)}),e[n(374)]){const t=document.createElement(n(375));t.src=e[n(374)],t[n(377)]=e[n(425)]||"Interstitial Advertisement",t[n(408)].cssText=n(401),i.appendChild(t)}if(e.title){const t=document[n(370)]("h2");t.textContent=e.title,t[n(408)].cssText="\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ",i[n(380)](t)}if(e.textContent){const t=document[n(370)]("p");t[n(392)]=e.textContent,t[n(408)][n(361)]=n(363),i.appendChild(t)}if(e[n(423)]){const t=document[n(370)](n(416));t[n(392)]=n(366),t[n(408)][n(361)]=n(424),t.addEventListener(n(367),()=>{const t=n;this[t(399)]&&console.log(t(393)+e[t(386)]),window[t(381)](e.linkUrl,"_blank"),this[t(385)](s)}),t[n(414)]("mouseenter",()=>{const e=n;t[e(408)][e(390)]=e(403)}),t[n(414)](n(379),()=>{const e=n;t[e(408)][e(390)]=e(420)}),i.appendChild(t)}const o=t=>{const e=n;"Escape"===t.key&&(this.closeInterstitial(s),document[e(362)]("keydown",o))};if(document[n(414)](n(378),o),s[n(414)]("click",t=>{const e=n;t[e(368)]===s&&this[e(385)](s)}),!document[n(415)](n(411))){const t=document.createElement(n(408));t.id=n(411),t[n(392)]=n(405),document[n(402)][n(380)](t)}i[n(380)](r),s[n(380)](i),document[n(422)].appendChild(s),this.debug&&console[n(407)](n(421)+e[n(386)])}async renderMultipleAds(t,e){const n=Nt;e[n(406)]>0?(await this.renderAdElement(t,e[0]),this[n(410)]&&console[n(407)](n(418)+e.length+n(372)+t.id)):this[n(410)]&&console[n(394)](n(373)+t.id)}[Nt(385)](t){const e=Nt;t.style[e(409)]="fadeOut 0.3s ease-out forwards",setTimeout(()=>{const n=e;t[n(404)]&&t[n(404)].removeChild(t)},300),this[e(410)]&&console[e(407)]("🖼️ Interstitial ad closed")}}function Ft(){const t=["): ","⚠️ No interstitial advertisements available for slot: ","imageUrl","img","renderAdElement","alt","keydown","mouseleave","appendChild","open","INTERSTITIAL","12055472tkWcKT","adstage-interstitial-overlay","closeInterstitial","_id","2350XxMqsW","#f3f4f6","6762wtExXk","backgroundColor","72915tPAsrU","textContent","Interstitial click tracked for ad: ","warn","18639EadiFT","2375424ufaknS","mouseenter","color","advertisementEventTracker","2jfQftR","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","head","#2563eb","parentNode","\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 ","length","log","style","animation","debug","adstage-interstitial-styles","#e5e7eb","8678432IGTftW","addEventListener","getElementById","button","400px","🖼️ Interstitial ad rendered (first of ","1195vAdJjZ","#3b82f6","🖼️ Interstitial ad rendered: ","body","linkUrl","\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 ","title","className","cssText","removeEventListener","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","#6b7280","660ARTotw","Get Started","click","target","innerHTML","createElement","1695zTFZaG"];return(Ft=function(){return t})()}const Ht=Kt;function jt(){const t=["renderers","TEXT","renderAdElement","appendChild","48wbeuCY","⚠️ Container optimization is only supported for BANNER ads, got: ","set","advertisementEventTracker","8px","3504hUriYt","renderAdSlider","naturalHeight","renderOptimizedBannerImage is only supported for BANNER ads","VIDEO","log","19051020JvIdYV","img","videoUrl","No advertisement to render","renderOptimizedBannerImage","#f9f9f9","naturalWidth","calculateOptimalContainerSize","createElement","config","isLoaded","data-adstage-ad-id","BANNER","createAdElement","adType","style","15NPDNFu","src","get","debug","calculateAdSize"," renderers","adstage-ad adstage-","width","Failed to load image: ","textContent","onerror","imageUrl","340098OOdezk","getDefaultHeight","createPlaceholder","size","1px dashed #ccc","initializeRenderers","renderMultipleAds","[AdRenderer] ","2566vsnRtY","objectFit","renderFallback","padding","INTERSTITIAL","advertisement","height","1023832VKGuMF","cover","display","div","optimizeContainerForBannerAds","375158vTCKKd","className","100%","836217cjBjNZ","getRenderer","5602218PpQere","video"];return(jt=function(){return t})()}function Kt(t,e){const n=jt();return(Kt=function(t,e){return n[t-=381]})(t,e)}!function(){const t=Kt,e=jt();for(;;)try{if(858087===-parseInt(t(448))/1+-parseInt(t(386))/2*(-parseInt(t(414))/3)+-parseInt(t(393))/4*(parseInt(t(436))/5)+-parseInt(t(403))/6+parseInt(t(398))/7+parseInt(t(409))/8*(-parseInt(t(401))/9)+parseInt(t(420))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Wt{constructor(t=!1,e){const n=Kt;this[n(405)]=new Map,this.debug=t,this[n(412)]=e||null,this[n(383)]()}initializeRenderers(){const t=Kt;this[t(405)].set(o[t(432)],new It(this.debug,this[t(412)])),this[t(405)][t(411)](o[t(406)],new Rt(this[t(439)],this[t(412)])),this.renderers[t(411)](o[t(418)],new Pt(this.debug,this.advertisementEventTracker)),this[t(405)][t(411)](o.NATIVE,new Mt(this.debug,this.advertisementEventTracker)),this[t(405)][t(411)](o[t(390)],new Vt(this.debug,this.advertisementEventTracker)),this[t(439)]&&console[t(419)]("🏭 AdRenderer factory initialized with "+this[t(405)][t(381)]+t(441))}[Ht(433)](t,e){const n=Ht,s=this[n(402)](t[n(434)]),i=document[n(428)]("div");i[n(399)]=n(442)+String(t[n(434)]).toLowerCase(),i.setAttribute(n(431),e._id),i.setAttribute("data-adstage-slot-id",t.id);const{width:r,height:a}=s[n(440)](i,t[n(429)]||{},e);switch(i[n(435)][n(443)]=r,i[n(435)][n(392)]=a,i[n(435)][n(395)]="block",t[n(434)]){case o[n(432)]:if(e.imageUrl){const t=document[n(428)](n(421));t.src=e[n(447)],t.style[n(443)]=n(400),t[n(435)][n(392)]=n(400),t[n(435)][n(387)]=n(394),i[n(408)](t)}break;case o[n(418)]:if(e[n(422)]){const t=document[n(428)](n(404));t[n(437)]=e[n(422)],t[n(435)][n(443)]="100%",t[n(435)][n(392)]="100%",i[n(408)](t)}break;case o[n(406)]:if(e.textContent){const t=document.createElement(n(396));t.textContent=e[n(445)]||"",t.style[n(389)]=n(413),i[n(408)](t)}break;default:i[n(435)].border=n(382),i[n(435)].backgroundColor=n(425),i.textContent=t[n(434)]+" Ad"}return i}[Ht(402)](t){const e=Ht,n=this.renderers[e(438)](t);if(!n)throw new Error("No renderer found for ad type: "+t);return n}[Ht(450)](t,e,n,s,i){const r=Ht;this[r(402)](n)[r(450)](t,e,s,i)}async[Ht(397)](t,e){const n=Ht;if(t[n(434)]!==o[n(432)])return void(this.debug&&console.warn(n(410)+t[n(434)]));const s=this[n(402)](o[n(432)]);await s[n(397)](t,e)}async[Ht(415)](t,e){const n=Ht,s=this[n(402)](t[n(434)]);await s[n(384)](t,e)}async renderAd(t){const e=Ht;if(!t[e(391)])throw new Error(e(423));const n=this[e(402)](t.adType);await n[e(407)](t,t[e(391)]),t[e(430)]=!0}async renderAdElement(t,e){const n=Ht,s=this.getRenderer(t.adType);await s[n(407)](t,e)}[Ht(388)](t){const e=Ht;this[e(402)](t[e(434)]).renderFallback(t)}getDefaultHeightForAdType(t){const e=Ht;return this[e(402)](t)[e(449)]()}[Ht(440)](t,e,n,s){const i=Ht;return this[i(402)](e)[i(440)](t,n,s)}loadImageDimensions(t){return new Promise((e,n)=>{const s=Kt,i=new Image;i.onload=()=>{const t=Kt;e({width:i[t(426)],height:i[t(416)]})},i[s(446)]=()=>{n(new Error(s(444)+t))},i.src=t})}async[Ht(424)](t,e,n){const s=Ht;if(n.adType!==o[s(432)])throw new Error(s(417));const i=this.getRenderer(o[s(432)]);return await i.renderOptimizedBannerImage(t,e,n)}async calculateOptimalContainerSize(t,e,n){const s=Ht;if(n!==o.BANNER){const t=this[s(402)](n);return{width:s(400),height:t[s(449)](),aspectRatio:16/9}}const i=this.getRenderer(o[s(432)]);return await i[s(427)](t,e)}[Ht(419)](t,...e){const n=Ht;this.debug&&console[n(419)](n(385)+t,...e)}}const Gt=Xt;function Xt(t,e){const n=qt();return(Xt=function(t,e){return n[t-=350]})(t,e)}function qt(){const t=["append","debug","createAd","apiKey","deviceType","now","height","1411212CsfVua","🗑️ Ads module destroyed"," ads)","loadAdContentInBackground","default","🔍 Ad slot already cleaned up: ","video","adId","fetchAdData","getSlotById","log","startSimpleViewabilityTracking","create","list"," attempts: ","optimizeContainerForBannerAds","298179HChvWg","NATIVE","destroyModule","destroy","mutationObserver","style","339452kZiRRA","banner","json",", filters:","detail","autoSlide"," ads automatically","controls","substr","isReady","✅ Simple viewable impression tracked for ad ","🗑️ Ad slot destroyed: ","_config","renderFallback","getAllSlots","data-adstage-slot-id","📊 Fetched specific ad with ID: ","width","refreshAdSlot","_id","adstage-","slots","querySelectorAll",". Retrying in ","5qPaGrQ","Container not found: ","INTERSTITIAL","slideInterval","371210cbUewO","config"," (attempt ","values","country","language","error","getAttribute","renderAdSlider","[data-adstage-slot-id]","createAdWithRetry","toString","createAdInternal","ensureReady","adRenderer","setAttribute","body","API key not configured","81024QAGKrU","setupAutoCleanup","length","autoDestroy","muted","warn","318438dWHMoN","get","auto","string","refresh","disconnect"," ads for type: ","handleRemovedElement","handleViewableEvent","✅ Ad loaded for slot: ","hideControls","from","VIEWABLE","viewabilityTracker","BANNER","getConfig","Container not found after ","auto-","TEXT","customControls","observe","forEach","init","getBaseUrl","isLoaded","advertisement","playsinline","then","ms... (attempt ","_isReady","renderAdElement","autoplay","clear","❌ Failed to load ad for slot: ","3138448smTJis","100%","advertisementEventTracker","delete","native","Ad slot not found: ","nodeType","undefined","GET"," (element found)","❌ Failed to track viewable impression:","status","trackAdvertisementEvent","Failed to refresh ad slot: ","adType","🔄 Retrying viewability tracking for slot: ","onClick","Auto-cleanup failed for slot ","❌ Failed to find element for viewability tracking: ","createPlaceholder","advertisements","getElementById","New advertisement viewable tracked for slot:","Failed to fetch ad data: ","loop","광고 생성 중 오류 발생:"];return(qt=function(){return t})()}!function(){const t=Xt,e=qt();for(;;)try{if(190903===parseInt(t(488))/1+parseInt(t(442))/2+-parseInt(t(436))/3+parseInt(t(420))/4*(-parseInt(t(466))/5)+parseInt(t(353))/6+-parseInt(t(470))/7+parseInt(t(387))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Yt{constructor(){const t=Xt;this[t(382)]=!1,this[t(454)]=null,this[t(463)]=new Map,this.advertisementEventTracker=null,this[t(484)]=null,this[t(440)]=null}[Gt(375)](t){const e=Gt;this[e(454)]=t,this[e(389)]=new _(X[e(376)](),t[e(416)],t[e(414)]||!1,this[e(463)]),this[e(484)]=new Wt(t[e(414)]||!1,this[e(389)]),this[e(489)](),this._isReady=!0,t[e(414)]&&console[e(430)]("🎯 Ads module initialized (sync mode) with auto-cleanup")}[Gt(451)](){return this[Gt(382)]}[Gt(368)](){return this[Gt(454)]}[Gt(443)](t,e){const n=Gt;this[n(483)]();const s={width:e?.[n(459)]||"100%",height:e?.[n(419)]||n(355),autoSlide:e?.[n(447)]||!1,slideInterval:e?.[n(469)]||5e3,onClick:e?.[n(403)],adId:e?.[n(427)],language:e?.[n(475)],deviceType:e?.[n(417)],country:e?.[n(474)]};return this[n(415)](t,o.BANNER,s)}text(t,e){const n=Gt;this.ensureReady();const s={maxLines:e?.maxLines||3,style:e?.[n(441)]||n(424),onClick:e?.[n(403)],adId:e?.[n(427)],language:e?.language,deviceType:e?.deviceType,country:e?.[n(474)]};return this[n(415)](t,o[n(371)],s)}[Gt(426)](t,e){const n=Gt;this.ensureReady();const s={width:e?.[n(459)]||640,height:e?.[n(419)]||360,autoplay:void 0===e?.[n(384)]||e[n(384)],muted:void 0===e?.[n(351)]||e[n(351)],loop:void 0===e?.[n(411)]||e[n(411)],playsinline:!1!==e?.[n(379)],controls:void 0!==e?.[n(449)]&&e[n(449)],hideControls:e?.[n(363)]||!1,customControls:e?.[n(372)],autoSlide:!1,maxAds:1,onClick:e?.[n(403)],...e?.[n(427)]&&{adId:e.adId}};return this[n(415)](t,o.VIDEO,s)}[Gt(391)](t,e){const n=Gt;return this[n(483)](),this.createAd(t,o[n(437)],e||{})}interstitial(t,e){const n=Gt;return this[n(483)](),this[n(415)](t,o[n(468)],e||{})}[Gt(357)](t){const e=Gt;this[e(483)]();const n=this[e(463)][e(354)](t);if(!n)throw new Error(e(392)+t);this.refreshAdSlot(n),this[e(454)]?.debug&&console.log("🔄 Ad slot refreshed: "+t)}[Gt(439)](t){const e=Gt;this[e(483)]();const n=this[e(463)][e(354)](t);if(!n)return void(this[e(454)]?.[e(414)]&&console[e(430)](e(425)+t));n[e(366)]&&n[e(366)].destroy();const s=document.getElementById(n.containerId);s&&(s.innerHTML=""),this.slots.delete(t),this._config?.[e(414)]&&console[e(430)](e(453)+t)}[Gt(456)](){const t=Gt;return this[t(483)](),Array[t(364)](this.slots[t(473)]())}[Gt(429)](t){const e=Gt;return this[e(483)](),this[e(463)][e(354)](t)||null}[Gt(415)](t,e,n){const s=Gt;if(!this[s(454)]?.[s(416)])throw new Error(s(487));const i=s(462)+e+"-"+Date[s(418)]()+"-"+Math.random()[s(481)](36)[s(450)](2,9);return this.createAdWithRetry(t,e,n,i,0),i}async[Gt(480)](t,e,n,s,i){const r=Gt,o=[0,50,100,200,500];let a,c=null;if(typeof t===r(356)){if(a=t,c=document[r(408)](t),!c)return i<4?(this[r(454)]?.[r(414)]&&console[r(352)](r(467)+t+r(465)+o[i+1]+r(381)+(i+1)+"/5)"),void setTimeout(()=>{this[r(480)](t,e,n,s,i+1)},o[i+1])):void console[r(476)](r(369)+5+r(434)+t)}else c=t,a=c.id||r(370)+s,!c.id&&(c.id=a);try{this[r(482)](a,e,n,s,c)}catch(t){console[r(476)](r(412),t)}}createAdInternal(t,e,n,s,i){const r=Gt;i[r(485)]("data-adstage-slot-id",s),this[r(484)]?.[r(406)](i,s,e,n,this[r(454)]);const a={id:s,containerId:t,adType:e,width:n[r(459)]||r(388),height:n[r(419)]||(e===o[r(371)]?r(355):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:e,...n},load:async()=>this[r(428)](e,n)[r(380)](t=>t[0]||null),render:t=>this[r(484)]?.[r(383)](a,t),refresh:async()=>this[r(460)](a),destroy:()=>this[r(439)](s)};this[r(463)].set(s,a),this[r(423)](a),this[r(389)]&&this[r(454)]?.[r(414)]&&console.log("📊 Advertisement event tracking enabled for slot: "+s)}async loadAdContentInBackground(t){const e=Gt;try{const n=await this[e(428)](t[e(401)],t.config);if(!n||0===n[e(490)])return void this[e(484)]?.[e(455)](t);t.adType===o[e(367)]&&n[e(490)]>0&&await(this[e(484)]?.[e(435)](t,n)),n[e(490)]>1||t.config?.[e(447)]?(await(this[e(484)]?.[e(478)](t,n)),this[e(454)]?.debug&&console.log("🎠 Slider will handle VIEWABLE events for "+n.length+e(448))):(t[e(378)]=n[0],await(this[e(484)]?.[e(383)](t,n[0])),this[e(431)](t,n[0])),t[e(377)]=!0,this[e(454)]?.[e(414)]&&console[e(430)](e(362)+t.id+" ("+n[e(490)]+e(422))}catch(n){console[e(476)](e(386)+t.id,n),this[e(484)]?.renderFallback(t)}}[Gt(431)](t,e){const n=(s=0)=>{const i=Xt,r=document[i(408)](t.id);if(!r)return void(s<5?(setTimeout(()=>n(s+1),300),this._config?.[i(414)]&&console[i(430)](i(402)+t.id+i(472)+(s+1)+")")):console[i(352)](i(405)+t.id));const o=new O(r,async()=>{await this.handleViewableEvent(e,t)});t[i(366)]=o,this[i(454)]?.[i(414)]&&console[i(430)]("🎯 Simple viewability tracking started for slot: "+t.id+i(396))};n()}async[Gt(361)](t,e){const n=Gt;try{this.advertisementEventTracker&&(await this.advertisementEventTracker[n(399)](t[n(461)],e.id,p[n(365)]),this._config?.[n(414)]&&console[n(430)](n(452)+t._id))}catch(t){console[n(476)](n(397),t)}}async[Gt(428)](t,e){const n=Gt;if(!this[n(454)]?.[n(416)])throw new Error(n(487));if(e[n(427)]){const t=""+X[n(407)][n(446)](e[n(427)]),s=await fetch(t,{method:n(395),headers:z.create(this[n(454)][n(416)])});if(!s.ok){if(404===s[n(398)])return console.warn("🚫 Advertisement not found with ID: "+e[n(427)]),[];throw new Error(n(410)+s[n(398)])}const i=await s.json();return this._config?.[n(414)]&&console[n(430)](n(458)+e[n(427)],i),[i]}const s=new URLSearchParams;s[n(413)](n(401),t),e[n(475)]&&s[n(413)]("language",e[n(475)]),e[n(417)]&&s.append("deviceType",e[n(417)]),e[n(474)]&&s.append(n(474),e[n(474)]);const i=X.advertisements[n(433)]()+"?"+s[n(481)](),r=await fetch(i,{method:"GET",headers:z[n(432)](this[n(454)].apiKey)});if(!r.ok)throw new Error("Failed to fetch ad data: "+r[n(398)]);const o=(await r[n(444)]())[n(407)]||[];return this[n(454)]?.[n(414)]&&console.log("📊 Fetched "+o.length+n(359)+t+n(445),{language:e.language,deviceType:e[n(417)],country:e[n(474)]}),o}async[Gt(460)](t){const e=Gt;try{const n=await this[e(428)](t[e(401)],t[e(471)]||{});n&&n[e(490)]>0&&(t[e(378)]=n[0],await(this.adRenderer?.renderAd(t)),this.advertisementEventTracker&&console[e(430)](e(409),t.id))}catch(n){console[e(476)](e(400)+t.id,n)}}[Gt(483)](){if(!this[Gt(382)])throw new Error("Ads module not initialized. Call AdStage.init() first.")}[Gt(489)](){const t=Gt;"undefined"!=typeof window&&typeof document!==t(394)&&(this[t(440)]&&this[t(440)][t(358)](),this.mutationObserver=new MutationObserver(e=>{const n=t;e[n(374)](t=>{const e=n;t.removedNodes[e(374)](t=>{t[e(393)]===Node.ELEMENT_NODE&&this.handleRemovedElement(t)})})}),this[t(440)][t(373)](document[t(486)],{childList:!0,subtree:!0}),this[t(454)]?.debug&&console[t(430)]("🔍 Auto-cleanup MutationObserver enabled"))}[Gt(360)](t){const e=Gt,n=t[e(477)](e(457));if(n)return void this[e(350)](n);t[e(464)](e(479))[e(374)](t=>{const n=e,s=t[n(477)](n(457));s&&this[n(350)](s)})}[Gt(350)](t){const e=Gt,n=this.slots[e(354)](t);if(n)try{n[e(366)]&&n.viewabilityTracker.destroy(),this.slots[e(390)](t),this[e(454)]?.[e(414)]&&console[e(430)]("🧹 Auto-cleanup: slot "+t+" removed")}catch(n){this[e(454)]?.[e(414)]&&console.warn(e(404)+t+":",n)}}[Gt(438)](){const t=Gt,e=this[t(454)]?.debug;this[t(440)]&&(this.mutationObserver.disconnect(),this[t(440)]=null),this.slots[t(385)](),this.advertisementEventTracker=null,this.adRenderer=null,this[t(382)]=!1,this[t(454)]=null,e&&console.log(t(421))}}var Jt=Zt;function Qt(){var t=["debug","_organizationInfo","198SqeWle","init","getBaseUrl","8hDuWIj","✅ Config module initialized (sync mode)","4681224VkQOsi","_config","3836990pQgQzc","create","80ElFoWs","24446UOUdFu","getConfig","526272EEMMEE","_isReady","development","includes","3830553ywkVsX","1385868IELDUt","log","2769970zrCZbc","apiKey","ads","🔄 Config updated","setBaseUrl","API key not available","getApiHeaders","events","getOrganizationInfo","getApiEndpoint","22fyApHp","getEnabledModules","config","baseUrl","isDebugMode","modules"];return(Qt=function(){return t})()}function Zt(t,e){var n=Qt();return(Zt=function(t,e){return n[t-=229]})(t,e)}!function(){for(var t=Zt,e=Qt();;)try{if(776489===-parseInt(t(231))/1+parseInt(t(261))/2*(parseInt(t(251))/3)+parseInt(t(256))/4+parseInt(t(260))/5*(-parseInt(t(263))/6)+parseInt(t(233))/7+parseInt(t(254))/8*(parseInt(t(230))/9)+-parseInt(t(258))/10*(-parseInt(t(243))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class $t{constructor(){var t=Zt;this[t(264)]=!1,this[t(257)]=null,this[t(250)]=null}[Jt(252)](t){var e=Jt;this[e(257)]={timeout:3e4,debug:!1,modules:[e(235),e(240),e(245)],...t},t[e(246)]&&X[e(237)](t[e(246)]),this[e(264)]=!0,t.debug&&console.log(e(255),{modules:this[e(257)][e(248)],endpoint:X[e(253)](),mode:e(265)})}isReady(){return this[Jt(264)]}[Jt(262)](){return this._config}[Jt(241)](){return this[Jt(250)]}[Jt(242)](){return X[Jt(253)]()}[Jt(247)](){var t=Jt;return this[t(257)]?.[t(249)]||!1}[Jt(244)](){var t=Jt;return this[t(257)]?.[t(248)]||[]}isModuleEnabled(t){var e=Jt;return this.getEnabledModules()[e(229)](t)}updateConfig(t){var e=Jt;if(!this._config)throw new Error("Config module not initialized");this._config={...this._config,...t},this[e(247)]()&&console[e(232)](e(236),t)}[Jt(239)](){var t=Jt;if(!this._config?.[t(234)])throw new Error(t(238));return z[t(259)](this[t(257)][t(234)])}}const te=ee;function ee(t,e){const n=se();return(ee=function(t,e){return n[t-=468]})(t,e)}!function(){const t=ee,e=se();for(;;)try{if(313845===parseInt(t(490))/1*(parseInt(t(504))/2)+-parseInt(t(478))/3*(-parseInt(t(495))/4)+-parseInt(t(491))/5*(-parseInt(t(489))/6)+-parseInt(t(483))/7*(parseInt(t(471))/8)+-parseInt(t(509))/9+-parseInt(t(507))/10+parseInt(t(506))/11*(parseInt(t(474))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ne{static[te(477)](){return{...ne.getAutoDetectedDeviceInfo(),...ne._userProvidedDeviceInfo}}static[te(494)](){const t=te;if(!k[t(492)]())return{category:t(498),platform:t(479),model:t(479),osVersion:t(479)};const e=navigator[t(508)][t(505)]();let n=t(475);/tablet|ipad/.test(e)?n="tablet":T[t(497)]()&&(n=t(472));const s=T[t(482)]();return{category:n,platform:ne.mapPlatformForEvents(s),model:navigator.platform,osVersion:navigator[t(503)]}}static setDeviceInfo(t){ne[te(510)]={...ne._userProvidedDeviceInfo,...t}}static[te(469)](t,e){ne._userProvidedDeviceInfo[t]=e}static[te(485)](){ne[te(510)]={}}static getUserDeviceInfo(){return{...ne._userProvidedDeviceInfo}}static[te(481)](t){const e=te;switch(t){case e(493):return e(511);case e(501):return e(486);case"web":return e(496);case"desktop":return e(487);default:return e(502)}}static[te(499)](){const t=te;if(!k[t(492)]())return{userAgent:t(479),language:t(500),platform:"SSR",cookieEnabled:!1,onLine:!0,screenResolution:t(473),viewportSize:t(473)};const e=k[t(476)]();return{userAgent:navigator.userAgent,language:navigator[t(468)]||t(500),platform:navigator[t(503)],cookieEnabled:navigator[t(484)],onLine:navigator[t(488)],screenResolution:screen[t(480)]+"x"+screen[t(470)],viewportSize:e[t(480)]+"x"+e[t(470)]}}}function se(){const t=["mobile","0x0","648wRQfuW","desktop","getViewportInfo","getDeviceInfo","6yYvnnq","SSR","width","mapPlatformForEvents","getPlatform","7ujPpPp","cookieEnabled","clearDeviceInfo","Android","Desktop Web","onLine","432qpizua","280265SCwNvg","26300WrGkvc","isBrowser","ios","getAutoDetectedDeviceInfo","28636DAwALa","Mobile Web","isMobile","other","getDetailedInfo","ko-KR","android","Unknown","platform","2GbZXzH","toLowerCase","116611TDDtHt","3501850Lzmwzq","userAgent","578322cjERQW","_userProvidedDeviceInfo","iOS","language","setDeviceProperty","height","4139752yRjJHO"];return(se=function(){return t})()}ne._userProvidedDeviceInfo={};const ie=oe;!function(){const t=oe,e=ae();for(;;)try{if(597364===parseInt(t(274))/1*(parseInt(t(288))/2)+parseInt(t(289))/3+parseInt(t(275))/4*(parseInt(t(293))/5)+-parseInt(t(283))/6*(parseInt(t(294))/7)+-parseInt(t(284))/8*(parseInt(t(286))/9)+-parseInt(t(278))/10+parseInt(t(292))/11*(-parseInt(t(290))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class re{static[ie(281)](){const t=ie;return{...re[t(276)](),...re[t(277)]}}static[ie(276)](){const t=ie;if(!k[t(279)]())return{language:t(280),country:"KR"};const e=navigator.language||"ko-KR";return{language:e,country:re[t(295)](e)}}static[ie(295)](t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t.split("-")[0]]||"KR"}static[ie(287)](t){const e=ie;re[e(277)]={...re[e(277)],...t}}static[ie(285)](t,e){re[ie(277)][t]=e}static[ie(282)](){re._userProperties={}}static[ie(272)](){return{...re[ie(277)]}}static estimateLocation(){const t=ie;if(!k.isBrowser())return{timezone:t(291),estimatedCountry:"KR"};const e=Intl[t(273)]().resolvedOptions().timeZone;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=ae();return(oe=function(t,e){return n[t-=272]})(t,e)}function ae(){const t=["isBrowser","ko-KR","getUserInfo","clearUserProperties","32322rszwwa","1464ViIRNk","setUserProperty","13887BRxzae","setUserProperties","683918lhMVsm","720573ootKcA","9280716AsUUzC","UTC","11zGPAvG","84345IrXDLl","49voScYI","extractCountryFromLanguage","getCurrentUserProperties","DateTimeFormat","2gYockp","204HDQjIZ","getBaseUserInfo","_userProperties","935930GydZzW"];return(ae=function(){return t})()}function ce(){const t=["meta.ads","store","campaign_id","utm_medium","hasParams","msclkid","creative_id","gclid","channel","linkedin.ads","length","47162jnYhUI","adGroup","removeItem","adCreative","parse","campaign","UTM_KEYS","6865LbJdAk","11SrZDiz","ad_group","markClickEventSent","150409xWuIMK","1103709NkkvqO","nclid","adstage","google.ads","shouldSendClickEvent","campaignId","10vwoyDG","utm_term","keys","CAMPAIGN_KEYS","Failed to parse adstage_referrer:","14BSNIha","stringify","clear","tiktok.ads","642kHqMzX","get","getItem","true","utm_campaign","fbclid","CLICK_ID_KEYS","adstage_last_click_id","adGroupId","microsoft.ads","adstage_click_event_sent","liclid","captureFromUrl","4kqFmpH","warn","twclid","term","setItem","4360932hyRuQN","136fImzxL","14OvykGI","Failed to store tracking params:","13338026xWKSOn","undefined","ttclid","location","isClickEventSent","2816136NjNSxg","utm_content","STORAGE_KEY","utm_source","ad_creative","ad_group_id","naver.searchad","twitter.ads"];return(ce=function(){return t})()}re[ie(277)]={};const de=le;function le(t,e){const n=ce();return(le=function(t,e){return n[t-=375]})(t,e)}!function(){const t=le,e=ce();for(;;)try{if(234732===parseInt(t(433))/1*(parseInt(t(383))/2)+-parseInt(t(445))/3*(-parseInt(t(400))/4)+-parseInt(t(440))/5*(-parseInt(t(387))/6)+parseInt(t(444))/7*(parseInt(t(406))/8)+-parseInt(t(414))/9*(parseInt(t(378))/10)+-parseInt(t(441))/11*(-parseInt(t(405))/12)+parseInt(t(409))/13*(-parseInt(t(407))/14))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ue{static[de(399)](){const t=de;if(typeof window===t(410))return null;const e=new URLSearchParams(window[t(412)].search),n={};let s=!1;const i=e[t(388)]("adstage_referrer");if(i)try{const e=decodeURIComponent(i),r=new URLSearchParams(e);for(const t of ue.ALL_KEYS){const e=r.get(t);e&&(n[t]=e,s=!0)}r[t(388)](t(447))===t(390)&&(s=!0)}catch(e){console[t(401)](t(382),e)}for(const i of ue.ALL_KEYS){if(n[i])continue;const r=e[t(388)](i);r&&(n[i]=r,s=!0)}return s?(n[t(430)]||(n[t(429)]?n.channel=t(375):n[t(392)]?n.channel=t(422):n[t(411)]?n[t(430)]=t(386):n[t(446)]?n[t(430)]=t(420):n.liclid?n[t(430)]=t(431):n[t(427)]?n[t(430)]=t(396):n.twclid&&(n[t(430)]=t(421))),ue.store(n),n):null}static[de(423)](t){const e=de;if(typeof window!==e(410))try{const n={...ue[e(388)](),...t},s=JSON[e(384)](n);try{sessionStorage[e(404)](ue[e(416)],s)}catch(t){}try{localStorage[e(404)](ue[e(416)],s)}catch(t){}}catch(t){console.warn(e(408),t)}}static[de(388)](){const t=de;if(typeof window===t(410))return null;try{const e=sessionStorage?.[t(389)](ue.STORAGE_KEY);if(e)return JSON[t(437)](e)}catch(t){}try{const e=localStorage?.[t(389)](ue[t(416)]);if(e)return JSON.parse(e)}catch(t){}return null}static[de(385)](){const t=de;if(typeof window!==t(410)){try{sessionStorage?.[t(435)](ue[t(416)])}catch(t){}try{localStorage?.[t(435)](ue[t(416)])}catch(t){}}}static[de(426)](){const t=de,e=ue[t(388)]();return null!==e&&Object[t(380)](e)[t(432)]>0}static hasClickId(){const t=de,e=ue.get();return!!e&&ue[t(393)].some(t=>e[t])}static[de(376)](){const t=de;if(typeof window===t(410))return!1;const e=ue[t(388)]();if(!e||!ue.hasClickId())return!1;const n=e[t(429)]||e.fbclid||e[t(411)]||e[t(446)]||e[t(398)]||e[t(427)]||e[t(402)];if(!n)return!1;return n!==sessionStorage[t(389)](t(394))&&(sessionStorage[t(404)](t(394),n),!0)}static[de(443)](){const t=de;typeof window!==t(410)&&sessionStorage.setItem(t(397),t(390))}static[de(413)](){const t=de;return typeof window!==t(410)&&sessionStorage[t(389)](t(397))===t(390)}static toAttributionObject(){const t=de,e=ue[t(388)]();if(!e)return null;const n={};return e[t(429)]&&(n.gclid=e.gclid),e.fbclid&&(n[t(392)]=e.fbclid),e[t(411)]&&(n[t(411)]=e[t(411)]),e.nclid&&(n[t(446)]=e.nclid),e[t(430)]&&(n[t(430)]=e.channel),e[t(438)]&&(n[t(438)]=e[t(438)]),e[t(424)]&&(n[t(377)]=e[t(424)]),e[t(442)]&&(n[t(434)]=e.ad_group),e[t(419)]&&(n[t(395)]=e.ad_group_id),e[t(418)]&&(n[t(436)]=e[t(418)]),e[t(428)]&&(n.creativeId=e[t(428)]),e[t(403)]&&(n[t(403)]=e[t(403)]),e[t(417)]&&(n[t(417)]=e.utm_source),e[t(425)]&&(n[t(425)]=e[t(425)]),e[t(391)]&&(n.utm_campaign=e[t(391)]),e.utm_content&&(n.utm_content=e[t(415)]),e[t(379)]&&(n.utm_term=e[t(379)]),Object[t(380)](n).length>0?n:null}}ue[de(416)]="adstage_tracking_params",ue[de(393)]=[de(429),de(392),de(411),de(446),de(398),de(427),de(402)],ue[de(381)]=[de(438),de(424),de(442),de(419),"ad_creative",de(428),de(403)],ue.UTM_KEYS=[de(417),de(425),de(391),de(415),de(379)],ue.ALL_KEYS=[...ue[de(393)],...ue.CAMPAIGN_KEYS,...ue[de(439)]];const pe=he;function he(t,e){const n=fe();return(he=function(t,e){return n[t-=310]})(t,e)}function fe(){const t=["setUserProperties","undefined","trackWithAttributionId","Event tracking failed: ","setDeviceInfo","POST","📱 Device info set:","getConfig","⏭️ No tracking parameters found, skipping attribution registration","getUserInfo","_config","👤 User properties set:","📊 Events module initialized","sendAttributionToServer","get","🔑 Attribution request headers:","Events module not initialized. Call AdStage.init() first.","warn","error","registerAttribution","12tGJpnG","12809000dtfmhG","log","📡 Request URL:","Event data:","attributionId","getCurrentUserProperties","json","✅ Event tracked:","track","📱 User provided device info cleared","application/json","events","stringify","_isReady","1552689kVWGVt","12701493njByvE","setDeviceProperty","📦 Attribution request body:","📊 Attribution included:","clearDeviceInfo","statusText","✅ Attribution registered:","create","text","adstage_attribution_id","60yNuTNd","init","944608tKYupu","✅ Event tracked with attribution ID:","📡 Attribution request URL:","apiKey","📱 Device property set:","keys","getAttributionId","length","131164qVBOuc","debug","📦 Request body:","getItem","getUserProperties","3851220nUgxmb","toAttributionObject","isReady","🔑 Request headers:","68181129dUgOWf","sendEventToServer","getDeviceInfo"];return(fe=function(){return t})()}!function(){const t=he,e=fe();for(;;)try{if(966530===-parseInt(t(368))/1+parseInt(t(313))/2*(-parseInt(t(353))/3)+-parseInt(t(321))/4*(parseInt(t(311))/5)+parseInt(t(326))/6+-parseInt(t(369))/7+-parseInt(t(354))/8+parseInt(t(330))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ge{constructor(){const t=he;this[t(367)]=!1,this[t(343)]=null}[pe(312)](t){const e=pe;this._config=t,this[e(367)]=!0,t.debug&&console.log(e(345))}[pe(328)](){return this[pe(367)]}[pe(340)](){return this._config}[pe(333)](t){const e=pe;re[e(333)](t),this[e(343)]?.[e(322)]&&console[e(355)](e(344),t)}[pe(325)](){return re[pe(359)]()}[pe(337)](t){const e=pe;ne[e(337)](t),this._config?.[e(322)]&&console[e(355)](e(339),t)}[pe(370)](t,e){const n=pe;ne[n(370)](t,e),this[n(343)]?.[n(322)]&&console[n(355)](n(317),t,e)}[pe(373)](){const t=pe;ne[t(373)](),this[t(343)]?.[t(322)]&&console[t(355)](t(363))}getUserDeviceInfo(){return ne.getUserDeviceInfo()}getDeviceInfo(){return ne[pe(332)]()}getUserInfo(){return re[pe(342)]()}getCurrentUserProperties(){return re[pe(359)]()}async[pe(362)](t,e){const n=pe;if(this._isReady)if(this._config?.[n(316)])try{const s=this[n(319)]();if(s){const i={eventName:t,sdkVersion:"3.0.11",device:ne.getDeviceInfo(),user:re[n(342)](),attributionId:s,params:e||{}};return await this[n(331)](i),void(this[n(343)].debug&&console[n(355)](n(314),t,s))}const i=ue[n(327)](),r={eventName:t,sdkVersion:"3.0.11",device:ne[n(332)](),user:re[n(342)](),...i&&{attribution:i},params:e||{}};await this[n(331)](r),this[n(343)][n(322)]&&(console.log(n(361),t,e),i&&console[n(355)](n(372),i))}catch(s){console[n(351)]("❌ Failed to track event:",s),this[n(343)][n(322)]&&console[n(351)](n(357),{eventName:t,properties:e})}else console[n(350)]("API key not configured for event tracking.");else console[n(350)](n(349))}async[pe(352)](t){const e=pe;if(!this[e(367)])return console.warn(e(349)),null;if(!this[e(343)]?.[e(316)])return console.warn("API key not configured for attribution registration."),null;try{const n=ue[e(347)]();if(!n||0===Object[e(318)](n)[e(320)])return this[e(343)].debug&&console[e(355)](e(341)),null;const s=await this[e(346)]({deviceId:t,referrerParams:n});if(this._config[e(322)]&&console.log(e(375),s),s[e(358)]){try{localStorage.setItem(e(310),s[e(358)])}catch(t){}try{sessionStorage.setItem("adstage_attribution_id",s[e(358)])}catch(t){}}return s}catch(t){return console[e(351)]("❌ Failed to register attribution:",t),null}}[pe(319)](){const t=pe;if(typeof window===t(334))return null;try{const e=sessionStorage[t(324)]("adstage_attribution_id");if(e)return e}catch(t){}try{return localStorage[t(324)](t(310))}catch(t){}return null}async[pe(335)](t,e){return this[pe(362)](t,e)}async[pe(331)](t){const e=pe,n={...z[e(376)](this._config[e(316)]),"Content-Type":e(364)};this._config?.debug&&(console.log(e(329),n),console[e(355)](e(356),X[e(365)][e(362)]()),console[e(355)](e(323),t));const s=await fetch(X[e(365)][e(362)](),{method:e(338),headers:n,body:JSON[e(366)](t)});if(!s.ok){const t=await s[e(377)]();throw console[e(351)]("❌ API Error Response:",t),new Error(e(336)+s.status+" "+s[e(374)])}}async[pe(346)](t){const e=pe,n={...z[e(376)](this[e(343)][e(316)]),"Content-Type":"application/json"};this[e(343)]?.[e(322)]&&(console[e(355)](e(348),n),console[e(355)](e(315),X[e(365)][e(352)]()),console[e(355)](e(371),t));const s=await fetch(X.events[e(352)](),{method:e(338),headers:n,body:JSON[e(366)](t)});if(!s.ok){const t=await s.text();throw console[e(351)]("❌ API Error Response:",t),new Error("Attribution registration failed: "+s.status+" "+s[e(374)])}return s[e(360)]()}}const me=ye;function Ie(){const t=["config","debug","_isInitialized","baseUrl","attributionId","API key is required for AdStage initialization","shouldSendClickEvent","log","viewableTracker","setItem","hash","AdStage.events accessed before initialization","charCodeAt","❌ Failed to auto-track click event:","error","size","attribution_id","from","🔗 Using attributionId from URL (attribution_id):","❌ Error in click event auto-tracking:","🎯 Sending click event after attribution registration","adstage_device_id","AdStage not initialized. Call AdStage.init() first.","search","click","6955716IaqCGx","64290cxoDFA","reset","userAgent","width",")의 viewable 추적 초기화됨","tracking_params","toAttributionObject","markClickEventSent","events","AdStage.ads accessed before initialization","clear","now","🌐 API endpoint configured:","1897240XNXBIK","hasClickId","282iNgilv","409523kgtrIN","727767TxXPFJ","isReady","✅ Auto-tracked click event with tracking params:","ads","web","get","development","toString","📊 Tracking parameters captured:","server-","getInstance","10868SwbriV","136caGVfr","13660dPEaVN","init","catch","📊 AdStage Debug: 현재 viewable 추적 상태","registerAttribution","track","length","undefined","✅ Attribution registered:","abs","adstage_attribution_id","instance","❌ Failed to register attribution:","6YNVHyC","warn","campaign","_config","hardwareConcurrency","expiresAt","3008243EwkaLW","getTimezoneOffset","location","apiKey","getItem","substring","setBaseUrl","generateDeviceId","3kyblGc","function","height","AdStage.config accessed before initialization","channel"];return(Ie=function(){return t})()}!function(){const t=ye,e=Ie();for(;;)try{if(923596===parseInt(t(270))/1*(parseInt(t(297))/2)+parseInt(t(311))/3*(parseInt(t(267))/4)+parseInt(t(254))/5*(-parseInt(t(269))/6)+parseInt(t(303))/7+parseInt(t(283))/8*(-parseInt(t(271))/9)+parseInt(t(284))/10*(parseInt(t(282))/11)+-parseInt(t(253))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ve{constructor(){const t=ye;this[t(318)]=!1,this[t(300)]=null,this.config=new $t,this[t(274)]=new Yt,this[t(262)]=new ge}static[me(285)](t){const e=me;!ve[e(295)]&&(ve.instance=new ve);const n=ve[e(295)];if(!t[e(306)])throw new Error(e(321));n._config={timeout:3e4,debug:!1,modules:["ads",e(262),e(316)],...t},n[e(300)][e(319)]&&(X[e(309)](n[e(300)][e(319)]),t[e(317)]&&console[e(235)](e(266),n[e(300)][e(319)]));const s=n[e(300)].modules||[e(274),"events","config"];for(const t of s){const s=n[t];s&&typeof s.init===e(312)&&s.init(n[e(300)])}if(n[e(318)]=!0,typeof window!==e(291)){const s=ue.captureFromUrl();s&&t.debug&&console.log(e(279),s);const i=(()=>{const t=e;try{const e=new URLSearchParams(window[t(305)][t(251)]),n=new URLSearchParams((window[t(305)][t(238)]||"").replace(/^#/,""));return e[t(276)](t(244))||n[t(276)](t(244))}catch{return null}})();if(i)try{localStorage[e(237)](e(294),i),t[e(317)]&&console[e(235)](e(246),i)}catch(t){}const r=ue[e(234)]();if(t[e(317)]&&(console[e(235)]("🔍 Should send click event:",r),!r&&console[e(235)]("⏭️ Skipping click event (duplicate or no click ID)")),!i&&s&&ue[e(268)]()){const s=(async()=>{const s=e;try{const e=n[s(310)](),i=await n[s(262)][s(288)](e);return i&&t[s(317)]&&console[s(235)](s(292),{attributionId:i[s(320)],channel:i[s(315)],campaign:i[s(299)],expiresAt:i[s(302)]}),i}catch(t){return console[s(242)](s(296),t),null}})();r&&s.then(s=>{const i=e;try{const e=ue.get(),r=ue[i(260)]();t[i(317)]&&console[i(235)](i(248),{attributionId:s?.attributionId,hasAttribution:!!s}),n.events[i(289)](i(252),{_autoGenerated:!0,_source:i(259),_timestamp:(new Date).toISOString(),_platform:i(275)}).then(()=>{const n=i;ue.markClickEventSent(),t[n(317)]&&console[n(235)]("✅ Auto-tracked click event with tracking params:",{attribution:r,trackingParams:e})})[i(286)](t=>{const e=i;console[e(242)](e(241),t)})}catch(t){console[i(242)](i(247),t)}})}else r&&setTimeout(()=>{const s=e;try{const e=ue[s(276)](),i=ue[s(260)]();n[s(262)][s(289)](s(252),{_autoGenerated:!0,_source:"tracking_params",_timestamp:(new Date).toISOString(),_platform:"web"}).then(()=>{const n=s;ue[n(261)](),t.debug&&console[n(235)](n(273),{attribution:i,trackingParams:e})})[s(286)](t=>{console[s(242)]("❌ Failed to auto-track click event:",t)})}catch(t){console[s(242)](s(247),t)}},100)}t.debug&&console[e(235)]("🚀 AdStage SDK initialized (sync mode)",{version:"2.0.0",modules:s,apiKey:t[e(306)][e(308)](0,8)+"...",mode:e(277)})}static[me(272)](){const t=me;return ve.instance?.[t(318)]||!1}static getConfig(){const t=me;return ve.instance?.[t(300)]||null}static[me(281)](){const t=me;if(!ve[t(295)])throw new Error(t(250));return ve[t(295)]}static get[me(274)](){const t=me;try{return ve[t(281)]()[t(274)]}catch(e){throw console[t(298)](t(263)),e}}static get[me(262)](){const t=me;try{return ve[t(281)]().events}catch(e){throw console.warn(t(239)),e}}static get config(){const t=me;try{return ve[t(281)]()[t(316)]}catch(e){throw console[t(298)](t(314)),e}}static[me(255)](){const t=me;ve[t(295)]&&(ve[t(295)][t(318)]=!1,ve[t(295)][t(300)]=null)}generateDeviceId(){const t=me;if(typeof window===t(291))return t(280)+Math.random()[t(278)](36).substring(2,15);const e=localStorage[t(307)](t(249));if(e)return e;const n=[navigator[t(256)],navigator.language,screen[t(257)]+"x"+screen[t(313)],(new Date)[t(304)](),navigator[t(301)]||0].join("|");let s=0;for(let e=0;e<n[t(290)];e++){s=(s<<5)-s+n[t(240)](e),s&=s}const i="web-"+Math[t(293)](s)[t(278)](36)+"-"+Date[t(265)]().toString(36);return localStorage.setItem(t(249),i),i}}function ye(t,e){const n=Ie();return(ye=function(t,e){return n[t-=234]})(t,e)}function be(t,e){var n=we();return(be=function(t,e){return n[t-=349]})(t,e)}function we(){var t=["10unUNnc","12GRRxcc","isReady","2bZwmCq","54415Rywkqf","259603pyNLoA","3089093gsbQPT","5362758VXFafy","AdStage not initialized. Call AdStage.init() first.","track","warn","getUserProperties","events","setUserProperties","1495398CzIAav","1270080wGhAdy","3171852aKMLOg"];return(we=function(){return t})()}function ke(t,e){var n=be;return ve.isReady()?ve[n(354)][n(351)](t,e):(console.warn(n(350)),Promise.resolve())}function Ee(t){var e=be;ve.isReady()?ve[e(354)][e(355)](t):console.warn(e(350))}function Ae(){var t=be;if(ve[t(361)]())return ve[t(354)][t(353)]();console[t(352)](t(350))}ve[me(317)]={clearAllViewable:()=>{ct[me(264)](),console.log("✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨")},clearAdViewable:(t,e)=>{const n=me;ct.clearAdViewable(t,e),console[n(235)]("✅ AdStage Debug: 광고 "+t+"("+e+n(258))},getViewableStatus:()=>{const t=me;console.log(t(287),{trackedCount:ct[t(236)][t(243)],trackedItems:Array[t(245)](ct.viewableTracker)})}},function(){for(var t=be,e=we();;)try{if(395767===-parseInt(t(364))/1*(-parseInt(t(362))/2)+-parseInt(t(356))/3+parseInt(t(360))/4*(-parseInt(t(363))/5)+-parseInt(t(358))/6+parseInt(t(365))/7+parseInt(t(357))/8+parseInt(t(349))/9*(parseInt(t(359))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const xe=e(null);function Se({children:e,config:i}){const[r,o]=n(!1),[a,c]=n(null),[d,l]=n(null),u=t=>{try{l(null),r&&ve.reset(),ve.init(t),c(t),o(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";l(e),console.error("❌ AdStage SDK initialization failed:",t),o(!1),c(null)}};s(()=>{i&&!r&&u(i)},[i,r]);const p={isInitialized:r,config:a,initialize:u,reset:()=>{try{ve.reset(),o(!1),c(null),l(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:d};return t(xe.Provider,{value:p,children:e})}function Ce(){const t=i(xe);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function Te(){const{isInitialized:t}=Ce();return t?ve:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}function Re(t,e){var n=ze();return(Re=function(t,e){return n[t-=434]})(t,e)}function ze(){var t=["9999HuMOEC","4JRsrGT","9gjXDHB","1891821MwsPKk","1685435StuMPe","1999370lXpyjN","2rxOgBg","15660blPPPO","21oFjolz","540464yvdiBp","5350932rJjmvp","120646GXYuGc"];return(ze=function(){return t})()}!function(){for(var t=Re,e=ze();;)try{if(524160===parseInt(t(436))/1*(parseInt(t(441))/2)+-parseInt(t(445))/3+-parseInt(t(443))/4*(-parseInt(t(434))/5)+-parseInt(t(440))/6+parseInt(t(438))/7*(parseInt(t(439))/8)+-parseInt(t(444))/9*(-parseInt(t(435))/10)+parseInt(t(442))/11*(parseInt(t(437))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const De=Le;function Le(t,e){const n=Ue();return(Le=function(t,e){return n[t-=377]})(t,e)}!function(){const t=Le,e=Ue();for(;;)try{if(285072===parseInt(t(383))/1+-parseInt(t(387))/2*(parseInt(t(384))/3)+parseInt(t(390))/4+-parseInt(t(389))/5*(parseInt(t(378))/6)+parseInt(t(391))/7+-parseInt(t(392))/8*(parseInt(t(379))/9)+parseInt(t(388))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Pe=De(377);function Ue(){const t=["undefined","ads","355697uCsJRp","9IfhZRm","events","config","201546ZCzgmd","8521000PjmnjI","25ZsTcec","85292oVUCWE","2916396CSJGHD","2264528qPBiHr","2.0.0","590670aiMEhq","18NDtzzP","AdStage"];return(Ue=function(){return t})()}const Be=[De(382),De(385),De(386)];typeof window!==De(381)&&(window[De(380)]=ve);export{ve as AdStage,Se as AdStageProvider,Pe as SDK_VERSION,Be as SUPPORTED_MODULES,ue as TrackingParamsModule,Ae as getUserProperties,Ee as setUserProperties,ke as track,Ce as useAdStageContext,Te as useAdStageInstance};
|