@adstage/web-sdk 3.0.2 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- var t,e,n,r,s,o,i,a,c,l,d,u;function p(t,e){var n=h();return(p=function(t,e){return n[t-=409]})(t,e)}function h(){var t=["NATIVE","5fReSOX","VIDEO","TEXT","WEB","CLICK","5599XiQsdY","56380lFovtV","82056bPyNaJ","5gojIeC","5013384xmqZfJ","56512fLfqUR","7624170gzmlFb","3648CTtmfc","BANNER","DESKTOP","INTERSTITIAL","POPUP","18QLjllw","16630JTFkFt","7KKdJDK","TABLET","5083314kppqFQ","MOBILE"];return(h=function(){return t})()}function f(t,e){const n=y();return(f=function(t,e){return n[t-=446]})(t,e)}!function(){for(var t=p,e=h();;)try{if(501801===parseInt(t(429))/1*(parseInt(t(411))/2)+parseInt(t(422))/3*(-parseInt(t(415))/4)+-parseInt(t(413))/5*(parseInt(t(426))/6)+parseInt(t(424))/7*(-parseInt(t(414))/8)+parseInt(t(416))/9+parseInt(t(423))/10*(-parseInt(t(410))/11)+-parseInt(t(417))/12*(-parseInt(t(412))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(e=t||(t={}))[(n=p)(418)]=n(418),e.POPUP=n(421),e[n(420)]=n(420),e[n(428)]=n(428),e[n(430)]=n(430),e[n(431)]=n(431),(s=r||(r={}))[(o=p)(432)]=o(432),s[o(427)]=o(427),a=i||(i={}),c=p,a.VIEWABLE="VIEWABLE",a[c(409)]=c(409),(d=l||(l={}))[(u=p)(419)]=u(419),d[u(427)]=u(427),d[u(425)]=u(425);const g=f;!function(){const t=f,e=y();for(;;)try{if(594790===parseInt(t(469))/1+-parseInt(t(484))/2+-parseInt(t(494))/3*(-parseInt(t(513))/4)+parseInt(t(497))/5+-parseInt(t(458))/6+parseInt(t(462))/7+parseInt(t(504))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class m{static[g(468)](){return"undefined"!=typeof window&&typeof document!==g(452)}static isSSR(){return!this.isBrowser()}static[g(477)](){const t=g;return this[t(468)]()&&void 0!==document[t(486)]}static[g(500)](t){const e=g;return this[e(477)]()?document[e(448)](t):null}static[g(510)](t){const e=g;return this.canUseDOM()?document[e(499)](t):null}static[g(476)](t){const e=g;return this[e(477)]()?Array[e(503)](document.querySelectorAll(t)):[]}static safeCreateElement(t){return this[g(477)]()?document.createElement(t):null}static safeAddEventListener(t,e,n,r){this[g(477)]()&&t&&t.addEventListener(e,n,r)}static[g(465)](t,e,n,r){const s=g;this[s(477)]()&&t&&t[s(463)](e,n,r)}static[g(449)](t,e){return this.isBrowser()?window[t]??e:e}static[g(505)](t,e){return this[g(477)]()?document[t]??e:e}static[g(480)](t,e,n){const r=g;return this[r(468)]()?window[r(509)](t,e,n):null}static[g(472)](t){return this.isBrowser()&&t?window.getComputedStyle(t):null}static[g(450)](){const t=g;return!!this[t(477)]()&&document.readyState!==t(501)}static[g(487)](){return new Promise(t=>{const e=f;this[e(477)]()?this[e(450)]()?t():this[e(454)](document,"DOMContentLoaded",()=>t()):t()})}static safeApplyStyles(t,e){const n=g;this[n(477)]()&&t&&Object[n(474)](e)[n(482)](([e,r])=>{t[n(492)].setProperty(e,r)})}static[g(471)](t,e){const n=g;this.canUseDOM()&&t&&t[n(489)][n(511)](e)}static[g(496)](t,e){const n=g;this[n(477)]()&&t&&t[n(489)][n(493)](e)}static[g(508)](t,e){const n=g;this[n(477)]()&&t&&(t[n(507)]=e)}static[g(451)](t,e){this[g(477)]()&&t&&(t.innerHTML=e)}static[g(464)](t,e){const n=g;this[n(477)]()&&t&&e&&t[n(461)](e)}static safeRemoveChild(t,e){const n=g;this[n(477)]()&&t&&e&&t[n(446)](e)}static[g(490)](){const t=g;return{url:this[t(449)](t(457),{href:""})[t(460)],title:this[t(505)](t(447),""),referrer:this[t(505)](t(485),"")}}static[g(459)](){const t=g;return{width:this[t(449)]("innerWidth",0),height:this[t(449)](t(453),0),pixelRatio:this[t(449)](t(473),1)}}static[g(488)](){const t=g;return{scrollTop:this.canUseDOM()?window.pageYOffset||document[t(479)].scrollTop:0,scrollLeft:this[t(449)]("pageXOffset",0)}}static async[g(483)](t,e={}){const n=g,{timeout:r=3e3,retryInterval:s=100,debug:o=!1}=e;if(!this[n(477)]())throw new Error("DOM을 사용할 수 없는 환경입니다.");const i=document[n(448)](t);return i?(o&&console[n(470)](n(481)+t),i):(o&&console[n(470)](n(478)+t+n(467)+r+n(512)),new Promise((e,i)=>{const a=n;let c=0;const l=Math[a(502)](r/s),d=()=>{const n=a;c++;const u=document[n(448)](t);if(u)return o&&console.log(n(466)+t+" ("+c+"번째 시도, "+c*s+"ms 경과)"),void e(u);if(c>=l){const e=n(495)+t+n(498)+t+'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: '+r+"ms ("+c+n(475);return o&&console.error(e),void i(new Error(e))}o&&c%10==0&&console[n(470)](n(506)+t+" ("+c+"/"+l+")");const p=Math[n(455)](s*Math[n(514)](1.2,c),500);setTimeout(d,p)};setTimeout(d,s)}))}static async[g(491)](t,e={}){const n=g,r=t.map(t=>this[n(483)](t,e));return Promise[n(456)](r)}}function y(){const t=["entries","번 시도)","safeQuerySelectorAll","canUseDOM","⏳ 컨테이너 대기 시작: ","documentElement","safeWindowOpen","✅ 컨테이너 즉시 발견: ","forEach","waitForElement","518742fRykJI","referrer","readyState","waitForDOM","getScrollInfo","classList","getPageInfo","waitForElements","style","remove","9015sxmuYU",'❌ 컨테이너를 찾을 수 없습니다: "',"safeRemoveClass","999530szvBWZ",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"querySelector","safeGetElementById","loading","ceil","from","2425816ITnoLu","getDocumentProperty","⏳ 컨테이너 대기 중: ","textContent","safeSetTextContent","open","safeQuerySelector","add","ms)","84BYpYnf","pow","removeChild","title","getElementById","getWindowProperty","isDOMReady","safeSetInnerHTML","undefined","innerHeight","safeAddEventListener","min","all","location","2394180cWFmXs","getViewportInfo","href","appendChild","2028558dYTOjc","removeEventListener","safeAppendChild","safeRemoveEventListener","✅ 컨테이너 발견: "," (최대 ","isBrowser","397159vvZhYw","log","safeAddClass","safeGetComputedStyle","devicePixelRatio"];return(y=function(){return t})()}!function(){const t=I,e=v();for(;;)try{if(643392===-parseInt(t(221))/1*(-parseInt(t(218))/2)+-parseInt(t(229))/3*(parseInt(t(228))/4)+parseInt(t(222))/5+-parseInt(t(226))/6*(parseInt(t(217))/7)+-parseInt(t(223))/8*(parseInt(t(224))/9)+-parseInt(t(220))/10*(-parseInt(t(230))/11)+-parseInt(t(227))/12*(-parseInt(t(219))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();function I(t,e){const n=v();return(I=function(t,e){return n[t-=217]})(t,e)}function v(){const t=["12467CgXtCh","2224sfbFtS","388674FmYblI","897220nwaTKl","1115oQrejT","400255czrqGV","8LofDmD","6306903QsrqHM"," AdStageSDK/","1356HZdtyg","12XybIBx","20ZYvUQl","192564hzESeq","88hezEGo"];return(v=function(){return t})()}const b=w;function w(t,e){const n=E();return(w=function(t,e){return n[t-=197]})(t,e)}!function(){const t=w,e=E();for(;;)try{if(248987===-parseInt(t(200))/1+-parseInt(t(220))/2+-parseInt(t(205))/3*(parseInt(t(218))/4)+-parseInt(t(213))/5*(parseInt(t(204))/6)+parseInt(t(216))/7+-parseInt(t(203))/8*(parseInt(t(197))/9)+parseInt(t(202))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class k{static[b(212)](){const t=b;try{const{AdStage:e}=require("../core/adstage");return e[t(212)]()}catch{return null}}static[b(219)](){const t=k[b(212)]();return t?.appVersion||"1.0.0"}static[b(217)](){const t=b,e=k[t(212)]();return e?.[t(215)]||!1}static[b(206)](){const t=b,e=k[t(212)]();return e?.[t(211)]}static[b(201)](){const t=b,e=k[t(212)]();return e?.[t(198)]||3e4}static[b(208)](){const t=b,e=k[t(212)]();return e?.placeholderMode||t(210)}static[b(209)](){const t=b,e=k.getConfig();return e?.[t(199)]||["ads",t(214),t(207)]}}function E(){const t=["14856bWGiGX","863790DLlZBr","6BePcVk","getApiKey","config","getPlaceholderMode","getEnabledModules","subtle","apiKey","getConfig","15PhVrbh","events","debug","2253244QCfAit","isDebugMode","40636nZTxZo","getAppVersion","26902ZBzprh","198NLsLUZ","timeout","modules","218909Zscmtb","getTimeout","6525220BiMBdJ"];return(E=function(){return t})()}const x=C;function S(){const t=["pixelRatio","getPlatform","1737911ulEExU","11255RpMYbd","isBrowser","8578233UnffBh","now","1346WaYrUx","ssr_session_","toString","setItem","collectDeviceInfo","generateDeviceId","test","substr","667684ufBhno","userAgent","round","369mwRuIl","getAppVersion","adstage_session_id","getItem","getBoundingClientRect","32jaMbuB","SSR","generateSessionId","getSlotPosition","getScrollInfo","height","getViewportInfo","scrollTop","android","device_","colorDepth","912oasKmt","resolvedOptions","adstage_device_id","10HQewfj","isMobile","connection","ssr_device_","unknown","safeGetElementById","UTC","21260074InOEbh","left","session_","width","web","platform",",y:","random","2849220MFPNEB"];return(S=function(){return t})()}function C(t,e){const n=S();return(C=function(t,e){return n[t-=240]})(t,e)}!function(){const t=C,e=S();for(;;)try{if(512677===parseInt(t(276))/1*(-parseInt(t(265))/2)+parseInt(t(257))/3+parseInt(t(273))/4+parseInt(t(261))/5*(-parseInt(t(292))/6)+parseInt(t(260))/7*(-parseInt(t(281))/8)+-parseInt(t(263))/9*(parseInt(t(242))/10)+parseInt(t(249))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class A{static[x(270)](){const t=x;if(!m.isBrowser())return t(245)+Date.now();const e=localStorage.getItem("adstage_device_id");if(e)return e;const n=t(290)+Math[t(256)]()[t(267)](36)[t(272)](2,9)+"_"+Date[t(264)]();return localStorage.setItem(t(241),n),n}static generateSessionId(){const t=x;if(!m[t(262)]())return t(266)+Date[t(264)]();const e=sessionStorage[t(279)]("adstage_session_id");if(e)return e;const n=t(251)+Math[t(256)]()[t(267)](36).substr(2,9)+"_"+Date[t(264)]();return sessionStorage[t(268)](t(278),n),n}static isMobile(){const t=x;return!!m[t(262)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(271)](navigator[t(274)])}static getPlatform(){const t=x;if(!m[t(262)]())return t(253);const e=navigator.userAgent.toLowerCase();return/iphone|ipad|ipod/[t(271)](e)?"ios":/android/[t(271)](e)?t(289):A[t(243)]()?t(253):"desktop"}static[x(269)](){const t=x,e=m[t(287)]();return{deviceId:A[t(270)](),sessionId:A[t(283)](),osVersion:m[t(262)]()?navigator[t(254)]:t(282),deviceModel:m[t(262)]()?navigator[t(254)]:"SSR",appVersion:k[t(277)](),sdkVersion:'"3.0.2"',language:m[t(262)]()&&navigator.language||"ko",country:"KR",ipAddress:"",userAgent:m[t(262)]()?navigator[t(274)]:"SSR",timezone:m[t(262)]()?Intl.DateTimeFormat()[t(240)]().timeZone:t(248),viewportWidth:e[t(252)],viewportHeight:e[t(286)],screenWidth:m[t(262)]()?screen[t(252)]:0,screenHeight:m[t(262)]()?screen.height:0,colorDepth:m.isBrowser()?screen[t(291)]:24,pixelRatio:e[t(258)],connectionType:m[t(262)]()&&navigator[t(244)]?.effectiveType||t(246),platform:A[t(259)]()}}static[x(284)](t){const e=x,n=m[e(247)](t);if(!n)return e(246);const r=n[e(280)](),s=m[e(285)]();return"x:"+Math[e(275)](r[e(250)])+e(255)+Math[e(275)](r.top+s[e(288)])}}function T(){const t=["84VRceUe","317172EMkaic","create","45744nhnhGA","6ceyauT","API key is required","userAgent","266QwnIRa","1832733Umiunf","contentType","76219rbmISJ","11478pznsmc","599900jrGoty","createForEvents","User-Agent","undefined","400765nlVDBQ","application/json"];return(T=function(){return t})()}const R=_;function _(t,e){const n=T();return(_=function(t,e){return n[t-=303]})(t,e)}!function(){const t=_,e=T();for(;;)try{if(117012===parseInt(t(309))/1+parseInt(t(317))/2*(-parseInt(t(310))/3)+-parseInt(t(318))/4+parseInt(t(315))/5*(-parseInt(t(303))/6)+-parseInt(t(306))/7*(-parseInt(t(320))/8)+parseInt(t(307))/9+-parseInt(t(311))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class z{static create(t,e){const n=_;if(!t)throw new Error(n(304));const r={"x-api-key":t,"Content-Type":e?.[n(308)]||n(316)};return typeof navigator!==n(314)&&(r[n(313)]=e?.[n(305)]||navigator[n(305)]),r}static[R(312)](t,e){const n=R,r=z[n(319)](t);return e?.[n(305)]&&(r[n(313)]=e.userAgent),r}}const B=P;function D(){const t=["getPageInfo"," event for ad ","text","deviceId","🌐 Full API call details:","NOT_SET","apiKey","parseNumericValue","statusText","60746iAhZpn","sessionId","4865032zLgYAS","4RWoYwo","adType","❌ Failed to track advertisement event:","slots","stringify","23287760BnQpsP","baseUrl","VIEWABLE","height","title","API request failed: ","collectDeviceInfo","status","📡 API Response Status: ","error","/advertisements/events/","string","now","1360135blORWE","BANNER","✅ Successfully tracked advertisement event: "," in slot ","1olYJAD","14277033KXMqOp","🚀 Sending advertisement event: ","referrer","containerId"," for ad ","url","570tszjRZ","get","🔍 Debug info:"," - ","1436439aCxBeM","debug","log","replace","POST","1172684rHCGAG"];return(D=function(){return t})()}function P(t,e){const n=D();return(P=function(t,e){return n[t-=480]})(t,e)}!function(){const t=P,e=D();for(;;)try{if(905714===parseInt(t(515))/1*(parseInt(t(480))/2)+parseInt(t(526))/3*(-parseInt(t(493))/4)+parseInt(t(511))/5+parseInt(t(522))/6*(-parseInt(t(490))/7)+parseInt(t(492))/8+-parseInt(t(516))/9+parseInt(t(498))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class L{constructor(t,e,n,r){const s=P;this.baseUrl=t,this[s(487)]=e,this[s(527)]=n,this[s(496)]=r}async trackAdvertisementEvent(t,e,n){const r=P;try{this[r(527)]&&console[r(528)]("🚀 AdvertisementEventTracker: Processing "+n+r(482)+t+r(514)+e);const s=this.slots[r(523)](e),o=A[r(504)](),a={adType:s?.[r(494)]||r(512),platform:o.platform,deviceId:o[r(484)],deviceInfo:o,pageUrl:m[r(481)]()[r(521)],pageTitle:m[r(481)]()[r(502)],referrer:m[r(481)]()[r(518)],slotId:e,slotPosition:A.getSlotPosition(s?.[r(519)]||""),slotWidth:L[r(488)](s?.width),slotHeight:L.parseNumericValue(s?.[r(501)]),sessionId:o[r(491)],pageLoadTime:performance[r(510)](),metadata:{eventType:n,sdkVersion:'"3.0.2"',timestamp:Date[r(510)]()},...n===i[r(500)]&&{isViewable:!0,iabCompliant:!0}},c=this.baseUrl+"/advertisements/events/"+t+"/"+n,l=z.createForEvents(this[r(487)],a);this[r(527)]&&(console.log(r(517)+n+" for ad "+t,{url:c,headers:l,eventData:a}),console[r(528)](r(485),{method:r(530),url:c,hasApiKey:!!this[r(487)],bodySize:JSON[r(497)](a).length}));const d=await fetch(c,{method:r(530),headers:l,body:JSON[r(497)](a)});if(this[r(527)]&&console[r(528)](r(506)+d.status+" "+d[r(489)],{url:c,ok:d.ok}),!d.ok){const t=await d[r(483)]();throw new Error(r(503)+d[r(505)]+" "+d.statusText+r(525)+t)}this.debug&&console[r(528)](r(513)+n+r(520)+t)}catch(s){console[r(507)](r(495),s),console.error(r(524),{baseUrl:this[r(499)],apiKey:this[r(487)]?this[r(487)].substring(0,8)+"...":r(486),url:this[r(499)]+r(508)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[B(488)](t){const e=B;if("number"==typeof t)return t;if(typeof t===e(509)){const n=parseFloat(t[e(529)](/px$/,""));return isNaN(n)?0:n}return 0}}function M(t,e){var n=N();return(M=function(t,e){return n[t-=167]})(t,e)}var U=M;!function(){for(var t=M,e=N();;)try{if(139081===-parseInt(t(171))/1*(parseInt(t(177))/2)+parseInt(t(170))/3+parseInt(t(167))/4+parseInt(t(176))/5*(parseInt(t(186))/6)+parseInt(t(172))/7+parseInt(t(173))/8+-parseInt(t(180))/9*(parseInt(t(178))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class V{constructor(t,e){var n=M;this[n(169)]=null,this[n(191)]=!1,this[n(181)]=t,this[n(168)]=e,this.initIntersectionObserver()}initIntersectionObserver(){var t=M;t(184)in window?(this[t(169)]=new IntersectionObserver(e=>this[t(187)](e),{threshold:.5,rootMargin:"0px"}),this[t(169)][t(179)](this[t(181)])):console[t(175)](t(183))}[U(187)](t){t.forEach(t=>{var e=M;t[e(185)]>=.5&&this.isDocumentVisible()&&!this.isViewableTriggered&&(this.isViewableTriggered=!0,this[e(168)]&&this[e(168)]())})}[U(182)](){var t=U;return!document.hidden&&document[t(190)]===t(188)}[U(189)](){var t=U;this.observer&&(this[t(169)][t(174)](),this.observer=null)}}function N(){var t=["intersectionRatio","6xzXhIG","handleIntersection","visible","destroy","visibilityState","isViewableTriggered","27760WzbWZv","onViewableCallback","observer","98550BBZeDl","3gnitAe","884387OrzzcK","769328CsmQOd","disconnect","warn","563675xTogpC","51540PwSyso","1586410WCetvr","observe","9Mpjgad","element","isDocumentVisible","IntersectionObserver not supported, viewability tracking disabled","IntersectionObserver"];return(N=function(){return t})()}const O=W;!function(){const t=W,e=q();for(;;)try{if(708357===parseInt(t(290))/1+-parseInt(t(303))/2*(-parseInt(t(312))/3)+-parseInt(t(302))/4*(parseInt(t(293))/5)+-parseInt(t(306))/6*(-parseInt(t(304))/7)+parseInt(t(305))/8*(-parseInt(t(300))/9)+parseInt(t(296))/10+parseInt(t(291))/11*(-parseInt(t(308))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const F={production:O(309),beta:"https://beta-api.adstage.app"};O(314);const j={advertisements:{list:"/advertisements/list",detail:O(299),events:O(301)},events:{track:O(297)}};class H{constructor(t){const e=O;this.advertisements={list:()=>""+this[e(298)]+j[e(313)].list,detail:t=>""+this[e(298)]+j[e(313)].detail+"/"+t,events:(t,n)=>""+this[e(298)]+j.advertisements[e(307)]+"/"+t+"/"+n},this[e(307)]={track:()=>""+this[e(298)]+j[e(307)][e(295)]},this.baseUrl=t||F.production}[O(310)](t){this[O(298)]=t}[O(294)](){return this.baseUrl}[O(292)](t){const e=O;return""+this[e(298)]+(t[e(311)]("/")?t:"/"+t)}}const K=new H;function W(t,e){const n=q();return(W=function(t,e){return n[t-=290]})(t,e)}function q(){const t=["520718vTiMbC","103367kzsdCA","custom","20LxIsHq","getBaseUrl","track","11189210kikNWh","/events/track","baseUrl","/advertisements","517689qRUMnK","/advertisements/events","599684CMVzQF","2QLIbWY","3712079JcschD","8NIxqjh","6DuvIkX","events","1116SFXPWl","https://api.adstage.io","setBaseUrl","startsWith","208641JzcvoM","advertisements","production"];return(q=function(){return t})()}function Y(t,e){var n=Q();return(Y=function(t,e){return n[t-=399]})(t,e)}var X=Y;function Q(){var t=["log","🎯 Triggering VIEWABLE event for slide change: ad ","14dpWiKI","161782MkfZrh","VIEWABLE","297xnTBOq","trackInitialSlideViewable","🎯 Triggering initial VIEWABLE event: ad "," (index: 0) in slot: ","421190MNLxxe","3384950FWghnD","_id","326874oeKePQ","1104084PTYUxZ","7676847pXUXML","8hgdMYy",") in slot: ","180642axutSh"," (index: ","8HFHPON","300OKpGYo"];return(Q=function(){return t})()}!function(){for(var t=Y,e=Q();;)try{if(728279===-parseInt(t(411))/1+parseInt(t(410))/2*(-parseInt(t(399))/3)+-parseInt(t(406))/4*(-parseInt(t(418))/5)+parseInt(t(407))/6*(-parseInt(t(404))/7)+-parseInt(t(402))/8*(parseInt(t(401))/9)+-parseInt(t(417))/10+parseInt(t(413))/11*(parseInt(t(400))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class J{static trackSlideViewable(t,e,n,r,s=!1){var o=Y;s&&console[o(408)](o(409)+t[o(419)]+o(405)+n+o(403)+e.id),r(t[o(419)],e.id,i[o(412)])}static[X(414)](t,e,n,r=!1){var s=X;r&&console[s(408)](s(415)+t[s(419)]+s(416)+e.id),n(t._id,e.id,i[s(412)])}}const Z=G;function G(t,e){const n=$();return(G=function(t,e){return n[t-=404]})(t,e)}function $(){const t=["log","5612960POgiUM","adType","_id","pointer","6828016UpzxsA","forEach","addClickEventForSlider","open","click","🔗 ","addClickEventsBatch","linkUrl","addClickEvent","addEventListener","167548GQnMiF","stopPropagation"," -> ","259619DcHdiz","483kYSTLG","1685367mUXJJp","10mUKwWH","style"," ad clicked: ","20StEpSD","toLowerCase","CLICK","72ffmPEK","preventDefault","106734vSmyvZ","addClickEventForRenderer","20991674AKtZRi"];return($=function(){return t})()}!function(){const t=G,e=$();for(;;)try{if(718677===parseInt(t(416))/1*(parseInt(t(419))/2)+parseInt(t(425))/3*(-parseInt(t(413))/4)+-parseInt(t(431))/5+parseInt(t(427))/6*(-parseInt(t(417))/7)+-parseInt(t(435))/8+-parseInt(t(418))/9+parseInt(t(422))/10*(parseInt(t(429))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class tt{static[Z(411)](t,e,n,r,s=!1,o){const a=Z;e[a(410)]&&(t[a(420)].cursor="pointer",t[a(412)](a(407),t=>{const c=a;if(t[c(426)](),t[c(414)](),r&&r(e[c(433)],n.id,i[c(424)]),window[c(406)](e.linkUrl,"_blank"),s){const t=o||String(n[c(432)])[c(423)]();console[c(430)]("🔗 "+t+c(421)+e._id+c(415)+e[c(410)])}}))}static[Z(428)](t,e,n,r,s=!1,o){const a=Z;e[a(410)]&&(t.style.cursor=a(434),t[a(412)](a(407),t=>{const c=a;t[c(426)](),t[c(414)]();if(r()(e._id,n.id,i[c(424)]),window[c(406)](e[c(410)],"_blank"),s){const t=o||String(n[c(432)])[c(423)]();console[c(430)](c(408)+t+c(421)+e[c(433)]+c(415)+e.linkUrl)}}))}static[Z(405)](t,e,n,r,s=!1,o){this[Z(411)](t,e,n,r,s,o)}static isClickable(t){return Boolean(t[Z(410)])}static[Z(409)](t,e,n,r,s=!1,o){const i=Z;t[i(404)]((t,a)=>{const c=i,l=e[a];l&&this[c(411)](t,l,n,r,s,o)})}}const et=rt;function nt(){const t=["whiteSpace","remove","clientX","100px","setProperty","active","display","trackSlideViewable","videoUrl","890622ihgsxX","#666666","removeChild","relative","overflow","adstage-slide-container","entries","2095326KfzoiH","translateX(-","touchmove","img","classList","200px","padding","TEXT","border","adType","transform","Banner Ad","auto","abs","flex","height"," Ad","children","addTouchSupport","div","add","mouseenter","color","src","1px solid #666","changedTouches","string","appendChild","inline-block","50px","Text Ad","adstage-slider-wrapper","createSimpleAdElement","cssText","data-adstage-slot-id","mouseleave","#cccccc","touchstart","borderColor","button","autoSlideInterval","style","touchend","backgroundColor","68skWcmK",".adstage-dot","setAttribute","14px","14yFHTZF","opacity","fontSize","white","width","#f0f0f0","Video Ad","length","transition","transform 0.4s ease-out","body","#000","getBoundingClientRect","className","_id","BANNER","querySelectorAll","cover","objectFit","45380PbJwtB","100%","forEach","createElement","hidden","contains","246720htpwIJ","normal","preventDefault","adstage-ad adstage-","block","data-adstage-ad-id","\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 ","textContent","adstage-dot","7554fDajdV","video","63980hEVwjv","createMinimalDotIndicator","addClickEventForSlider","8px","#f9f9f9","includes","background","addEventListener","615616uCExWC","touches","imageUrl","transparent","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n "];return(nt=function(){return t})()}function rt(t,e){const n=nt();return(rt=function(t,e){return n[t-=452]})(t,e)}!function(){const t=rt,e=nt();for(;;)try{if(104841===-parseInt(t(510))/1+parseInt(t(493))/2+parseInt(t(508))/3*(-parseInt(t(470))/4)+-parseInt(t(499))/5+-parseInt(t(532))/6+-parseInt(t(474))/7*(-parseInt(t(518))/8)+parseInt(t(539))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class st{static createSimpleAdElement(e,n){const r=rt,s=document[r(496)]("div");switch(s[r(487)]=r(502)+String(e[r(548)]).toLowerCase(),s[r(472)](r(504),n[r(488)]),s[r(472)](r(460),e.id),s.style[r(529)]=r(503),s[r(467)].width="100%",s.style[r(554)]=r(551),e[r(548)]){case t[r(489)]:if(n[r(520)]){const t=document[r(496)](r(542));t[r(562)]=n[r(520)],t[r(467)][r(478)]=r(494),t.style[r(554)]="auto",t[r(467)][r(492)]=r(491),s[r(453)](t)}else s.style[r(554)]=r(526),s[r(467)].backgroundColor=r(479),s.style[r(547)]="1px dashed #ccc",s[r(506)]=r(550);break;case t.VIDEO:if(n.videoUrl){const t=document.createElement(r(509));t[r(562)]=n[r(531)],t[r(467)][r(478)]=r(494),t[r(467)].height="auto",s.appendChild(t)}else s.style.height=r(544),s.style[r(469)]=r(485),s[r(467)][r(547)]=r(563),s[r(506)]=r(480),s[r(467)][r(561)]=r(477);break;case t[r(546)]:if(n[r(506)]){const t=document.createElement("div");t.textContent=n[r(506)]||"",t[r(467)][r(545)]=r(513),t[r(467)][r(476)]=r(473),s[r(453)](t)}else s.style[r(554)]=r(455),s[r(467)][r(545)]=r(513),s[r(506)]=r(456);break;default:s[r(467)][r(554)]="100px",s[r(467)][r(547)]="1px dashed #ccc",s[r(467)].backgroundColor=r(514),s.textContent=e[r(548)]+r(555)}return s}static createSliderContainer(e,n,r,s,o=!1){const i=rt,a=document[i(496)](i(558));a[i(487)]=i(457);const c={position:i(535),overflow:"hidden"};if(e[i(478)]&&0!==e[i(478)]){let t;t="string"==typeof e[i(478)]?e[i(478)][i(515)]("px")||e[i(478)].includes("%")?e[i(478)]:e[i(478)]+"px":e.width+"px",c[i(478)]=t,c[i(529)]="inline-block"}else c[i(529)]=i(454);if(e[i(554)]&&0!==e.height){const t="string"==typeof e[i(554)]?e.height:e[i(554)]+"px";c[i(554)]=t}Object[i(538)](c)[i(495)](([t,e])=>{a[i(467)].setProperty(t,e)});const l=!e[i(478)]||0===e.width,d=!e[i(554)]||0===e.height;if(l||d){const t=document[i(496)](i(558));if(t[i(467)][i(459)]=i(522),!l&&e[i(478)]){let n;n=typeof e[i(478)]===i(452)?e[i(478)][i(515)]("px")||e.width.includes("%")?e[i(478)]:e.width+"px":e[i(478)]+"px",t[i(467)].width=n,t[i(467)][i(523)]=i(500)}document[i(484)][i(453)](t);let r=0,s=0;n[i(495)](n=>{const o=i,a=this[o(458)](e,n);t[o(453)](a);const c=a[o(486)]();c[o(478)]>r&&(r=c[o(478)]),c[o(554)]>s&&(s=c.height),t[o(534)](a)}),l&&r>0&&(a[i(467)].width=r+"px",c[i(478)]=r+"px"),d&&s>0&&(a[i(467)].height=s+"px",c[i(554)]=s+"px"),document[i(484)][i(534)](t)}const u=[...n,n[0]],p=document[i(496)]("div");p.className=i(537);const h={display:i(553),transition:i(483),width:100*u[i(481)]+"%"};e.height&&0!==e[i(554)]&&(h[i(554)]="100%"),Object[i(538)](h).forEach(([t,e])=>{p[i(467)].setProperty(t,e)}),u.forEach((t,n)=>{const r=i,a=document[r(496)](r(558));a[r(487)]="adstage-slide";const c={width:100/u[r(481)]+"%","flex-shrink":"0",display:r(553),"align-items":"center","justify-content":"center"};e[r(554)]&&0!==e[r(554)]&&(c[r(554)]="100%"),Object[r(538)](c).forEach(([t,e])=>{const n=r;a.style[n(527)](t,e)});const l=this.createSimpleAdElement(e,t);tt[r(512)](l,t,e,s,o,String(e[r(548)]).toLowerCase()),a[r(453)](l),p[r(453)](a)});const f=n.every(e=>e[i(548)]===t.TEXT)?null:this[i(511)](n[i(481)]);let g=0;const m=n[i(481)],y=1e3*(r?.[i(466)]||3),I=(t,r=!1)=>{const a=i;g=t,r?p[a(467)].transition="none":p[a(467)][a(482)]="transform 0.4s ease-out",p[a(467)][a(549)]=a(540)+100/u[a(481)]*g+"%)";const c=g===m?0:g;if(f){f.querySelectorAll(a(471)).forEach((t,e)=>{const n=a,r=t;e===c?(r[n(543)][n(559)](n(528)),r[n(467)][n(516)]=n(533),r[n(467)][n(464)]=n(533),r[n(467)][n(475)]="1"):(r[n(543)][n(524)](n(528)),r[n(467)].background=n(521),r[n(467)][n(464)]=n(462),r[n(467)].opacity="0.7")})}J[a(530)](n[c],e,c,s,o)},v=()=>{g===m&&setTimeout(()=>{I(0,!0)},400)};if(f){f[i(490)](".adstage-dot")[i(495)]((t,e)=>{t[i(517)]("click",()=>I(e))})}let b=setInterval(()=>{I(g+1),v()},y);return a.addEventListener("mouseenter",()=>{clearInterval(b)}),a[i(517)](i(461),()=>{b=setInterval(()=>{I(g+1),v()},y)}),this[i(557)](p,I,()=>g,m,v),a[i(453)](p),f&&a[i(453)](f),I(0),(!e[i(478)]||0===e[i(478)])&&setTimeout(()=>{const t=i,n=p[t(556)][0];if(n){const r=n.children[0];if(r){const n=r[t(486)]();a[t(467)][t(478)]=n[t(478)]+"px",(!e[t(554)]||0===e[t(554)])&&(a[t(467)][t(554)]=n[t(554)]+"px"),a.style[t(536)]=t(497)}}},10),a}static[et(511)](t){const e=et,n=document[e(496)]("div");n[e(487)]="adstage-dots",n.style[e(459)]="\n position: absolute;\n bottom: 15px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n gap: 12px;\n z-index: 3;\n padding: 8px 16px;\n border-radius: 20px;\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(10px);\n ";for(let r=0;r<t;r++){const t=document.createElement(e(465));t[e(487)]=e(507),t[e(467)][e(459)]=e(505),t[e(517)](e(560),()=>{const n=e;!t[n(543)][n(498)]("active")&&(t[n(467)][n(464)]="#999999",t.style[n(475)]="0.9")}),t[e(517)](e(461),()=>{const n=e;!t.classList[n(498)]("active")&&(t[n(467)][n(464)]="#cccccc",t.style[n(475)]="0.7")}),n.appendChild(t)}return n}static[et(557)](t,e,n,r,s){const o=et;let i=0,a=!1;t[o(517)](o(463),t=>{i=t[o(519)][0].clientX,a=!0}),t[o(517)](o(541),t=>{a&&t[o(501)]()}),t[o(517)](o(468),t=>{const c=o;if(!a)return;a=!1;const l=t[c(564)][0][c(525)],d=i-l;if(Math[c(552)](d)>50){const t=n();if(d>0){e(t+1),s&&s()}else{e(t>0?t-1:r-1)}}})}}const ot=it;function it(t,e){const n=ct();return(it=function(t,e){return n[t-=468]})(t,e)}!function(){const t=it,e=ct();for(;;)try{if(369111===-parseInt(t(483))/1*(-parseInt(t(475))/2)+-parseInt(t(482))/3*(parseInt(t(468))/4)+parseInt(t(485))/5*(parseInt(t(480))/6)+-parseInt(t(469))/7+-parseInt(t(478))/8+parseInt(t(474))/9+-parseInt(t(476))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class at{static isDuplicateViewable(t,e,n=!1){const r=it,s=t+"_"+e;return at[r(470)].has(s)?(n&&console[r(477)](r(471)+t+r(484)+e),!0):(at[r(470)][r(479)](s),n&&console[r(477)](r(473)+t+r(484)+e),!1)}static clear(){const t=it;at[t(470)][t(472)]()}static[ot(486)](t,e){const n=ot,r=t+"_"+e;at[n(470)][n(481)](r)}}function ct(){const t=["5311179oZVlmM","44AXuzxY","352760QeElCR","log","730888XqaCWe","add","2274VPOmJc","delete","36066yVgiCj","27515XKyeuz"," in slot ","715GGwJwd","clearAdViewable","36AhsFal","4519984nCOmPw","viewableTracker","Duplicate viewable blocked for ad ","clear","✅ New viewable recorded for ad "];return(ct=function(){return t})()}function lt(){const t=["data-adstage-slot","114QKsgdu","display","rgba(248, 249, 250, 0.5)","8ycxJRE","placeholderMode","transparent","contains","❌ Failed to track ","isEmpty","adstage-class","📊 Advertisement event tracked: ","#e74c3c"," ad...</span>"," container: ","\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 ","): ","minHeight","true","color","block","🔄 Starting advertisement event tracking: ","center","parentElement","filter","fontFamily","opacity","5052rKFCsu","adType",'[class*="banner"]',"5541333HCExZO","2px dashed #e74c3c","57EngUqZ",'div[style*="min-height"]',"getElementById","data-adstage-empty","createEventTrackingCallback"," x ","1px dashed #ccc","invisible","closest","📏 Using default height ","getAttribute","data-adstage-container",'[class*="ad"]',"createEmptyContainer","flex","height","#f9f9f9","toLowerCase","error","calculateAdSize","advertisementEventTracker","monospace","📦 Placeholder created for ","div","hasAttribute","createPlaceholder","number","adstage-slot adstage-","alignItems",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"6px"," slot: ",".adstage-slot","adstage-official","warn","unknown","adstage-slot adstage-empty adstage-","backgroundColor","setAttribute","9445luWclJ","113404MMrPOY",".adstage-","VIEWABLE","borderRadius",'[data-adstage-container="true"]',"querySelector","innerHTML","appendChild","853713vgblXU","log","justifyContent"," event for ad "," for ad ","6734288vzBnmk","14423040SNqfov","1613MCPbnB","none","<span>Loading ","cssText","border"," for ","100%","⚠️ AdvertisementEventTracker not available for ","style","className","isDuplicateViewable","createElement","renderFallback","debug"," event",'[class*="container"]',"rgba(0, 0, 0, 0.02)","data-adstage-type","string","🚫 Duplicate viewable blocked for ad "," in slot ","adstage-slot","auto","applyPlaceholderStyle","px)","getDefaultHeight","#666","⚠️ "];return(lt=function(){return t})()}at.viewableTracker=new Set;const dt=ut;function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=162]})(t,e)}!function(){const t=ut,e=lt();for(;;)try{if(869230===parseInt(t(215))/1*(-parseInt(t(244))/2)+-parseInt(t(275))/3*(-parseInt(t(200))/4)+-parseInt(t(199))/5*(-parseInt(t(270))/6)+parseInt(t(273))/7+parseInt(t(247))/8*(parseInt(t(208))/9)+-parseInt(t(214))/10+-parseInt(t(213))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class pt{constructor(t,e=!1,n){const r=ut;this[r(271)]=t,this[r(228)]=e,this[r(180)]=n||null}[dt(185)](t,e,n,r){const s=dt,o=document.createElement("div");o.id=e,o[s(224)]=s(187)+String(this[s(271)]).toLowerCase(),o[s(198)](s(171),s(261)),o.setAttribute(s(232),String(this[s(271)])),o[s(198)](s(243),e);const{width:i,height:a}=this[s(179)](t,n,r)||{width:s(221),height:this[s(240)]()};o.style.width=i,o[s(223)][s(175)]=a;const c=r?.placeholderMode||n[s(248)]||s(167);this[s(238)](o,c),t.appendChild(o),this[s(228)]&&console.log(s(182)+this[s(271)]+s(191)+e+" ("+i+s(165)+a+") - Mode: "+c)}applyPlaceholderStyle(t,e){const n=dt;switch(e){case n(167):t[n(223)][n(197)]=n(249),t[n(223)][n(219)]=n(216),t.style[n(269)]="0",t[n(206)]="";break;case n(249):t[n(223)][n(197)]="transparent",t[n(223)].border=n(216),t[n(223)].display=n(263),t[n(206)]="";break;case"subtle":t[n(223)].backgroundColor=n(231),t[n(223)].border=n(216),t[n(223)][n(203)]="4px",t[n(223)][n(245)]=n(174),t.style[n(188)]=n(265),t[n(223)][n(210)]=n(265),t[n(206)]=n(189);break;case"minimal":t[n(223)].backgroundColor=n(246),t.style[n(219)]="1px solid rgba(0, 0, 0, 0.08)",t[n(223)].borderRadius=n(190),t[n(223)][n(245)]=n(174),t[n(223)][n(188)]=n(265),t.style[n(210)]="center",t.innerHTML='<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>';break;case"debug":t[n(223)][n(219)]=n(274),t.style[n(245)]="flex",t[n(223)].alignItems=n(265),t.style[n(210)]=n(265),t[n(223)][n(197)]="rgba(231, 76, 60, 0.1)",t[n(223)][n(262)]=n(255),t[n(223)][n(268)]=n(181),t[n(223)].fontSize="11px",t.innerHTML=n(217)+this.adType+" ad...</span>";break;default:t[n(223)].border=n(166),t.style[n(245)]=n(174),t[n(223)][n(188)]=n(265),t[n(223)][n(210)]=n(265),t[n(223)][n(197)]=n(176),t[n(223)][n(262)]=n(241),t[n(206)]="<span>Loading "+this[n(271)]+n(256)}}[dt(179)](t,e,n){const r=dt,s=e.width,o=e[r(175)];let i,a;if(i=typeof s===r(186)?s+"px":typeof s===r(233)?s:r(221),typeof o===r(186))a=o+"px";else if(typeof o===r(233)&&"100%"!==o&&o!==r(237))a=o;else{const e=this.getContainerHeight(t);e>0?(a=r(221),(n?.[r(228)]||this[r(228)])&&console.log("📏 Using 100% height (container: "+e+r(239))):(a=this[r(240)](),(n?.[r(228)]||this[r(228)])&&console[r(209)](r(169)+a+r(220)+this[r(271)]))}return{width:i,height:a}}getContainerHeight(t){const e=dt,n=window.getComputedStyle(t),r=parseFloat(n[e(175)]);if(!r||0===r){const r=parseFloat(n[e(260)]);if(r>0)return r;if(t[e(223)][e(175)]&&t[e(223)][e(175)]!==e(237)){const e=parseFloat(t.style.height);if(e>0)return e}const s=t[e(170)](e(175));if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}[dt(164)](){return async(t,e,n)=>{const r=ut;if(n===i[r(202)]){if(at[r(225)](t,e,this[r(228)]))return void(this[r(228)]&&console[r(209)](r(234)+t+r(235)+e));this[r(228)]&&console[r(209)]("✅ New viewable recorded for ad "+t+r(235)+e)}if(this[r(180)])try{this[r(228)]&&console[r(209)](r(264)+n+r(212)+t+" in slot "+e),await this[r(180)].trackAdvertisementEvent(t,e,n),this[r(228)]&&console[r(209)](r(254)+n+r(212)+t+r(235)+e)}catch(e){this.debug&&console[r(178)](r(251)+n+r(211)+t+":",e)}else this[r(228)]&&console[r(194)](r(222)+n+r(229))}}[dt(227)](t){const e=dt,n=document[e(162)](t.id);if(n){const r=[...[n[e(205)](e(204)),n[e(168)]('[data-adstage-container="true"]'),n][e(267)](t=>t&&t[e(184)](e(171))),...[n[e(168)](e(192)),n[e(168)](e(201)+String(this[e(271)])[e(177)]()),n[e(168)](e(172)),n[e(168)](e(272)),n[e(168)](e(230)),n.closest('div[style*="height"]'),n.closest(e(276)),n[e(266)]][e(267)](Boolean)][0];if(r){let n=e(195);n=r[e(184)](e(171))?e(193):r.classList[e(250)](e(236))?e(253):"generic",r[e(223)][e(218)]+=e(258),r.innerHTML="",r[e(198)](e(163),"true"),this[e(228)]&&console[e(194)](e(242)+this[e(271)]+" container collapsed ("+n+e(259)+t.id,r)}else this[e(173)](t)}t.advertisement=void 0,t[e(252)]=!0}createEmptyContainer(t){const e=dt,n=document.getElementById(t.containerId);if(n){n[e(206)]="";const r=document[e(226)](e(183));r.id=t.id,r.className=e(196)+String(this[e(271)])[e(177)](),r.setAttribute(e(171),e(261)),r[e(198)]("data-adstage-empty",e(261)),r.setAttribute(e(243),t.id),r[e(223)][e(218)]="\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ",n[e(207)](r),this[e(228)]&&console[e(194)]("⚠️ Created empty "+this.adType+e(257)+t.id)}}[dt(209)](t,...e){const n=dt;this[n(228)]&&console[n(209)]("["+this.adType+"] "+t,...e)}}function ht(t,e){const n=gt();return(ht=function(t,e){return n[t-=147]})(t,e)}const ft=ht;function gt(){const t=["config","3592226DnSZAT","renderMultipleAds","calculateOptimalHeight","block","282588jOiTua","Failed to calculate optimal banner size, using defaults:","2459328ENQiBb","containerId","4625576sEtBlq","allSettled","get"," (strategy: ","className","calculateOptimalContainerSize","268rOHxHt","common","alt","objectPosition",", ratio=","Container not found: ","Failed to load image: ","value","set","filter","naturalHeight","3gymest","📐 Optimal banner container calculated: ","src","aspectRatio","div","BANNER","8365861rDNVTP","selectOptimalSizeStrategy","abs","reduce","ratio","error","toFixed","createEventTrackingCallback","Banner Advertisement","img","getDefaultHeight","getElementById","3589akwQig","renderOptimizedBannerImage","average","map","slideInterval","width","onload","some","📦 Banner container dimensions: ","8px","naturalWidth","cover","innerHTML","borderRadius","adstage-ad adstage-banner-ad","🎨 Banner image style applied: objectFit=","imageUrl"," ads: ","forEach","warn","#f0f0f0","optimizedHeight","fulfilled"," ads (optimized: ","Banner","objectFit","max","toString","contain","length","debug","🔧 Banner container optimized for ","❌ Failed to load optimized banner image:","count","applyOptimizedImageStyle"," (avg: ","_id","loadImageDimensions","style","9zEvjLy","addClickEventForRenderer","height","35qpgzwt"," with ","center","title","calculateAdSize","name","from","createElement","1:1","round","default","3:2","appendChild","renderAdElement","optimizeContainerForBannerAds","250px","1524910njshFt",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"getBoundingClientRect","100%","log","values","<div>","status","🎠 Banner carousel created for slot: ","4:3"];return(gt=function(){return t})()}!function(){const t=ht,e=gt();for(;;)try{if(830671===parseInt(t(154))/1*(parseInt(t(237))/2)+-parseInt(t(248))/3*(parseInt(t(229))/4)+parseInt(t(196))/5*(-parseInt(t(227))/6)+parseInt(t(254))/7+parseInt(t(231))/8+parseInt(t(193))/9*(-parseInt(t(212))/10)+-parseInt(t(223))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class mt extends pt{constructor(e=!1,n){super(t[ht(253)],e,n)}[ft(152)](){return ft(211)}async[ft(209)](t,e){const n=ft,r=document[n(153)](t[n(230)]);if(!r)return;const s=document[n(203)](n(252));s[n(235)]=n(168);const o=t[n(175)],i=r.parentElement||r;if(o)s.style[n(159)]=n(215),s[n(192)].height=String(o);else{const e=t[n(222)],r={width:e?.width,height:e?.[n(195)]},{width:o,height:a}=this[n(200)](i,r,{debug:this[n(184)]});s[n(192)][n(159)]=o,s[n(192)][n(195)]=a}e.imageUrl?await this[n(155)](s,e,t):s[n(166)]=n(218)+(e[n(199)]||"Banner Ad")+"</div>",tt[n(194)](s,e,t,()=>this[n(149)](),this[n(184)],n(178)),r.innerHTML="",r[n(208)](s)}async[ft(224)](t,e){const n=ft,r=document.getElementById(t[n(230)]);if(!r)throw new Error(n(242)+t[n(230)]);await this[n(210)](t,e);const s=this[n(149)](),o={autoSlideInterval:(t[n(222)]?.[n(158)]||5e3)/1e3,...t[n(222)],optimizedHeight:t[n(175)],aspectRatio:t.aspectRatio},i=st.createSliderContainer(t,e,o,s,this[n(184)]);i&&(r.innerHTML="",r.appendChild(i),this.debug&&console[n(216)](n(220)+t.id+n(197)+e.length+n(177)+(t[n(175)]||n(206))+")"))}async[ft(236)](t,e){const n=ft;if(!t.length)return{width:n(215),height:this[n(152)](),aspectRatio:16/9};try{const r=(await Promise[n(232)](t[n(246)](t=>t[n(170)])[n(157)](t=>this[n(191)](t.imageUrl))))[n(246)](t=>t[n(219)]===n(176))[n(157)](t=>t[n(244)]);if(0===r[n(183)])return{width:n(215),height:this[n(152)](),aspectRatio:16/9};const s=this[n(255)](r),o=this.calculateOptimalHeight(r,e,s);return this[n(184)]&&console[n(216)](n(249)+e+"x"+o+n(234)+s+")"),{width:n(215),height:o+"px",aspectRatio:e/o}}catch(t){return console[n(173)](n(228),t),{width:"100%",height:this[n(152)](),aspectRatio:16/9}}}async[ft(210)](t,e){const n=ft;try{const r=document[n(153)](t.containerId),s=document[n(153)](t.id);if(!r||!s)return;const o=r.getBoundingClientRect()[n(159)]||300,i=await this.calculateOptimalContainerSize(e,o);s.style[n(195)]=i.height,t[n(175)]=i[n(195)],t.aspectRatio=i[n(251)],this[n(184)]&&console[n(216)](n(185)+e.length+n(171)+i[n(195)])}catch(t){console[n(173)]("Banner container optimization failed, using default size:",t)}}[ft(255)](t){const e=ft,n=t[e(157)](t=>t[e(159)]/t[e(195)]),r=new Map;n[e(172)](t=>{const n=e,s=(Math[n(205)](10*t)/10).toString();r.set(s,(r[n(233)](s)||0)+1)});const s=Math[e(180)](...r[e(217)]()),o=t.length;if(s/o>=.7)return"dominant";const i=[16/9,4/3,1,1.5];return n.filter(t=>i[e(161)](n=>Math[e(256)](t-n)<.1))[e(183)]/o>=.5?e(238):"average"}[ft(225)](t,e,n){const r=ft,s=t[r(157)](t=>t[r(159)]/t.height);switch(n){case"dominant":{const t=new Map;s[r(172)](e=>{const n=r,s=Math.round(10*e)/10,o=s[n(181)](),i=t[n(233)](o);i?i.count++:t[n(245)](o,{ratio:s,count:1})});const n=Array[r(202)](t[r(217)]())[r(257)]((t,e)=>e[r(187)]>t.count?e:t);return Math.round(e/n[r(258)])}case r(238):{const t=[{ratio:16/9,name:"16:9"},{ratio:4/3,name:r(221)},{ratio:1,name:r(204)},{ratio:1.5,name:r(207)}],n=s[r(257)]((t,e)=>t+e,0)/s[r(183)],o=t[r(257)]((t,e)=>Math.abs(e.ratio-n)<Math.abs(t.ratio-n)?e:t);return this[r(184)]&&console.log("📊 Using standard ratio: "+o[r(201)]+r(189)+n.toFixed(2)+")"),Math[r(205)](e/o[r(258)])}case r(156):default:{const t=s[r(257)]((t,e)=>t+e,0)/s[r(183)];return Math[r(205)](e/t)}}}[ft(191)](t){return new Promise((e,n)=>{const r=ht,s=new Image;s[r(160)]=()=>{const t=r;e({width:s[t(164)],height:s[t(247)]})},s.onerror=()=>{n(new Error(r(243)+t))},s[r(250)]=t})}applyOptimizedImageStyle(t,e,n){const r=ft,s=e/n;Math[r(256)](s-1)<.1?(t[r(192)][r(179)]=r(165),t.style[r(240)]="center"):s>1.3?(t[r(192)].objectFit=r(182),t[r(192)][r(240)]=r(198),t[r(192)].backgroundColor=r(174)):(t[r(192)][r(179)]=r(165),t[r(192)][r(240)]=r(198)),this.debug&&console.log(r(169)+t[r(192)][r(179)]+r(241)+s[r(148)](2))}async[ft(155)](t,e,n){const r=ft,s=document[r(203)](r(151));s.style[r(159)]=r(215),s[r(192)][r(195)]=r(215),s[r(192)].display=r(226),s[r(192)][r(167)]=r(163),s[r(239)]=e[r(199)]||r(150),t.innerHTML=r(213);try{if(!e.imageUrl)throw new Error("Image URL is not provided");const o=await this.loadImageDimensions(e.imageUrl),i=t[r(214)](),a=i.width,c=i[r(195)];this.debug&&(console.log("📸 Banner image dimensions: "+o[r(159)]+"x"+o.height),console[r(216)](r(162)+a+"x"+c));const l=o.width/o[r(195)],d=a/c;return this[r(188)](s,l,d),s[r(250)]=e.imageUrl,t[r(166)]="",t[r(208)](s),tt.addClickEventForRenderer(s,e,n,()=>this.createEventTrackingCallback(),this[r(184)],r(178)),this[r(184)]&&console[r(216)]("✅ Optimized banner image rendered for ad: "+e[r(190)]),s}catch(o){return console[r(147)](r(186),o),e[r(170)]&&(s[r(250)]=e[r(170)],s[r(192)][r(179)]=r(165),s[r(192)][r(240)]="center",t[r(166)]="",t.appendChild(s),tt[r(194)](s,e,n,()=>this.createEventTrackingCallback(),this.debug,r(178))),s}}}function yt(){const t=["textContent","3618330opvUhq","\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 ","2LWsHjF","88XwgEkS","985451ypkWem","5268845RpvBkD","113554VYnUzX","3765712wcimjO","857538ihldgD","9048663fhyQiS"];return(yt=function(){return t})()}function It(t,e){const n=yt();return(It=function(t,e){return n[t-=295]})(t,e)}!function(){const t=It,e=yt();for(;;)try{if(578162===parseInt(t(296))/1*(parseInt(t(305))/2)+parseInt(t(300))/3+parseInt(t(299))/4+-parseInt(t(297))/5+parseInt(t(303))/6+parseInt(t(298))/7*(-parseInt(t(295))/8)+-parseInt(t(301))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class vt{static createTextAdStyles(t=!1){return It(304)}static setTextAdContent(t,e){const n=It,r=e.textContent||e.title||"";t[n(302)]=r}}const bt=wt;function wt(t,e){const n=Et();return(wt=function(t,e){return n[t-=242]})(t,e)}!function(){const t=wt,e=Et();for(;;)try{if(813054===-parseInt(t(309))/1*(-parseInt(t(293))/2)+-parseInt(t(288))/3+-parseInt(t(290))/4+parseInt(t(273))/5+-parseInt(t(281))/6*(-parseInt(t(279))/7)+-parseInt(t(300))/8+parseInt(t(319))/9*(parseInt(t(249))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class kt{static[bt(267)](t,e){const n=bt,r=document.createElement(n(305));return r.className=n(292)+String(t[n(321)])[n(246)](),r.setAttribute("data-adstage-ad-id",e[n(248)]),r[n(277)](n(318),t.id),r[n(286)].cssText=vt[n(296)](!0),vt[n(287)](r,e),r}static[bt(289)](t,e,n,r,s=!1){const o=bt,i=t[o(283)]&&0!==t[o(283)]&&"auto"!==t[o(283)],a=document.createElement(o(305));a.className="adstage-fade-slider-wrapper";const c={position:o(245),overflow:o(260),display:o(242)};if(!i&&(c[o(283)]=o(272),c[o(251)]="fit-content"),t[o(261)]&&0!==t[o(261)]){let e;e=typeof t[o(261)]===o(268)?t[o(261)].includes("px")||t.width[o(315)]("%")?t[o(261)]:t[o(261)]+"px":t.width+"px",c.width=e}if(t[o(283)]&&0!==t.height&&"auto"!==t.height&&i){let e;e="string"==typeof t.height?t[o(283)][o(315)]("px")||t.height[o(315)]("%")?t[o(283)]:t.height+"px":t[o(283)]+"px",c[o(283)]=e}Object.entries(c)[o(301)](([t,e])=>{a.style.setProperty(t,e)});const l=document[o(307)](o(305));l.className=o(258),l[o(286)].cssText=o(299)+(i?"height: 100%;":o(266))+o(310);let d=null;const u=!t[o(261)]||0===t.width,p=!t[o(283)]||0===t.height||void 0===t[o(283)]||t[o(283)]===o(272);if(u||p&&i){if(d=document[o(307)](o(305)),d[o(286)][o(255)]="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!u&&t.width){let e;e=typeof t[o(261)]===o(268)&&(t.width[o(315)]("px")||t[o(261)][o(315)]("%"))?t.width:t.width+"px",d.style.width=e,d[o(286)].whiteSpace=o(302)}document[o(270)][o(274)](d);let n=0,r=0;e[o(301)](e=>{const s=o,i=this[s(267)](t,e);d[s(274)](i);const a=i[s(252)]();a[s(261)]>n&&(n=a.width),a[s(283)]>r&&(r=a[s(283)]),d[s(257)](i)}),u&&n>0&&(a[o(286)].width=n+"px"),p&&r>0&&i&&(a.style[o(283)]=r+"px"),document[o(270)][o(257)](d)}const h=[];e[o(301)]((e,n)=>{const a=o,c=document[a(307)]("div");c[a(265)]=a(256);const d=a(i?263:0===n?245:263);c[a(286)][a(255)]=a(262)+d+a(291)+(d===a(263)?"0":a(272))+a(247)+(d===a(263)?"0":a(272))+a(304)+(i?a(269):"height: auto;")+a(317)+(0===n?"1":"0")+a(276)+(0===n?"0":"20px")+");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: "+(0===n?"2":"1")+a(303);const u=this.createSimpleAdElement(t,e);tt[a(313)](u,e,t,r,s,a(264)),c[a(274)](u),l[a(274)](c),h[a(320)](c)});let f=0;const g=e[o(275)],m=1e3*(n?.autoSlideInterval||4),y=n=>{const a=o;n>=g?n=0:n<0&&(n=g-1);const c=h[f],l=h[n];!i&&(c[a(286)][a(244)]===a(245)&&(c[a(286)][a(244)]=a(263),c.style[a(282)]="0",c[a(286)][a(306)]="0"),l.style[a(244)]=a(245),l.style[a(282)]="auto",l.style[a(306)]=a(272)),c.style[a(254)]="0",c[a(286)][a(278)]=a(311),c[a(286)][a(308)]="1",l[a(286)][a(254)]="1",l.style[a(278)]=a(297),l[a(286)][a(308)]="2",h[a(301)]((t,e)=>{const r=a;e!==n&&e!==f&&(t.style[r(254)]="0",t[r(286)].transform=r(271),t.style.zIndex="1",!i&&t.style[r(244)]===r(245)&&(t[r(286)].position="absolute",t.style[r(282)]="0",t[r(286)].left="0"))}),f=n,J[a(316)](e[f],t,f,r,s)};let I=setInterval(()=>{y(f+1)},m);return a[o(285)]("mouseenter",()=>{clearInterval(I)}),a[o(285)](o(250),()=>{I=setInterval(()=>{y(f+1)},m)}),kt[o(284)](a,y,()=>f,g),a[o(274)](l),a}static[bt(284)](t,e,n,r){const s=bt;let o=0,i=0,a=!1;t[s(285)](s(312),t=>{const e=s;o=t.touches[0][e(243)],i=t[e(295)][0].clientY,a=!0}),t[s(285)](s(280),t=>{a&&t[s(294)]()}),t[s(285)](s(253),t=>{const r=s;if(!a)return;a=!1;const c=t[r(298)][0][r(243)],l=t.changedTouches[0][r(314)],d=o-c,u=i-l;if(Math[r(259)](d)>Math[r(259)](u)&&Math.abs(d)>50){const t=n();e(d>0?t+1:t-1)}})}}function Et(){const t=["\n position: relative;\n width: 100%;\n ","11505704NOpJFI","forEach","normal",";\n ",";\n width: 100%;\n ","div","left","createElement","zIndex","1QzrDoE","\n ","translateY(-20px)","touchstart","addClickEventForSlider","clientY","includes","trackSlideViewable","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","data-adstage-slot-id","90243gOGqhv","push","adType","block","clientX","position","relative","toLowerCase",";\n left: ","_id","1790cLhVBA","mouseleave","minHeight","getBoundingClientRect","touchend","opacity","cssText","adstage-fade-slide","removeChild","adstage-fade-slide-container","abs","hidden","width","\n position: ","absolute","Text","className","height: auto; min-height: fit-content;","createSimpleAdElement","string","height: 100%;","body","translateY(20px)","auto","6542900DCPQkk","appendChild","length",";\n transform: translateY(","setAttribute","transform","7arlSwc","touchmove","1697838BMGUDZ","top","height","addTouchSupport","addEventListener","style","setTextAdContent","2087601NBRvjo","createTextTransitionContainer","4554104QIxNWa",";\n top: ","adstage-ad adstage-","1398548BthJJj","preventDefault","touches","createTextAdStyles","translateY(0)","changedTouches"];return(Et=function(){return t})()}const xt=St;function St(t,e){const n=Ct();return(St=function(t,e){return n[t-=282]})(t,e)}function Ct(){const t=["setTextAdContent","774218qETvfz","renderMultipleAds","797085XQvPuX","100%","width","addClickEventForRenderer","style","debug","className","7dxTXxQ","hidden","452814zYuHsb","adstage-ad adstage-text-ad","log","webkitLineClamp","innerHTML","display"," with ","-webkit-box","containerId","optimizedHeight","createTextAdStyles","webkitBoxOrient","number","5666859QQVeTb","renderAdElement","1788309VDXkPt","getElementById","overflow","appendChild","236wdcrVF","calculateAdSize","4805952rnCsrn","Container not found: ","length","20dFKBzU","vertical","aspectRatio","TEXT","createEventTrackingCallback","config","createElement","Text","4ARYWuu"," ads","cssText","height","61775nlafqa"];return(Ct=function(){return t})()}!function(){const t=St,e=Ct();for(;;)try{if(421239===parseInt(t(284))/1+parseInt(t(327))/2*(parseInt(t(286))/3)+parseInt(t(314))/4*(-parseInt(t(282))/5)+-parseInt(t(295))/6*(-parseInt(t(293))/7)+parseInt(t(316))/8+parseInt(t(310))/9+parseInt(t(319))/10*(-parseInt(t(308))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class At extends pt{constructor(e=!1,n){super(t[St(322)],e,n)}getDefaultHeight(){return"60px"}async[xt(309)](t,e){const n=xt,r=document[n(311)](t[n(303)]);if(!r)return;const s=document.createElement("div");s[n(292)]=n(296);const o=t[n(304)],i=r.parentElement||r;if(o)s[n(290)].width=n(287),s.style[n(330)]=String(o);else{const e=t.config,r={width:e?.[n(288)],height:e?.[n(330)]},{width:o,height:a}=this[n(315)](i,r,{debug:this[n(291)]});s[n(290)][n(288)]=o,s[n(290)][n(330)]=a}const a=document[n(325)]("div");a.className="adstage-text-content",a[n(290)][n(329)]=vt[n(305)](!1),vt[n(283)](a,e);const c=t.config?.maxLines;c&&typeof c===n(307)&&(a.style[n(300)]=n(302),a[n(290)][n(298)]=String(c),a.style[n(306)]=n(320),a[n(290)][n(312)]=n(294)),s[n(313)](a),tt[n(289)](s,e,t,()=>this[n(323)](),this.debug,n(326)),r[n(299)]="",r[n(313)](s),this[n(291)]&&console[n(297)]("✨ Single text ad rendered: "+e._id)}async[xt(285)](t,e){const n=xt,r=document[n(311)](t[n(303)]);if(!r)throw new Error(n(317)+t.containerId);const s=this[n(323)](),o={autoSlideInterval:(t.config?.slideInterval||5e3)/1e3,...t[n(324)],optimizedHeight:t[n(304)],aspectRatio:t[n(321)]},i=kt.createTextTransitionContainer(t,e,o,s,this[n(291)]);i&&(r[n(299)]="",r.appendChild(i),this.debug&&console[n(297)]("✨ Text transition created for slot: "+t.id+n(301)+e[n(318)]+n(328)))}}const Tt=Rt;function Rt(t,e){const n=_t();return(Rt=function(t,e){return n[t-=303]})(t,e)}function _t(){const t=["83454gGxKeA","div","warn","contain","controls","636762zREJja","unmuted","playsinline"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","hideProgressBar","button","canplay","autoplay","🎬 Autoplay completely failed:","relative","\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 ","hideCurrentTime","textContent","stopPropagation","renderAdElement","style","370387wlUdqI","2510QnaNJr","Click to unmute"," (autoplay: ","error","video","351176knoCKo","adstage-video-container","_id","block","360px","scale(1.1)","mouseleave","containerId","createElement",'\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 ',"888eKHeKf"," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","head","length","objectFit","none","🎬 Video element created for ad: ","log"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","addEventListener","height","Click to mute","videoUrl","🎬 Video config received:","hideFullscreenButton","🎬 Trying muted autoplay fallback...","adstage-video-default-controls","width","metadata","renderMultipleAds","config","Video load failed:","debug","hideMuteButton","renderVideoElementDirect","transform","loop","customControls"," !important;\n }\n ","hideVolumeSlider","\n video::-webkit-media-controls-play-button {\n display: "," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","100%","148260MatMJm",", muted: ","\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 ","hideRemainingTime","catch","img","🎬 Auto-play was prevented:","getElementById","title","paused"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","Container not found: ","Video","\n pointer-events: none;\n ","loadedmetadata","scale(1)","adstage-video-mute-button","hideControls","🎬 Video can play, attempting autoplay...","hidePlayButton","🔊 Video mute toggled: ","340568BzIaDc","className","9bCnNrS","Video fallback","appendChild","🎬 Video controls setting:","setAttribute","Video thumbnail","addClickEventForRenderer","VIEWABLE","display","🎬 User explicitly enabled controls, overriding default","imageUrl","disabled (default)","mouseenter",", loop: ","muted","cssText","loadeddata","src","innerHTML","play","createEventTrackingCallback"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","background"];return(_t=function(){return t})()}!function(){const t=Rt,e=_t();for(;;)try{if(200441===parseInt(t(379))/1+-parseInt(t(385))/2+parseInt(t(358))/3+parseInt(t(312))/4+-parseInt(t(380))/5*(-parseInt(t(395))/6)+-parseInt(t(363))/7+parseInt(t(333))/8*(-parseInt(t(335))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class zt extends pt{constructor(e=!1,n){super(t.VIDEO,e,n)}getDefaultHeight(){return Rt(389)}async[Tt(377)](t,e){const n=Tt,r=document[n(319)](t[n(392)]);if(!r)return;const s=document[n(393)](n(359));s[n(334)]=n(386),s[n(378)][n(350)]=n(314),this[n(303)](s,e,t),r.innerHTML="",r.appendChild(s),this[n(417)]&&console[n(402)]("🎬 Single video ad rendered: "+e[n(387)])}async[Tt(414)](t,e){const n=Tt,r=document[n(319)](t[n(392)]);if(!r)throw new Error(n(323)+t.containerId);if(e[n(398)]>0){const s=e[0],o=document[n(393)](n(359));o.className=n(386),o[n(378)][n(350)]=n(373),this[n(303)](o,s,t),r[n(353)]="",r.appendChild(o);const a=this.createEventTrackingCallback();setTimeout(()=>{const e=n;a(s[e(387)],t.id,i[e(342)])},100),this[n(417)]&&console[n(402)]("🎬 Single video rendered for VIDEO slot: "+t.id+" ("+s[n(387)]+")")}else this.debug&&console[n(360)]("⚠️ No video advertisements available for slot: "+t.id)}[Tt(303)](t,e,n){const r=Tt;t[r(378)].position=r(372);const s=document[r(393)](r(384));s[r(378)][r(412)]="100%",s[r(378)][r(405)]=r(311),s[r(378)][r(399)]=r(361),s.preload=r(413);const o=n[r(415)];if(this[r(417)]&&console[r(402)](r(408),o),s.controls=!1,s[r(370)]=!1!==o?.[r(370)],s[r(349)]=!0,s[r(305)]=!1!==o?.[r(305)],this.debug&&console[r(402)]("🎬 Final video settings:",{autoplay:s[r(370)],muted:s[r(349)],loop:s[r(305)],controls:s[r(362)]}),!1!==o?.[r(365)]&&s[r(339)]("playsinline",""),!0===o?.[r(362)]&&(s[r(362)]=!0,this.debug&&console[r(402)](r(344))),o?.[r(329)])s[r(362)]=!1,s[r(378)][r(350)]+=r(325);else if(o?.[r(306)]){if(s[r(362)]){const t=document[r(393)]("style");t[r(375)]=r(309)+(o.customControls[r(331)]?r(400):"block")+r(403)+(o[r(306)][r(367)]?r(400):r(388))+r(322)+(o[r(306)][r(374)]?r(400):r(388))+r(310)+(o.customControls[r(315)]?"none":"block")+r(356)+(o[r(306)][r(308)]?"none":"block")+r(396)+(o[r(306)][r(418)]?r(400):r(388))+r(366)+(o[r(306)][r(409)]?r(400):r(388))+r(307),document[r(397)].appendChild(t)}}else if(s[r(362)]){const t=document[r(393)](r(378));t.id=r(411),t[r(375)]="\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n ",!document[r(319)](r(411))&&document[r(397)].appendChild(t)}this[r(417)]&&console[r(402)](r(338),s.controls?"enabled":r(346));const i=document.createElement(r(368));i.className=r(328),i.style.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 ",o?.[r(329)]&&(i[r(378)][r(343)]="none");const a=()=>{const t=r,e=t(394);i[t(353)]=s[t(349)]?'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/>\n </svg>\n ':e,i[t(320)]=s[t(349)]?t(381):t(406)};if(a(),i[r(404)]("click",t=>{const e=r;t[e(376)](),s[e(349)]=!s[e(349)],a(),this.debug&&console.log(e(332)+(s[e(349)]?e(349):e(364)))}),i[r(404)](r(347),()=>{const t=r;i[t(378)][t(357)]="rgba(0, 0, 0, 0.9)",i[t(378)][t(304)]=t(390)}),i[r(404)](r(391),()=>{const t=r;i[t(378)][t(357)]="rgba(0, 0, 0, 0.7)",i[t(378)][t(304)]=t(327)}),e[r(407)]){s[r(352)]=e[r(407)];const t=()=>{const t=r;s[t(370)]&&s[t(349)]&&s[t(321)]&&s[t(354)]()[t(316)](e=>{const n=t;this[n(417)]&&(console[n(360)](n(318),e),console[n(360)](n(410))),s[n(349)]=!0,s[n(354)]().catch(t=>{const e=n;this[e(417)]&&console[e(383)](e(371),t)})})};s[r(404)](r(326),()=>{const e=r;this[e(417)]&&console[e(402)]("🎬 Video metadata loaded, attempting autoplay..."),t()}),s[r(404)](r(369),()=>{const e=r;this[e(417)]&&console[e(402)](e(330)),t()}),s[r(404)](r(351),()=>{const e=r;this[e(417)]&&console[e(402)]("🎬 Video data loaded, attempting autoplay..."),t()}),setTimeout(()=>{const e=r;this[e(417)]&&console[e(402)]("🎬 Initial autoplay attempt after timeout..."),t()},100)}else if(e[r(345)]){const n=document[r(393)]("img");return n[r(352)]=e[r(345)],n.style[r(412)]=r(311),n[r(378)].height="100%",n.style.objectFit=r(361),n.alt=e[r(320)]||r(340),void t[r(337)](n)}tt.addClickEventForRenderer(s,e,n,()=>this.createEventTrackingCallback(),this[r(417)],r(324)),s[r(404)](r(383),s=>{const o=r;if(console[o(383)](o(416),s),e[o(345)]){const r=document[o(393)](o(317));r[o(352)]=e[o(345)],r[o(378)][o(412)]=o(311),r[o(378)][o(405)]="100%",r[o(378)][o(399)]=o(361),r.alt=e[o(320)]||o(340),tt[o(341)](r,e,n,()=>this[o(355)](),this.debug,o(336)),t[o(353)]="",t[o(337)](r)}}),t.appendChild(s),t[r(337)](i),this[r(417)]&&console[r(402)](r(401)+e[r(387)]+r(382)+s.autoplay+r(313)+s[r(349)]+r(348)+s[r(305)]+")")}}const Bt=Dt;function Dt(t,e){const n=Pt();return(Dt=function(t,e){return n[t-=401]})(t,e)}function Pt(){const t=["mouseleave","1161888nlZPQq","debug","appendChild","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","1895118SWSNWf","linkUrl","addEventListener","1125796OyxyZY","🏠 Single native ad rendered: ","NATIVE","adstage-ad adstage-native-ad","style","10zTWKMG","⚠️ No native advertisements available for slot: ","textContent","getDefaultHeight","advertisementEventTracker","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","_blank","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","1659VitbMr","renderMultipleAds","Native Advertisement","🏠 Native ad rendered (first of ","className","log","cssText","22064hLgGKP","src","\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 ","): ","div","imageUrl","containerId","#2563eb","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","mouseenter","56365kojOfw","272PkoaVh","Learn More","#3b82f6","renderAdElement","backgroundColor","click","createElement","getElementById","open","innerHTML","3352257IRwgeJ","_id","warn","901724aRPqwf","Native click tracked for ad: ","length","\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 "];return(Pt=function(){return t})()}!function(){const t=Dt,e=Pt();for(;;)try{if(683414===parseInt(t(409))/1+-parseInt(t(421))/2+-parseInt(t(414))/3+-parseInt(t(452))/4*(-parseInt(t(451))/5)+-parseInt(t(418))/6+-parseInt(t(434))/7*(-parseInt(t(441))/8)+parseInt(t(406))/9*(-parseInt(t(426))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Lt extends pt{constructor(e=!1,n){super(t[Dt(423)],e,n)}[Bt(429)](){return"200px"}async[Bt(455)](t,e){const n=Bt,r=document[n(403)](t[n(447)]);if(!r)return;const s=document[n(402)]("div");if(s[n(438)]=n(424),s[n(425)][n(440)]=n(443),e.title){const t=document[n(402)]("h3");t[n(428)]=e.title,t[n(425)][n(440)]=n(449),s[n(416)](t)}if(e[n(428)]){const t=document[n(402)]("p");t[n(428)]=e[n(428)],t.style[n(440)]=n(431),s.appendChild(t)}if(e[n(446)]){const t=document[n(402)](n(445));t.style[n(440)]=n(417);const r=document[n(402)]("img");r[n(442)]=e.imageUrl,r.alt=e.title||n(436),r.style[n(440)]=n(433),t.appendChild(r),s[n(416)](t)}if(e[n(419)]){const t=document.createElement("button");t[n(428)]=n(453),t[n(425)][n(440)]=n(412),t[n(420)](n(401),()=>{const t=n;this[t(430)]&&console.log(t(410)+e[t(407)]),window[t(404)](e[t(419)],t(432))}),t.addEventListener(n(450),()=>{const e=n;t.style.backgroundColor=e(448)}),t[n(420)](n(413),()=>{const e=n;t.style[e(456)]=e(454)}),s[n(416)](t)}r[n(405)]="",r[n(416)](s),this[n(415)]&&console.log(n(422)+e[n(407)])}async[Bt(435)](t,e){const n=Bt;e.length>0?(await this.renderAdElement(t,e[0]),this[n(415)]&&console[n(439)](n(437)+e[n(411)]+n(444)+t.id)):this.debug&&console[n(408)](n(427)+t.id)}}const Mt=Ut;function Ut(t,e){const n=Nt();return(Ut=function(t,e){return n[t-=152]})(t,e)}!function(){const t=Ut,e=Nt();for(;;)try{if(401987===-parseInt(t(159))/1*(parseInt(t(218))/2)+parseInt(t(184))/3*(parseInt(t(202))/4)+parseInt(t(205))/5*(-parseInt(t(207))/6)+-parseInt(t(163))/7+parseInt(t(171))/8*(-parseInt(t(173))/9)+parseInt(t(156))/10*(parseInt(t(187))/11)+parseInt(t(160))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Vt extends pt{constructor(e=!1,n){super(t[Ut(215)],e,n)}[Mt(164)](){return Mt(221)}async[Mt(204)](t,e){const n=Mt;if(!document.getElementById(t[n(193)]))return;const r=document[n(212)]("div");r[n(191)]="adstage-interstitial-overlay",r.style[n(172)]="\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10000;\n animation: fadeIn 0.3s ease-out;\n ";const s=document[n(212)](n(199));s[n(191)]=n(203),s[n(177)][n(172)]=n(206);const o=document[n(212)]("button");if(o.innerHTML="×",o[n(177)][n(172)]=n(209),o[n(197)](n(186),()=>{this[n(153)](r)}),o[n(197)](n(189),()=>{const t=n;o.style[t(162)]="#e5e7eb",o[t(177)][t(176)]=t(200)}),o[n(197)](n(185),()=>{const t=n;o[t(177)][t(162)]=t(216),o[t(177)][t(176)]=t(196)}),e[n(198)]){const t=document[n(212)](n(220));t[n(166)]=e[n(198)],t.alt=e[n(211)]||"Interstitial Advertisement",t[n(177)][n(172)]=n(174),s[n(169)](t)}if(e[n(211)]){const t=document[n(212)]("h2");t[n(154)]=e.title,t[n(177)].cssText=n(165),s[n(169)](t)}if(e[n(154)]){const t=document[n(212)]("p");t[n(154)]=e[n(154)],t[n(177)][n(172)]=n(179),s.appendChild(t)}if(e[n(152)]){const t=document.createElement(n(178));t[n(154)]=n(201),t[n(177)][n(172)]=n(158),t.addEventListener("click",()=>{const t=n;this[t(217)]&&console.log(t(168)+e[t(182)]),window[t(188)](e.linkUrl,t(183)),this[t(153)](r)}),t.addEventListener(n(189),()=>{t[n(177)].backgroundColor="#2563eb"}),t[n(197)](n(185),()=>{t[n(177)].backgroundColor="#3b82f6"}),s[n(169)](t)}const i=t=>{const e=n;t[e(208)]===e(210)&&(this[e(153)](r),document[e(175)](e(155),i))};if(document.addEventListener(n(155),i),r.addEventListener(n(186),t=>{const e=n;t.target===r&&this[e(153)](r)}),!document[n(190)](n(181))){const t=document[n(212)]("style");t.id="adstage-interstitial-styles",t.textContent="\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n }\n ",document[n(219)].appendChild(t)}s.appendChild(o),r[n(169)](s),document[n(195)].appendChild(r),this[n(167)]&&console.log(n(157)+e[n(182)])}async[Mt(194)](t,e){const n=Mt;e[n(161)]>0?(await this[n(204)](t,e[0]),this[n(167)]&&console[n(170)]("🖼️ Interstitial ad rendered (first of "+e[n(161)]+n(192)+t.id)):this[n(167)]&&console[n(214)]("⚠️ No interstitial advertisements available for slot: "+t.id)}closeInterstitial(t){const e=Mt;t[e(177)].animation="fadeOut 0.3s ease-out forwards",setTimeout(()=>{const n=e;t[n(213)]&&t.parentNode[n(180)](t)},300),this[e(167)]&&console.log("🖼️ Interstitial ad closed")}}function Nt(){const t=["adstage-interstitial-styles","_id","_blank","3jyrNfO","mouseleave","click","1299859onxXYF","open","mouseenter","getElementById","className","): ","containerId","renderMultipleAds","body","#6b7280","addEventListener","imageUrl","div","#374151","Get Started","209732NhqVbF","adstage-interstitial-content","renderAdElement","27330bzLHBs","\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 ","528NpUhPQ","key","\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 ","Escape","title","createElement","parentNode","warn","INTERSTITIAL","#f3f4f6","advertisementEventTracker","481082jxOKqM","head","img","400px","linkUrl","closeInterstitial","textContent","keydown","40mzPhcW","🖼️ Interstitial ad rendered: ","\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 ","3VZfkBq","16524636ouizEV","length","backgroundColor","15946yMGCjn","getDefaultHeight","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","src","debug","Interstitial click tracked for ad: ","appendChild","log","393688jvDzMG","cssText","54GxWnkD","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","removeEventListener","color","style","button","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","removeChild"];return(Nt=function(){return t})()}const Ot=jt;!function(){const t=jt,e=Ht();for(;;)try{if(965946===parseInt(t(557))/1*(-parseInt(t(526))/2)+parseInt(t(548))/3*(-parseInt(t(540))/4)+-parseInt(t(520))/5*(parseInt(t(505))/6)+-parseInt(t(546))/7*(parseInt(t(517))/8)+-parseInt(t(501))/9*(-parseInt(t(553))/10)+parseInt(t(566))/11+-parseInt(t(536))/12*(-parseInt(t(503))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ft{constructor(t=!1,e){const n=jt;this[n(570)]=new Map,this.debug=t,this[n(544)]=e||null,this.initializeRenderers()}[Ot(545)](){const e=Ot;this[e(570)].set(t.BANNER,new mt(this[e(531)],this.advertisementEventTracker)),this[e(570)][e(542)](t.TEXT,new At(this[e(531)],this[e(544)])),this[e(570)][e(542)](t[e(512)],new zt(this[e(531)],this[e(544)])),this.renderers.set(t.NATIVE,new Lt(this.debug,this[e(544)])),this.renderers[e(542)](t[e(498)],new Vt(this.debug,this[e(544)])),this[e(531)]&&console[e(515)](e(539)+this[e(570)][e(532)]+e(552))}createAdElement(e,n){const r=Ot,s=this[r(555)](e[r(534)]),o=document.createElement(r(523));o[r(562)]=r(530)+String(e[r(534)]).toLowerCase(),o[r(559)](r(563),n._id),o[r(559)](r(550),e.id);const{width:i,height:a}=s.calculateAdSize(o,e.config||{},n);switch(o[r(519)][r(513)]=i,o.style[r(533)]=a,o[r(519)][r(514)]=r(522),e.adType){case t.BANNER:if(n.imageUrl){const t=document[r(567)]("img");t[r(525)]=n[r(528)],t[r(519)][r(513)]="100%",t[r(519)][r(533)]=r(529),t[r(519)][r(535)]=r(543),o[r(541)](t)}break;case t[r(512)]:if(n[r(547)]){const t=document[r(567)](r(521));t[r(525)]=n[r(547)],t.style[r(513)]=r(529),t.style.height=r(529),o[r(541)](t)}break;case t.TEXT:if(n[r(524)]){const t=document[r(567)](r(523));t[r(524)]=n.textContent||"",t[r(519)][r(560)]="8px",o[r(541)](t)}break;default:o[r(519)].border=r(518),o[r(519)][r(516)]=r(508),o[r(524)]=e[r(534)]+r(558)}return o}[Ot(555)](t){const e=Ot,n=this[e(570)][e(565)](t);if(!n)throw new Error("No renderer found for ad type: "+t);return n}[Ot(527)](t,e,n,r,s){const o=Ot;this[o(555)](n)[o(527)](t,e,r,s)}async optimizeContainerForBannerAds(e,n){const r=Ot;if(e[r(534)]!==t[r(502)])return void(this[r(531)]&&console.warn("⚠️ Container optimization is only supported for BANNER ads, got: "+e.adType));const s=this[r(555)](t[r(502)]);await s.optimizeContainerForBannerAds(e,n)}async[Ot(561)](t,e){const n=Ot,r=this[n(555)](t[n(534)]);await r.renderMultipleAds(t,e)}async[Ot(538)](t){const e=Ot;if(!t[e(510)])throw new Error(e(551));const n=this[e(555)](t.adType);await n[e(500)](t,t[e(510)]),t[e(564)]=!0}async[Ot(500)](t,e){const n=Ot,r=this[n(555)](t[n(534)]);await r[n(500)](t,e)}[Ot(499)](t){const e=Ot;this[e(555)](t[e(534)])[e(499)](t)}[Ot(509)](t){return this[Ot(555)](t).getDefaultHeight()}[Ot(549)](t,e,n,r){return this.getRenderer(e).calculateAdSize(t,n,r)}[Ot(569)](t){return new Promise((e,n)=>{const r=jt,s=new Image;s.onload=()=>{const t=jt;e({width:s[t(511)],height:s[t(568)]})},s[r(537)]=()=>{n(new Error(r(504)+t))},s[r(525)]=t})}async[Ot(506)](e,n,r){const s=Ot;if(r[s(534)]!==t.BANNER)throw new Error(s(556));const o=this[s(555)](t[s(502)]);return await o[s(506)](e,n,r)}async[Ot(507)](e,n,r){const s=Ot;if(r!==t[s(502)]){const t=this[s(555)](r);return{width:s(529),height:t.getDefaultHeight(),aspectRatio:16/9}}const o=this[s(555)](t[s(502)]);return await o[s(507)](e,n)}[Ot(515)](t,...e){const n=Ot;this[n(531)]&&console.log(n(554)+t,...e)}}function jt(t,e){const n=Ht();return(jt=function(t,e){return n[t-=498]})(t,e)}function Ht(){const t=["size","height","adType","objectFit","8988wFeVhC","onerror","renderAd","🏭 AdRenderer factory initialized with ","217708HkNFED","appendChild","set","cover","advertisementEventTracker","initializeRenderers","14qilMXK","videoUrl","42fdgaJP","calculateAdSize","data-adstage-slot-id","No advertisement to render"," renderers","4770130CTlyHI","[AdRenderer] ","getRenderer","renderOptimizedBannerImage is only supported for BANNER ads","84qPzZGl"," Ad","setAttribute","padding","renderAdSlider","className","data-adstage-ad-id","isLoaded","get","8435460DvVewW","createElement","naturalHeight","loadImageDimensions","renderers","INTERSTITIAL","renderFallback","renderAdElement","9Fhedoj","BANNER","35386gjUmLS","Failed to load image: ","4734nOPssb","renderOptimizedBannerImage","calculateOptimalContainerSize","#f9f9f9","getDefaultHeightForAdType","advertisement","naturalWidth","VIDEO","width","display","log","backgroundColor","1278856oEfXJO","1px dashed #ccc","style","7465Watyrp","video","block","div","textContent","src","1358SOejSS","createPlaceholder","imageUrl","100%","adstage-ad adstage-","debug"];return(Ht=function(){return t})()}const Kt=Wt;function Wt(t,e){const n=qt();return(Wt=function(t,e){return n[t-=384]})(t,e)}function qt(){const t=["createPlaceholder","advertisements","VIEWABLE","createAd","debug","renderAdElement","TEXT","toString","getConfig","createAdWithRetry"," ads for type: ","now","getBaseUrl","🎠 Slider will handle VIEWABLE events for ","refresh","init","error","✅ Simple viewable impression tracked for ad ","values","📊 Fetched specific ad with ID: ","🔍 Auto-cleanup MutationObserver enabled","destroy","5820252NgtkzQ","deviceType","isLoaded","GET","language","controls","length","json","loadAdContentInBackground","📊 Fetched ","❌ Failed to find element for viewability tracking: ","muted","random","Failed to fetch ad data: ","getSlotById"," removed","fetchAdData","🔄 Ad slot refreshed: ","log","from","containerId","INTERSTITIAL","🔄 Retrying viewability tracking for slot: ","advertisementEventTracker","status","viewabilityTracker","🎯 Simple viewability tracking started for slot: ","style","banner",", filters:","880855uWzsmb","setupAutoCleanup","set","10259016gJOImF","_isReady","disconnect","_id","❌ Failed to load ad for slot: ","playsinline","createAdInternal","📊 Advertisement event tracking enabled for slot: ","refreshAdSlot","onClick","VIDEO","🎯 Ads module initialized (sync mode) with auto-cleanup","autoplay","100%","Auto-cleanup failed for slot ","slots","loop","_config","body","native","apiKey","then","auto","data-adstage-slot-id","width"," ads)","auto-","append","querySelectorAll","adRenderer","🗑️ Ad slot destroyed: ","handleRemovedElement","config","get","21154032OBfrvp","nodeType","Ad slot not found: ","autoSlide","🗑️ Ads module destroyed","delete","renderFallback"," (attempt ","광고 생성 중 오류 발생:"," attempts: ","BANNER","Container not found after ","customControls","826751aVYWza","observe","🧹 Auto-cleanup: slot ","Failed to refresh ad slot: ","hideControls","Ads module not initialized. Call AdStage.init() first.","🚫 Advertisement not found with ID: ","4501TvyYMq","forEach","renderAd","startSimpleViewabilityTracking","maxLines","122uIfaEH","country","destroyModule","height","❌ Failed to track viewable impression:","API key not configured","handleViewableEvent","[data-adstage-slot-id]","ELEMENT_NODE"," ads automatically","5634TNDSkz","ensureReady","mutationObserver","adId","autoDestroy","getAllSlots","warn","getAttribute","string","adType","getElementById","create","clear","setAttribute","removedNodes","isReady","60861CTEyqn"];return(qt=function(){return t})()}!function(){const t=Wt,e=qt();for(;;)try{if(803712===-parseInt(t(408))/1+-parseInt(t(420))/2*(-parseInt(t(446))/3)+-parseInt(t(469))/4+parseInt(t(499))/5+parseInt(t(430))/6*(parseInt(t(415))/7)+-parseInt(t(502))/8+parseInt(t(395))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Yt{constructor(){const t=Wt;this._isReady=!1,this[t(519)]=null,this.slots=new Map,this[t(492)]=null,this.adRenderer=null,this.mutationObserver=null}[Kt(462)](t){const e=Kt;this[e(519)]=t,this[e(492)]=new L(K[e(459)](),t[e(522)],t.debug||!1,this[e(517)]),this.adRenderer=new Ft(t[e(451)]||!1,this[e(492)]),this.setupAutoCleanup(),this._isReady=!0,t[e(451)]&&console[e(487)](e(513))}[Kt(445)](){return this[Kt(503)]}[Kt(455)](){return this[Kt(519)]}[Kt(497)](e,n){const r=Kt;this[r(431)]();const s={width:n?.[r(385)]||r(515),height:n?.[r(423)]||r(524),autoSlide:n?.[r(398)]||!1,slideInterval:n?.slideInterval||5e3,onClick:n?.[r(511)],adId:n?.[r(433)],language:n?.language,deviceType:n?.[r(470)],country:n?.[r(421)]};return this[r(450)](e,t[r(405)],s)}text(e,n){const r=Kt;this.ensureReady();const s={maxLines:n?.[r(419)]||3,style:n?.[r(496)]||"default",onClick:n?.[r(511)],adId:n?.adId,language:n?.[r(473)],deviceType:n?.[r(470)],country:n?.country};return this.createAd(e,t[r(453)],s)}video(e,n){const r=Kt;this.ensureReady();const s={width:n?.[r(385)]||640,height:n?.[r(423)]||360,autoplay:void 0===n?.autoplay||n[r(514)],muted:void 0===n?.[r(480)]||n.muted,loop:void 0===n?.[r(518)]||n.loop,playsinline:!1!==n?.[r(507)],controls:void 0!==n?.[r(474)]&&n[r(474)],hideControls:n?.[r(412)]||!1,customControls:n?.[r(407)],autoSlide:!1,maxAds:1,onClick:n?.[r(511)],...n?.[r(433)]&&{adId:n[r(433)]}};return this[r(450)](e,t[r(512)],s)}[Kt(521)](e,n){const r=Kt;return this.ensureReady(),this[r(450)](e,t.NATIVE,n||{})}interstitial(e,n){const r=Kt;return this[r(431)](),this[r(450)](e,t[r(490)],n||{})}[Kt(461)](t){const e=Kt;this[e(431)]();const n=this[e(517)][e(394)](t);if(!n)throw new Error(e(397)+t);this[e(510)](n),this[e(519)]?.debug&&console[e(487)](e(486)+t)}destroy(t){const e=Kt;this[e(431)]();const n=this.slots[e(394)](t);if(!n)throw new Error(e(397)+t);n[e(494)]&&n[e(494)].destroy();const r=document.getElementById(n[e(489)]);r&&(r.innerHTML=""),this[e(517)][e(400)](t),this[e(519)]?.[e(451)]&&console[e(487)](e(391)+t)}[Kt(435)](){const t=Kt;return this.ensureReady(),Array[t(488)](this[t(517)][t(465)]())}[Kt(483)](t){const e=Kt;return this[e(431)](),this[e(517)][e(394)](t)||null}[Kt(450)](t,e,n){const r=Kt;if(!this[r(519)]?.apiKey)throw new Error(r(425));const s="adstage-"+e+"-"+Date[r(458)]()+"-"+Math[r(481)]()[r(454)](36).substr(2,9);return this[r(456)](t,e,n,s,0),s}async createAdWithRetry(t,e,n,r,s){const o=Kt,i=[0,50,100,200,500];let a,c=null;if(typeof t===o(438)){if(a=t,c=document.getElementById(t),!c)return s<4?(this[o(519)]?.[o(451)]&&console[o(436)]("Container not found: "+t+". Retrying in "+i[s+1]+"ms... (attempt "+(s+1)+"/5)"),void setTimeout(()=>{this[o(456)](t,e,n,r,s+1)},i[s+1])):void console[o(463)](o(406)+5+o(404)+t)}else c=t,a=c.id||o(387)+r,!c.id&&(c.id=a);try{this.createAdInternal(a,e,n,r,c)}catch(t){console[o(463)](o(403),t)}}[Kt(508)](e,n,r,s,o){const i=Kt;o[i(443)](i(384),s),this.adRenderer?.[i(447)](o,s,n,r,this[i(519)]);const a={id:s,containerId:e,adType:n,width:r[i(385)]||"100%",height:r[i(423)]||(n===t[i(453)]?i(524):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...r},load:async()=>this[i(485)](n,r)[i(523)](t=>t[0]||null),render:t=>this[i(390)]?.[i(452)](a,t),refresh:async()=>this[i(510)](a),destroy:()=>this[i(468)](s)};this.slots[i(501)](s,a),this[i(477)](a),this[i(492)]&&this[i(519)]?.[i(451)]&&console[i(487)](i(509)+s)}async[Kt(477)](e){const n=Kt;try{const r=await this.fetchAdData(e[n(439)],e[n(393)]);if(!r||0===r[n(475)])return void this[n(390)]?.[n(401)](e);e[n(439)]===t[n(405)]&&r[n(475)]>0&&await(this[n(390)]?.optimizeContainerForBannerAds(e,r)),r.length>1||e.config?.[n(398)]?(await(this[n(390)]?.renderAdSlider(e,r)),this._config?.[n(451)]&&console[n(487)](n(460)+r[n(475)]+n(429))):(e.advertisement=r[0],await(this[n(390)]?.[n(452)](e,r[0])),this[n(418)](e,r[0])),e[n(471)]=!0,this[n(519)]?.[n(451)]&&console[n(487)]("✅ Ad loaded for slot: "+e.id+" ("+r[n(475)]+n(386))}catch(t){console.error(n(506)+e.id,t),this[n(390)]?.[n(401)](e)}}[Kt(418)](t,e){const n=(r=0)=>{const s=Wt,o=document[s(440)](t.id);if(!o)return void(r<5?(setTimeout(()=>n(r+1),300),this[s(519)]?.[s(451)]&&console.log(s(491)+t.id+s(402)+(r+1)+")")):console[s(436)](s(479)+t.id));const i=new V(o,async()=>{const n=s;await this[n(426)](e,t)});t[s(494)]=i,this[s(519)]?.debug&&console[s(487)](s(495)+t.id+" (element found)")};n()}async handleViewableEvent(t,e){const n=Kt;try{this[n(492)]&&(await this[n(492)].trackAdvertisementEvent(t._id,e.id,i[n(449)]),this._config?.[n(451)]&&console[n(487)](n(464)+t[n(505)]))}catch(t){console[n(463)](n(424),t)}}async[Kt(485)](t,e){const n=Kt;if(!this[n(519)]?.[n(522)])throw new Error("API key not configured");if(e[n(433)]){const t=""+K[n(448)].detail(e[n(433)]),r=await fetch(t,{method:n(472),headers:z[n(441)](this[n(519)][n(522)])});if(!r.ok){if(404===r[n(493)])return console.warn(n(414)+e[n(433)]),[];throw new Error(n(482)+r.status)}const s=await r.json();return this[n(519)]?.debug&&console[n(487)](n(466)+e[n(433)],s),[s]}const r=new URLSearchParams;r.append("adType",t),e[n(473)]&&r[n(388)](n(473),e[n(473)]),e[n(470)]&&r[n(388)](n(470),e[n(470)]),e[n(421)]&&r[n(388)](n(421),e.country);const s=K[n(448)].list()+"?"+r[n(454)](),o=await fetch(s,{method:n(472),headers:z.create(this[n(519)][n(522)])});if(!o.ok)throw new Error(n(482)+o[n(493)]);const i=(await o[n(476)]())[n(448)]||[];return this[n(519)]?.[n(451)]&&console[n(487)](n(478)+i[n(475)]+n(457)+t+n(498),{language:e[n(473)],deviceType:e[n(470)],country:e[n(421)]}),i}async[Kt(510)](t){const e=Kt;try{const n=await this[e(485)](t.adType,t.config||{});n&&n[e(475)]>0&&(t.advertisement=n[0],await(this[e(390)]?.[e(417)](t)),this[e(492)]&&console.log("New advertisement viewable tracked for slot:",t.id))}catch(n){console[e(463)](e(411)+t.id,n)}}[Kt(431)](){const t=Kt;if(!this._isReady)throw new Error(t(413))}[Kt(500)](){const t=Kt;"undefined"!=typeof window&&"undefined"!=typeof document&&(this[t(432)]&&this.mutationObserver[t(504)](),this[t(432)]=new MutationObserver(t=>{t.forEach(t=>{const e=Wt;t[e(444)].forEach(t=>{const n=e;t[n(396)]===Node[n(428)]&&this[n(392)](t)})})}),this[t(432)][t(409)](document[t(520)],{childList:!0,subtree:!0}),this[t(519)]?.[t(451)]&&console[t(487)](t(467)))}[Kt(392)](t){const e=Kt,n=t[e(437)](e(384));if(n)return void this.autoDestroy(n);t[e(389)](e(427))[e(416)](t=>{const n=e,r=t[n(437)](n(384));r&&this[n(434)](r)})}[Kt(434)](t){const e=Kt;if(this.slots.get(t))try{this[e(517)][e(400)](t),this[e(519)]?.debug&&console[e(487)](e(410)+t+e(484))}catch(n){this[e(519)]?.[e(451)]&&console[e(436)](e(516)+t+":",n)}}[Kt(422)](){const t=Kt,e=this[t(519)]?.debug;this.mutationObserver&&(this[t(432)][t(504)](),this[t(432)]=null),this[t(517)][t(442)](),this[t(492)]=null,this.adRenderer=null,this[t(503)]=!1,this[t(519)]=null,e&&console[t(487)](t(399))}}var Xt=Qt;function Qt(t,e){var n=Jt();return(Qt=function(t,e){return n[t-=328]})(t,e)}function Jt(){var t=["init","debug","getConfig","isModuleEnabled","1504299aUofTw","log","4195CrUSnH","API key not available","524YrYwgf","Config module not initialized","326ySSedv","3819376OUZLDT","✅ Config module initialized (sync mode)","apiKey","1622889MSMueP","1243732pfGQiP","config","baseUrl","getBaseUrl","_config","isDebugMode","modules","_organizationInfo","setBaseUrl","getEnabledModules","_isReady","getApiEndpoint","includes","getOrganizationInfo","getApiHeaders","814374iAyynn","2360gJPpeg","ads"];return(Jt=function(){return t})()}!function(){for(var t=Qt,e=Jt();;)try{if(366322===-parseInt(t(337))/1*(parseInt(t(341))/2)+parseInt(t(335))/3+-parseInt(t(339))/4*(parseInt(t(329))/5)+parseInt(t(328))/6+parseInt(t(346))/7+parseInt(t(342))/8+-parseInt(t(345))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Zt{constructor(){var t=Qt;this[t(356)]=!1,this._config=null,this[t(353)]=null}[Xt(331)](t){var e=Xt;this._config={timeout:3e4,debug:!1,modules:[e(330),"events",e(347)],...t},t[e(348)]&&K[e(354)](t[e(348)]),this[e(356)]=!0,t[e(332)]&&console[e(336)](e(343),{modules:this._config[e(352)],endpoint:K.getBaseUrl(),mode:"development"})}isReady(){return this[Xt(356)]}[Xt(333)](){return this._config}[Xt(359)](){return this[Xt(353)]}[Xt(357)](){return K[Xt(349)]()}isDebugMode(){var t=Xt;return this._config?.[t(332)]||!1}[Xt(355)](){var t=Xt;return this[t(350)]?.[t(352)]||[]}[Xt(334)](t){var e=Xt;return this[e(355)]()[e(358)](t)}updateConfig(t){var e=Xt;if(!this[e(350)])throw new Error(e(340));this[e(350)]={...this[e(350)],...t},this[e(351)]()&&console[e(336)]("🔄 Config updated",t)}[Xt(360)](){var t=Xt;if(!this[t(350)]?.[t(344)])throw new Error(t(338));return z.create(this[t(350)].apiKey)}}const Gt=$t;function $t(t,e){const n=te();return($t=function(t,e){return n[t-=448]})(t,e)}function te(){const t=["width","getPlatform","platform","web","mobile","1229772pLBdPX","onLine","1445349XbBAke","mobile-web","9kPxRBj","cookieEnabled","isMobile","SSR","822186gHFQlc","getDeviceInfo","getAppVersion","ios","21KsZmmP","0x0","1143244wlYBUr","813523afNAyS","1636715Nomlhj","unknown","7951144bkcoEg","desktop","android","toLowerCase","userAgent","test","getDetailedInfo","isBrowser","language","ko-KR","mapPlatformForEvents"];return(te=function(){return t})()}!function(){const t=$t,e=te();for(;;)try{if(463674===parseInt(t(479))/1+-parseInt(t(472))/2+parseInt(t(466))/3+parseInt(t(478))/4+-parseInt(t(480))/5+-parseInt(t(464))/6*(-parseInt(t(476))/7)+parseInt(t(448))/8*(-parseInt(t(468))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ee{static[Gt(473)](){const t=Gt;if(!m[t(455)]())return{category:"other",platform:"SSR",model:t(471),appVersion:k[t(474)](),osVersion:t(471)};const e=navigator[t(452)][t(451)]();let n=t(449);/tablet|ipad/[t(453)](e)?n="tablet":A[t(470)]()&&(n=t(463));const r=A[t(460)]();return{category:n,platform:ee[t(458)](r),model:navigator.platform,appVersion:k.getAppVersion(),osVersion:navigator[t(461)]}}static mapPlatformForEvents(t){const e=Gt;switch(t){case e(475):return"ios";case e(450):return e(450);case e(462):return e(467);case e(449):return"desktop-web";default:return e(481)}}static[Gt(454)](){const t=Gt;if(!m[t(455)]())return{userAgent:t(471),language:t(457),platform:t(471),cookieEnabled:!1,onLine:!0,screenResolution:"0x0",viewportSize:t(477)};const e=m.getViewportInfo();return{userAgent:navigator[t(452)],language:navigator[t(456)]||t(457),platform:navigator.platform,cookieEnabled:navigator[t(469)],onLine:navigator[t(465)],screenResolution:screen[t(459)]+"x"+screen.height,viewportSize:e[t(459)]+"x"+e.height}}}function ne(t,e){const n=se();return(ne=function(t,e){return n[t-=471]})(t,e)}const re=ne;function se(){const t=["getCurrentUserProperties","UTC","12091428iPDxNp","2743089DYWwTc","75865YqcIPz","timeZone","language","4689080LVXTtS","1056413IgWzqT","isBrowser","2054696wIXZPg","extractCountryFromLanguage","getBaseUserInfo","DateTimeFormat","35XCRnNi","clearUserProperties","estimateLocation","4iShDqV","294TTbJbF","_userProperties","setUserProperties","split","getUserInfo","1205136CVKIAR","setUserProperty","resolvedOptions"];return(se=function(){return t})()}!function(){const t=ne,e=se();for(;;)try{if(675780===-parseInt(t(495))/1+parseInt(t(484))/2+parseInt(t(490))/3*(parseInt(t(478))/4)+parseInt(t(491))/5*(parseInt(t(479))/6)+-parseInt(t(475))/7*(-parseInt(t(471))/8)+-parseInt(t(489))/9+-parseInt(t(494))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class oe{static[re(483)](){return{...oe[re(473)](),...oe._userProperties}}static[re(473)](){const t=re;if(!m[t(496)]())return{language:"ko-KR",country:"KR"};const e=navigator[t(493)]||"ko-KR";return{language:e,country:oe[t(472)](e)}}static[re(472)](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[re(482)]("-")[0]]||"KR"}static[re(481)](t){const e=re;oe._userProperties={...oe[e(480)],...t}}static[re(485)](t,e){oe[re(480)][t]=e}static[re(476)](){oe[re(480)]={}}static[re(487)](){return{...oe._userProperties}}static[re(477)](){const t=re;if(!m[t(496)]())return{timezone:t(488),estimatedCountry:"KR"};const e=Intl[t(474)]()[t(486)]()[t(492)];return{timezone:e,estimatedCountry:{"Asia/Seoul":"KR","Asia/Tokyo":"JP","Asia/Shanghai":"CN","Asia/Hong_Kong":"HK","Asia/Taipei":"TW","America/New_York":"US","America/Los_Angeles":"US","Europe/London":"GB","Europe/Berlin":"DE","Europe/Paris":"FR"}[e]||"KR"}}}oe[re(480)]={};const ie=ae;function ae(t,e){const n=le();return(ae=function(t,e){return n[t-=187]})(t,e)}!function(){const t=ae,e=le();for(;;)try{if(862116===parseInt(t(188))/1*(-parseInt(t(209))/2)+parseInt(t(202))/3*(-parseInt(t(217))/4)+-parseInt(t(210))/5*(-parseInt(t(197))/6)+-parseInt(t(221))/7+parseInt(t(203))/8*(parseInt(t(206))/9)+parseInt(t(200))/10*(-parseInt(t(187))/11)+parseInt(t(216))/12*(parseInt(t(192))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ce{static[ie(195)](){const t=ie;if(!m[t(220)]())return t(190)+Date[t(196)]();const e=sessionStorage[t(198)]("adstage_session_id");if(e)return e;const n=t(208)+Math[t(218)]().toString(36)[t(214)](2,9)+"_"+Date[t(196)]();return sessionStorage[t(193)](t(191),n),!ce[t(215)]&&(ce[t(215)]=Date.now(),m[t(220)]()&&sessionStorage[t(193)](t(199),String(ce[t(215)]))),n}static[ie(189)](t){const e=ie;ce._userId=t,m[e(220)]()&&localStorage.setItem(e(204),t)}static[ie(223)](){const t=ie;if(ce[t(194)])return ce._userId;if(m[t(220)]()){const e=localStorage[t(198)](t(204));if(e)return ce[t(194)]=e,e}}static[ie(207)](){const t=ie;ce._userId=void 0,m[t(220)]()&&localStorage[t(201)](t(204))}static[ie(213)](){const t=ie,e=ce.getSessionId(),n=ce[t(223)](),r=ce[t(211)]();return{sessionId:e,userId:n,sessionDuration:ce.getSessionDuration(),isNewSession:r}}static isNewSession(){const t=ie;if(!m[t(220)]())return!0;const e=sessionStorage[t(198)](t(191)),n=sessionStorage[t(198)](t(199));return!e||!n}static[ie(219)](){const t=ie;if(!m.isBrowser())return 0;const e=sessionStorage.getItem(t(199));return e?Date[t(196)]()-parseInt(e,10):0}static[ie(222)](){const t=ie;return m[t(220)]()&&(sessionStorage[t(201)](t(191)),sessionStorage[t(201)](t(199))),ce[t(215)]=void 0,ce[t(195)]()}static[ie(205)](t=24){return ce.getSessionDuration()>60*t*60*1e3}static[ie(212)](){const t=ie,e=ce.getSessionId(),n=ce.getUserId(),r=ce[t(219)](),s=ce.isSessionExpired(),o=ce[t(211)]();let i;if(m[t(220)]()){const e=sessionStorage[t(198)](t(199));i=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:i,duration:r,isExpired:s,isNewSession:o}}}function le(){const t=["getSessionStats","getSessionInfo","substr","_sessionStartTime","204rhjcnM","61076Guairn","random","getSessionDuration","isBrowser","778806UhBIQa","refreshSession","getUserId","2301321qVGsUh","8819iZbVRX","setUserId","ssr_session_","adstage_session_id","150683CLDeRc","setItem","_userId","getSessionId","now","6zYlNTL","getItem","adstage_session_start","10WxzbdU","removeItem","162XaQgkz","32GDrULJ","adstage_user_id","isSessionExpired","3095289lXCzgh","clearUserId","session_","166eHrCiG","5831785poAMaz","isNewSession"];return(le=function(){return t})()}const de=pe;function ue(){const t=["track","👤 User properties set:","👤 User ID set:","_config","create","sendEventToServer","apiKey","warn","debug","4953000gZbEvj","8rXoCPB","error","40IPzENk","statusText","119430Vsjdwl","getUserInfo","status","5NkjktF","POST","getCurrentUserProperties","21yLrLRl","2817441MIqHQx","5725069ldQzJw","4798845KUVsmt","getUserProperties","❌ Failed to track event:","✅ Event tracked:","log","8040051yUqmWr","_isReady","setUserId","isReady","stringify","7894056XmyHYH","Event tracking failed: ","setUserProperties","events"];return(ue=function(){return t})()}function pe(t,e){const n=ue();return(pe=function(t,e){return n[t-=412]})(t,e)}!function(){const t=pe,e=ue();for(;;)try{if(954856===parseInt(t(414))/1*(-parseInt(t(445))/2)+parseInt(t(417))/3+parseInt(t(440))/4+parseInt(t(448))/5*(-parseInt(t(427))/6)+parseInt(t(416))/7+parseInt(t(441))/8*(parseInt(t(422))/9)+parseInt(t(443))/10*(-parseInt(t(415))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class he{constructor(){const t=pe;this[t(423)]=!1,this[t(434)]=null}init(t){const e=pe;this[e(434)]=t,this[e(423)]=!0,t.debug&&console[e(421)]("📊 Events module initialized")}[de(425)](){return this[de(423)]}getConfig(){return this[de(434)]}[de(424)](t){const e=de;ce[e(424)](t),this[e(434)]?.[e(439)]&&console[e(421)](e(433),t)}getUserId(){return ce.getUserId()}[de(429)](t){const e=de;oe[e(429)](t),this._config?.[e(439)]&&console[e(421)](e(432),t)}[de(418)](){return oe[de(413)]()}async[de(431)](t,e){const n=de;if(this._isReady)if(this[n(434)]?.[n(437)])try{const r={eventName:t,userId:ce.getUserId(),sessionId:ce.getSessionId(),sdkVersion:'"3.0.2"',device:ee.getDeviceInfo(),user:oe[n(446)](),params:e||{}};await this[n(436)](r),this._config[n(439)]&&console[n(421)](n(420),t,e)}catch(r){console[n(442)](n(419),r),this._config.debug&&console[n(442)]("Event data:",{eventName:t,properties:e})}else console[n(438)]("API key not configured for event tracking.");else console[n(438)]("Events module not initialized. Call AdStage.init() first.")}async[de(436)](t){const e=de,n=await fetch(K[e(430)][e(431)](),{method:e(412),headers:{...z[e(435)](this[e(434)].apiKey),"Content-Type":"application/json"},body:JSON[e(426)](t)});if(!n.ok)throw new Error(e(428)+n[e(447)]+" "+n[e(444)])}}const fe=me;function ge(){const t=["✅ AdStage Debug: 광고 ","4809568KgWbbt",")의 viewable 추적 초기화됨","development","modules","...","isReady","from","6113604iGbeCL","🚀 AdStage SDK initialized (sync mode)","config","12VTDxbQ","1726474TkFLEU","instance","_config","API key is required for AdStage initialization","_isInitialized","debug","clearAdViewable","🌐 API endpoint configured:","getConfig","apiKey","ads","function","3940575HFbSmk","993910DZUQtL","1360728LFtErq","events","setBaseUrl","init","2088153dlsQoB","AdStage not initialized. Call AdStage.init() first.","log","getInstance","viewableTracker","size","baseUrl","substring","clear"];return(ge=function(){return t})()}function me(t,e){const n=ge();return(me=function(t,e){return n[t-=424]})(t,e)}!function(){const t=me,e=ge();for(;;)try{if(817512===-parseInt(t(455))/1+parseInt(t(442))/2+-parseInt(t(460))/3+parseInt(t(456))/4+-parseInt(t(454))/5*(-parseInt(t(441))/6)+-parseInt(t(438))/7+parseInt(t(431))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ye{constructor(){const t=me;this[t(446)]=!1,this[t(444)]=null,this[t(440)]=new Zt,this[t(452)]=new Yt,this[t(457)]=new he}static[fe(459)](t){const e=fe;!ye[e(443)]&&(ye.instance=new ye);const n=ye[e(443)];if(!t[e(451)])throw new Error(e(445));n._config={timeout:3e4,debug:!1,modules:[e(452),e(457),e(440)],...t},n[e(444)][e(427)]&&(K[e(458)](n[e(444)][e(427)]),t[e(447)]&&console[e(462)](e(449),n[e(444)][e(427)]));const r=n[e(444)][e(434)]||[e(452),e(457),e(440)];for(const t of r){const r=n[t];r&&typeof r.init===e(453)&&r[e(459)](n[e(444)])}n[e(446)]=!0,t.debug&&console[e(462)](e(439),{version:"2.0.0",modules:r,apiKey:t[e(451)][e(428)](0,8)+e(435),mode:e(433)})}static[fe(436)](){const t=fe;return ye[t(443)]?.[t(446)]||!1}static[fe(450)](){const t=fe;return ye[t(443)]?.[t(444)]||null}static getInstance(){const t=fe;if(!ye[t(443)])throw new Error(t(461));return ye.instance}static get ads(){const t=fe;return ye[t(424)]()[t(452)]}static get[fe(457)](){const t=fe;return ye.getInstance()[t(457)]}static get config(){const t=fe;return ye[t(424)]()[t(440)]}static reset(){const t=fe;ye[t(443)]&&(ye[t(443)][t(446)]=!1,ye.instance._config=null)}}function Ie(t,e){var n=Ee();return(Ie=function(t,e){return n[t-=229]})(t,e)}function ve(t,e){var n=Ie;return ye[n(243)]()?ye.events.track(t,e):(console[n(231)](n(239)),Promise.resolve())}function be(t){var e=Ie;ye[e(243)]()?ye[e(236)][e(235)](t):console.warn(e(239))}function we(){var t=Ie;if(ye.isReady())return ye.events[t(234)]();console[t(231)](t(239))}function ke(t){var e=Ie;ye[e(243)]()?ye[e(236)].setUserProperties(t):console[e(231)](e(239))}function Ee(){var t=["setUserId","events","18ofEpMe","22272qLwVyt","AdStage not initialized. Call AdStage.init() first.","3825544dbYCQN","2421860jvnVQQ","40EqFKNV","isReady","195MUVNNl","248586eDTHDM","685545YSCBqj","warn","207732YFShzN","1778500EDvWBY","getUserId"];return(Ee=function(){return t})()}function xe(){var t=Ie;if(ye.isReady())return ye.events.getUserProperties();console[t(231)](t(239))}ye[fe(447)]={clearAllViewable:()=>{const t=fe;at[t(429)](),console[t(462)]("✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨")},clearAdViewable:(t,e)=>{const n=fe;at[n(448)](t,e),console.log(n(430)+t+"("+e+n(432))},getViewableStatus:()=>{const t=fe;console.log("📊 AdStage Debug: 현재 viewable 추적 상태",{trackedCount:at[t(425)][t(426)],trackedItems:Array[t(437)](at.viewableTracker)})}},function(){for(var t=Ie,e=Ee();;)try{if(437127===parseInt(t(232))/1+-parseInt(t(238))/2*(-parseInt(t(244))/3)+-parseInt(t(241))/4+parseInt(t(242))/5*(parseInt(t(229))/6)+-parseInt(t(230))/7+-parseInt(t(240))/8+-parseInt(t(237))/9*(-parseInt(t(233))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();var Se,Ce={exports:{}},Ae={},Te={exports:{}},Re={};Te.exports=function(){if(Se)return Re;Se=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),u=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,f={};function g(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}function m(){}function y(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=g.prototype;var I=y.prototype=new m;I.constructor=y,h(I,g.prototype),I.isPureReactComponent=!0;var v=Array.isArray,b=Object.prototype.hasOwnProperty,w={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function E(e,n,r){var s,o={},i=null,a=null;if(null!=n)for(s in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(i=""+n.key),n)b.call(n,s)&&!k.hasOwnProperty(s)&&(o[s]=n[s]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var l=Array(c),d=0;d<c;d++)l[d]=arguments[d+2];o.children=l}if(e&&e.defaultProps)for(s in c=e.defaultProps)void 0===o[s]&&(o[s]=c[s]);return{$$typeof:t,type:e,key:i,ref:a,props:o,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var S=/\/+/g;function C(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}(""+t.key):e.toString(36)}function A(n,r,s,o,i){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var c=!1;if(null===n)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(n.$$typeof){case t:case e:c=!0}}if(c)return i=i(c=n),n=""===o?"."+C(c,0):o,v(i)?(s="",null!=n&&(s=n.replace(S,"$&/")+"/"),A(i,r,s,"",function(t){return t})):null!=i&&(x(i)&&(i=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,s+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(S,"$&/")+"/")+n)),r.push(i)),1;if(c=0,o=""===o?".":o+":",v(n))for(var l=0;l<n.length;l++){var d=o+C(a=n[l],l);c+=A(a,r,s,d,i)}else if(d=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof d)for(n=d.call(n),l=0;!(a=n.next()).done;)c+=A(a=a.value,r,s,d=o+C(a,l++),i);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}function T(t,e,n){if(null==t)return t;var r=[],s=0;return A(t,r,"","",function(t){return e.call(n,t,s++)}),r}function R(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var _={current:null},z={transition:null},B={ReactCurrentDispatcher:_,ReactCurrentBatchConfig:z,ReactCurrentOwner:w};function D(){throw Error("act(...) is not supported in production builds of React.")}return Re.Children={map:T,forEach:function(t,e,n){T(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return T(t,function(){e++}),e},toArray:function(t){return T(t,function(t){return t})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},Re.Component=g,Re.Fragment=n,Re.Profiler=s,Re.PureComponent=y,Re.StrictMode=r,Re.Suspense=c,Re.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,Re.act=D,Re.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var s=h({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,a=w.current),void 0!==n.key&&(o=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in n)b.call(n,l)&&!k.hasOwnProperty(l)&&(s[l]=void 0===n[l]&&void 0!==c?c[l]:n[l])}var l=arguments.length-2;if(1===l)s.children=r;else if(1<l){c=Array(l);for(var d=0;d<l;d++)c[d]=arguments[d+2];s.children=c}return{$$typeof:t,type:e.type,key:o,ref:i,props:s,_owner:a}},Re.createContext=function(t){return(t={$$typeof:i,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:t},t.Consumer=t},Re.createElement=E,Re.createFactory=function(t){var e=E.bind(null,t);return e.type=t,e},Re.createRef=function(){return{current:null}},Re.forwardRef=function(t){return{$$typeof:a,render:t}},Re.isValidElement=x,Re.lazy=function(t){return{$$typeof:d,_payload:{_status:-1,_result:t},_init:R}},Re.memo=function(t,e){return{$$typeof:l,type:t,compare:void 0===e?null:e}},Re.startTransition=function(t){var e=z.transition;z.transition={};try{t()}finally{z.transition=e}},Re.unstable_act=D,Re.useCallback=function(t,e){return _.current.useCallback(t,e)},Re.useContext=function(t){return _.current.useContext(t)},Re.useDebugValue=function(){},Re.useDeferredValue=function(t){return _.current.useDeferredValue(t)},Re.useEffect=function(t,e){return _.current.useEffect(t,e)},Re.useId=function(){return _.current.useId()},Re.useImperativeHandle=function(t,e,n){return _.current.useImperativeHandle(t,e,n)},Re.useInsertionEffect=function(t,e){return _.current.useInsertionEffect(t,e)},Re.useLayoutEffect=function(t,e){return _.current.useLayoutEffect(t,e)},Re.useMemo=function(t,e){return _.current.useMemo(t,e)},Re.useReducer=function(t,e,n){return _.current.useReducer(t,e,n)},Re.useRef=function(t){return _.current.useRef(t)},Re.useState=function(t){return _.current.useState(t)},Re.useSyncExternalStore=function(t,e,n){return _.current.useSyncExternalStore(t,e,n)},Re.useTransition=function(){return _.current.useTransition()},Re.version="18.3.1",Re}();var _e,ze=Te.exports;
1
+ var t,e,n,r,s,o,i,a,c,d,l,u;function p(t,e){var n=h();return(p=function(t,e){return n[t-=108]})(t,e)}function h(){var t=["INTERSTITIAL","DESKTOP","NATIVE","18paCBWc","TABLET","1ebPeBx","POPUP","3776ZhRrDg","BANNER","TEXT","VIDEO","4613310QpouAZ","CLICK","2387915IMumzp","240SwgANZ","MOBILE","VIEWABLE","978RcdPFB","1351063EQwPqV","2635894smkjyb","168wLEGYM","346644KTmtLr","WEB","62799nQozJB","1870xEMWVs"];return(h=function(){return t})()}function f(t,e){const n=m();return(f=function(t,e){return n[t-=155]})(t,e)}!function(){for(var t=p,e=h();;)try{if(678304===parseInt(t(122))/1*(-parseInt(t(111))/2)+-parseInt(t(109))/3*(-parseInt(t(124))/4)+-parseInt(t(130))/5+parseInt(t(120))/6*(-parseInt(t(110))/7)+parseInt(t(131))/8*(-parseInt(t(113))/9)+-parseInt(t(116))/10*(parseInt(t(115))/11)+parseInt(t(112))/12*(parseInt(t(128))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(e=t||(t={}))[(n=p)(125)]="BANNER",e[n(123)]=n(123),e.INTERSTITIAL=n(117),e[n(119)]="NATIVE",e[n(127)]="VIDEO",e.TEXT=n(126),(s=r||(r={}))[(o=p)(114)]=o(114),s[o(132)]="MOBILE",a=i||(i={}),c=p,a.VIEWABLE=c(108),a[c(129)]="CLICK",(l=d||(d={}))[(u=p)(118)]=u(118),l[u(132)]="MOBILE",l[u(121)]=u(121);const g=f;function m(){const t=["1304452dgwoPG","scrollTop","removeChild","275317ZyJxBo","log","⏳ 컨테이너 대기 시작: ","ms)","safeWindowOpen","safeGetElementById","readyState","querySelector","safeAddEventListener","appendChild","ms (","safeApplyStyles","56615mddLdz","waitForElement","location","ms 경과)","safeQuerySelector","safeSetInnerHTML","canUseDOM","entries","addEventListener","ceil","createElement","querySelectorAll","✅ 컨테이너 즉시 발견: ","getComputedStyle","5198679FzZHVE","innerHTML","getElementById","classList","style",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"78eHuPxD","isDOMReady","removeEventListener","getDocumentProperty","open","getPageInfo",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"safeQuerySelectorAll","✅ 컨테이너 발견: ","safeCreateElement","152tMrzCq","pow","safeAddClass","353350raddWA","safeGetComputedStyle","pageYOffset","9026826MWmZJc","safeAppendChild","innerWidth","waitForDOM","204448KlLSeF","add","setProperty","getWindowProperty","getViewportInfo","isBrowser","safeRemoveClass","all","from","documentElement",'❌ 컨테이너를 찾을 수 없습니다: "',"getScrollInfo","pageXOffset","isSSR","DOM을 사용할 수 없는 환경입니다.","innerHeight","min"];return(m=function(){return t})()}!function(){const t=f,e=m();for(;;)try{if(793883===parseInt(t(163))/1+-parseInt(t(211))/2+-parseInt(t(198))/3*(-parseInt(t(218))/4)+parseInt(t(178))/5+-parseInt(t(214))/6+parseInt(t(166))/7*(-parseInt(t(208))/8)+parseInt(t(192))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class I{static[g(223)](){return"undefined"!=typeof window&&"undefined"!=typeof document}static[g(159)](){return!this[g(223)]()}static canUseDOM(){const t=g;return this.isBrowser()&&void 0!==document[t(172)]}static[g(171)](t){return this[g(184)]()?document.getElementById(t):null}static[g(182)](t){const e=g;return this[e(184)]()?document[e(173)](t):null}static[g(205)](t){const e=g;return this[e(184)]()?Array[e(226)](document[e(189)](t)):[]}static[g(207)](t){const e=g;return this.canUseDOM()?document[e(188)](t):null}static safeAddEventListener(t,e,n,r){const s=g;this.canUseDOM()&&t&&t[s(186)](e,n,r)}static safeRemoveEventListener(t,e,n,r){const s=g;this[s(184)]()&&t&&t[s(200)](e,n,r)}static getWindowProperty(t,e){return this[g(223)]()?window[t]??e:e}static[g(201)](t,e){return this[g(184)]()?document[t]??e:e}static[g(170)](t,e,n){const r=g;return this.isBrowser()?window[r(202)](t,e,n):null}static[g(212)](t){const e=g;return this[e(223)]()&&t?window[e(191)](t):null}static[g(199)](){const t=g;return!!this[t(184)]()&&"loading"!==document[t(172)]}static[g(217)](){return new Promise(t=>{const e=f;this.canUseDOM()?this[e(199)]()?t():this[e(174)](document,"DOMContentLoaded",()=>t()):t()})}static[g(177)](t,e){const n=g;this[n(184)]()&&t&&Object[n(185)](e).forEach(([e,r])=>{const s=n;t[s(196)][s(220)](e,r)})}static[g(210)](t,e){const n=g;this[n(184)]()&&t&&t[n(195)][n(219)](e)}static[g(224)](t,e){const n=g;this[n(184)]()&&t&&t[n(195)].remove(e)}static safeSetTextContent(t,e){this.canUseDOM()&&t&&(t.textContent=e)}static[g(183)](t,e){const n=g;this.canUseDOM()&&t&&(t[n(193)]=e)}static[g(215)](t,e){const n=g;this[n(184)]()&&t&&e&&t[n(175)](e)}static safeRemoveChild(t,e){const n=g;this[n(184)]()&&t&&e&&t[n(165)](e)}static[g(203)](){const t=g;return{url:this[t(221)](t(180),{href:""}).href,title:this.getDocumentProperty("title",""),referrer:this[t(201)]("referrer","")}}static[g(222)](){const t=g;return{width:this.getWindowProperty(t(216),0),height:this[t(221)](t(161),0),pixelRatio:this.getWindowProperty("devicePixelRatio",1)}}static[g(157)](){const t=g;return{scrollTop:this.canUseDOM()?window[t(213)]||document[t(155)][t(164)]:0,scrollLeft:this[t(221)](t(158),0)}}static async[g(179)](t,e={}){const n=g,{timeout:r=3e3,retryInterval:s=100,debug:o=!1}=e;if(!this[n(184)]())throw new Error(n(160));const i=document[n(194)](t);return i?(o&&console[n(167)](n(190)+t),i):(o&&console[n(167)](n(168)+t+" (최대 "+r+n(169)),new Promise((e,i)=>{const a=n;let c=0;const d=Math[a(187)](r/s),l=()=>{const n=a;c++;const u=document[n(194)](t);if(u)return o&&console[n(167)](n(206)+t+" ("+c+"번째 시도, "+c*s+n(181)),void e(u);if(c>=d){const e=n(156)+t+n(204)+t+n(197)+r+n(176)+c+"번 시도)";return o&&console.error(e),void i(new Error(e))}o&&c%10==0&&console.log("⏳ 컨테이너 대기 중: "+t+" ("+c+"/"+d+")");const p=Math[n(162)](s*Math[n(209)](1.2,c),500);setTimeout(l,p)};setTimeout(l,s)}))}static async waitForElements(t,e={}){const n=g,r=t.map(t=>this[n(179)](t,e));return Promise[n(225)](r)}}function y(){const t=["3025320tQltLZ","277294WRUkwh","604930LtKeiG","14562WusYvC","136023yPUrjD","1980AkwApd",'"3.0.3"',"20GmoNuW"," AdStageSDK/","3lMemce","userAgent","AdStageSDK/","2308104LroXzC","414702bqvcFD","7hPbfBs","11kIpBgo"];return(y=function(){return t})()}const v=w;!function(){const t=w,e=y();for(;;)try{if(234010===parseInt(t(359))/1*(parseInt(t(367))/2)+-parseInt(t(370))/3*(-parseInt(t(373))/4)+-parseInt(t(368))/5+parseInt(t(363))/6*(parseInt(t(364))/7)+-parseInt(t(362))/8+-parseInt(t(369))/9*(parseInt(t(371))/10)+-parseInt(t(365))/11*(-parseInt(t(366))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const b=v(372);function w(t,e){const n=y();return(w=function(t,e){return n[t-=359]})(t,e)}function E(){return b}function k(t,e){const n=x();return(k=function(t,e){return n[t-=161]})(t,e)}function x(){const t=["18392OSZjef","getTimeout","2623626IeFKcw","45303QFjmAx","appVersion","8Tuvygr","getPlaceholderMode","1578660DqFowP","getConfig","26alutgy","1497167znOsmI","getApiKey","28pUefTr","config","getEnabledModules","1549164FntgSN","ads","timeout","8648uYfoeK","60lIKOeS","isDebugMode","440ecDwtF","modules","getAppVersion","5cMrgQK","debug","1.0.0","subtle","../core/adstage"];return(x=function(){return t})()}const S=k;!function(){const t=k,e=x();for(;;)try{if(169652===parseInt(t(181))/1*(-parseInt(t(175))/2)+-parseInt(t(166))/3*(parseInt(t(182))/4)+-parseInt(t(187))/5*(-parseInt(t(170))/6)+-parseInt(t(173))/7*(-parseInt(t(168))/8)+-parseInt(t(165))/9+-parseInt(t(184))/10*(-parseInt(t(163))/11)+parseInt(t(178))/12*(parseInt(t(172))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class A{static getConfig(){const t=k;try{const{AdStage:e}=require(t(162));return e[t(171)]()}catch{return null}}static[S(186)](){const t=S,e=A[t(171)]();return e?.[t(167)]||t(189)}static[S(183)](){const t=S,e=A[t(171)]();return e?.[t(188)]||!1}static[S(174)](){const t=A[S(171)]();return t?.apiKey}static[S(164)](){const t=S,e=A.getConfig();return e?.[t(180)]||3e4}static[S(169)](){const t=S,e=A[t(171)]();return e?.placeholderMode||t(161)}static[S(177)](){const t=S,e=A[t(171)]();return e?.[t(185)]||[t(179),"events",t(176)]}}const C=R;function T(){const t=["4tPJSir","now","web","round","random","5097032DDeXdP","isMobile","effectiveType","setItem","connection","resolvedOptions","platform","7fUeKCC","substr","width","getAppVersion","4294269dotWRh","adstage_session_id","135445sVZcLB","generateSessionId","adstage_device_id","safeGetElementById","5727534FutfYw","unknown","getViewportInfo","toLowerCase","getBoundingClientRect","ssr_device_","device_","191867LNkSOE","getItem","scrollTop","getSlotPosition","getScrollInfo","colorDepth","SSR","timeZone","isBrowser","pixelRatio","toString","test","session_","15623496qEYGeG","getPlatform","android","userAgent","language","UTC","6233396xYQqyn","collectDeviceInfo","height"];return(T=function(){return t})()}function R(t,e){const n=T();return(R=function(t,e){return n[t-=202]})(t,e)}!function(){const t=R,e=T();for(;;)try{if(880735===-parseInt(t(202))/1*(parseInt(t(224))/2)+parseInt(t(240))/3+-parseInt(t(221))/4+-parseInt(t(242))/5+-parseInt(t(246))/6*(parseInt(t(236))/7)+parseInt(t(229))/8+parseInt(t(215))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class D{static generateDeviceId(){const t=R;if(!I.isBrowser())return t(251)+Date[t(225)]();const e=localStorage[t(203)](t(244));if(e)return e;const n=t(252)+Math[t(228)]()[t(212)](36).substr(2,9)+"_"+Date[t(225)]();return localStorage[t(232)](t(244),n),n}static[C(243)](){const t=C;if(!I[t(210)]())return"ssr_session_"+Date[t(225)]();const e=sessionStorage[t(203)](t(241));if(e)return e;const n=t(214)+Math[t(228)]()[t(212)](36)[t(237)](2,9)+"_"+Date[t(225)]();return sessionStorage[t(232)](t(241),n),n}static[C(230)](){const t=C;return!!I.isBrowser()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(213)](navigator[t(218)])}static getPlatform(){const t=C;if(!I[t(210)]())return t(226);const e=navigator[t(218)][t(249)]();return/iphone|ipad|ipod/[t(213)](e)?"ios":/android/[t(213)](e)?t(217):D[t(230)]()?t(226):"desktop"}static[C(222)](){const t=C,e=I[t(248)]();return{deviceId:D.generateDeviceId(),sessionId:D.generateSessionId(),osVersion:I.isBrowser()?navigator.platform:"SSR",deviceModel:I[t(210)]()?navigator[t(235)]:t(208),appVersion:A[t(239)](),sdkVersion:E(),language:I[t(210)]()&&navigator[t(219)]||"ko",country:"KR",ipAddress:"",userAgent:I.isBrowser()?navigator[t(218)]:t(208),timezone:I[t(210)]()?Intl.DateTimeFormat()[t(234)]()[t(209)]:t(220),viewportWidth:e[t(238)],viewportHeight:e[t(223)],screenWidth:I.isBrowser()?screen.width:0,screenHeight:I.isBrowser()?screen[t(223)]:0,colorDepth:I[t(210)]()?screen[t(207)]:24,pixelRatio:e[t(211)],connectionType:I[t(210)]()&&navigator[t(233)]?.[t(231)]||t(247),platform:D[t(216)]()}}static[C(205)](t){const e=C,n=I[e(245)](t);if(!n)return e(247);const r=n[e(250)](),s=I[e(206)]();return"x:"+Math[e(227)](r.left)+",y:"+Math[e(227)](r.top+s[e(204)])}}const L=P;function P(t,e){const n=_();return(P=function(t,e){return n[t-=212]})(t,e)}function _(){const t=["14184XRIDCU","3235EmEUdA","application/json","456312CrPyOn","2061vWxOjd","createForEvents","User-Agent","undefined","20WlaFfz","10490986cSGZDC","API key is required","9ikkExo","userAgent","1494705iaoTss","4861514CkTVYi","211100TIFRtF","create","144tfPzhw"];return(_=function(){return t})()}!function(){const t=P,e=_();for(;;)try{if(853371===parseInt(t(219))/1*(parseInt(t(214))/2)+parseInt(t(228))/3+-parseInt(t(212))/4+-parseInt(t(216))/5*(-parseInt(t(215))/6)+parseInt(t(229))/7+-parseInt(t(218))/8*(parseInt(t(226))/9)+parseInt(t(223))/10*(-parseInt(t(224))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class B{static[L(213)](t,e){const n=L;if(!t)throw new Error(n(225));const r={"x-api-key":t,"Content-Type":e?.contentType||n(217)};return typeof navigator!==n(222)&&(r[n(221)]=e?.userAgent||navigator[n(227)]),r}static[L(220)](t,e){const n=L,r=B[n(213)](t);return e?.[n(227)]&&(r["User-Agent"]=e[n(227)]),r}}const z=V;function V(t,e){const n=U();return(V=function(t,e){return n[t-=409]})(t,e)}!function(){const t=V,e=U();for(;;)try{if(225691===-parseInt(t(444))/1*(-parseInt(t(437))/2)+-parseInt(t(427))/3+parseInt(t(436))/4*(parseInt(t(417))/5)+parseInt(t(434))/6+-parseInt(t(423))/7+-parseInt(t(426))/8*(-parseInt(t(429))/9)+-parseInt(t(450))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class M{constructor(t,e,n,r){const s=V;this[s(453)]=t,this[s(416)]=e,this[s(443)]=n,this[s(447)]=r}async trackAdvertisementEvent(t,e,n){const r=V;try{this.debug&&console[r(451)](r(428)+n+r(418)+t+r(441)+e);const s=this[r(447)].get(e),o=D[r(438)](),a={adType:s?.adType||r(432),platform:o.platform,deviceId:o[r(420)],deviceInfo:o,pageUrl:I.getPageInfo()[r(440)],pageTitle:I.getPageInfo()[r(421)],referrer:I[r(439)]()[r(445)],slotId:e,slotPosition:D.getSlotPosition(s?.[r(413)]||""),slotWidth:M[r(409)](s?.[r(435)]),slotHeight:M[r(409)](s?.[r(456)]),sessionId:o[r(412)],pageLoadTime:performance[r(414)](),metadata:{eventType:n,sdkVersion:E(),timestamp:Date[r(414)]()},...n===i[r(415)]&&{isViewable:!0,iabCompliant:!0}},c=this[r(453)]+"/advertisements/events/"+t+"/"+n,d=B[r(433)](this[r(416)],a);this[r(443)]&&(console.log(r(410)+n+" for ad "+t,{url:c,headers:d,eventData:a}),console[r(451)]("🌐 Full API call details:",{method:r(446),url:c,hasApiKey:!!this[r(416)],bodySize:JSON[r(424)](a)[r(449)]}));const l=await fetch(c,{method:"POST",headers:d,body:JSON[r(424)](a)});if(this[r(443)]&&console[r(451)](r(455)+l[r(430)]+" "+l[r(419)],{url:c,ok:l.ok}),!l.ok){const t=await l[r(448)]();throw new Error(r(422)+l[r(430)]+" "+l[r(419)]+" - "+t)}this[r(443)]&&console[r(451)]("✅ Successfully tracked advertisement event: "+n+r(425)+t)}catch(s){console[r(452)]("❌ Failed to track advertisement event:",s),console[r(452)](r(457),{baseUrl:this[r(453)],apiKey:this[r(416)]?this.apiKey.substring(0,8)+r(442):"NOT_SET",url:this.baseUrl+"/advertisements/events/"+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[z(409)](t){const e=z;if(typeof t===e(411))return t;if(typeof t===e(454)){const n=parseFloat(t[e(431)](/px$/,""));return isNaN(n)?0:n}return 0}}function U(){const t=["containerId","now","VIEWABLE","apiKey","5zTEVQv"," event for ad ","statusText","deviceId","title","API request failed: ","1111712sKxfVM","stringify"," for ad ","360nxEDWo","643566LDMpnI","🚀 AdvertisementEventTracker: Processing ","90126nzASjF","status","replace","BANNER","createForEvents","1578078XEurGO","width","1804812dhCZJM","159740bRfwiL","collectDeviceInfo","getPageInfo","url"," in slot ","...","debug","1XbZOYn","referrer","POST","slots","text","length","6456870HDmSpp","log","error","baseUrl","string","📡 API Response Status: ","height","🔍 Debug info:","parseNumericValue","🚀 Sending advertisement event: ","number","sessionId"];return(U=function(){return t})()}var N=O;function F(){var t=["isViewableTriggered","visibilityState","intersectionRatio","onViewableCallback","element","forEach","4422900UDwPms","IntersectionObserver","warn","visible","IntersectionObserver not supported, viewability tracking disabled","1342170LQUhJt","456076ETNRpw","observer","7504833VSsWZk","486886QXEkCa","380370fUsNnu","isDocumentVisible","12qZsjnG","destroy","initIntersectionObserver","handleIntersection","18103152XeRany"];return(F=function(){return t})()}function O(t,e){var n=F();return(O=function(t,e){return n[t-=295]})(t,e)}!function(){for(var t=O,e=F();;)try{if(565404===parseInt(t(312))/1+parseInt(t(309))/2+parseInt(t(313))/3*(parseInt(t(315))/4)+parseInt(t(303))/5+-parseInt(t(308))/6+parseInt(t(311))/7+-parseInt(t(296))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class j{constructor(t,e){var n=O;this[n(310)]=null,this[n(297)]=!1,this[n(301)]=t,this.onViewableCallback=e,this.initIntersectionObserver()}[N(317)](){var t=N;t(304)in window?(this.observer=new IntersectionObserver(e=>this[t(295)](e),{threshold:.5,rootMargin:"0px"}),this.observer.observe(this[t(301)])):console[t(305)](t(307))}[N(295)](t){var e=N;t[e(302)](t=>{var n=e;t[n(299)]>=.5&&this[n(314)]()&&!this[n(297)]&&(this[n(297)]=!0,this[n(300)]&&this[n(300)]())})}[N(314)](){var t=N;return!document.hidden&&document[t(298)]===t(306)}[N(316)](){var t=N;this[t(310)]&&(this[t(310)].disconnect(),this.observer=null)}}const H=Y;function K(){const t=["list","410SZzwVD","755wRJIVq","56061QKYMFY","getBaseUrl","https://api.adstage.io","/advertisements","https://beta-api.adstage.app","10673Hrwdkb","setBaseUrl","advertisements","2442213mdSLNs","98838ZxEJuQ","2200MHVzpr","/advertisements/list","events","custom","412423OZLTDN","23676RKPZda","track","4gjXpiB","detail","6971223EcEmFJ","/events/track","baseUrl","6YPuNId","production","27708JhHfmj"];return(K=function(){return t})()}!function(){const t=Y,e=K();for(;;)try{if(979467===parseInt(t(452))/1*(parseInt(t(465))/2)+parseInt(t(451))/3*(-parseInt(t(460))/4)+-parseInt(t(470))/5*(-parseInt(t(467))/6)+-parseInt(t(462))/7+parseInt(t(453))/8*(parseInt(t(471))/9)+-parseInt(t(469))/10*(parseInt(t(457))/11)+-parseInt(t(458))/12*(-parseInt(t(476))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const W={production:H(473),beta:H(475)};function Y(t,e){const n=K();return(Y=function(t,e){return n[t-=449]})(t,e)}const X={advertisements:{list:H(454),detail:H(474),events:"/advertisements/events"},events:{track:H(463)}};class q{constructor(t){const e=H;this[e(450)]={list:()=>""+this[e(464)]+X[e(450)][e(468)],detail:t=>""+this[e(464)]+X[e(450)][e(461)]+"/"+t,events:(t,n)=>""+this[e(464)]+X[e(450)][e(455)]+"/"+t+"/"+n},this.events={track:()=>""+this.baseUrl+X[e(455)][e(459)]},this[e(464)]=t||W[e(466)]}[H(449)](t){this.baseUrl=t}[H(472)](){return this[H(464)]}[H(456)](t){return""+this[H(464)]+(t.startsWith("/")?t:"/"+t)}}const J=new q;var Z=G;function Q(){var t=["log","296890onLpIv","1EuhSWS","VIEWABLE","36RYITSX","2474938EUDuDa","752780zKcebC",") in slot: ","8188477WYVwRt","trackSlideViewable","229525vRwCaj","_id"," (index: ","1506716tlPhlJ","6vLBSCo","148744cIwLgF","306WigLkO","🎯 Triggering initial VIEWABLE event: ad "];return(Q=function(){return t})()}function G(t,e){var n=Q();return(G=function(t,e){return n[t-=284]})(t,e)}!function(){for(var t=G,e=Q();;)try{if(811837===-parseInt(t(291))/1*(-parseInt(t(294))/2)+-parseInt(t(285))/3*(-parseInt(t(284))/4)+parseInt(t(299))/5*(parseInt(t(293))/6)+-parseInt(t(295))/7+-parseInt(t(286))/8*(parseInt(t(287))/9)+parseInt(t(290))/10+-parseInt(t(297))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ${static[Z(298)](t,e,n,r,s=!1){var o=Z;s&&console[o(289)]("🎯 Triggering VIEWABLE event for slide change: ad "+t._id+o(301)+n+o(296)+e.id),r(t[o(300)],e.id,i[o(292)])}static trackInitialSlideViewable(t,e,n,r=!1){var s=Z;r&&console[s(289)](s(288)+t[s(300)]+" (index: 0) in slot: "+e.id),n(t._id,e.id,i.VIEWABLE)}}function tt(){const t=[" ad clicked: ","400FsphTs","isClickable","8152060BbFAWU","2166QtdPnL","toLowerCase","8302zgGKEW","click","addClickEvent","3191850iAMMtN","CLICK"," -> ","preventDefault","style","adType","addEventListener","cursor","forEach","8248CrmTkl","log","16xuPzut","2434254SHoVwt","addClickEventsBatch","13121xnuBZM","open","linkUrl","stopPropagation","22738344FtDdpn","🔗 ","44fHgkwN","addClickEventForRenderer","11huCLOV","pointer","_id","_blank"];return(tt=function(){return t})()}const et=nt;function nt(t,e){const n=tt();return(nt=function(t,e){return n[t-=301]})(t,e)}!function(){const t=nt,e=tt();for(;;)try{if(415586===parseInt(t(310))/1*(-parseInt(t(316))/2)+parseInt(t(308))/3+parseInt(t(305))/4*(-parseInt(t(323))/5)+parseInt(t(326))/6*(parseInt(t(328))/7)+parseInt(t(307))/8*(parseInt(t(331))/9)+-parseInt(t(325))/10*(-parseInt(t(318))/11)+-parseInt(t(314))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class rt{static[et(330)](t,e,n,r,s=!1,o){const a=et;e[a(312)]&&(t[a(335)][a(303)]=a(319),t[a(302)](a(329),t=>{const c=a;if(t[c(334)](),t[c(313)](),r&&r(e._id,n.id,i[c(332)]),window[c(311)](e[c(312)],"_blank"),s){const t=o||String(n.adType)[c(327)]();console[c(306)](c(315)+t+" ad clicked: "+e._id+c(333)+e[c(312)])}}))}static[et(317)](t,e,n,r,s=!1,o){const a=et;e[a(312)]&&(t[a(335)][a(303)]=a(319),t.addEventListener("click",t=>{const c=a;t[c(334)](),t[c(313)]();if(r()(e[c(320)],n.id,i[c(332)]),window.open(e[c(312)],c(321)),s){const t=o||String(n[c(301)]).toLowerCase();console[c(306)]("🔗 "+t+c(322)+e[c(320)]+" -> "+e[c(312)])}}))}static addClickEventForSlider(t,e,n,r,s=!1,o){this.addClickEvent(t,e,n,r,s,o)}static[et(324)](t){return Boolean(t.linkUrl)}static[et(309)](t,e,n,r,s=!1,o){const i=et;t[i(304)]((t,a)=>{const c=i,d=e[a];d&&this[c(330)](t,d,n,r,s,o)})}}function st(t,e){const n=ot();return(st=function(t,e){return n[t-=163]})(t,e)}function ot(){const t=["videoUrl","cover","\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 ","3927528qWFkAW","height","cssText","150LwIius","click","0.9","createSliderContainer","addEventListener","contains","createSimpleAdElement","adstage-dots","adstage-slide-container","transform 0.4s ease-out","forEach","string","objectFit","normal","div","style","1px dashed #ccc","touchstart","26LoNnbt","\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 ","touches","background","#000","toLowerCase","fontSize","children","TEXT","6992612FTsFdX","button","Banner Ad","adstage-slider-wrapper","addTouchSupport","createMinimalDotIndicator","active","mouseenter","_id","auto","center","img","touchend","classList","setAttribute","transform","display","flex","className","createElement","preventDefault","14px","add","#f9f9f9","opacity","8px","backgroundColor","getBoundingClientRect","#999999","adstage-slide","length","transparent","hidden","src","textContent","#666666","6255IcTmRf","adType","width","appendChild","VIDEO","1776600DeRIhD","body","video","data-adstage-ad-id","padding","12CWzvHV","querySelectorAll","adstage-dot","Text Ad","none","includes","overflow","#cccccc","transition","color","borderColor","entries","white","clientX","changedTouches","removeChild","BANNER","abs","50px","border","24CirqGX","3tofyha","mouseleave","100px",".adstage-dot","relative","Video Ad","1px solid #666","whiteSpace","block","20663cPnnHo","inline-block","3161916afUVlJ","1202236DATwoa","100%","autoSlideInterval"];return(ot=function(){return t})()}const it=st;!function(){const t=st,e=ot();for(;;)try{if(401531===parseInt(t(255))/1*(-parseInt(t(170))/2)+parseInt(t(246))/3*(-parseInt(t(257))/4)+-parseInt(t(220))/5+parseInt(t(264))/6+parseInt(t(258))/7*(parseInt(t(245))/8)+-parseInt(t(215))/9*(-parseInt(t(267))/10)+-parseInt(t(179))/11*(-parseInt(t(225))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class at{static[it(273)](e,n){const r=it,s=document[r(198)](r(166));switch(s.className="adstage-ad adstage-"+String(e[r(216)])[r(175)](),s[r(193)](r(223),n[r(187)]),s[r(193)]("data-adstage-slot-id",e.id),s[r(167)][r(195)]=r(254),s[r(167)][r(217)]="100%",s[r(167)][r(265)]=r(188),e[r(216)]){case t[r(241)]:if(n.imageUrl){const t=document.createElement(r(190));t[r(212)]=n.imageUrl,t.style.width=r(259),t.style[r(265)]=r(188),t[r(167)][r(164)]=r(262),s[r(218)](t)}else s[r(167)][r(265)]=r(248),s[r(167)][r(205)]="#f0f0f0",s[r(167)][r(244)]=r(168),s[r(213)]=r(181);break;case t[r(219)]:if(n[r(261)]){const t=document[r(198)](r(222));t.src=n[r(261)],t.style.width=r(259),t[r(167)][r(265)]=r(188),s[r(218)](t)}else s[r(167)][r(265)]="200px",s[r(167)][r(205)]=r(174),s[r(167)][r(244)]=r(252),s.textContent=r(251),s[r(167)][r(234)]=r(237);break;case t[r(178)]:if(n[r(213)]){const t=document[r(198)](r(166));t[r(213)]=n[r(213)]||"",t[r(167)][r(224)]="8px",t.style[r(176)]=r(200),s[r(218)](t)}else s[r(167)][r(265)]=r(243),s[r(167)][r(224)]=r(204),s[r(213)]=r(228);break;default:s[r(167)][r(265)]=r(248),s[r(167)][r(244)]="1px dashed #ccc",s[r(167)][r(205)]=r(202),s[r(213)]=e[r(216)]+" Ad"}return s}static[it(270)](e,n,r,s,o=!1){const i=it,a=document.createElement(i(166));a[i(197)]=i(182);const c={position:i(250),overflow:i(211)};if(e[i(217)]&&0!==e.width){let t;t=typeof e.width===i(163)?e[i(217)][i(230)]("px")||e[i(217)][i(230)]("%")?e[i(217)]:e.width+"px":e[i(217)]+"px",c[i(217)]=t,c.display=i(256)}else c[i(195)]="inline-block";if(e[i(265)]&&0!==e[i(265)]){const t=typeof e[i(265)]===i(163)?e[i(265)]:e.height+"px";c[i(265)]=t}Object.entries(c).forEach(([t,e])=>{a[i(167)].setProperty(t,e)});const d=!e[i(217)]||0===e[i(217)],l=!e[i(265)]||0===e.height;if(d||l){const t=document[i(198)](i(166));if(t[i(167)][i(266)]="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!d&&e[i(217)]){let n;n="string"==typeof e[i(217)]&&(e[i(217)][i(230)]("px")||e[i(217)][i(230)]("%"))?e[i(217)]:e.width+"px",t[i(167)][i(217)]=n,t[i(167)][i(253)]=i(165)}document.body[i(218)](t);let r=0,s=0;n[i(277)](n=>{const o=i,a=this[o(273)](e,n);t[o(218)](a);const c=a[o(206)]();c[o(217)]>r&&(r=c[o(217)]),c.height>s&&(s=c[o(265)]),t[o(240)](a)}),d&&r>0&&(a[i(167)][i(217)]=r+"px",c[i(217)]=r+"px"),l&&s>0&&(a[i(167)][i(265)]=s+"px",c[i(265)]=s+"px"),document[i(221)][i(240)](t)}const u=[...n,n[0]],p=document[i(198)](i(166));p[i(197)]=i(275);const h={display:i(196),transition:i(276),width:100*u[i(209)]+"%"};e[i(265)]&&0!==e.height&&(h[i(265)]=i(259)),Object.entries(h)[i(277)](([t,e])=>{p[i(167)].setProperty(t,e)}),u[i(277)]((t,n)=>{const r=i,a=document[r(198)](r(166));a[r(197)]=r(208);const c={width:100/u[r(209)]+"%","flex-shrink":"0",display:r(196),"align-items":r(189),"justify-content":r(189)};e.height&&0!==e[r(265)]&&(c[r(265)]=r(259)),Object[r(236)](c).forEach(([t,e])=>{a[r(167)].setProperty(t,e)});const d=this[r(273)](e,t);rt.addClickEventForSlider(d,t,e,s,o,String(e[r(216)])[r(175)]()),a[r(218)](d),p[r(218)](a)});const f=n.every(e=>e.adType===t.TEXT)?null:this[i(184)](n.length);let g=0;const m=n.length,I=1e3*(r?.[i(260)]||3),y=(t,r=!1)=>{const a=i;g=t,p[a(167)][a(233)]=a(r?229:276),p[a(167)][a(194)]="translateX(-"+100/u[a(209)]*g+"%)";const c=g===m?0:g;if(f){f[a(226)](a(249))[a(277)]((t,e)=>{const n=a,r=t;e===c?(r[n(192)][n(201)]("active"),r.style[n(173)]=n(214),r[n(167)][n(235)]=n(214),r[n(167)].opacity="1"):(r.classList.remove(n(185)),r[n(167)][n(173)]=n(210),r.style[n(235)]=n(232),r[n(167)][n(203)]="0.7")})}$.trackSlideViewable(n[c],e,c,s,o)},v=()=>{g===m&&setTimeout(()=>{y(0,!0)},400)};if(f){f[i(226)](i(249))[i(277)]((t,e)=>{const n=i;t[n(271)](n(268),()=>y(e))})}let b=setInterval(()=>{y(g+1),v()},I);return a[i(271)](i(186),()=>{clearInterval(b)}),a[i(271)](i(247),()=>{b=setInterval(()=>{y(g+1),v()},I)}),this[i(183)](p,y,()=>g,m,v),a[i(218)](p),f&&a.appendChild(f),y(0),(!e[i(217)]||0===e[i(217)])&&setTimeout(()=>{const t=i,n=p.children[0];if(n){const r=n[t(177)][0];if(r){const n=r[t(206)]();a[t(167)][t(217)]=n[t(217)]+"px",(!e[t(265)]||0===e[t(265)])&&(a[t(167)][t(265)]=n.height+"px"),a.style[t(231)]=t(211)}}},10),a}static[it(184)](t){const e=it,n=document[e(198)](e(166));n[e(197)]=e(274),n.style[e(266)]=e(263);for(let r=0;r<t;r++){const t=document[e(198)](e(180));t.className=e(227),t[e(167)][e(266)]=e(171),t[e(271)]("mouseenter",()=>{const n=e;!t[n(192)].contains(n(185))&&(t[n(167)][n(235)]=n(207),t[n(167)][n(203)]=n(269))}),t[e(271)](e(247),()=>{const n=e;!t[n(192)][n(272)](n(185))&&(t[n(167)][n(235)]="#cccccc",t[n(167)][n(203)]="0.7")}),n[e(218)](t)}return n}static[it(183)](t,e,n,r,s){const o=it;let i=0,a=!1;t[o(271)](o(169),t=>{const e=o;i=t[e(172)][0][e(238)],a=!0}),t[o(271)]("touchmove",t=>{a&&t[o(199)]()}),t[o(271)](o(191),t=>{const c=o;if(!a)return;a=!1;const d=t[c(239)][0][c(238)],l=i-d;if(Math[c(242)](l)>50){const t=n();if(l>0){e(t+1),s&&s()}else{e(t>0?t-1:r-1)}}})}}function ct(){const t=["clear","log","delete","2391914nIoKDP","✅ New viewable recorded for ad ","5873520NErtsG","9YdDOAs","clearAdViewable","3279NVYqoQ","add","13941IMExXm","viewableTracker","1544EQIZwU","has"," in slot ","6504336BstIul","Duplicate viewable blocked for ad ","3336EaNtsr","12917430OnuYrT","227148njdzPj"];return(ct=function(){return t})()}const dt=ut;!function(){const t=ut,e=ct();for(;;)try{if(899158===parseInt(t(452))/1*(-parseInt(t(445))/2)+parseInt(t(434))/3*(parseInt(t(443))/4)+parseInt(t(451))/5+parseInt(t(441))/6+parseInt(t(449))/7+parseInt(t(438))/8*(-parseInt(t(436))/9)+-parseInt(t(444))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class lt{static isDuplicateViewable(t,e,n=!1){const r=ut,s=t+"_"+e;return lt[r(437)][r(439)](s)?(n&&console.log(r(442)+t+" in slot "+e),!0):(lt[r(437)][r(435)](s),n&&console[r(447)](r(450)+t+r(440)+e),!1)}static[dt(446)](){const t=dt;lt[t(437)][t(446)]()}static[dt(453)](t,e){const n=dt,r=t+"_"+e;lt.viewableTracker[n(448)](r)}}function ut(t,e){const n=ct();return(ut=function(t,e){return n[t-=434]})(t,e)}lt[dt(437)]=new Set;const pt=ht;function ht(t,e){const n=ft();return(ht=function(t,e){return n[t-=122]})(t,e)}function ft(){const t=["data-adstage-type","4px","justifyContent","style","rgba(0, 0, 0, 0.02)","auto","renderFallback","closest","1580018RKsLjF","data-adstage-slot",'[class*="banner"]',"calculateAdSize","createEmptyContainer","transparent","1257028FGJhIM","7BywaPf"," container collapsed (","setAttribute","adstage-slot adstage-","className"," for ","border"," event for ad ","#666","invisible","advertisementEventTracker","flex",'[class*="container"]',"⚠️ Created empty ","getAttribute","\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 ","borderRadius","1993696lcXCqe","6px"," in slot ","block","2px dashed #e74c3c","height","true","minimal","⚠️ AdvertisementEventTracker not available for ","287194bomBLf","px)","hasAttribute","monospace",'div[style*="height"]',"674540UsPgju","string","5NjDKth","unknown","div","78pnHxCa","#e74c3c","📊 Advertisement event tracked: ","🔄 Starting advertisement event tracking: ","applyPlaceholderStyle","data-adstage-container","❌ Failed to track ","toLowerCase"," ad...</span>","fontSize","rgba(248, 249, 250, 0.5)","VIEWABLE","fontFamily","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","adstage-slot","display","100%","getDefaultHeight","9PwTUwi","adstage-class","createPlaceholder","alignItems","📏 Using default height ","isEmpty","width","getComputedStyle","classList","getContainerHeight","getElementById","): ","filter","warn","✅ New viewable recorded for ad ","opacity","error","placeholderMode","rgba(231, 76, 60, 0.1)","color","querySelector","containerId","innerHTML","#f9f9f9","adstage-official","subtle","debug",".adstage-","<span>Loading ","11px",'div[style*="min-height"]',"📏 Using 100% height (container: ","1px dashed #ccc","1924578uOvIpg","none","number",'[class*="ad"]',"center","backgroundColor","9489HlNilt","adType","trackAdvertisementEvent","generic","log","minHeight"," container: ","data-adstage-empty"," for ad ","🚫 Duplicate viewable blocked for ad ",".adstage-slot",'[data-adstage-container="true"]',"appendChild"];return(ft=function(){return t})()}!function(){const t=ht,e=ft();for(;;)try{if(330359===parseInt(t(156))/1+parseInt(t(166))/2*(-parseInt(t(223))/3)+parseInt(t(129))/4*(parseInt(t(163))/5)+-parseInt(t(217))/6*(parseInt(t(130))/7)+-parseInt(t(147))/8*(-parseInt(t(184))/9)+parseInt(t(161))/10+-parseInt(t(123))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class gt{constructor(t,e=!1,n){const r=ht;this[r(224)]=t,this.debug=e,this[r(140)]=n||null}[pt(186)](t,e,n,r){const s=pt,o=document.createElement(s(165));o.id=e,o[s(134)]=s(133)+String(this[s(224)])[s(173)](),o[s(132)]("data-adstage-container",s(153)),o[s(132)](s(236),String(this.adType)),o[s(132)](s(124),e);const{width:i,height:a}=this[s(126)](t,n,r)||{width:s(182),height:this[s(183)]()};o.style[s(190)]=i,o.style[s(152)]=a;const c=r?.[s(201)]||n.placeholderMode||s(139);this[s(170)](o,c),t.appendChild(o),this.debug&&console[s(227)]("📦 Placeholder created for "+this[s(224)]+" slot: "+e+" ("+i+" x "+a+") - Mode: "+c)}[pt(170)](t,e){const n=pt;switch(e){case"invisible":t[n(239)][n(222)]=n(128),t[n(239)][n(136)]=n(218),t[n(239)][n(199)]="0",t.innerHTML="";break;case n(128):t[n(239)].backgroundColor=n(128),t[n(239)][n(136)]=n(218),t[n(239)][n(181)]=n(150),t.innerHTML="";break;case n(209):t[n(239)][n(222)]=n(240),t.style[n(136)]=n(218),t[n(239)][n(146)]=n(237),t[n(239)].display=n(141),t.style.alignItems=n(221),t[n(239)][n(238)]=n(221),t.innerHTML='<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>';break;case n(154):t[n(239)].backgroundColor=n(176),t[n(239)][n(136)]="1px solid rgba(0, 0, 0, 0.08)",t[n(239)][n(146)]=n(148),t[n(239)][n(181)]=n(141),t.style.alignItems="center",t.style[n(238)]="center",t[n(206)]='<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>';break;case n(210):t[n(239)].border=n(151),t[n(239)].display=n(141),t[n(239)][n(187)]="center",t[n(239)].justifyContent="center",t[n(239)].backgroundColor=n(202),t[n(239)][n(203)]=n(167),t.style[n(178)]=n(159),t[n(239)][n(175)]=n(213),t[n(206)]=n(212)+this.adType+n(174);break;default:t[n(239)][n(136)]=n(216),t[n(239)][n(181)]=n(141),t[n(239)][n(187)]="center",t[n(239)][n(238)]=n(221),t[n(239)][n(222)]=n(207),t[n(239)].color=n(138),t.innerHTML=n(212)+this[n(224)]+n(174)}}[pt(126)](t,e,n){const r=pt,s=e[r(190)],o=e[r(152)];let i,a;if(i=typeof s===r(219)?s+"px":typeof s===r(162)?s:"100%","number"==typeof o)a=o+"px";else if(typeof o===r(162)&&"100%"!==o&&o!==r(241))a=o;else{const e=this[r(193)](t);e>0?(a=r(182),(n?.[r(210)]||this[r(210)])&&console[r(227)](r(215)+e+r(157))):(a=this[r(183)](),(n?.[r(210)]||this[r(210)])&&console[r(227)](r(188)+a+r(135)+this.adType))}return{width:i,height:a}}[pt(193)](t){const e=pt,n=window[e(191)](t),r=parseFloat(n[e(152)]);if(!r||0===r){const r=parseFloat(n[e(228)]);if(r>0)return r;if(t[e(239)].height&&t[e(239)][e(152)]!==e(241)){const n=parseFloat(t[e(239)].height);if(n>0)return n}const s=t[e(144)](e(152));if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}createEventTrackingCallback(){return async(t,e,n)=>{const r=ht;if(n===i[r(177)]){if(lt.isDuplicateViewable(t,e,this[r(210)]))return void(this[r(210)]&&console[r(227)](r(232)+t+r(149)+e));this[r(210)]&&console[r(227)](r(198)+t+r(149)+e)}if(this.advertisementEventTracker)try{this.debug&&console[r(227)](r(169)+n+r(231)+t+r(149)+e),await this[r(140)][r(225)](t,e,n),this[r(210)]&&console.log(r(168)+n+r(231)+t+r(149)+e)}catch(e){this[r(210)]&&console[r(200)](r(172)+n+r(137)+t+":",e)}else this[r(210)]&&console.warn(r(155)+n+" event")}}[pt(242)](t){const e=pt,n=document.getElementById(t.id);if(n){const r=[...[n[e(204)](e(234)),n[e(122)](e(234)),n][e(196)](t=>t&&t.hasAttribute(e(171))),...[n[e(122)](e(233)),n[e(122)](e(211)+String(this[e(224)])[e(173)]()),n.closest(e(220)),n[e(122)](e(125)),n[e(122)](e(142)),n.closest(e(160)),n.closest(e(214)),n.parentElement].filter(Boolean)][0];if(r){let n=e(164);n=r[e(158)](e(171))?e(208):r[e(192)].contains(e(180))?e(185):e(226),r[e(239)].cssText+=e(179),r[e(206)]="",r.setAttribute(e(230),"true"),this[e(210)]&&console[e(197)]("⚠️ "+this[e(224)]+e(131)+n+e(195)+t.id,r)}else this[e(127)](t)}t.advertisement=void 0,t[e(189)]=!0}[pt(127)](t){const e=pt,n=document[e(194)](t[e(205)]);if(n){n[e(206)]="";const r=document.createElement("div");r.id=t.id,r[e(134)]="adstage-slot adstage-empty adstage-"+String(this[e(224)])[e(173)](),r[e(132)](e(171),e(153)),r.setAttribute(e(230),e(153)),r[e(132)](e(124),t.id),r[e(239)].cssText=e(145),n[e(235)](r),this[e(210)]&&console.warn(e(143)+this.adType+e(229)+t.id)}}[pt(227)](t,...e){this.debug&&console.log("["+this.adType+"] "+t,...e)}}function mt(){const t=["1068507LEPsyc","loadImageDimensions","8ymwMWE","_id","toString","average","naturalHeight","Image URL is not provided","📸 Banner image dimensions: ","dominant","cover","forEach","allSettled","alt","innerHTML","objectPosition","abs","4:3","📦 Banner container dimensions: ","BANNER","count","set","status","2eJQRyF","parentElement","ratio","objectFit","</div>","length","some","Banner container optimization failed, using default size:","filter","2605476oRPPNX","default","imageUrl","1:1","div","reduce","display"," (avg: ","Banner Advertisement","optimizedHeight","✅ Optimized banner image rendered for ad: ","40vziEku","8px","slideInterval","aspectRatio","src","❌ Failed to load optimized banner image:","get","onload","getBoundingClientRect","style","values","renderMultipleAds","Container not found: ","width","100%","config","warn","containerId","1134970dCbIvJ","calculateAdSize","common","height","optimizeContainerForBannerAds","debug","img","Banner Ad","calculateOptimalContainerSize","getDefaultHeight","log","getElementById","Banner","12UgdHSw","<div>","round","title","209403Dvhjrz","250px","renderOptimizedBannerImage","addClickEventForRenderer","center","className","map"," (strategy: ","1269513eGzSFL","🎨 Banner image style applied: objectFit=","applyOptimizedImageStyle","borderRadius","Failed to load image: ","toFixed","📐 Optimal banner container calculated: ",", ratio=","25780FKdPQK","appendChild","selectOptimalSizeStrategy","name","renderAdElement","adstage-ad adstage-banner-ad","createElement","calculateOptimalHeight","#f0f0f0","createEventTrackingCallback","1637274xYpJDj","onerror","backgroundColor"];return(mt=function(){return t})()}const It=yt;function yt(t,e){const n=mt();return(yt=function(t,e){return n[t-=261]})(t,e)}!function(){const t=yt,e=mt();for(;;)try{if(399951===parseInt(t(337))/1+parseInt(t(266))/2*(-parseInt(t(347))/3)+parseInt(t(275))/4+parseInt(t(304))/5*(parseInt(t(317))/6)+parseInt(t(329))/7*(-parseInt(t(352))/8)+-parseInt(t(321))/9*(-parseInt(t(286))/10)+-parseInt(t(350))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class vt extends gt{constructor(e=!1,n){super(t[yt(262)],e,n)}[It(313)](){return It(322)}async[It(341)](t,e){const n=It,r=document[n(315)](t[n(303)]);if(!r)return;const s=document.createElement(n(279));s[n(326)]=n(342);const o=t[n(284)],i=r[n(267)]||r;if(o)s[n(295)][n(299)]="100%",s[n(295)][n(307)]=String(o);else{const e=t[n(301)],r={width:e?.[n(299)],height:e?.[n(307)]},{width:o,height:a}=this[n(305)](i,r,{debug:this[n(309)]});s[n(295)][n(299)]=o,s[n(295)].height=a}e[n(277)]?await this[n(323)](s,e,t):s[n(364)]=n(318)+(e.title||n(311))+n(270),rt.addClickEventForRenderer(s,e,t,()=>this[n(346)](),this[n(309)],n(316)),r[n(364)]="",r[n(338)](s)}async[It(297)](t,e){const n=It,r=document[n(315)](t[n(303)]);if(!r)throw new Error(n(298)+t[n(303)]);await this[n(308)](t,e);const s=this[n(346)](),o={autoSlideInterval:(t.config?.[n(288)]||5e3)/1e3,...t[n(301)],optimizedHeight:t[n(284)],aspectRatio:t[n(289)]},i=at.createSliderContainer(t,e,o,s,this[n(309)]);i&&(r.innerHTML="",r[n(338)](i),this[n(309)]&&console[n(314)]("🎠 Banner carousel created for slot: "+t.id+" with "+e[n(271)]+" ads (optimized: "+(t[n(284)]||n(276))+")"))}async calculateOptimalContainerSize(t,e){const n=It;if(!t.length)return{width:n(300),height:this[n(313)](),aspectRatio:16/9};try{const r=(await Promise[n(362)](t[n(274)](t=>t[n(277)])[n(327)](t=>this.loadImageDimensions(t[n(277)]))))[n(274)](t=>"fulfilled"===t[n(265)]).map(t=>t.value);if(0===r[n(271)])return{width:n(300),height:this.getDefaultHeight(),aspectRatio:16/9};const s=this[n(339)](r),o=this[n(344)](r,e,s);return this[n(309)]&&console[n(314)](n(335)+e+"x"+o+n(328)+s+")"),{width:n(300),height:o+"px",aspectRatio:e/o}}catch(t){return console[n(302)]("Failed to calculate optimal banner size, using defaults:",t),{width:n(300),height:this[n(313)](),aspectRatio:16/9}}}async[It(308)](t,e){const n=It;try{const r=document[n(315)](t[n(303)]),s=document[n(315)](t.id);if(!r||!s)return;const o=r[n(294)]()[n(299)]||300,i=await this[n(312)](e,o);s[n(295)][n(307)]=i[n(307)],t[n(284)]=i[n(307)],t[n(289)]=i.aspectRatio,this[n(309)]&&console[n(314)]("🔧 Banner container optimized for "+e[n(271)]+" ads: "+i[n(307)])}catch(t){console[n(302)](n(273),t)}}[It(339)](t){const e=It,n=t[e(327)](t=>t[e(299)]/t[e(307)]),r=new Map;n[e(361)](t=>{const n=e,s=(Math[n(319)](10*t)/10)[n(354)]();r[n(264)](s,(r[n(292)](s)||0)+1)});const s=Math.max(...r[e(296)]()),o=t[e(271)];if(s/o>=.7)return e(359);const i=[16/9,4/3,1,1.5];return n[e(274)](t=>i[e(272)](e=>Math.abs(t-e)<.1)).length/o>=.5?"common":e(355)}[It(344)](t,e,n){const r=It,s=t[r(327)](t=>t[r(299)]/t.height);switch(n){case r(359):{const t=new Map;s[r(361)](e=>{const n=r,s=Math[n(319)](10*e)/10,o=s[n(354)](),i=t[n(292)](o);i?i.count++:t[n(264)](o,{ratio:s,count:1})});const n=Array.from(t.values())[r(280)]((t,e)=>e[r(263)]>t[r(263)]?e:t);return Math[r(319)](e/n.ratio)}case r(306):{const t=[{ratio:16/9,name:"16:9"},{ratio:4/3,name:r(367)},{ratio:1,name:r(278)},{ratio:1.5,name:"3:2"}],n=s[r(280)]((t,e)=>t+e,0)/s[r(271)],o=t[r(280)]((t,e)=>Math[r(366)](e.ratio-n)<Math[r(366)](t[r(268)]-n)?e:t);return this[r(309)]&&console[r(314)]("📊 Using standard ratio: "+o[r(340)]+r(282)+n[r(334)](2)+")"),Math.round(e/o[r(268)])}case r(355):default:{const t=s[r(280)]((t,e)=>t+e,0)/s.length;return Math[r(319)](e/t)}}}[It(351)](t){return new Promise((e,n)=>{const r=yt,s=new Image;s[r(293)]=()=>{const t=r;e({width:s.naturalWidth,height:s[t(356)]})},s[r(348)]=()=>{n(new Error(r(333)+t))},s.src=t})}[It(331)](t,e,n){const r=It,s=e/n;Math.abs(s-1)<.1?(t.style.objectFit="cover",t[r(295)][r(365)]=r(325)):s>1.3?(t[r(295)][r(269)]="contain",t[r(295)].objectPosition=r(325),t.style[r(349)]=r(345)):s<.7?(t[r(295)][r(269)]=r(360),t[r(295)].objectPosition=r(325)):(t[r(295)][r(269)]=r(360),t[r(295)][r(365)]=r(325)),this[r(309)]&&console[r(314)](r(330)+t[r(295)][r(269)]+r(336)+s[r(334)](2))}async[It(323)](t,e,n){const r=It,s=document[r(343)](r(310));s[r(295)][r(299)]=r(300),s[r(295)][r(307)]="100%",s[r(295)][r(281)]="block",s.style[r(332)]=r(287),s[r(363)]=e[r(320)]||r(283),t[r(364)]='<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>';try{if(!e[r(277)])throw new Error(r(357));const o=await this[r(351)](e[r(277)]),i=t[r(294)](),a=i[r(299)],c=i[r(307)];this[r(309)]&&(console.log(r(358)+o.width+"x"+o[r(307)]),console[r(314)](r(261)+a+"x"+c));const d=o.width/o[r(307)],l=a/c;return this[r(331)](s,d,l),s[r(290)]=e[r(277)],t[r(364)]="",t[r(338)](s),rt.addClickEventForRenderer(s,e,n,()=>this[r(346)](),this[r(309)],"Banner"),this.debug&&console[r(314)](r(285)+e[r(353)]),s}catch(o){return console.error(r(291),o),e.imageUrl&&(s[r(290)]=e[r(277)],s[r(295)][r(269)]=r(360),s[r(295)][r(365)]="center",t.innerHTML="",t[r(338)](s),rt[r(324)](s,e,n,()=>this[r(346)](),this[r(309)],r(316))),s}}}function bt(){const t=["1022pJsbbj","2312730BWJVRG","248997jBstmC","27112yJgyFX","1228132urEuAn","8640530YHjXwR","4462047VmYXQq","19733NcEExn","11hXgtkD","setTextAdContent","10qhsbdq","createTextAdStyles","30YYuVqb","\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 ","title","textContent"];return(bt=function(){return t})()}function wt(t,e){const n=bt();return(wt=function(t,e){return n[t-=160]})(t,e)}const Et=wt;!function(){const t=wt,e=bt();for(;;)try{if(515451===-parseInt(t(164))/1*(-parseInt(t(169))/2)+parseInt(t(175))/3+-parseInt(t(161))/4*(-parseInt(t(167))/5)+parseInt(t(174))/6+parseInt(t(173))/7*(-parseInt(t(160))/8)+parseInt(t(163))/9+parseInt(t(162))/10*(-parseInt(t(165))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class kt{static[Et(168)](t=!1){return Et(170)}static[Et(166)](t,e){const n=Et,r=e[n(172)]||e[n(171)]||"";t.textContent=r}}function xt(){const t=["string","position","zIndex","forEach","translateY(20px)","style","adType","relative","minHeight","Text","push","setAttribute","adstage-fade-slider-wrapper","mouseenter","createTextAdStyles",";\n ","addEventListener","createSimpleAdElement","adstage-ad adstage-","trackSlideViewable","whiteSpace","16kzVfSn","auto","abs","autoSlideInterval","clientX","removeChild","adstage-fade-slide","height","width","className","\n position: ","4088106fPXzfR","touches","height: auto; min-height: fit-content;","2720320WYXbbv","touchend","opacity","changedTouches","\n ",";\n transform: translateY(","setProperty","preventDefault","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","cssText","clientY","createElement","touchstart","addTouchSupport","translateY(0)",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","div","addClickEventForSlider","data-adstage-ad-id","createTextTransitionContainer","2EmwwrM","includes","left","getBoundingClientRect","normal","touchmove","length","3867820WdUiCg","fit-content","hidden","164127DxLPXu",";\n left: ","absolute","transform","15840880rIXxyU","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","_id","appendChild","top","133211zWYtvr","5147513LlAJZZ","6PakjqC"];return(xt=function(){return t})()}const St=At;function At(t,e){const n=xt();return(At=function(t,e){return n[t-=486]})(t,e)}!function(){const t=At,e=xt();for(;;)try{if(517392===-parseInt(t(557))/1*(parseInt(t(538))/2)+parseInt(t(548))/3*(-parseInt(t(504))/4)+-parseInt(t(545))/5+-parseInt(t(559))/6*(parseInt(t(558))/7)+parseInt(t(518))/8+parseInt(t(515))/9+parseInt(t(552))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ct{static[St(500)](t,e){const n=St,r=document[n(529)](n(534));return r[n(513)]=n(501)+String(t[n(489)]).toLowerCase(),r[n(494)](n(536),e[n(554)]),r.setAttribute("data-adstage-slot-id",t.id),r[n(488)][n(527)]=kt[n(497)](!0),kt.setTextAdContent(r,e),r}static[St(537)](t,e,n,r,s=!1){const o=St,i=t[o(511)]&&0!==t.height&&t[o(511)]!==o(505),a=document[o(529)]("div");a[o(513)]=o(495);const c={position:"relative",overflow:o(547),display:"block"};if(!i&&(c[o(511)]=o(505),c[o(491)]=o(546)),t[o(512)]&&0!==t[o(512)]){let e;e="string"==typeof t.width?t[o(512)][o(539)]("px")||t[o(512)][o(539)]("%")?t[o(512)]:t.width+"px":t[o(512)]+"px",c[o(512)]=e}if(t.height&&0!==t[o(511)]&&"auto"!==t[o(511)]&&i){let e;e=typeof t[o(511)]===o(560)?t[o(511)][o(539)]("px")||t[o(511)].includes("%")?t.height:t[o(511)]+"px":t.height+"px",c[o(511)]=e}Object.entries(c).forEach(([t,e])=>{const n=o;a[n(488)][n(524)](t,e)});const d=document[o(529)]("div");d[o(513)]="adstage-fade-slide-container",d.style[o(527)]="\n position: relative;\n width: 100%;\n "+(i?"height: 100%;":o(517))+o(522);let l=null;const u=!t[o(512)]||0===t.width,p=!t[o(511)]||0===t[o(511)]||void 0===t[o(511)]||t[o(511)]===o(505);if(u||p&&i){if(l=document[o(529)](o(534)),l[o(488)][o(527)]=o(526),!u&&t.width){let e;e=typeof t.width===o(560)?t[o(512)].includes("px")||t[o(512)].includes("%")?t[o(512)]:t.width+"px":t[o(512)]+"px",l[o(488)][o(512)]=e,l[o(488)][o(503)]=o(542)}document.body[o(555)](l);let n=0,r=0;e[o(486)](e=>{const s=o,i=this[s(500)](t,e);l[s(555)](i);const a=i[s(541)]();a[s(512)]>n&&(n=a[s(512)]),a.height>r&&(r=a[s(511)]),l[s(509)](i)}),u&&n>0&&(a[o(488)].width=n+"px"),p&&r>0&&i&&(a[o(488)][o(511)]=r+"px"),document.body[o(509)](l)}const h=[];e.forEach((e,n)=>{const a=o,c=document.createElement("div");c[a(513)]=a(510);const l=0===n,u=i?a(550):l?a(490):"absolute";c.style[a(527)]=a(514)+u+";\n top: "+(u===a(550)?"0":"auto")+a(549)+(u===a(550)?"0":a(505))+";\n width: 100%;\n "+(i?"height: 100%;":"height: auto;")+a(553)+(0===n?"1":"0")+a(523)+(0===n?"0":"20px")+a(533)+(0===n?"2":"1")+a(498);const p=this[a(500)](t,e);rt[a(535)](p,e,t,r,s,a(492)),c[a(555)](p),d.appendChild(c),h[a(493)](c)});let f=0;const g=e[o(544)],m=1e3*(n?.[o(507)]||4),I=n=>{const a=o;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!i&&("relative"===c[a(488)][a(561)]&&(c.style[a(561)]=a(550),c.style[a(556)]="0",c[a(488)].left="0"),d[a(488)][a(561)]=a(490),d.style.top=a(505),d[a(488)][a(540)]="auto"),c[a(488)][a(520)]="0",c[a(488)].transform="translateY(-20px)",c[a(488)].zIndex="1",d[a(488)].opacity="1",d[a(488)][a(551)]=a(532),d[a(488)][a(562)]="2",h[a(486)]((t,e)=>{const r=a;e!==n&&e!==f&&(t[r(488)].opacity="0",t.style[r(551)]=r(487),t[r(488)][r(562)]="1",!i&&t[r(488)][r(561)]===r(490)&&(t[r(488)].position=r(550),t[r(488)][r(556)]="0",t[r(488)][r(540)]="0"))}),f=n,$[a(502)](e[f],t,f,r,s)};let y=setInterval(()=>{I(f+1)},m);return a.addEventListener(o(496),()=>{clearInterval(y)}),a[o(499)]("mouseleave",()=>{y=setInterval(()=>{I(f+1)},m)}),Ct[o(531)](a,I,()=>f,g),a[o(555)](d),a}static addTouchSupport(t,e,n,r){const s=St;let o=0,i=0,a=!1;t[s(499)](s(530),t=>{const e=s;o=t[e(516)][0][e(508)],i=t.touches[0][e(528)],a=!0}),t[s(499)](s(543),t=>{a&&t[s(525)]()}),t.addEventListener(s(519),t=>{const r=s;if(!a)return;a=!1;const c=t[r(521)][0][r(508)],d=t[r(521)][0].clientY,l=o-c,u=i-d;if(Math[r(506)](l)>Math[r(506)](u)&&Math[r(506)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}const Tt=Rt;function Rt(t,e){const n=Dt();return(Rt=function(t,e){return n[t-=500]})(t,e)}function Dt(){const t=["containerId","100%","1456bYjmVa","display","webkitLineClamp","length","Text","parentElement","div","optimizedHeight","webkitBoxOrient","517930FfmjdG","setTextAdContent","className","overflow"," with ","Container not found: ","log","slideInterval","maxLines","createTextAdStyles","addClickEventForRenderer","height","width","style"," ads","15297843VIwTmh","number","4365536WRmlug","1951465EPNXzu","appendChild","_id","createElement","963vUZhZd","debug","createEventTrackingCallback","getElementById","aspectRatio","TEXT","65176sqcTjN","6513mPlzVZ","vertical","innerHTML","adstage-ad adstage-text-ad","adstage-text-content","60px","150196KHWefA","-webkit-box","✨ Text transition created for slot: ","config","cssText","13KNlvot","hidden","12cHYfPt","getDefaultHeight"];return(Dt=function(){return t})()}!function(){const t=Rt,e=Dt();for(;;)try{if(601069===-parseInt(t(500))/1*(parseInt(t(550))/2)+parseInt(t(544))/3*(-parseInt(t(506))/4)+parseInt(t(533))/5*(parseInt(t(502))/6)+-parseInt(t(532))/7+parseInt(t(543))/8*(parseInt(t(537))/9)+-parseInt(t(515))/10+parseInt(t(530))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Lt extends gt{constructor(e=!1,n){super(t[Rt(542)],e,n)}[Tt(503)](){return Tt(549)}async renderAdElement(t,e){const n=Tt,r=document[n(540)](t.containerId);if(!r)return;const s=document[n(536)](n(512));s.className=n(547);const o=t.optimizedHeight,i=r[n(511)]||r;if(o)s.style[n(527)]=n(505),s[n(528)].height=String(o);else{const e=t[n(553)],r={width:e?.[n(527)],height:e?.[n(526)]},{width:o,height:a}=this.calculateAdSize(i,r,{debug:this[n(538)]});s[n(528)][n(527)]=o,s[n(528)][n(526)]=a}const a=document[n(536)](n(512));a[n(517)]=n(548),a[n(528)][n(554)]=kt[n(524)](!1),kt[n(516)](a,e);const c=t.config?.[n(523)];c&&typeof c===n(531)&&(a[n(528)][n(507)]=n(551),a[n(528)][n(508)]=String(c),a.style[n(514)]=n(545),a[n(528)][n(518)]=n(501)),s.appendChild(a),rt[n(525)](s,e,t,()=>this.createEventTrackingCallback(),this[n(538)],n(510)),r[n(546)]="",r.appendChild(s),this[n(538)]&&console[n(521)]("✨ Single text ad rendered: "+e[n(535)])}async renderMultipleAds(t,e){const n=Tt,r=document.getElementById(t[n(504)]);if(!r)throw new Error(n(520)+t[n(504)]);const s=this[n(539)](),o={autoSlideInterval:(t[n(553)]?.[n(522)]||5e3)/1e3,...t[n(553)],optimizedHeight:t[n(513)],aspectRatio:t[n(541)]},i=Ct.createTextTransitionContainer(t,e,o,s,this.debug);i&&(r[n(546)]="",r[n(534)](i),this[n(538)]&&console[n(521)](n(552)+t.id+n(519)+e[n(509)]+n(529)))}}const Pt=_t;function _t(t,e){const n=zt();return(_t=function(t,e){return n[t-=165]})(t,e)}!function(){const t=_t,e=zt();for(;;)try{if(429530===parseInt(t(202))/1*(parseInt(t(249))/2)+-parseInt(t(252))/3+parseInt(t(269))/4*(-parseInt(t(185))/5)+-parseInt(t(182))/6+parseInt(t(246))/7+-parseInt(t(201))/8+parseInt(t(236))/9*(parseInt(t(278))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Bt extends gt{constructor(e=!1,n){super(t[_t(233)],e,n)}getDefaultHeight(){return _t(259)}async[Pt(238)](t,e){const n=Pt,r=document.getElementById(t.containerId);if(!r)return;const s=document.createElement(n(230));s[n(194)]=n(277),s[n(171)][n(267)]=n(243),this[n(225)](s,e,t),r[n(245)]="",r[n(256)](s),this.debug&&console[n(209)](n(275)+e[n(220)])}async renderMultipleAds(t,e){const n=Pt,r=document[n(213)](t[n(205)]);if(!r)throw new Error(n(212)+t[n(205)]);if(e[n(262)]>0){const s=e[0],o=document[n(261)]("div");o[n(194)]=n(277),o[n(171)][n(267)]=n(166),this[n(225)](o,s,t),r[n(245)]="",r.appendChild(o);const a=this[n(272)]();setTimeout(()=>{const e=n;a(s[e(220)],t.id,i[e(234)])},100),this[n(215)]&&console[n(209)](n(271)+t.id+" ("+s._id+")")}else this.debug&&console[n(229)](n(279)+t.id)}[Pt(225)](t,e,n){const r=Pt;t[r(171)][r(181)]=r(226);const s=document[r(261)](r(211));s[r(171)][r(204)]=r(254),s.style[r(192)]="100%",s.style.objectFit="contain",s.preload=r(169);const o=n[r(217)];if(this.debug&&console.log(r(183),o),s[r(264)]=!1,s.autoplay=!1!==o?.[r(203)],s[r(282)]=!0,s.loop=!1!==o?.[r(270)],this.debug&&console[r(209)](r(208),{autoplay:s.autoplay,muted:s[r(282)],loop:s[r(270)],controls:s[r(264)]}),!1!==o?.[r(168)]&&s[r(207)](r(168),""),!0===o?.[r(264)]&&(s[r(264)]=!0,this[r(215)]&&console.log("🎬 User explicitly enabled controls, overriding default")),o?.[r(196)])s[r(264)]=!1,s[r(171)][r(267)]+=r(170);else if(o?.[r(210)]){if(s[r(264)]){const t=document[r(261)](r(171));t[r(255)]=r(231)+(o[r(210)][r(250)]?r(251):r(175))+r(227)+(o[r(210)][r(216)]?r(251):r(175))+r(222)+(o[r(210)][r(244)]?r(251):r(175))+" !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: "+(o.customControls[r(280)]?r(251):"block")+r(253)+(o[r(210)][r(266)]?r(251):r(175))+" !important;\n }\n video::-webkit-media-controls-mute-button {\n display: "+(o[r(210)][r(218)]?r(251):r(175))+r(242)+(o[r(210)][r(179)]?r(251):r(175))+r(237),document[r(235)].appendChild(t)}}else if(s[r(264)]){const t=document[r(261)](r(171));t.id=r(177),t[r(255)]=r(258),!document[r(213)](r(177))&&document[r(235)][r(256)](t)}this[r(215)]&&console[r(209)](r(273),s.controls?r(281):"disabled (default)");const i=document[r(261)](r(198));i[r(194)]="adstage-video-mute-button",i[r(171)].cssText=r(199),o?.hideControls&&(i.style.display=r(251));const a=()=>{const t=r,e=t(172),n=t(240);i.innerHTML=s[t(282)]?e:n,i[t(239)]=s[t(282)]?"Click to unmute":t(283)};if(a(),i[r(274)](r(180),t=>{const e=r;t.stopPropagation(),s[e(282)]=!s.muted,a(),this[e(215)]&&console[e(209)](e(263)+(s[e(282)]?e(282):e(265)))}),i.addEventListener(r(190),()=>{const t=r;i.style[t(276)]=t(193),i[t(171)][t(189)]=t(176)}),i[r(274)](r(221),()=>{const t=r;i[t(171)][t(276)]=t(167),i[t(171)].transform=t(232)}),e[r(165)]){s[r(184)]=e[r(165)];const t=()=>{const t=r;s[t(203)]&&s[t(282)]&&s[t(247)]&&s[t(178)]()[t(224)](e=>{const n=t;this[n(215)]&&(console[n(229)](n(195),e),console[n(229)](n(248))),s.muted=!0,s[n(178)]()[n(224)](t=>{const e=n;this[e(215)]&&console[e(260)](e(214),t)})})};s[r(274)](r(219),()=>{this[r(215)]&&console.log("🎬 Video metadata loaded, attempting autoplay..."),t()}),s[r(274)](r(173),()=>{const e=r;this[e(215)]&&console[e(209)](e(187)),t()}),s[r(274)]("loadeddata",()=>{const e=r;this[e(215)]&&console.log(e(241)),t()}),setTimeout(()=>{const e=r;this[e(215)]&&console[e(209)](e(188)),t()},100)}else if(e[r(223)]){const n=document[r(261)](r(197));return n[r(184)]=e[r(223)],n.style.width=r(254),n[r(171)][r(192)]="100%",n[r(171)][r(206)]=r(200),n[r(191)]=e[r(239)]||"Video thumbnail",void t[r(256)](n)}rt[r(228)](s,e,n,()=>this[r(272)](),this[r(215)],r(186)),s[r(274)](r(260),s=>{const o=r;if(console.error("Video load failed:",s),e.imageUrl){const r=document[o(261)](o(197));r.src=e.imageUrl,r[o(171)][o(204)]=o(254),r.style.height=o(254),r.style[o(206)]="contain",r[o(191)]=e[o(239)]||o(174),rt[o(228)](r,e,n,()=>this[o(272)](),this[o(215)],"Video fallback"),t.innerHTML="",t[o(256)](r)}}),t[r(256)](s),t.appendChild(i),this[r(215)]&&console[r(209)]("🎬 Video element created for ad: "+e[r(220)]+" (autoplay: "+s.autoplay+r(257)+s[r(282)]+r(268)+s[r(270)]+")")}}function zt(){const t=["873318JZKOqA","🎬 Video config received:","src","20JFcguZ","Video","🎬 Video can play, attempting autoplay...","🎬 Initial autoplay attempt after timeout...","transform","mouseenter","alt","height","rgba(0, 0, 0, 0.9)","className","🎬 Auto-play was prevented:","hideControls","img","button","\n position: absolute;\n top: 12px;\n left: 12px;\n width: 40px;\n height: 40px;\n border: none;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.7);\n color: white;\n font-size: 16px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10;\n transition: all 0.3s ease;\n backdrop-filter: blur(4px);\n ","contain","1369584IaXYpG","158OXtSBh","autoplay","width","containerId","objectFit","setAttribute","🎬 Final video settings:","log","customControls","video","Container not found: ","getElementById","🎬 Autoplay completely failed:","debug","hideProgressBar","config","hideMuteButton","loadedmetadata","_id","mouseleave"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","imageUrl","catch","renderVideoElementDirect","relative"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","addClickEventForRenderer","warn","div","\n video::-webkit-media-controls-play-button {\n display: ","scale(1)","VIDEO","VIEWABLE","head","333vlJIxF"," !important;\n }\n ","renderAdElement","title",'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/>\n </svg>\n ',"🎬 Video data loaded, attempting autoplay..."," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","\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 ","hideCurrentTime","innerHTML","1321313JHiZrF","paused","🎬 Trying muted autoplay fallback...","1634RFboTi","hidePlayButton","none","240159qrgYEM"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","100%","textContent","appendChild",", muted: ","\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 ","360px","error","createElement","length","🔊 Video mute toggled: ","controls","unmuted","hideVolumeSlider","cssText",", loop: ","426168PgxBis","loop","🎬 Single video rendered for VIDEO slot: ","createEventTrackingCallback","🎬 Video controls setting:","addEventListener","🎬 Single video ad rendered: ","background","adstage-video-container","252610gTrVKh","⚠️ No video advertisements available for slot: ","hideRemainingTime","enabled","muted","Click to mute","videoUrl","\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 ","rgba(0, 0, 0, 0.7)","playsinline","metadata","\n pointer-events: none;\n ","style",'\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 ',"canplay","Video thumbnail","block","scale(1.1)","adstage-video-default-controls","play","hideFullscreenButton","click","position"];return(zt=function(){return t})()}const Vt=Mt;function Mt(t,e){const n=Nt();return(Mt=function(t,e){return n[t-=197]})(t,e)}!function(){const t=Mt,e=Nt();for(;;)try{if(178894===-parseInt(t(223))/1+parseInt(t(215))/2*(-parseInt(t(198))/3)+parseInt(t(211))/4*(-parseInt(t(238))/5)+-parseInt(t(225))/6+-parseInt(t(200))/7*(-parseInt(t(197))/8)+parseInt(t(239))/9*(parseInt(t(206))/10)+parseInt(t(226))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ut extends gt{constructor(e=!1,n){super(t[Mt(214)],e,n)}[Vt(243)](){return Vt(218)}async[Vt(244)](t,e){const n=Vt,r=document[n(241)](t.containerId);if(!r)return;const s=document.createElement("div");if(s[n(208)]=n(210),s[n(228)].cssText="\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n padding: 16px;\n background: #fff;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n ",e[n(230)]){const t=document[n(235)]("h3");t[n(205)]=e[n(230)],t.style[n(232)]=n(209),s[n(236)](t)}if(e.textContent){const t=document[n(235)]("p");t[n(205)]=e[n(205)],t[n(228)][n(232)]=n(202),s[n(236)](t)}if(e[n(219)]){const t=document[n(235)]("div");t[n(228)][n(232)]="\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ";const r=document[n(235)](n(242));r[n(201)]=e.imageUrl,r.alt=e[n(230)]||"Native Advertisement",r.style.cssText=n(217),t[n(236)](r),s.appendChild(t)}if(e.linkUrl){const t=document.createElement(n(227));t.textContent="Learn More",t[n(228)][n(232)]=n(229),t[n(207)](n(216),()=>{const t=n;this.advertisementEventTracker&&console[t(224)](t(231)+e._id),window.open(e.linkUrl,t(213))}),t[n(207)](n(245),()=>{const e=n;t.style[e(222)]=e(220)}),t.addEventListener(n(204),()=>{const e=n;t[e(228)][e(222)]="#3b82f6"}),s[n(236)](t)}r[n(233)]="",r[n(236)](s),this[n(240)]&&console[n(224)]("🏠 Single native ad rendered: "+e[n(237)])}async[Vt(234)](t,e){const n=Vt;e[n(199)]>0?(await this.renderAdElement(t,e[0]),this[n(240)]&&console[n(224)](n(203)+e.length+n(221)+t.id)):this[n(240)]&&console[n(212)]("⚠️ No native advertisements available for slot: "+t.id)}}function Nt(){const t=["796434LUCmID","6252103hdYtOf","button","style","\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 ","title","Native click tracked for ad: ","cssText","innerHTML","renderMultipleAds","createElement","appendChild","_id","160CsOQWF","35685vhVTcp","debug","getElementById","img","getDefaultHeight","renderAdElement","mouseenter","9624MThgaA","710013cIOVZy","length","2051VIZBBC","src","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","🏠 Native ad rendered (first of ","mouseleave","textContent","430aqcPgL","addEventListener","className","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","adstage-ad adstage-native-ad","28624EfUXxV","warn","_blank","NATIVE","2zKIgAa","click","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","200px","imageUrl","#2563eb","): ","backgroundColor","314051jTHUsl","log"];return(Nt=function(){return t})()}function Ft(){const t=["43exPayw","div","target","getElementById","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","#6b7280","#3b82f6","head","backgroundColor","221379GdtQVl","appendChild","adstage-interstitial-overlay","img","keydown","\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 ","14945axYfiU","\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 ","Interstitial click tracked for ad: ","fadeOut 0.3s ease-out forwards","innerHTML","textContent","renderMultipleAds","style","open","containerId","69370eyPmEL","removeChild","1116HqqLrD","#e5e7eb","cssText","400px","mouseleave","958452rheVNI","getDefaultHeight","66gOyCDV","color","renderAdElement","🖼️ Interstitial ad rendered (first of ","imageUrl","162ZDCThY","Escape","body","linkUrl","debug","adstage-interstitial-content","parentNode","title","addEventListener","className","createElement","log","button","Interstitial Advertisement","419048yzcIIH","animation","29396EStCDa","alt","adstage-interstitial-styles","removeEventListener","🖼️ Interstitial ad closed","): ","_id","\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 ","advertisementEventTracker","🖼️ Interstitial ad rendered: ","warn","4TQrCzg","closeInterstitial","click","643965cSyFij"];return(Ft=function(){return t})()}const Ot=jt;function jt(t,e){const n=Ft();return(jt=function(t,e){return n[t-=189]})(t,e)}!function(){const t=jt,e=Ft();for(;;)try{if(359837===-parseInt(t(231))/1*(-parseInt(t(216))/2)+-parseInt(t(240))/3*(-parseInt(t(227))/4)+parseInt(t(246))/5*(-parseInt(t(258))/6)+-parseInt(t(230))/7+-parseInt(t(214))/8+-parseInt(t(200))/9*(parseInt(t(256))/10)+parseInt(t(195))/11*(parseInt(t(193))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ht extends gt{constructor(e=!1,n){super(t.INTERSTITIAL,e,n)}[Ot(194)](){return Ot(191)}async[Ot(197)](t,e){const n=Ot;if(!document.getElementById(t[n(255)]))return;const r=document[n(210)]("div");r[n(209)]=n(242),r[n(253)].cssText="\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10000;\n animation: fadeIn 0.3s ease-out;\n ";const s=document[n(210)](n(232));s.className=n(205),s[n(253)][n(190)]=n(223);const o=document[n(210)](n(212));if(o[n(250)]="×",o[n(253)][n(190)]=n(245),o[n(208)](n(229),()=>{this.closeInterstitial(r)}),o[n(208)]("mouseenter",()=>{const t=n;o[t(253)][t(239)]=t(189),o.style[t(196)]="#374151"}),o[n(208)](n(192),()=>{const t=n;o.style[t(239)]="#f3f4f6",o.style[t(196)]=t(236)}),e[n(199)]){const t=document.createElement(n(243));t.src=e[n(199)],t[n(217)]=e[n(207)]||n(213),t[n(253)].cssText="\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ",s[n(241)](t)}if(e[n(207)]){const t=document[n(210)]("h2");t[n(251)]=e.title,t[n(253)].cssText=n(235),s.appendChild(t)}if(e[n(251)]){const t=document[n(210)]("p");t.textContent=e.textContent,t[n(253)].cssText="\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ",s.appendChild(t)}if(e[n(203)]){const t=document[n(210)](n(212));t[n(251)]="Get Started",t[n(253)][n(190)]="\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 ",t.addEventListener("click",()=>{const t=n;this[t(224)]&&console[t(211)](t(248)+e[t(222)]),window[t(254)](e.linkUrl,"_blank"),this.closeInterstitial(r)}),t[n(208)]("mouseenter",()=>{const e=n;t.style[e(239)]="#2563eb"}),t[n(208)](n(192),()=>{const e=n;t.style[e(239)]=e(237)}),s[n(241)](t)}const i=t=>{const e=n;t.key===e(201)&&(this[e(228)](r),document[e(219)](e(244),i))};if(document[n(208)](n(244),i),r[n(208)](n(229),t=>{const e=n;t[e(233)]===r&&this[e(228)](r)}),!document[n(234)](n(218))){const t=document[n(210)]("style");t.id=n(218),t.textContent=n(247),document[n(238)].appendChild(t)}s[n(241)](o),r[n(241)](s),document[n(202)].appendChild(r),this[n(204)]&&console.log(n(225)+e[n(222)])}async[Ot(252)](t,e){const n=Ot;e.length>0?(await this.renderAdElement(t,e[0]),this[n(204)]&&console[n(211)](n(198)+e.length+n(221)+t.id)):this.debug&&console[n(226)]("⚠️ No interstitial advertisements available for slot: "+t.id)}closeInterstitial(t){const e=Ot;t[e(253)][e(215)]=e(249),setTimeout(()=>{const n=e;t[n(206)]&&t[n(206)][n(257)](t)},300),this[e(204)]&&console[e(211)](e(220))}}const Kt=Wt;function Wt(t,e){const n=Yt();return(Wt=function(t,e){return n[t-=498]})(t,e)}function Yt(){const t=["appendChild","calculateOptimalContainerSize","getRenderer","1px dashed #ccc","config","loadImageDimensions","8px","1AfdfgS","initializeRenderers","naturalWidth","renderers","470940slmjst","block","138122QoDDnx","#f9f9f9","debug","2808gSlyZP","2687316PdOViH","INTERSTITIAL","data-adstage-ad-id","height","className","renderAdElement","div","_id","setAttribute","BANNER","advertisementEventTracker","log","24jfaQkA","naturalHeight","NATIVE","onerror","optimizeContainerForBannerAds","createPlaceholder","display","adType","videoUrl","set","193680SJJEHK","getDefaultHeight","🏭 AdRenderer factory initialized with ","createElement"," renderers","renderOptimizedBannerImage","onload","renderFallback","border","renderMultipleAds","warn","adstage-ad adstage-","2131339voYoMz","createAdElement","backgroundColor","objectFit","TEXT","width","imageUrl"," Ad","video","isLoaded","158872uDenuw","100%","2349ybRoOZ","data-adstage-slot-id","advertisement","src","⚠️ Container optimization is only supported for BANNER ads, got: ","renderAd","calculateAdSize","style","padding","textContent"];return(Yt=function(){return t})()}!function(){const t=Wt,e=Yt();for(;;)try{if(271705===-parseInt(t(514))/1*(parseInt(t(520))/2)+parseInt(t(536))/3*(parseInt(t(568))/4)+parseInt(t(518))/5+-parseInt(t(524))/6+parseInt(t(558))/7+parseInt(t(523))/8*(parseInt(t(570))/9)+-parseInt(t(546))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Xt{constructor(t=!1,e){const n=Wt;this[n(517)]=new Map,this.debug=t,this.advertisementEventTracker=e||null,this[n(515)]()}[Kt(515)](){const e=Kt;this[e(517)][e(545)](t[e(533)],new vt(this[e(522)],this[e(534)])),this.renderers[e(545)](t.TEXT,new Lt(this[e(522)],this.advertisementEventTracker)),this[e(517)][e(545)](t.VIDEO,new Bt(this[e(522)],this[e(534)])),this.renderers[e(545)](t[e(538)],new Ut(this.debug,this.advertisementEventTracker)),this[e(517)][e(545)](t[e(525)],new Ht(this[e(522)],this[e(534)])),this[e(522)]&&console.log(e(548)+this[e(517)].size+e(550))}[Kt(559)](e,n){const r=Kt,s=this[r(509)](e.adType),o=document[r(549)](r(530));o[r(528)]=r(557)+String(e[r(543)]).toLowerCase(),o[r(532)](r(526),n[r(531)]),o[r(532)](r(498),e.id);const{width:i,height:a}=s[r(503)](o,e[r(511)]||{},n);switch(o[r(504)].width=i,o[r(504)][r(527)]=a,o[r(504)][r(542)]=r(519),e[r(543)]){case t[r(533)]:if(n[r(564)]){const t=document[r(549)]("img");t[r(500)]=n.imageUrl,t[r(504)][r(563)]=r(569),t[r(504)][r(527)]="100%",t[r(504)][r(561)]="cover",o[r(507)](t)}break;case t.VIDEO:if(n[r(544)]){const t=document[r(549)](r(566));t[r(500)]=n[r(544)],t[r(504)][r(563)]=r(569),t[r(504)][r(527)]=r(569),o[r(507)](t)}break;case t[r(562)]:if(n[r(506)]){const t=document.createElement(r(530));t.textContent=n[r(506)]||"",t[r(504)][r(505)]=r(513),o[r(507)](t)}break;default:o[r(504)][r(554)]=r(510),o[r(504)][r(560)]=r(521),o[r(506)]=e[r(543)]+r(565)}return o}[Kt(509)](t){const e=this.renderers.get(t);if(!e)throw new Error("No renderer found for ad type: "+t);return e}[Kt(541)](t,e,n,r,s){const o=Kt;this[o(509)](n)[o(541)](t,e,r,s)}async[Kt(540)](e,n){const r=Kt;if(e[r(543)]!==t.BANNER)return void(this[r(522)]&&console[r(556)](r(501)+e[r(543)]));const s=this[r(509)](t.BANNER);await s.optimizeContainerForBannerAds(e,n)}async renderAdSlider(t,e){const n=Kt,r=this[n(509)](t[n(543)]);await r[n(555)](t,e)}async[Kt(502)](t){const e=Kt;if(!t.advertisement)throw new Error("No advertisement to render");const n=this[e(509)](t[e(543)]);await n[e(529)](t,t[e(499)]),t[e(567)]=!0}async[Kt(529)](t,e){const n=Kt,r=this[n(509)](t[n(543)]);await r[n(529)](t,e)}[Kt(553)](t){const e=Kt;this[e(509)](t[e(543)])[e(553)](t)}getDefaultHeightForAdType(t){const e=Kt;return this[e(509)](t)[e(547)]()}[Kt(503)](t,e,n,r){const s=Kt;return this[s(509)](e)[s(503)](t,n,r)}[Kt(512)](t){return new Promise((e,n)=>{const r=Wt,s=new Image;s[r(552)]=()=>{const t=r;e({width:s[t(516)],height:s[t(537)]})},s[r(539)]=()=>{n(new Error("Failed to load image: "+t))},s[r(500)]=t})}async[Kt(551)](e,n,r){const s=Kt;if(r[s(543)]!==t.BANNER)throw new Error("renderOptimizedBannerImage is only supported for BANNER ads");const o=this[s(509)](t[s(533)]);return await o.renderOptimizedBannerImage(e,n,r)}async calculateOptimalContainerSize(e,n,r){const s=Kt;if(r!==t[s(533)]){const t=this[s(509)](r);return{width:s(569),height:t[s(547)](),aspectRatio:16/9}}const o=this.getRenderer(t[s(533)]);return await o[s(508)](e,n)}log(t,...e){const n=Kt;this[n(522)]&&console[n(535)]("[AdRenderer] "+t,...e)}}const qt=Jt;function Jt(t,e){const n=Zt();return(Jt=function(t,e){return n[t-=205]})(t,e)}function Zt(){const t=["handleRemovedElement","📊 Fetched specific ad with ID: ","list","width","renderAdSlider","28bRXbFf"," removed","NATIVE","auto","824312cLjNuR","autoDestroy","✅ Ad loaded for slot: ","now",", filters:","🎯 Ads module initialized (sync mode) with auto-cleanup","deviceType","ms... (attempt ","createAd","24186168csgByN","config","🔄 Ad slot refreshed: ","API key not configured","❌ Failed to find element for viewability tracking: ","log","language","Ad slot not found: ","data-adstage-slot-id","3557775kSViLm","status","2955966ENpdYP","GET","native","maxLines","init",". Retrying in ","advertisements","3778452Ilkyrr","video","loadAdContentInBackground","json","then","❌ Failed to track viewable impression:","_id","📊 Advertisement event tracking enabled for slot: ","🗑️ Ad slot destroyed: ","isLoaded","auto-","✅ Simple viewable impression tracked for ad ","removedNodes","toString"," (element found)","destroy","country","renderAd","Failed to fetch ad data: "," ads automatically","autoSlide","slots","advertisementEventTracker","createAdWithRetry","100%","handleViewableEvent","광고 생성 중 오류 발생:"," ads)","values","📊 Fetched ","ensureReady","[data-adstage-slot-id]"," ads for type: ","substr","clear","TEXT","playsinline","slideInterval","length","error","249873lGWkqv","adId","getSlotById","_config","Container not found: ","advertisement","VIEWABLE","forEach","getConfig","from","text","append","Failed to refresh ad slot: ","🔍 Auto-cleanup MutationObserver enabled","disconnect","New advertisement viewable tracked for slot:","delete","_isReady","debug","createAdInternal","getAttribute","interstitial","onClick"," attempts: ","Auto-cleanup failed for slot ","apiKey","🗑️ Ads module destroyed","create","adType","🧹 Auto-cleanup: slot ","destroyModule","startSimpleViewabilityTracking","nodeType","createPlaceholder","Container not found after ","undefined","controls","banner","height","trackAdvertisementEvent","adRenderer","mutationObserver","get","querySelectorAll","refreshAdSlot","BANNER","string","isReady","observe","fetchAdData","default","warn","INTERSTITIAL","adstage-","setupAutoCleanup","getElementById","getBaseUrl","muted","137238uEFScF","viewabilityTracker","7ZUAlKX","loop","autoplay","hideControls","random"];return(Zt=function(){return t})()}!function(){const t=Jt,e=Zt();for(;;)try{if(530489===-parseInt(t(220))/1+parseInt(t(290))/2*(-parseInt(t(278))/3)+-parseInt(t(321))/4+-parseInt(t(312))/5+parseInt(t(314))/6+-parseInt(t(280))/7*(parseInt(t(294))/8)+parseInt(t(303))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Qt{constructor(){const t=Jt;this[t(237)]=!1,this[t(223)]=null,this[t(342)]=new Map,this.advertisementEventTracker=null,this[t(260)]=null,this[t(261)]=null}[qt(318)](t){const e=qt;this[e(223)]=t,this[e(343)]=new M(J[e(276)](),t[e(245)],t[e(238)]||!1,this[e(342)]),this.adRenderer=new Xt(t[e(238)]||!1,this[e(343)]),this[e(274)](),this[e(237)]=!0,t[e(238)]&&console[e(308)](e(299))}[qt(267)](){return this[qt(237)]}[qt(228)](){return this[qt(223)]}[qt(257)](e,n){const r=qt;this[r(210)]();const s={width:n?.width||"100%",height:n?.[r(258)]||r(293),autoSlide:n?.[r(341)]||!1,slideInterval:n?.[r(217)]||5e3,onClick:n?.[r(242)],adId:n?.adId,language:n?.[r(309)],deviceType:n?.deviceType,country:n?.[r(337)]};return this[r(302)](e,t[r(265)],s)}[qt(230)](e,n){const r=qt;this.ensureReady();const s={maxLines:n?.[r(317)]||3,style:n?.style||r(270),onClick:n?.onClick,adId:n?.[r(221)],language:n?.language,deviceType:n?.[r(300)],country:n?.[r(337)]};return this[r(302)](e,t[r(215)],s)}[qt(322)](e,n){const r=qt;this[r(210)]();const s={width:n?.[r(288)]||640,height:n?.[r(258)]||360,autoplay:void 0===n?.[r(282)]||n[r(282)],muted:void 0===n?.[r(277)]||n.muted,loop:void 0===n?.[r(281)]||n.loop,playsinline:!1!==n?.[r(216)],controls:void 0!==n?.controls&&n[r(256)],hideControls:n?.[r(283)]||!1,customControls:n?.customControls,autoSlide:!1,maxAds:1,onClick:n?.[r(242)],...n?.[r(221)]&&{adId:n.adId}};return this[r(302)](e,t.VIDEO,s)}[qt(316)](e,n){const r=qt;return this.ensureReady(),this[r(302)](e,t[r(292)],n||{})}[qt(241)](e,n){const r=qt;return this[r(210)](),this[r(302)](e,t[r(272)],n||{})}refresh(t){const e=qt;this[e(210)]();const n=this[e(342)][e(262)](t);if(!n)throw new Error("Ad slot not found: "+t);this[e(264)](n),this[e(223)]?.debug&&console[e(308)](e(305)+t)}[qt(336)](t){const e=qt;this[e(210)]();const n=this[e(342)][e(262)](t);if(!n)throw new Error(e(310)+t);n.viewabilityTracker&&n[e(279)][e(336)]();const r=document[e(275)](n.containerId);r&&(r.innerHTML=""),this.slots[e(236)](t),this[e(223)]?.[e(238)]&&console[e(308)](e(329)+t)}getAllSlots(){const t=qt;return this.ensureReady(),Array[t(229)](this.slots[t(208)]())}[qt(222)](t){const e=qt;return this[e(210)](),this[e(342)].get(t)||null}[qt(302)](t,e,n){const r=qt;if(!this._config?.apiKey)throw new Error("API key not configured");const s=r(273)+e+"-"+Date[r(297)]()+"-"+Math[r(284)]().toString(36)[r(213)](2,9);return this.createAdWithRetry(t,e,n,s,0),s}async[qt(344)](t,e,n,r,s){const o=qt,i=[0,50,100,200,500];let a,c=null;if(typeof t===o(266)){if(a=t,c=document[o(275)](t),!c)return s<4?(this._config?.[o(238)]&&console[o(271)](o(224)+t+o(319)+i[s+1]+o(301)+(s+1)+"/5)"),void setTimeout(()=>{this[o(344)](t,e,n,r,s+1)},i[s+1])):void console[o(219)](o(254)+5+o(243)+t)}else c=t,a=c.id||o(331)+r,!c.id&&(c.id=a);try{this[o(239)](a,e,n,r,c)}catch(t){console.error(o(206),t)}}[qt(239)](e,n,r,s,o){const i=qt;o.setAttribute(i(311),s),this.adRenderer?.[i(253)](o,s,n,r,this[i(223)]);const a={id:s,containerId:e,adType:n,width:r[i(288)]||i(345),height:r.height||(n===t[i(215)]?"auto":250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...r},load:async()=>this[i(269)](n,r)[i(325)](t=>t[0]||null),render:t=>this[i(260)]?.renderAdElement(a,t),refresh:async()=>this[i(264)](a),destroy:()=>this[i(336)](s)};this[i(342)].set(s,a),this[i(323)](a),this[i(343)]&&this[i(223)]?.[i(238)]&&console[i(308)](i(328)+s)}async[qt(323)](e){const n=qt;try{const r=await this[n(269)](e[n(248)],e[n(304)]);if(!r||0===r.length)return void this[n(260)]?.renderFallback(e);e[n(248)]===t[n(265)]&&r[n(218)]>0&&await(this[n(260)]?.optimizeContainerForBannerAds(e,r)),r.length>1||e[n(304)]?.[n(341)]?(await(this[n(260)]?.[n(289)](e,r)),this._config?.[n(238)]&&console[n(308)]("🎠 Slider will handle VIEWABLE events for "+r[n(218)]+n(340))):(e.advertisement=r[0],await(this.adRenderer?.renderAdElement(e,r[0])),this[n(251)](e,r[0])),e[n(330)]=!0,this[n(223)]?.[n(238)]&&console[n(308)](n(296)+e.id+" ("+r[n(218)]+n(207))}catch(t){console[n(219)]("❌ Failed to load ad for slot: "+e.id,t),this[n(260)]?.renderFallback(e)}}startSimpleViewabilityTracking(t,e){const n=(r=0)=>{const s=Jt,o=document.getElementById(t.id);if(!o)return void(r<5?(setTimeout(()=>n(r+1),300),this[s(223)]?.[s(238)]&&console[s(308)]("🔄 Retrying viewability tracking for slot: "+t.id+" (attempt "+(r+1)+")")):console[s(271)](s(307)+t.id));const i=new j(o,async()=>{const n=s;await this[n(205)](e,t)});t[s(279)]=i,this[s(223)]?.[s(238)]&&console[s(308)]("🎯 Simple viewability tracking started for slot: "+t.id+s(335))};n()}async handleViewableEvent(t,e){const n=qt;try{this.advertisementEventTracker&&(await this.advertisementEventTracker[n(259)](t[n(327)],e.id,i[n(226)]),this[n(223)]?.[n(238)]&&console[n(308)](n(332)+t[n(327)]))}catch(t){console[n(219)](n(326),t)}}async[qt(269)](t,e){const n=qt;if(!this[n(223)]?.[n(245)])throw new Error(n(306));if(e[n(221)]){const t=""+J[n(320)].detail(e[n(221)]),r=await fetch(t,{method:n(315),headers:B[n(247)](this[n(223)].apiKey)});if(!r.ok){if(404===r.status)return console[n(271)]("🚫 Advertisement not found with ID: "+e[n(221)]),[];throw new Error(n(339)+r[n(313)])}const s=await r.json();return this[n(223)]?.[n(238)]&&console[n(308)](n(286)+e.adId,s),[s]}const r=new URLSearchParams;r[n(231)](n(248),t),e[n(309)]&&r.append(n(309),e[n(309)]),e[n(300)]&&r[n(231)](n(300),e.deviceType),e[n(337)]&&r[n(231)](n(337),e[n(337)]);const s=J[n(320)][n(287)]()+"?"+r[n(334)](),o=await fetch(s,{method:n(315),headers:B[n(247)](this[n(223)][n(245)])});if(!o.ok)throw new Error(n(339)+o[n(313)]);const i=(await o[n(324)]())[n(320)]||[];return this[n(223)]?.debug&&console[n(308)](n(209)+i[n(218)]+n(212)+t+n(298),{language:e[n(309)],deviceType:e[n(300)],country:e.country}),i}async[qt(264)](t){const e=qt;try{const n=await this[e(269)](t[e(248)],t[e(304)]||{});n&&n[e(218)]>0&&(t[e(225)]=n[0],await(this[e(260)]?.[e(338)](t)),this[e(343)]&&console[e(308)](e(235),t.id))}catch(n){console[e(219)](e(232)+t.id,n)}}ensureReady(){if(!this[qt(237)])throw new Error("Ads module not initialized. Call AdStage.init() first.")}[qt(274)](){const t=qt;"undefined"!=typeof window&&typeof document!==t(255)&&(this[t(261)]&&this[t(261)][t(234)](),this[t(261)]=new MutationObserver(e=>{const n=t;e[n(227)](t=>{const e=n;t[e(333)].forEach(t=>{const n=e;t[n(252)]===Node.ELEMENT_NODE&&this[n(285)](t)})})}),this[t(261)][t(268)](document.body,{childList:!0,subtree:!0}),this._config?.[t(238)]&&console[t(308)](t(233)))}handleRemovedElement(t){const e=qt,n=t[e(240)](e(311));if(n)return void this[e(295)](n);t[e(263)](e(211)).forEach(t=>{const n=e,r=t[n(240)](n(311));r&&this[n(295)](r)})}autoDestroy(t){const e=qt;if(this[e(342)].get(t))try{this[e(342)][e(236)](t),this[e(223)]?.debug&&console[e(308)](e(249)+t+e(291))}catch(n){this._config?.[e(238)]&&console[e(271)](e(244)+t+":",n)}}[qt(250)](){const t=qt,e=this[t(223)]?.[t(238)];this[t(261)]&&(this[t(261)][t(234)](),this[t(261)]=null),this[t(342)][t(214)](),this[t(343)]=null,this.adRenderer=null,this._isReady=!1,this[t(223)]=null,e&&console[t(308)](t(246))}}var Gt=$t;function $t(t,e){var n=ee();return($t=function(t,e){return n[t-=191]})(t,e)}!function(){for(var t=$t,e=ee();;)try{if(209976===parseInt(t(192))/1*(-parseInt(t(194))/2)+parseInt(t(213))/3+-parseInt(t(208))/4*(-parseInt(t(221))/5)+-parseInt(t(193))/6*(parseInt(t(222))/7)+parseInt(t(223))/8*(parseInt(t(195))/9)+parseInt(t(206))/10+-parseInt(t(202))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class te{constructor(){var t=$t;this[t(196)]=!1,this[t(201)]=null,this[t(210)]=null}init(t){var e=$t;this[e(201)]={timeout:3e4,debug:!1,modules:[e(215),e(191),e(220)],...t},t[e(197)]&&J[e(204)](t[e(197)]),this[e(196)]=!0,t.debug&&console.log(e(212),{modules:this[e(201)][e(205)],endpoint:J[e(219)](),mode:e(203)})}[Gt(199)](){return this._isReady}getConfig(){return this._config}[Gt(224)](){return this._organizationInfo}getApiEndpoint(){return J[Gt(219)]()}[Gt(200)](){var t=Gt;return this[t(201)]?.[t(225)]||!1}[Gt(217)](){var t=Gt;return this[t(201)]?.[t(205)]||[]}[Gt(207)](t){var e=Gt;return this[e(217)]()[e(211)](t)}[Gt(209)](t){var e=Gt;if(!this[e(201)])throw new Error(e(218));this._config={...this[e(201)],...t},this[e(200)]()&&console.log("🔄 Config updated",t)}[Gt(216)](){var t=Gt;if(!this._config?.[t(214)])throw new Error("API key not available");return B[t(198)](this[t(201)].apiKey)}}function ee(){var t=["apiKey","ads","getApiHeaders","getEnabledModules","Config module not initialized","getBaseUrl","config","5kDvAxF","1561CgrVXh","8vnaWBE","getOrganizationInfo","debug","events","94448hsHtSa","2196yaKyEK","2rATIDo","792747RnFsVA","_isReady","baseUrl","create","isReady","isDebugMode","_config","4129488eazGWJ","development","setBaseUrl","modules","2044760QKHwhV","isModuleEnabled","914084sUtVie","updateConfig","_organizationInfo","includes","✅ Config module initialized (sync mode)","721110voEmrX"];return(ee=function(){return t})()}const ne=se;function re(){const t=["Unknown","2281330xhbTAQ","4VcsjCo","getViewportInfo","onLine","4TRCJNK","850032LqRgJD","368578WQECpy","mobile","clearUserProvidedDeviceInfo","0x0","13604ahqtHB","35222THNFhn","isBrowser","_userProvidedDeviceInfo","android","56qyQIlC","348zOkZrQ","39hJSWLr","other","cookieEnabled","ios","test","tablet","Mobile Web","getAutoDetectedDeviceInfo","language","2857131whXBiQ","platform","Android","216474iBgRzF","setDeviceProperty","userAgent","ko-KR","getPlatform","setDeviceInfo","width","getAppVersion","web","145UMNUzo","getDeviceInfo","9cSIVwf","iOS","SSR"];return(re=function(){return t})()}function se(t,e){const n=re();return(se=function(t,e){return n[t-=398]})(t,e)}!function(){const t=se,e=re();for(;;)try{if(571182===parseInt(t(425))/1*(parseInt(t(434))/2)+-parseInt(t(406))/3*(parseInt(t(428))/4)+-parseInt(t(418))/5*(-parseInt(t(409))/6)+parseInt(t(439))/7*(parseInt(t(429))/8)+parseInt(t(420))/9*(-parseInt(t(424))/10)+parseInt(t(435))/11*(-parseInt(t(440))/12)+parseInt(t(441))/13*(-parseInt(t(430))/14))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class oe{static[ne(419)](){const t=ne;return{...oe[t(404)](),...oe[t(437)]}}static[ne(404)](){const t=ne;if(!I.isBrowser())return{category:t(398),platform:t(422),model:t(422),appVersion:A[t(416)](),osVersion:t(422)};const e=navigator[t(411)].toLowerCase();let n="desktop";/tablet|ipad/[t(401)](e)?n=t(402):D.isMobile()&&(n=t(431));const r=D[t(413)]();return{category:n,platform:oe.mapPlatformForEvents(r),model:navigator[t(407)],appVersion:A[t(416)](),osVersion:navigator[t(407)]}}static[ne(414)](t){oe[ne(437)]={...oe._userProvidedDeviceInfo,...t}}static[ne(410)](t,e){oe[ne(437)][t]=e}static[ne(432)](){oe[ne(437)]={}}static getUserProvidedDeviceInfo(){return{...oe[ne(437)]}}static mapPlatformForEvents(t){const e=ne;switch(t){case e(400):return e(421);case e(438):return e(408);case e(417):return e(403);case"desktop":return"Desktop Web";default:return e(423)}}static getDetailedInfo(){const t=ne;if(!I[t(436)]())return{userAgent:t(422),language:t(412),platform:t(422),cookieEnabled:!1,onLine:!0,screenResolution:t(433),viewportSize:t(433)};const e=I[t(426)]();return{userAgent:navigator[t(411)],language:navigator[t(405)]||t(412),platform:navigator[t(407)],cookieEnabled:navigator[t(399)],onLine:navigator[t(427)],screenResolution:screen[t(415)]+"x"+screen.height,viewportSize:e[t(415)]+"x"+e.height}}}oe[ne(437)]={};const ie=ce;function ae(){const t=["342QDAOhq","getCurrentUserProperties","18644DLsMjy","8590pRgjQX","ko-KR","32rLkyem","12967487KJwpaU","estimateLocation","resolvedOptions","split","3478300glTBYb","885FxDxRq","isBrowser","language","_userProperties","setUserProperty","9053IQrmQe","clearUserProperties","9JJyhdT","DateTimeFormat","2027UQyPiu","35520auweNA","12kPiXMo","timeZone","2445488rHhybA","UTC","getBaseUserInfo"];return(ae=function(){return t})()}function ce(t,e){const n=ae();return(ce=function(t,e){return n[t-=436]})(t,e)}!function(){const t=ce,e=ae();for(;;)try{if(996098===parseInt(t(439))/1*(-parseInt(t(451))/2)+-parseInt(t(446))/3*(parseInt(t(448))/4)+parseInt(t(457))/5*(parseInt(t(440))/6)+parseInt(t(456))/7+-parseInt(t(443))/8*(-parseInt(t(437))/9)+parseInt(t(449))/10*(parseInt(t(462))/11)+-parseInt(t(441))/12*(parseInt(t(452))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class de{static getUserInfo(){const t=ce;return{...de[t(445)](),...de[t(460)]}}static[ie(445)](){const t=ie;if(!I[t(458)]())return{language:t(450),country:"KR"};const e=navigator[t(459)]||t(450);return{language:e,country:de.extractCountryFromLanguage(e)}}static extractCountryFromLanguage(t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t[ie(455)]("-")[0]]||"KR"}static setUserProperties(t){const e=ie;de._userProperties={...de[e(460)],...t}}static[ie(461)](t,e){de[ie(460)][t]=e}static[ie(436)](){de[ie(460)]={}}static[ie(447)](){return{...de[ie(460)]}}static[ie(453)](){const t=ie;if(!I[t(458)]())return{timezone:t(444),estimatedCountry:"KR"};const e=Intl[t(438)]()[t(454)]()[t(442)];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"}}}de[ie(460)]={};const le=ue;function ue(t,e){const n=he();return(ue=function(t,e){return n[t-=440]})(t,e)}!function(){const t=ue,e=he();for(;;)try{if(127804===-parseInt(t(464))/1+-parseInt(t(453))/2*(parseInt(t(447))/3)+-parseInt(t(445))/4*(-parseInt(t(460))/5)+parseInt(t(456))/6*(parseInt(t(469))/7)+parseInt(t(468))/8*(-parseInt(t(446))/9)+-parseInt(t(466))/10*(parseInt(t(467))/11)+parseInt(t(470))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class pe{static[le(457)](){const t=le;if(!I[t(461)]())return t(442)+Date[t(440)]();const e=sessionStorage[t(448)](t(455));if(e)return e;const n=t(449)+Math[t(473)]().toString(36).substr(2,9)+"_"+Date.now();return sessionStorage.setItem("adstage_session_id",n),!pe[t(443)]&&(pe._sessionStartTime=Date[t(440)](),I[t(461)]()&&sessionStorage[t(452)]("adstage_session_start",String(pe[t(443)]))),n}static[le(454)](t){const e=le;pe[e(465)]=t,I[e(461)]()&&localStorage.setItem("adstage_user_id",t)}static[le(471)](){const t=le;if(pe[t(465)])return pe[t(465)];if(I.isBrowser()){const e=localStorage[t(448)](t(451));if(e)return pe._userId=e,e}}static clearUserId(){const t=le;pe[t(465)]=void 0,I[t(461)]()&&localStorage[t(441)](t(451))}static[le(463)](){const t=le,e=pe[t(457)](),n=pe.getUserId(),r=pe[t(458)]();return{sessionId:e,userId:n,sessionDuration:pe[t(459)](),isNewSession:r}}static isNewSession(){const t=le;if(!I[t(461)]())return!0;const e=sessionStorage.getItem(t(455)),n=sessionStorage[t(448)](t(472));return!e||!n}static getSessionDuration(){const t=le;if(!I[t(461)]())return 0;const e=sessionStorage[t(448)](t(472));return e?Date[t(440)]()-parseInt(e,10):0}static[le(450)](){const t=le;return I.isBrowser()&&(sessionStorage[t(441)](t(455)),sessionStorage.removeItem(t(472))),pe[t(443)]=void 0,pe.getSessionId()}static[le(444)](t=24){return pe.getSessionDuration()>60*t*60*1e3}static[le(462)](){const t=le,e=pe[t(457)](),n=pe.getUserId(),r=pe[t(459)](),s=pe[t(444)](),o=pe.isNewSession();let i;if(I[t(461)]()){const e=sessionStorage[t(448)](t(472));i=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:i,duration:r,isExpired:s,isNewSession:o}}}function he(){const t=["removeItem","ssr_session_","_sessionStartTime","isSessionExpired","526332YdgQAJ","115722OXcypa","447TCXwrc","getItem","session_","refreshSession","adstage_user_id","setItem","1130gLzDVH","setUserId","adstage_session_id","804Liooii","getSessionId","isNewSession","getSessionDuration","5TGtZEo","isBrowser","getSessionStats","getSessionInfo","120819DRzrDR","_userId","20YLlNkV","995071TWKgcH","32eDjeZp","3752WnjMWj","4341060tGvDci","getUserId","adstage_session_start","random","now"];return(he=function(){return t})()}const fe=me;function ge(){const t=["getUserId","statusText","6paCHCm","setUserId","❌ Failed to track event:","stringify","1430290hBGKZG","10300hYstlG","8PwLAou","create","_isReady","999173QxABBG","application/json","getUserProperties","status","init","POST","22vSpNze","track","error","events","630664xplqFA","Event tracking failed: ","📊 Events module initialized","getCurrentUserProperties","getDeviceInfo","_config","getSessionId","276126nMwxdz","apiKey","Event data:","debug","702220XnpByS","✅ Event tracked:","API key not configured for event tracking.","warn","getConfig","16dVBGGT","👤 User properties set:","setUserProperties","sendEventToServer","log","1077327ibUIgd"];return(ge=function(){return t})()}function me(t,e){const n=ge();return(me=function(t,e){return n[t-=456]})(t,e)}!function(){const t=me,e=ge();for(;;)try{if(104221===parseInt(t(498))/1*(-parseInt(t(485))/2)+parseInt(t(476))/3*(-parseInt(t(456))/4)+-parseInt(t(480))/5*(-parseInt(t(493))/6)+parseInt(t(459))/7+-parseInt(t(469))/8+-parseInt(t(490))/9+parseInt(t(497))/10*(parseInt(t(465))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ie{constructor(){const t=me;this[t(458)]=!1,this[t(474)]=null}[fe(463)](t){const e=fe;this[e(474)]=t,this[e(458)]=!0,t.debug&&console[e(489)](e(471))}isReady(){return this._isReady}[fe(484)](){return this[fe(474)]}[fe(494)](t){const e=fe;pe[e(494)](t),this[e(474)]?.debug&&console[e(489)]("👤 User ID set:",t)}[fe(491)](){return pe[fe(491)]()}[fe(487)](t){const e=fe;de[e(487)](t),this[e(474)]?.[e(479)]&&console[e(489)](e(486),t)}[fe(461)](){return de[fe(472)]()}async[fe(466)](t,e){const n=fe;if(this[n(458)])if(this._config?.apiKey)try{const r={eventName:t,userId:pe[n(491)](),sessionId:pe[n(475)](),sdkVersion:E(),device:oe[n(473)](),user:de.getUserInfo(),params:e||{}};await this.sendEventToServer(r),this._config[n(479)]&&console.log(n(481),t,e)}catch(r){console[n(467)](n(495),r),this[n(474)].debug&&console.error(n(478),{eventName:t,properties:e})}else console[n(483)](n(482));else console[n(483)]("Events module not initialized. Call AdStage.init() first.")}async[fe(488)](t){const e=fe,n=await fetch(J[e(468)][e(466)](),{method:e(464),headers:{...B[e(457)](this[e(474)][e(477)]),"Content-Type":e(460)},body:JSON[e(496)](t)});if(!n.ok)throw new Error(e(470)+n[e(462)]+" "+n[e(492)])}}const ye=ve;function ve(t,e){const n=we();return(ve=function(t,e){return n[t-=173]})(t,e)}!function(){const t=ve,e=we();for(;;)try{if(376565===-parseInt(t(191))/1*(-parseInt(t(173))/2)+-parseInt(t(200))/3*(-parseInt(t(205))/4)+parseInt(t(214))/5*(parseInt(t(195))/6)+-parseInt(t(202))/7*(-parseInt(t(190))/8)+-parseInt(t(198))/9+parseInt(t(204))/10+-parseInt(t(178))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class be{constructor(){const t=ve;this._isInitialized=!1,this[t(208)]=null,this[t(189)]=new te,this.ads=new Qt,this[t(180)]=new Ie}static init(t){const e=ve;!be[e(188)]&&(be[e(188)]=new be);const n=be[e(188)];if(!t[e(203)])throw new Error(e(182));n[e(208)]={timeout:3e4,debug:!1,modules:[e(193),e(180),"config"],...t},n[e(208)].baseUrl&&(J[e(177)](n[e(208)][e(186)]),t[e(175)]&&console[e(183)](e(210),n[e(208)][e(186)]));const r=n[e(208)][e(192)]||[e(193),e(180),e(189)];for(const t of r){const r=n[t];r&&typeof r.init===e(197)&&r[e(212)](n[e(208)])}n[e(174)]=!0,t[e(175)]&&console[e(183)](e(181),{version:e(185),modules:r,apiKey:t.apiKey[e(207)](0,8)+"...",mode:e(196)})}static[ye(187)](){const t=ye;return be[t(188)]?._isInitialized||!1}static[ye(176)](){const t=ye;return be[t(188)]?.[t(208)]||null}static[ye(213)](){const t=ye;if(!be[t(188)])throw new Error(t(206));return be.instance}static get[ye(193)](){const t=ye;return be[t(213)]()[t(193)]}static get[ye(180)](){const t=ye;return be.getInstance()[t(180)]}static get[ye(189)](){return be[ye(213)]().config}static[ye(184)](){const t=ye;be[t(188)]&&(be[t(188)][t(174)]=!1,be[t(188)]._config=null)}}function we(){const t=["setBaseUrl","9236040KnTyLY","viewableTracker","events","🚀 AdStage SDK initialized (sync mode)","API key is required for AdStage initialization","log","reset","2.0.0","baseUrl","isReady","instance","config","32368dzbjyj","11EpDLSz","modules","ads","from","2220xyHvQD","development","function","4022739mzAKrx","✅ AdStage Debug: 광고 ","3uUnFHR","📊 AdStage Debug: 현재 viewable 추적 상태","399ivGocf","apiKey","457670wqfbyX","2877392XaYaei","AdStage not initialized. Call AdStage.init() first.","substring","_config","clear","🌐 API endpoint configured:","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","init","getInstance","285akApcI","117518qjSLML","_isInitialized","debug","getConfig"];return(we=function(){return t})()}function Ee(t,e){var n=Ce;return be[n(315)]()?be[n(326)][n(320)](t,e):(console[n(323)]("AdStage not initialized. Call AdStage.init() first."),Promise[n(321)]())}function ke(){var t=["21124754RbzZfQ","isReady","834196NHEydZ","getUserProperties","1726110rEjuKc","setUserId","track","resolve","1078775ydnfjW","warn","2098281llyXbR","AdStage not initialized. Call AdStage.init() first.","events","setUserProperties","1892676tgHMtJ","4550532reNPHb"];return(ke=function(){return t})()}function xe(t){var e=Ce;be[e(315)]()?be[e(326)][e(319)](t):console[e(323)](e(325))}function Se(){var t=Ce;if(be[t(315)]())return be[t(326)].getUserId();console.warn(t(325))}function Ae(t){var e=Ce;be[e(315)]()?be[e(326)][e(327)](t):console.warn(e(325))}function Ce(t,e){var n=ke();return(Ce=function(t,e){return n[t-=313]})(t,e)}function Te(){var t=Ce;if(be[t(315)]())return be[t(326)][t(317)]();console[t(323)](t(325))}be[ye(175)]={clearAllViewable:()=>{const t=ye;lt[t(209)](),console[t(183)](t(211))},clearAdViewable:(t,e)=>{const n=ye;lt.clearAdViewable(t,e),console[n(183)](n(199)+t+"("+e+")의 viewable 추적 초기화됨")},getViewableStatus:()=>{const t=ye;console[t(183)](t(201),{trackedCount:lt[t(179)].size,trackedItems:Array[t(194)](lt[t(179)])})}},function(){for(var t=Ce,e=ke();;)try{if(616180===parseInt(t(316))/1+parseInt(t(318))/2+parseInt(t(324))/3+parseInt(t(313))/4+-parseInt(t(322))/5+parseInt(t(328))/6+-parseInt(t(314))/7)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();var Re,De={exports:{}},Le={},Pe={exports:{}},_e={};Pe.exports=function(){if(Re)return _e;Re=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),u=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,f={};function g(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}function m(){}function I(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=g.prototype;var y=I.prototype=new m;y.constructor=I,h(y,g.prototype),y.isPureReactComponent=!0;var v=Array.isArray,b=Object.prototype.hasOwnProperty,w={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function k(e,n,r){var s,o={},i=null,a=null;if(null!=n)for(s in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(i=""+n.key),n)b.call(n,s)&&!E.hasOwnProperty(s)&&(o[s]=n[s]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var d=Array(c),l=0;l<c;l++)d[l]=arguments[l+2];o.children=d}if(e&&e.defaultProps)for(s in c=e.defaultProps)void 0===o[s]&&(o[s]=c[s]);return{$$typeof:t,type:e,key:i,ref:a,props:o,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var S=/\/+/g;function A(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}(""+t.key):e.toString(36)}function C(n,r,s,o,i){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var c=!1;if(null===n)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(n.$$typeof){case t:case e:c=!0}}if(c)return i=i(c=n),n=""===o?"."+A(c,0):o,v(i)?(s="",null!=n&&(s=n.replace(S,"$&/")+"/"),C(i,r,s,"",function(t){return t})):null!=i&&(x(i)&&(i=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,s+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(S,"$&/")+"/")+n)),r.push(i)),1;if(c=0,o=""===o?".":o+":",v(n))for(var d=0;d<n.length;d++){var l=o+A(a=n[d],d);c+=C(a,r,s,l,i)}else if(l=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof l)for(n=l.call(n),d=0;!(a=n.next()).done;)c+=C(a=a.value,r,s,l=o+A(a,d++),i);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}function T(t,e,n){if(null==t)return t;var r=[],s=0;return C(t,r,"","",function(t){return e.call(n,t,s++)}),r}function R(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var D={current:null},L={transition:null},P={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:L,ReactCurrentOwner:w};function _(){throw Error("act(...) is not supported in production builds of React.")}return _e.Children={map:T,forEach:function(t,e,n){T(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return T(t,function(){e++}),e},toArray:function(t){return T(t,function(t){return t})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},_e.Component=g,_e.Fragment=n,_e.Profiler=s,_e.PureComponent=I,_e.StrictMode=r,_e.Suspense=c,_e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,_e.act=_,_e.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var s=h({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,a=w.current),void 0!==n.key&&(o=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(d in n)b.call(n,d)&&!E.hasOwnProperty(d)&&(s[d]=void 0===n[d]&&void 0!==c?c[d]:n[d])}var d=arguments.length-2;if(1===d)s.children=r;else if(1<d){c=Array(d);for(var l=0;l<d;l++)c[l]=arguments[l+2];s.children=c}return{$$typeof:t,type:e.type,key:o,ref:i,props:s,_owner:a}},_e.createContext=function(t){return(t={$$typeof:i,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:t},t.Consumer=t},_e.createElement=k,_e.createFactory=function(t){var e=k.bind(null,t);return e.type=t,e},_e.createRef=function(){return{current:null}},_e.forwardRef=function(t){return{$$typeof:a,render:t}},_e.isValidElement=x,_e.lazy=function(t){return{$$typeof:l,_payload:{_status:-1,_result:t},_init:R}},_e.memo=function(t,e){return{$$typeof:d,type:t,compare:void 0===e?null:e}},_e.startTransition=function(t){var e=L.transition;L.transition={};try{t()}finally{L.transition=e}},_e.unstable_act=_,_e.useCallback=function(t,e){return D.current.useCallback(t,e)},_e.useContext=function(t){return D.current.useContext(t)},_e.useDebugValue=function(){},_e.useDeferredValue=function(t){return D.current.useDeferredValue(t)},_e.useEffect=function(t,e){return D.current.useEffect(t,e)},_e.useId=function(){return D.current.useId()},_e.useImperativeHandle=function(t,e,n){return D.current.useImperativeHandle(t,e,n)},_e.useInsertionEffect=function(t,e){return D.current.useInsertionEffect(t,e)},_e.useLayoutEffect=function(t,e){return D.current.useLayoutEffect(t,e)},_e.useMemo=function(t,e){return D.current.useMemo(t,e)},_e.useReducer=function(t,e,n){return D.current.useReducer(t,e,n)},_e.useRef=function(t){return D.current.useRef(t)},_e.useState=function(t){return D.current.useState(t)},_e.useSyncExternalStore=function(t,e,n){return D.current.useSyncExternalStore(t,e,n)},_e.useTransition=function(){return D.current.useTransition()},_e.version="18.3.1",_e}();var Be,ze=Pe.exports;
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
@@ -7,4 +7,4 @@ var t,e,n,r,s,o,i,a,c,l,d,u;function p(t,e){var n=h();return(p=function(t,e){ret
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */Ce.exports=function(){if(_e)return Ae;_e=1;var t=ze,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(t,n,i){var a,c={},l=null,d=null;for(a in void 0!==i&&(l=""+i),void 0!==n.key&&(l=""+n.key),void 0!==n.ref&&(d=n.ref),n)r.call(n,a)&&!o.hasOwnProperty(a)&&(c[a]=n[a]);if(t&&t.defaultProps)for(a in n=t.defaultProps)void 0===c[a]&&(c[a]=n[a]);return{$$typeof:e,type:t,key:l,ref:d,props:c,_owner:s.current}}return Ae.Fragment=n,Ae.jsx=i,Ae.jsxs=i,Ae}();var Be=Ce.exports;const De=ze.createContext(null);function Pe({children:t,config:e}){const[n,r]=ze.useState(!1),[s,o]=ze.useState(null),[i,a]=ze.useState(null),c=t=>{try{a(null),n&&ye.reset(),ye.init(t),o(t),r(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),r(!1),o(null)}};ze.useEffect(()=>{e&&!n&&c(e)},[e,n]);const l={isInitialized:n,config:s,initialize:c,reset:()=>{try{ye.reset(),r(!1),o(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:i};return Be.jsx(De.Provider,{value:l,children:t})}function Le(){const t=ze.useContext(De);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function Me(){const{isInitialized:t}=Le();return t?ye:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}function Ue(t,e){var n=Ve();return(Ue=function(t,e){return n[t-=124]})(t,e)}function Ve(){var t=["6SZwlqJ","413242yjlxZr","2300286OVpbyg","2034375OmTAHj","7rCJjgn","451294kzrDKi","12100374VzrOHR","865684okZiIG","3562264fkzIdw"];return(Ve=function(){return t})()}!function(){for(var t=Ue,e=Ve();;)try{if(379076===-parseInt(t(126))/1+parseInt(t(130))/2+parseInt(t(125))/3*(-parseInt(t(132))/4)+-parseInt(t(128))/5+-parseInt(t(127))/6+parseInt(t(129))/7*(parseInt(t(124))/8)+parseInt(t(131))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ne=Oe;function Oe(t,e){const n=Fe();return(Oe=function(t,e){return n[t-=157]})(t,e)}function Fe(){const t=["ads","152oADMzc","335467zFOcWr","6yBHDVv","354987tKsoDG","events","733881thUhGZ","AdStage","2HwuQdJ","776665CabMAr","301763BYbSdd","8vUqqFn","9808920rxUQRh","370awcrYk","2.0.0","19146Cfasyw"];return(Fe=function(){return t})()}!function(){const t=Oe,e=Fe();for(;;)try{if(643345===parseInt(t(162))/1*(parseInt(t(164))/2)+-parseInt(t(171))/3*(parseInt(t(157))/4)+parseInt(t(165))/5*(-parseInt(t(159))/6)+parseInt(t(166))/7*(-parseInt(t(167))/8)+parseInt(t(160))/9+parseInt(t(169))/10*(parseInt(t(158))/11)+-parseInt(t(168))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const je=Ne(170),He=[Ne(172),Ne(161),"config"];"undefined"!=typeof window&&(window[Ne(163)]=ye);export{ye as AdStage,Pe as AdStageProvider,je as SDK_VERSION,He as SUPPORTED_MODULES,we as getUserId,xe as getUserProperties,be as setUserId,ke as setUserProperties,ve as track,Le as useAdStageContext,Me as useAdStageInstance};
10
+ */De.exports=function(){if(Be)return Le;Be=1;var t=ze,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(t,n,i){var a,c={},d=null,l=null;for(a in void 0!==i&&(d=""+i),void 0!==n.key&&(d=""+n.key),void 0!==n.ref&&(l=n.ref),n)r.call(n,a)&&!o.hasOwnProperty(a)&&(c[a]=n[a]);if(t&&t.defaultProps)for(a in n=t.defaultProps)void 0===c[a]&&(c[a]=n[a]);return{$$typeof:e,type:t,key:d,ref:l,props:c,_owner:s.current}}return Le.Fragment=n,Le.jsx=i,Le.jsxs=i,Le}();var Ve=De.exports;const Me=ze.createContext(null);function Ue({children:t,config:e}){const[n,r]=ze.useState(!1),[s,o]=ze.useState(null),[i,a]=ze.useState(null),c=t=>{try{a(null),n&&be.reset(),be.init(t),o(t),r(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),r(!1),o(null)}};ze.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:s,initialize:c,reset:()=>{try{be.reset(),r(!1),o(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:i};return Ve.jsx(Me.Provider,{value:d,children:t})}function Ne(){const t=ze.useContext(Me);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function Fe(){const{isInitialized:t}=Ne();return t?be:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}function Oe(){var t=["11018bOraoq","7292411xrNJEV","142LSCLVo","27emopJh","364Jyfdog","33861RtQoYL","500984IVTjPi","4273055HRDgpJ","6250782JJLWtd","10rwnLYm","21778977sEkSpf"];return(Oe=function(){return t})()}function je(t,e){var n=Oe();return(je=function(t,e){return n[t-=265]})(t,e)}function He(){const t=["807210IMPZfp","3oDFqFa","undefined","1010588vQuWNA","1798536IWQZlL","7434pMAEtj","484204YvlVQM","2.0.0","510167wurlEB","2620sUgzdw","1602550xIYqeZ","AdStage","config","ads","events","24Nubjgn"];return(He=function(){return t})()}!function(){for(var t=je,e=Oe();;)try{if(525566===parseInt(t(270))/1*(parseInt(t(272))/2)+parseInt(t(275))/3*(-parseInt(t(274))/4)+parseInt(t(266))/5+parseInt(t(267))/6+parseInt(t(271))/7+parseInt(t(265))/8*(-parseInt(t(273))/9)+-parseInt(t(268))/10*(parseInt(t(269))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ke=We;function We(t,e){const n=He();return(We=function(t,e){return n[t-=434]})(t,e)}!function(){const t=We,e=He();for(;;)try{if(263718===parseInt(t(449))/1+parseInt(t(441))/2+-parseInt(t(442))/3*(parseInt(t(444))/4)+parseInt(t(435))/5+parseInt(t(440))/6*(-parseInt(t(447))/7)+-parseInt(t(445))/8+parseInt(t(446))/9*(-parseInt(t(434))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ye=Ke(448),Xe=[Ke(438),Ke(439),Ke(437)];typeof window!==Ke(443)&&(window[Ke(436)]=be);export{be as AdStage,Ue as AdStageProvider,Ye as SDK_VERSION,Xe as SUPPORTED_MODULES,Se as getUserId,Te as getUserProperties,xe as setUserId,Ae as setUserProperties,Ee as track,Ne as useAdStageContext,Fe as useAdStageInstance};